zeh / tweener

Automatically exported from code.google.com/p/tweener
3 stars 4 forks source link

"256 levels of recursion" error on externally loaded swf while using FilterShortcuts #57

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
In case of a defect report, please use this form for *VERIFIED* bugs only.
If you're unsure whether this is a defect or not, or you're unsure you're
using the right syntax, use the mailing list first to ask for advice or to
check if you're doing anything wrong.

Q. What is the expected outcome? What happens instead?
Loading screens into a movie clip via external swf's while tweens are in
progress that are using FilterShortcuts results in a "256 levels of
recursion" error.

Q. What code will reproduce the problem?
Create a main shell .swf that loads 2-3 different swf's. Change the swf
that is loaded mid tween(must be a FilterShortcuts, IE: blur)

Q. What version of the class are you using, and under which development
environment (IDE version, compiler, etc)?
1.31.74, CS3

Please provide any additional information below. Also, please attach
*small*, sample files with minimum functionality to reproduce the problem
if possible.

Original issue reported on code.google.com by joelgill...@gmail.com on 16 Mar 2009 at 6:26

GoogleCodeExporter commented 9 years ago
As good practice, make sure that you remove tweens on the swf before it is 
removed 
from the stage. Generally I remove all tweens, all children of the loaded swf 
and 
other garbage collection techniques (setting to null). Just because your swf 
has 
been removed from the stage or replaced by another swf doesn't mean that 
applied 
tweens are stopped.

Original comment by cr...@blueion.com on 30 Mar 2009 at 8:24

GoogleCodeExporter commented 9 years ago
I also had this issue with cuePoints firing tweener animation.  I removed the 
filter 
shortcut import and the Blur_blurX from the code and the error stopped 
occurring.

sample code without blur filter in it:
slidePlayer.ns.onCuePoint = function(infoObject:Object) {
    for (var paramName:String in infoObject.parameters) {;
    if (infoObject.parameters[paramName] == "title") {
        Tweener.addTween(slideTitleMC,{_alpha:100, _x:350, time:.75, 
transition:"easeOutBack"});
        trace("Title Cue Fired");
    }
}

thanks.

Original comment by david.la...@valero.com on 28 Aug 2009 at 2:16

GoogleCodeExporter commented 9 years ago
I'm also having this issue with keyboard triggered frame changes (causing 
tweened
movieclips to be destroyed).

Original comment by dwalli...@gmail.com on 10 Sep 2009 at 8:59