Skip to main content
Inspiring
April 23, 2014
Question

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

  • April 23, 2014
  • 1 reply
  • 944 views

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 has been closed for replies.

1 reply

April 30, 2014

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

Inspiring
May 1, 2014

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.

Colin Holgate
Inspiring
May 1, 2014

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.