Questions tagged [urlloader]

223 questions
3
votes
1 answer

IOError 2032 happens sometimes

My application loads 60 files at the same time. I mean I create 60 loaders (in an array) and start all loadings in a loop, I don't wait for one to complete before I start the next. I use a class that extends URLLoader to load xml, bin, png, mp3 and…
user1883136
  • 101
  • 10
3
votes
1 answer

get the source of web in as3

This is probably an imposible thing to do, but I want to ask. Is there a way to get the html source of a webpage by providing a link?
2
votes
2 answers

actionscript 3 synchronous loader

I have typical situation where big loop is loading lots of images and its done asynchronous which make browser to frees during loading and I want to make it synchronous but having big trouble doing it. I found this class synchronous loader and it…
Yovo
  • 629
  • 3
  • 8
  • 16
2
votes
1 answer

How to handle security error and time out error of UrlLoader.load() in actionscript3?

I use UrlLoader.load() in my flash app. And I'm handling UncaughtErrorEvent.UNCAUGHT_ERROR to stop the app when an uncaught exception occured. UrlLoader.load() works when you are connecting the internet normally. But if the connection to the…
js_
  • 4,671
  • 6
  • 44
  • 61
2
votes
1 answer

Catching Flash URLLoader errors

I'm trying to bullet proof a URLLoader and wondering where I need to capture things like 404s and more importantly, mid-session timeouts and connectivity failures. The app will be run in places where the connectivity is spotty and it is very…
Yevgeny Simkin
  • 27,946
  • 39
  • 137
  • 236
2
votes
1 answer

Does the url-loader plugin inline URLs in tags, how?

Udate: Although I haven't been able to find out whether this is a feature or a bug. It seems url-loader can't process the assets used in the Svelte component unless those are loaded via require. So I would like to know what's the more common or…
rraallvv
  • 2,875
  • 6
  • 30
  • 67
2
votes
1 answer

use url-loader in vue for images in a specific directory

Vue-cli has already configured url-loader to load base64 url encoded images for images smaller than 4kb. I need to load all images from a specific assets directory, let's say @/assets/img/pdf, as base64 to embed them into a pdfmake pdf. I've already…
markusand
  • 235
  • 7
  • 18
2
votes
2 answers

Using URLLoader.load inside a for loop

I'm creating a website using Adobe Flash Professional CS5. I'm trying to read the content of a text file with URLLoader.load(path) inside a for loop. The path changes every iteration. When I trace the data from the event handler method, it returns…
user721689
2
votes
1 answer

Webpack 4 css-loader cannot resolve font

Webpack/css-loader is throwing the error: ERROR in ./src/styles/global.css (./node_modules/css-loader??ref--11-1!./node_modules/postcss-loader/lib!./src/styles/global.css) [React] Module not found: Error: Can't resolve 'expert-sans-light.woff'…
mildrenben
  • 3,675
  • 5
  • 23
  • 37
2
votes
2 answers

How to import the image dynamically

I use url-loader to load images in my webpage by converting them in byte. Here is my normal case which works fine: import React from 'react'; import accountImg from '../../../../images/setting/account.png'; const Account =(props) => (
Hamed Minaee
  • 2,480
  • 4
  • 35
  • 63
2
votes
0 answers

Loading custom typeface fonts with webpack 4

Tried different ways to load the custom Gugi/Roboto font in webpack 4. None seems to load the font properly. But, when I install the font in system, it works as expected - indicating that Css and app works fine. Thus, it seems to be a webpack…
user3499836
  • 87
  • 1
  • 9
2
votes
2 answers

Imports not recognizing image modules in react using webpack with typescript

I am having an issue where I am getting the following error when using webpack to load my image files. If I run the application with the webpack-dev-server, the image will display so it is able to pull it in. The folder structure looks like so: -…
Shawn
  • 2,355
  • 14
  • 48
  • 98
2
votes
0 answers

Webpack Error using image-webpack-loader and url-loader in conjunction with eachother

I'm trying to use url-loader and image-webpack-loader in conjunction with each other with Webpack. I have a very simple demo app with one image that I'm working with. On npm run build, the image seems to be encoded with url-loader, and style.css…
rpivovar
  • 3,150
  • 13
  • 41
  • 79
2
votes
1 answer

'Font awesome' appropriate loader to handle

I'm trying to include font awesome in my reactjs application and these are the steps i followed. 1. npm install --save font-awesome 2. Import it to my jsx file import '../../../../../../node_modules/font-awesome/css/font-awesome.min.css'; 3.…
CraZyDroiD
  • 6,622
  • 30
  • 95
  • 182
2
votes
1 answer

Images are not loading in browser with react, webpack and express

I am working on a site build in react. It was working fine until I have implemented express. After implementation of express, I am not able to load some resources, especially images in the browser. The image path is coming correct but images are not…
Triyugi Narayan Mani
  • 3,039
  • 8
  • 36
  • 56