AS2 Nested Child MC gotoAndPlay Another Child Movie Clip
How do I gotoAndPlay a frame number of a child MC from another child MC?
I have a movieclip that has 4 nested child mo开发者_运维知识库vieclips. mcA - mcB - mcC - mcD Inside mcC at the end of the movie clip I am trying to gotoAndPlay a specific frame inside mcB.
I have tried:
MovieClip(_root).mcB.gotoAndPlay(181);
and
mcB.gotoAndPlay(181);
but with no luck.
Any help is appreciated. Thanks in advance!
If I understand coorectly, and mcC
is a child of mcB
, then all you need on the last frame of mcC
is:
_parent.gotoAndPlay(181);
精彩评论