Questions tagged [urlloader]
223 questions
1
vote
2 answers
How to retrieve the http response headers in a non-AIR application
Access HTTP response headers in for flash.net.URLLoader object?
I found the above question that seemed to have a solution for an AIR application but not for my non-AIR flex application? Is it even possible?

buddyp450
- 528
- 2
- 10
- 27
1
vote
0 answers
URLLoader strange behavior - incorrect \r\n in header
I have encountered a really strange behavior of the URLLoader/URLRequest. Take a look at the following code:
var loader:URLLoader = new URLLoader();
loader.dataFormat = URLLoaderDataFormat.BINARY;
var request:URLRequest = new…

deadrunk
- 13,861
- 4
- 29
- 29
0
votes
1 answer
Flash AS3 - URLLoader loads last data again
Okay, here is one weird bug...
In my app, I load multiple xml files. And to load those, I always create a new URLLoader. Nothing special.
The first file works fine, the second one does, too.
The third one, however, reports to have loaded fine, but…

TheSHEEEP
- 2,961
- 2
- 31
- 57
0
votes
3 answers
ActionScript 3: How to remove EventListener with anon functions
I have written code as follows.
Problem is that I can't remove Event.COMPLETE event listener and when I call the loadData function twice or more, it works 2 times or more. Sorry for my bad english and worse explanation but I need to fix it today and…

Farid Rn
- 3,167
- 5
- 39
- 66
0
votes
1 answer
How do I add an event to URLLoader Class?
Keeping into consideration the Actionscript 3 event HTTPStatusEvent:HTTP_RESPONSE_STATUS, which is ONLY AVAILABLE for AIR (and not Flash 9/10)
Quote from site:
Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0, Flash Lite 4
I would like…

Dandy
- 303
- 5
- 14
0
votes
2 answers
Post values to a URL using Flash
I'm dipping my toes into Flash development and wondered how to post some variables to a URL.
Let's say the user has played a Flash game, packaged as an EXE or SWF embedded in HTML stored on the user's computer, not from some webpage, and would like…

NeilC
- 1,380
- 1
- 17
- 36
0
votes
1 answer
Loading a swf into a particular layer
I'm loading multiple swfs into a container swf, how do I decide which is on top of the other? Currently I'm loading a swf like this:
var myLoader:Loader = new Loader();
var url:URLRequest = new…

James T
- 3,292
- 8
- 40
- 70
0
votes
2 answers
TinyURL popup opening instead a tab
I gotta an uncommon problem over here.
I have to call the tinnyURL service to shorten my URL, it is working fine. After that, I have to call another tab, but for some reason, it calls a pop-up.
I'm assuming that the problem is when I call the…

marceloduende
- 719
- 2
- 6
- 15
0
votes
2 answers
url-loader with Webpack 5. Images are not loaded
For a small front-end vanilla JS project, I am using Webpack 5. I will only have one HTML page with text and some small icons, so I would like to use url-loader for these icons.
I installed the necessary modules with this command:
npm install…

Safari
- 11,437
- 24
- 91
- 191
0
votes
2 answers
why get blocked when upload with multiple URLLOADER s?
I want to upload images with multiple URLLOADER s,so that i could save the time when waiting for the COMPLETE_EVENT.
Sometimes it could get blocked,and it does not give a completion event, does not give a security error, does not give a status event…

wa7chen
- 1
- 2
0
votes
1 answer
Error taking images from the template in webpack 5
I am developing a basic application so instead of using some framework I am just using Typescript with the help of Webpack.
The problem is that I can't get webpack to take the images from the html template correctly.
The only way I could do it is by…

Fernando Arbelo
- 185
- 2
- 14
0
votes
1 answer
Actionscript 3, URLRequest/URLLoader problem. Server not receiving data
I am trying to send a server "schooltraq.com/api/" variables for a request.
My Code:
package
{
import flash.display.MovieClip;
import flash.display.Sprite;
import flash.events.*;
import flash.net.*;
public class tester extends…

akadouri
- 128
- 6
0
votes
1 answer
Actionscript 3, loading image from web
I'm trying to load an external image into my air app.
CODE HERE (http://pastie.org/2314164)
xml.artist_pic is pointing to image example: http://www.example.com/image.jpg
GLOBAL.skin.albumArt is a movie clip which inside has bitmap.
What am I doing…

Raimonds
- 2,606
- 3
- 20
- 25
0
votes
1 answer
How to use a custom Webpack Loader in Gatsby JS?
I am trying to change the default webpack loader for SVG files in Gatsby JS. I want to use the 'svg-url-loader' instead of the default 'url-loader'. I have installed it, and it works fine with webpack-inline-loaders.
But to avoid repeating the…

Rafid Muhymin Wafi
- 328
- 3
- 12
0
votes
1 answer
url-loader without webpack?
I have a component library that will be shipping with a few small assets (images). Those assets are imported into various components in the library.
The build script uses babel (without webpack) to transpile the js(x) to a build directory, and is…

Patrick Dench
- 813
- 2
- 9
- 27