Questions tagged [urlloader]
223 questions
1
vote
2 answers
How to upload BitmapData to a server (ActionScript 3)?
I have bitmapData. I want to upload it to a server using URLLoader. I tried many ways, but with no result.
This is my current code in ActionScript 3:
import flash.net.URLLoader;
import flash.net.URLRequest;
import…

serg66
- 1,148
- 1
- 17
- 31
1
vote
1 answer
Getting Error #2032: Stream Error. in Flash while sending url request to server
I am sending http request to server via URLLoader in Flash. My Code is:
var urlLoader:URLLoader=new URLLoader();
var urlRequest:URLRequest=new URLRequest();
var urlparam:URLVariables= new…

flash_flip
- 41
- 5
1
vote
0 answers
Webpack 5 can't resolve url path of background-image
I have tried multiple solutions like url-loader configuration but can't be helpful. I also tried asset/resource and asset/inline but not worked for me.
Any kind of help is appreciated. Remember I am using Webpack5.
Webpack.config.js (This is my…

Zain Zahid
- 33
- 2
- 8
1
vote
2 answers
URLLoader how to get the URL that was loaded?
Using the URLLoader is there anyway to get the filename of the file that has been loaded?
public function loadCSS():void {
var urlLoader:URLLoader = new URLLoader();
urlLoader.addEventListener(Event.COMPLETE, urlLoader_complete);
…

sixtyfootersdude
- 25,859
- 43
- 145
- 213
1
vote
4 answers
Issue sending a huge amount of data from flash
I'm having an issue sending a huge (~4MB) block of data from flash, to my java servlet, currently I'm transferring the data using URLVariables, however it seems there's a limit to this (because it seems to work, with smaller data blocks), how do I…

Skeen
- 4,614
- 5
- 41
- 67
1
vote
0 answers
Error during bundle: Error: Unexpected character '' (Note that you need plugins to import files that are not JavaScript)
I added font to react typescript project after that I try to build but its showing error
Error during bundle: Error: Unexpected character '' (Note that you need plugins to import files that are not JavaScript)
Adding font using styled-components…

Vishnu Pramod M.V
- 21
- 3
1
vote
1 answer
What object (key-value) can I use for actionscript's URLRequest/Loader classes?
I am trying to get my Actionscript program to turn in a key-value (more specifically: a key, value1, value2) object into a server. I am doing the html request properly, but I'm not sure what kind of object to send; can anyone help?
--Thanks

Ethan Sherr
- 7
- 3
1
vote
0 answers
Is there a problem when I use CSS-loader and url-loader?
when I use CSS-loader I set the options of url value false,then my url-loader won't handle the img where used in backgroud-url. The following is my setting,where is my problem?
css-loader config
exports.cssLoaders = function(options) {
options =…

dreamer zm
- 11
- 2
1
vote
2 answers
How can I prompt a user to open or save a PDF file returned by a .aspx file?
I have a Flex application that calls a .aspx page on our webserver, which builds a PDF or Excel File. Right now, I am using navigateToURL() to call the file, and this works fine when the output file is built successfully. However, if there is an…

Eric Belair
- 10,574
- 13
- 75
- 116
1
vote
4 answers
Load JSON data with URL loader
I am new to action script 3.0. Help me to understand how can I load data with URLLoader.
So, I have an aplication like:
var PATH:String = "http://www.somesite.com/myFirstPage.php?a=10&b=20";
var urlRequest:URLRequest = new URLRequest(PATH);
var…

yozhik
- 4,644
- 14
- 65
- 98
1
vote
1 answer
SyntaxError inside eot file with file-loader and webpack
I'm trying to use React Rainbow Components with Next.js (TypeScript) but I could not import font, so I used webpack with url-loader.
For some reason I keep getting the error SyntaxError: Invalid or unexpected token error - D:\Git…

Maxime Ghéraille
- 1,465
- 3
- 16
- 31
1
vote
1 answer
Webpack module rule test: Match files that contain a specific parameter
I want to display some specific images as data-uri instead of linking to the image location. For that I'm using the url-loader.
Here's my HTML (pug template):
img.loading(:src="require('@/images/spinner.png?inline')")
And my webpack related…

Cornwell
- 3,304
- 7
- 51
- 84
1
vote
2 answers
Unexpected security issue - localy in browser vs. from server
I'm writing mp3 player in flash for my website. It needs first to load xml file(from external source) with .mp3 info then .mp3 file. I use URLLoader.load to load xml file.
When i run my .swf in a browser(from local source) it throws…

f1ames
- 1,714
- 1
- 19
- 36
1
vote
1 answer
Viewing an image inside img tag using webpack in react is returning an object%20 module
I am passing an image name (this.props.backgroundImg) as a prop to a component (which points to "justice.jpg"). In the recipient component, i am appending the relative path using template literal to the src attribute in an img tag. So far so…

ryan
- 694
- 9
- 23
1
vote
1 answer
Webpack 4 - unable to load images with absolute path in src using url-loader
I have been been struggling with an issue with Webpack. I have tried searching everywhere online for a solution but did not manage to solve my problem.
I am building a React application with the following project structure: …

craig-nerd
- 718
- 1
- 12
- 32