all groups > flash actionscript > january 2005 >
You're in the

flash actionscript

group:

Actionscript Error disabling my entire Movie


Re: Actionscript Error disabling my entire Movie Jamie
1/4/2005 2:59:40 PM
flash actionscript:
Another possibilitiy is if you have a function reloading itself with no
end...

// this will repeat endlessly.
function doSomething()
{
trace("Hello World");
doSomething();
}
doSomething();

------------

var i = 0;
while(i < 5)
{
trace("Hello World");
// to end this loop uncomment the line below
// i++;
}


------------

Check your loops and make sure you're using the correct variables and
exiting them properly.
Actionscript Error disabling my entire Movie fanmap81
1/4/2005 9:35:12 PM
I have this movie that calls ina nother movie that was working fine until just
recently when i now start to get this error in the output: 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. Can anybody tell
me what could be going on and how i can go about rectifying the situation?
Thanks
Re: Actionscript Error disabling my entire Movie NSurveyor
1/4/2005 9:46:37 PM
This is cause when you have a script, that goes on forever. Usually a for loop.
Like:

for(x=0;x<2;x=0){
trace(x);
}

Or this:
_root.loadMovie(_url);

It has to do with the actionscript you are using. So, what are you using?
AddThis Social Bookmark Button