External AS2 SWF loaded into AS3 SWF causing 256 levels of recursion
Hi all,
i have a video player that integrates the Google IMA Flash SDk for displaying ads.
The application is written with AS3, and in working without any errors.
From time to time, there are some Flash creatives that are build with GreenSock that loads into the player through the IMA SDK.
When this occurs, according to flash debugger i got the error mentioned in the title:
"256 levels of recursion were exceeded in one action list.
This is probably an infinite loop.
Further execution of actions has been disabled in this movie."
Furthermore, in the flash debugger i'm seeing the following call stack:
TweenLite::to( target, duration, vars)[no source]
TweenLite::jumpStart(root)[no source]
This is going on and on infinitely, causing the flash debugger to stop with the message:
Unexpected Java Exception encountered. Debug session will terminate.
When i'm testing the application without debugging it, most of the player controls becomes unresponsive, also the NetStream, leading to malformed statistic of the player ( current time, unable to pause and resume, etc ).
Another strange thin is that when i right click on the flash player and click on the settings item from contextual menu, it loops through all tabs ( Display, Privacy, Local storage etc ) like 10 times per second, so there is definitely a problem.
I've attached also two screenshots of the debugger, before ad is loaded and after.
Is there a way i can "jail" or restrict the loaded content to make this mess?
Is there a way of loading the external SWF in a way that it can not affect the loader SWF timeline, like an html IFRAME if this is a happy comparison.
Any help would be highly appreciated.
Thanks,
Dan
