Questions tagged [urlloader]
223 questions
2
votes
0 answers
Fonts not loading after upgrade from Webpack 1 to Webpack 2
I've just upgraded ny webpack.config.js to be compatible with Webpack 2 and now my Glyphicons are no longer found.
This is an extract from the old Webpack 1 config that did work
module: {
loaders: [
{
test: /\.scss$/,
loader:…

Dave Sag
- 13,266
- 14
- 86
- 134
2
votes
1 answer
Actionscript 3: each line from text file as a element in array
So my problem is that trace within the function does trace the first element of the array, but the trace outside if the function does not. I do declare the array variable outside the function, but the data wont save to the array variabel.
var…

Andreas Mikalsen
- 21
- 3
2
votes
1 answer
Webpack url-loader jpg file inline
I am trying to inline loading a jpg using url-loader like this:
let image1 = require("url?limit=100000000!./samples/sample.jpg");
after running I…

Luis
- 5,979
- 2
- 31
- 51
2
votes
1 answer
file-loader, url-loader and webpack not loading image
I am trying to import the image in my React code like so (I'm using babel):
import borgCube from '../assets/cube.png';
What I see when I inspect the broken image in the browser:

raptoria7
- 789
- 7
- 12
2
votes
2 answers
URLLoader doesn't even try to load. Error #2032: Stream Error
I am trying to use URLLoader to load an XML file from server (same domain as swf). This should be too simple but I am getting Error #2032: Stream Error
If I trace the HTTP status event it just shows status=0 though I have read that Mozilla doesn't…

Anentropic
- 32,188
- 12
- 99
- 147
2
votes
1 answer
How to use url-loader import multiple images in webpack?
My webpack config:
{ test: /\.(png|jpg)$/, loader: 'url?limit=8192' }
In my project, I must import images like this:
import homeBg1 from './image/homeBg1.jpg';
import homeBg2 from './image/homeBg2.jpg';
import homeBg3 from…

Mervyn
- 543
- 4
- 15
2
votes
2 answers
URLLoader.load() issue when using the same URLRequest
I have an issue with my eventListeners with the URLLoader, but this issue happens in IE, not in FF.
public function getUploadURL():void {
var request:URLRequest = new URLRequest();
request.url = getPath();
request.method =…

Rudy
- 259
- 1
- 13
2
votes
2 answers
Combining URLRequest, URLLoader and Complete Event Listener In Actionscript 3.0?
when handling data, i always have to write the following:
var dataSourceRequest:URLRequest = new URLRequest("/path/file.xml");
var dataSourceLoader:URLLoader = new URLLoader(dataSourceRequest);
dataSourceLoader.addEventListener(Event.COMPLETE,…

Chunky Chunk
- 16,553
- 15
- 84
- 162
2
votes
5 answers
Flash vs. Flex: Why not skip Flex and use AS3's URLLoader + server code entirely?
I'm familiar with most of the Flash vs. Flex comparisons out there and most of them present some version of "Flex is better for RIA's while Flash is better for design work".
Yet isn't it entirely possible to write elaborate RIA's using the…

Thomas
- 5,736
- 8
- 44
- 67
2
votes
0 answers
as3 URLLoader always failing with IOError
I'm having problems with URLRequest in a flex application, it fails with whatever url I try:
var r:URLRequest = new URLRequest("http://stackoverflow.com");
var l:URLLoader = new URLLoader();
l.addEventListener(IOErrorEvent.IO_ERROR,…

user2321768
- 21
- 3
2
votes
1 answer
AS3 Resetting UrlLoader Cache
Good Day,
I’ve encountered problems with the cache of the UrlLoader in Actionscript 3.
I make a UrlRequest to a php site to get a timestamp.
When I call initiate the class (which contains the function) a second time, the result is the same.
I have…

Jake
- 115
- 1
- 3
- 15
2
votes
2 answers
URLLoader Event.Complete Not Triggering
private var csv:URLLoader = new URLLoader();
private var array:Array = new Array();
private var urlr:URLRequest = new URLRequest();
public function loadRecipe(path:String):void
{
try
{
csv.dataFormat = URLLoaderDataFormat.TEXT;
…

user1964603
- 51
- 5
2
votes
1 answer
AS3: Multiple "get" URLRequests not working
I'm trying to read data from a server by using a GET URLRequest with a URLLoader, and it does work. The problem is, it only works once.
public class Settings
{
private static var request:URLRequest;
private static var loader:URLLoader;
…

AndrewFerr
- 23
- 3
1
vote
4 answers
URLLoader loads multi files and the result order is the same as call load()
Since URLLoader is async, how to make sure the order of data from server side is the same as the loader.load() call? In other words, the data order in totalResults is the same order of url-related content?
Following is code snippet:
1.for each(var…

jason
- 1,621
- 6
- 21
- 39
1
vote
3 answers
AS3 Error #2044: Unhandled error: whilst using URLLoader even with IOErrorEvent event listener
I am occasionally getting flash popup this error:
Error #2044: Unhandled error:. text=
My code is here:
private var _myLoader:URLLoader = new URLLoader();
public function load():void {
var finalURL =…

Oli
- 47
- 10