Questions tagged [urlloader]

223 questions
0
votes
0 answers

First time loading with URLLoader is very slow, subsequent loads are OK

I am having a hard time figuring out why this is happening. I am trying to load some variables from a server with URLLoader and URLVariables. It works without errors, but the first batch of data takes forever to load (like 25+ seconds), and all…
Zoltan Vari
  • 156
  • 4
0
votes
1 answer

as3 how to use a URLLoader in a class

Is it possible to use a URLLoader in a class? I am trying to use it in a class. Code is taken from: http://www.republicofcode.com/tutorials/flash/as3externaltext/ And here is my class I am trying to use it in but I get this…
Papa De Beau
  • 3,744
  • 18
  • 79
  • 137
0
votes
2 answers

How to make URLLoader return an AsyncToken?

I was trying to retrieve binary data over HTTP for my Flex application, and was running into some stumbling blocks. HTTPService did not seem to deal with binary data well, people said to use URLLoader. But URLLoader does not have the nice…
Karthik
  • 403
  • 3
  • 14
0
votes
1 answer

Unknown error communicating between PHP and Actionscript

I've got a problem that's either insanely simple or complex, it's up to you to find out. I've been working on trying to incorporate the URL Loader class into the beginners graphics program - Stencyl. I am fluent in HTML, CSS and PHP but actionscript…
user2867893
  • 29
  • 1
  • 1
  • 6
0
votes
1 answer

Get location from the URLLoader?

How to get location from the URLLoader in AS3 or haxe? What I have: private function Auth():Void { _url = "https://my_url.com"; request = new URLRequest(_url); request.method = URLRequestMethod.POST; var loader:URLLoader…
dmitryhryppa
  • 119
  • 3
  • 11
0
votes
1 answer

Intercept a loader request in as3

I am attempting to catch all of the url requests made to our server from a mobile app and store those values. When the app is in an online state, I will download the values and store them to an on disk library and then when in offline mode I can…
Magos
  • 13
  • 4
0
votes
1 answer

Getting bitmapdata from url too much oncomplete handlers - Actionscript

there is a function i use, that i created that should get the bitmapdata and send it back from the urls of a object. I track how many times the function is called: the d variable, and how many times it comes back, it should of course be equal, but…
David Raijmakers
  • 1,369
  • 1
  • 16
  • 40
0
votes
1 answer

Flash URLLoader and Location -redirection

I have a Flash object that sends an URL request with URLLoader. However, how do I make it follow those Location: redirections in headers?
Tower
  • 98,741
  • 129
  • 357
  • 507
0
votes
1 answer

Air Android - StageWebView and URLLoader cache

I'm using StageWebView in an Air (3.6) for Android app to let a user grant access to his account via OAuth. After that I'm using a URLLoader to get the access token and account info. That works on Air for Desktop but not on Air for Android. It looks…
Jay
  • 511
  • 1
  • 13
  • 23
0
votes
1 answer

Text stops showing unless not playing

So i finally got my flash application to work and have it running on a website but after a while the dynamic text stops showing up in the fields. The file is set to loop every 5 seconds and it is supposed to update to show the staff on air and what…
0
votes
1 answer

AS3. Return a value with Loader Complete Event

I want to make some function, with returning loading object. Something like: var myVar:String; myVar = MyFuncs.GetResponse("http://www...."); And GetResponse function must return some string value, for example json-like text. I try.. But…
dmitryhryppa
  • 119
  • 3
  • 11
0
votes
1 answer

How to get URLLoader data dynamically in AS3?

In an AS3 Flash project I have a .txt file with 90 paramters like: st75=15&st2=34&st14=3& ...and so on until 90. They are not even sorted from st1 to st90. I need to be able to get them in a for loop, like: for(var i:Number=1; i<=90; i++) { var stat…
marius
  • 35
  • 5
0
votes
2 answers

ActionScript 3.0 URLRequest with Relative Link

I am trying to pass some data between PHP and Flash. In Flash I have managed to get the code below working. The problem is I want to use a relative link such as "data/config.php" however this gives me the following error: Error #2044: Unhandled…
0
votes
1 answer

How to send data away immediately by URLLoader in ActionScript3?

Grateful for your reading first. This is my code: private function send( pkt:ByteArray ) { var int count = 0; var request:URLRequest = new URLRequest( ... ); var loader:URLLoader = new URLLoader( ... ); request.contentType =…
Zachary
  • 127
  • 1
  • 2
  • 15
0
votes
1 answer

Flex - URLLoader - can I add eventListener after load event? (seems to work)

I'm executing the following code var myXMLURL:URLRequest = new URLRequest("config.xml"); myLoader = new URLLoader(myXMLURL); // implicitly calls the load method here myLoader.addEventListener(Event.COMPLETE, xmlLoaded); …
stevemcl
  • 367
  • 1
  • 3
  • 11
1 2 3
14
15