Skip to main content
Inspiring
Apr 23, 2014 9:42 PM UTC
Question

URLRequestDefaults.idleTimeout ... is there a Flash Player equivalent?

Anyone ever messed with "URLRequestDefaults.idleTimeout"

This basically lets AIR apps specific how long to wait for a response back... which is great....except its only AIR.

Does anyone know of an option for the Flash Player only? I have a service that can sometimes take up 3-4 minutes to complete... so i'm left with always getting a stream error 2032.

This topic is closed to new replies. Start a new post to keep the conversation going.

7 replies

Apr 30, 2014 8:49 PM UTC

You can always setup a manual timeout using the Timer class or setTimeout() method under the "flash.utils" package.

Translate
Inspiring
May 1, 2014 7:18 PM UTC

thanks for the reply though....umm... curiously did you read what I wrote? or did you read the word "timeout" in the title and then just start typing away...

I am using the loader class to load some data... and the time required for it to complete is longer than the default waiting period given for URLRequests. There is specific functionality given to AIR through the use of URLRequestDefaults.idleTimeout that makes the waiting period longer.

Using a Timer class or setTimeout() has absolutely nothing to do with this problem.

Translate
Colin Holgate
Inspiring
May 1, 2014 7:21 PM UTC

I would bet not. Usually when the AIR symbol appears in the help:

http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/net/URLRequestDefaults.html

the feature is AIR specific.

Translate