Questions tagged [urlloader]
223 questions
0
votes
1 answer
Webpack with Stylus-loader and Url-Loader not loading images
I have the following structure
...
login
login.styles.styl
background.png
In Webpack
...
{
test: /\.styl$/,
loader: "style-loader!css-loader!stylus-loader"
},
{
test: /\.(png|jpe?g|gif|svg|woff|woff2|ttf|eot|ico)(\?.*)?$/,
loader:…

Jackie
- 21,969
- 32
- 147
- 289
0
votes
3 answers
ImageView content loading from to another ImageView
If it possible to write ImageView to another ImageView?
For example:
ImageView image1= (ImageView)findByVie(R.id.image1)
ImageView image2= (ImageView)findByVie(R.id.image2)
Glide.with(context).load(url).into(image1);
…

Expiredmind
- 788
- 1
- 8
- 29
0
votes
1 answer
Loading dynamic image in webpack
I am using Angular with Webpack (with loaders like file-loader, url-loader etc.)
Now, I want to load image which is being served through http.
The build was successful, when I used require('./imgs/profile.png')
But when I used tried say E.g.…

Ashwin Hegde
- 1,733
- 4
- 19
- 49
0
votes
1 answer
PostCSS / Webpack not loading image in stylesheet
I'm not sure if this is a PostCSS problem or a Webpack problem.
Here's my relevant image handler in my webpack config:
{
test: /\.(png|jpg|jpeg|gif|woff|woff2)$/,
loader: 'url-loader?limit=10000',
},
{
test: /\.(eot|ttf|wav|mp3)$/,
loader:…

motleydev
- 3,327
- 6
- 36
- 52
0
votes
2 answers
Specify destination folder in url-loader for webpack
I have images path in css like url(images/image1.jpg) and the loader is defined as
{ test: /\.(png|woff|woff2|eot|ttf|svg|jpg)$/, loader: 'url-loader?limit=1&name=images/[name].[ext]' },
The issue I am facing is that after build process the images…

Shahzad Fateh Ali
- 714
- 9
- 25
0
votes
1 answer
Webpack not loading font files
Im relatively new to all of this and have been struggling getting my fonts to be included into my style.css.
At first it was not loading the files due to the path being incorrect (apparently it was looking for relative path from root rather than…

Stefan
- 772
- 4
- 9
- 22
0
votes
1 answer
as3 return value on loader complete
I am trying to get my function to return a value from a php script once it has loaded. I am having issues with the 'return' aspect. Trying to the the value of 'TheLink" from a function with a 'return' in it. It's usually null. What am I doing wrong…

Papa De Beau
- 3,744
- 18
- 79
- 137
0
votes
2 answers
System.setClipboard() inside event handler
Any thoughts on a good way to accomplish something along the lines of
var request:URLRequest = new URLRequest("http://myurl.com");
var loader:URLLoader = new URLLoader();
loader.addEventListener(Event.COMPLETE, function(event:Event):void {
…

Ben K.
- 1,779
- 5
- 18
- 21
0
votes
1 answer
URLLoader handler in child movie not being called
Hi I am writing a flex application that has a MainMovie that loads flex programs (ChildMovie) depending on what the user selects in the MainMovie. below is some pseudocode to help me describe my problem hopefully.
class MainMovie{
private var…

user393624
- 11
- 3
0
votes
1 answer
How to just run an URL(php) with as3?
I am currently using:
var urlLoader:URLLoader = new URLLoader();
var url:String = GameConfig.SITE_DOMAIN+"/insert_tracking_event.php?hash="+GameConfig.hashTracking+"&event_id="+event+"&check=xxxxxxx";
urlLoader.load(new…

user3120770
- 199
- 1
- 7
- 19
0
votes
1 answer
Is there a way to dispatch event again in handler?
For my test I need to load about 1000 files and then perform some actions with each one by one. The problem is that I can not load another file in handler, flexunit just exit after calling load(). It works when I use another loader, with previously…

sinedsem
- 5,413
- 7
- 29
- 46
0
votes
1 answer
Monitor load of crossdomain.xml file?
Is there any way to monitor the loading of the crossdomain.xml file?
I'd like report the load times of this file, since it seems to be intermittently taking longer than expected. There doesn't seem to be an event from URLLoader and…

Seanonymous
- 1,304
- 10
- 30
0
votes
2 answers
Actionscript 3 Air iOS POST data not sending with URLLoader
I have the following code to send POST data to my server:
var headers:Array = [
new URLRequestHeader("api_access_token", ACCESS_TOKEN),
new URLRequestHeader("api_secret", SECRET),
new URLRequestHeader("Content-type",…

Stefan Dunn
- 5,363
- 7
- 48
- 84
0
votes
0 answers
Flash URLLoader won't work on standalone SWF vs in-browser
I've got a flash game that uses xml for server responses/requests.
I use the URLRequest and URLLoader classes to send the requests to the server.
When I play the game in a browser (so I've got an index.html file around the SWF) it works but when I…

user1261710
- 2,539
- 5
- 41
- 72
0
votes
2 answers
Action Script 3 URLLoader in for loop
I have 7 Arrays to begin with:
private var listArray:Array = new Array();
private var oneArray:Array = new Array();
private var twoArray:Array = new Array();
private var threeArray:Array = new Array();
private var fourArray:Array = new…

Martin Chan
- 5
- 2