Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

AS3 Error #1502

AS3 Error: Error #1502: A script has executed for longer than the default timeout period of 15 seconds.

Is there a way to temporarily suppress this on a specific block of code?

I am creating a HUGE dynamic 3d array of objects, 1000x1000x1000 and need the build to actually finish the initializing.

like image 896
SimpleRookie Avatar asked Jul 17 '11 09:07

SimpleRookie


People also ask

What is AS3 programming?

ActionScript 3 is an object-oriented programming language originally created by Macromedia Inc., which continued to evolve after being acquired by Adobe Systems. It is a superset of the ECMAScript standard (more widely known as JavaScript) with a stronger focus on classes, interfaces, and objects.

What is Flash AS3?

Action Script 3.0 in Flash allows you to create all kinds of fully interactive applications such as dynamic websites and computer games. Also, AS3. 0 is an object-oriented programming language; if you are familiar with AS3.

Does ruffle support AS3?

As of December 2021, Ruffle primarily supports older Flash content, which uses ActionScript 1.0 and 2.0 with 85% of the language and 50% of the API implemented. ActionScript 3.0 support is at 10% of the language and 5% of the API.


1 Answers

Your best bet would be to try and refactor your code. Perhaps you can make use of this tutorial which deals with the exact problem you are having.

http://www.senocular.com/flash/tutorials/asyncoperations/

like image 130
Allan Avatar answered Sep 27 '22 23:09

Allan