我想让一个电影剪辑播放时点击。
square.addEventListener(MouseEvent.CLICK, playME);
function playME(event:MouseEvent):void
{
gotoAndPlay("play");
}
是我在场景中使用的代码,我在影片剪辑中有一个play标签。
我不知道如何将场景中的动作链接到影片剪辑中的标签?
我做了一些,但取消了很多工作,现在我不记得怎么做了
如果square
是您想要播放的MovieClip
,则使用square.gotoAndPlay("play");