第一個影格的語法:
====================
stop();
function showMenu(event:MouseEvent):void {
gotoAndPlay(2);
}
function hideMenu(event:MouseEvent):void {
gotoAndPlay(1);
}
b1.addEventListener(MouseEvent.MOUSE_OVER,showMenu);
b1.addEventListener(MouseEvent.CLICK,hideMenu);
====================
第四個影格的語法:
====================
stop();
b2.addEventListener(MouseEvent.CLICK,hideMenu);
b3.addEventListener(MouseEvent.CLICK,hideMenu);
b4.addEventListener(MouseEvent.CLICK,hideMenu);
====================
Edited 1 time(s). Last edit at 12/02/2010 12:53PM by JinJin.
(
編輯記錄)