This content has been marked as final. Show 5 replies
use trace(this._alpha), for example to see what you're doing.
once you find you can't delete or stop the enterFrame from looping, you should ask how to stop it.
the answer is you can't and that's why you shouldn't use an enterFrame loop attached to a movieclip.
and then you can delete it when no longer needed. you'll run into more problems as you procede. (for example, code attached to a movieclip that's that target of a loadMovie is removed once the loading code is executed.)
Do you think that's the main issue? The fact that the code is attached directly to the movie clip? Or is there a larger problem with the enterframe?
Thanks for the advice...
well, what are you trying to accomplish? if you want a movieclip that's on-stage to fade-in when your swf first displays you can use the code below.
but if you want to use targetMC.loadMovie("image1.jpg"), for example, and you want image1.jpg to fade-in after it loads, you must do much more.
you need to use preloader code to ensure image1.jpg has completed loading and then you need to start its fade.
Basically, I have six buttons all sending different jpegs into a "holder" movie clip on my stage. I wanted the holder clip to fade in and out when each button is pressed to load a new jpeg.