Questions tagged [urlloader]
223 questions
1
vote
1 answer
Why is my URLLoader returning no data?
in AS3 I'm trying to load a URL (a Yahoo address) into the application so I can process the source code and pull things out of it.
However, when I load it, or any other page, I get 0 bytes back.
Here's my current code.
private function…

Chris R.
- 699
- 8
- 23
1
vote
1 answer
URLLoader at Actionscript
At the URLLoader reference there is the following example:
private function completeHandler(event:Event):void {
var loader:URLLoader = URLLoader(event.target);
}
I cannot understand the URLLoader(event.target) syntax.…

johnk
- 390
- 1
- 4
- 14
1
vote
0 answers
Sending script to php file with URLLoader returns 0 when I try to GET it
I have a game, I want to write score in my database when the game is over. This is the urlloader function:
public function gameFinished(){
var urlLoader:URLLoader = new URLLoader();
var req:URLRequest = new…

Dimitar Velev
- 43
- 5
1
vote
3 answers
I am trying to parse a text file I loaded in Actionscript 3.0, help please
All I can find information on for the URLLoader object in Actionsript 3.0 involves loading XML files, which I don't want to do. I'm trying to load in a .txt file that I want to parse, line by line with each line being delimited by a comma. Anyone…

Joe.F
- 13
- 3
1
vote
0 answers
Flash AS3 Error 2032
I am trying to send some data using URlLoader and urlVariables(this also includes encoded images ) on a button click to Php Script.Its a POST request. My client says - "Most of the times it works fine but sometimes it gives an "Error 2032"" but i am…

user2806928
- 41
- 2
1
vote
1 answer
Increasing timeout for URLLoader on iOS
The timeout value of URLLoader on an iOS AIR application seems to be less than 5 seconds (how to I find out the exact value?). If a request takes more than that, an IOErrorEvent is raised.
How do I increase the timeout value? There is an answer for…

Zebra Propulsion Lab
- 1,736
- 1
- 17
- 28
1
vote
1 answer
URLLoader Throwing Uncatcheable ioError when No Internet Connection
Flash is throwing an uncatchable exception when using a URLLoader with no internet connection:
Error #2044: Unhandled ioError:. text=Error #2032: Stream Error
Since I'm developing a phone app, there's always a chance the internet will drop. I want…

DoomGoober
- 1,533
- 14
- 20
1
vote
1 answer
Flash AS3 - Load XML from outside web directory on the local server
Is it possible for flash to access data from outside of the root directory of the server it resides.
i.e.
Root directory = /var/www/httpdocs
SWF = /var/www/httpdocs/flash/file.swf
XML = /var/www/xml/file.xml
Thanks!

Dan Tudor
- 61
- 1
- 4
1
vote
1 answer
ActionScript URLLoader URLRequest
I've got some problem with EventListener for loader:URLLoader. How can I determine if a file is already uploaded to the server or not?
var myRequest:URLRequest = new…

Kzw
- 23
- 1
- 8
1
vote
2 answers
Actionscript 3 Read Response Content-Type
Is it possible to read the raw content-type of a web server response using the URLLoader class in Actionscript 3? We're receiving self descriping messages over http:
HTTP/1.1 200 OK
Cache-Control: max-age=0, private, must-revalidate
Content-Type:…

Jack Murphy
- 2,952
- 1
- 30
- 49
1
vote
0 answers
How to store data from URL in sqlite database iphone
I have hosted web service(.Net) on IIS to get the data from SQL Server DB;parse it and store it in my SQlite DB in iPhone.How can i do this?
My web service is working fine and I'm getting data in XML format.
I searched on net, but did not found any…

bapi
- 1,903
- 10
- 34
- 59
1
vote
2 answers
Progress bar for loading xml data in actionscript 3
I'm using Flash CS5 and FlashDevelop to build a game in ActionScript 3.
I'm trying to have the game as much datadriven as possible. So most of the game information is stored in XML files that are loaded when required by the game.
This loading works…

paup
- 23
- 5
1
vote
0 answers
Adobe Air load local HTML
When I load index.html from IDE it works fine!
But when I start compiled application it doesn't work.
The code:
_html = new HTMLLoader();
var fileURL:String = "app:/components/posteditor/ckeditor/index.html";
_html.load( new URLRequest(fileURL)…

sadensmol
- 93
- 1
- 7
1
vote
1 answer
How to manage temporary network issues when using UrlLoader?
I'm creating an RSS Ticker to be used on a bunch of displays thoughout the office. This RSS Ticker will run in tandom with a Twiter Feed reader, a weather widget and a clock, all in the same .fla.
As there are a ton of these displays, I don't want…

Chronicide
- 1,112
- 1
- 9
- 32
1
vote
2 answers
Actionscript - php not running with URLLoader.load(new URLRequest("i.php"));
I've got an actionscript code supposed to run a php script which, to make sure the error is not on it but on the AS code, I've reduced to creating a plain text file.
After the line supposed to call the php script, I've got a call to 'trace' in order…

Jorge Antonio Díaz-Benito
- 1,036
- 12
- 32