Subscribe via feed.

Joy with the script timeout period

Posted by admin on August 24, 2007 – 10:40 pm

Isn’t it just great when you finally find a useful new feature in Flash 9.
I’m talking about the script-timeout period.
Remember how you sometimes had to run a script for more than 15 seconds and always got that annoying timeout popup? From now on (using Flash 9 / player 7 and up) you can set the timeout as you wish. Isn’t that just great?!
It gets even better when you use AS3; the player doesn’t just show the script-timeout popup but it actually throws an Error (“Error #1502: A script has executed for longer than the default timeout period of 15 seconds.”). This way you can make a certain part of your script (which needs more time than the supplied timeout period) run over and over again until the calculation is complete.

Here is an example:

This is just an example and I’m sure you can think of much more useful ways to use this feature.
Hope it heps you along…


This post is under “as3, flash, Flash 9” and has 5 respond so far.
If you enjoy this article, make sure you subscribe to my RSS Feed.

5 Responds so far- Add one»

  1. 1. venfeakpoofi7 Said:

    I merely stumbled on your blog along with rapidly scanned alongside.

  2. 2. ocivasi2 Said:

    Nice one for composing this informative article. I am considering what you’ll do with the help of my 3-D unit

  3. 3. ceiosi87 Said:

    Great Data . You should intellect plainly discuss this submit into my weblog. You and your blogging site will really obtain credit scores

  4. 4. kidejas77 Said:

    Great content, handy blog page, thanks for your hard work, proceed, folks!

  5. 5. Teepaproiff Said:

    I seemed to be hence bothered beacuse We couldn`t settle this particular. Next, i found your web blog in google and additionally issue is solved. Thank you!