在AS3 中 怎么做 通过一个按钮 转换场景的动作
以前可以在按钮上加
on(release){
gotoAndPlay(”场景2″);
}
现在做不起 就是加在桢上的
bt.on(Release)=functon(){
gotoAndPlay(”场景2″);
};
也做不了
有没有可以帮忙的朋友
———————————————
code:
mybutton.addEventListener(MouseEvent.CLICK,nextscene);
function nextscene(event:MouseEvent){
gotoAndStop(1,”场景 2″);
}
———————————————
按钮同以前版本的变化很大,现在都用侦听事件的了
http://space.flash8.net/bbs/thread-348103-1-1.html