首先要看是哪个版本的代码文档。先给这两个设置实例名,按钮是btn,影片剪辑是mc在主时间轴上加代码。as2btn.onPress=function(){mc.play();}as3的btn.addListener(MouseEvent.CLICK,PlayEvent);function PlayEvent(e:MouseEvent):void{mc.play();}