Keep a movie clip invisible until the effect shows

Posted by jlnelson19 
Keep a movie clip invisible until the effect shows
December 02, 2009 07:46PM
I have a movie clip that I don't want to be visible until the show effect begins. Seems reasonable right? So I do this:

myMovieClip.visible = false.

That works, of course. But when I add the effect to the movie clip like this:
effect.target = myMovieClip; //or effect._targetInstanceName = myMovieClip.name;

That makes the movie clip visible on stage, even with effect.showAutoPlay = false;
I don't want the movie clip to be visible until I say effect.show();

Please advise. Why does setting the target make the movie clip visible?
Re: Keep a movie clip invisible until the effect shows
December 02, 2009 09:52PM
this works:
effect.targetVisibility = false;
Re: Keep a movie clip invisible until the effect shows
December 04, 2009 07:28AM
jlnelson19,

The FlashEFf2 target is automatically placed into the FlashEff container during the animation and the target visibility is automatically turned on even if it initially was set to false. To make the target visible false before the animation starts you will have to set the FlashEff's2 targetVisibility parameter to false.
Sorry, you do not have permission to post/reply in this forum.