第1个回答 2009-11-21
AS3中好像不能给按钮添加动作,应该只能在帧上加动作
b1.onRelease = function() {
gotoAndPlay(21);
}
AS3没用过,试试行不行吧
第2个回答 2009-12-07
在第20帧上添加动作
stop();
B1.addEventListener(MouseEvent.CLICK, startPlay);
function startPlay(event:MouseEvent):void {
gotoAndPlay(21)
}
第3个回答 2009-11-28
这个肯定行
B1.addEventListener(MouseEvent.CLICK,go)
function go(e:Event){
gotoAndPlay(21)
}
第4个回答 2009-12-02
很少去写2.0代码。。不过也没必要知道2.0。。。
去学下as3.0吧