This content has been marked as final. Show 6 replies
onClipEvent(enterFrame) executes the code within repeatedly fps times per second where fps is your swf's frames per second. so, a loadMovie() in that loop isn't going to work unless you update the loadMovie() parameters with each loop and terminate the loop.
in addtion, image and eMC may not be defined within the scope of the movieclip to which your loadMovie() function is attached.
Also, your ‘image’ variable is never declared. You need to essentially swap the two sides of;
this["new"+i].image = image;
image = this["new"+i].image;
I also don’t see why you would need to use an onClipEvent or a onEnterFrame. So I after you done that swap, I would then put this loadMovie() directly below it;
Thanks guys. I'll check these out and get back to you.
Got it! The Scope. Thanks for defining my problem kglad.
you're welcome, again.