Joy with the script timeout period
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…
December 5th, 2011 at 6:15 pm
I merely stumbled on your blog along with rapidly scanned alongside.
December 10th, 2011 at 6:05 pm
Nice one for composing this informative article. I am considering what you’ll do with the help of my 3-D unit
December 17th, 2011 at 5:31 pm
Great Data . You should intellect plainly discuss this submit into my weblog. You and your blogging site will really obtain credit scores
December 18th, 2011 at 3:56 pm
Great content, handy blog page, thanks for your hard work, proceed, folks!
December 18th, 2011 at 4:55 pm
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!