This content has been marked as final. Show 3 replies
remove slide2 from frame 2 of mca and put it on frame 1 of mca. add actionscript to make slide2 not visible on frame 1 of mc1 and make it visible on frame 2 of mca.
thank you very much for the answer. the approach you said is a solution. Another solution is add actionscript " play " in the Frame2 of "Slide2".
well, i'm wondering why I can't directly control the embedded movieclip? could you please explain the reason ? thanx
your approach fails because of the order in which flash executes its actions. in your situation, flash will execute your button handler code first (after that button is released).
so, _root.mca goes to its frame 2 and stops. _root.mca.slide2 goes to its frame 2 and would play, except _root.mca.slide2 is instantiated on frame 2 of _root.mca so the code in _root.mca's frame 1 executes immediately after your button handler code and it directs _root.mca to stop.
bottomline: _root.mca.slide2 stops on its frame 2 instead of continuing to play because the code on _root.mca.slide2's frame 1 executes after the button handler code.