This content has been marked as final. Show 5 replies
Emcee is the instance name of the movieclip?
--> Adobe Community Expert
*Flash Helps* http://www.smithmediafusion.com/blog/?cat=11
*THE online Radio* http://www.tornadostream.com
*Must Read* http://www.smithmediafusion.com/blog
"davefc" <email@example.com> wrote in message
>I have a one-scene, one-frame main document, call Quiz.fla. I have
> animation movie clip -- Emcee.swf -- using "File->Import to Library". I
> drag the Emcee onto the Quiz.fla workspace and name the instance "Emcee".
> I cannot seem to finely control the imported movie clip instance from the
> movie clip. Emcee.stop() and Emcee.play() can be invoked properly from
> main document, but Emcee.gotoAndPlay("listenStart") is ignored.
> is the name of a frame in the imported movie clip.) How can I invoke
> gotoAndPlay() on the child clip's frame names from the parent clip? What
> am I
> missing? (Code example appreciated!)
> Thanks for your help in advance!
i think you lose all sorts of functionality of your swf when you import it to the library including all actionscript, frame labels, instance names etc.
you can try and import it to a movieclip's timeline which is only slightly better: you can clearly see that you've lost all the things mentioned above.
use loadMovie() to dynamically load your swf.
Yes. "Emcee" is the instance name of the imported movie clip file, Emcee1.swf, after I drag it onto the stage.
Using loadMovie() for a child SWF does indeed allow me to invoke gotoAndPlay() using the child's frame names.
I greatly appreciate your help and expertise.