gotoAndStop和MOUSE_OVER的问题

时间:2014-02-06 16:44:01

标签: actionscript-3

嗨,我对动作脚本很新,我正在尝试创建一个网页横幅,当滚动到带有文字的面板时,会从底部向上滑动,当推出时会再次滑落......

blank_btn.addEventListener(MouseEvent.MOUSE_OVER, fl_MouseOverHandler);  
   function fl_MouseOverHandler(event:MouseEvent):void 
   {    gotoAndPlay("start");   
   trace("Moused over"); 
   }  
   stop();  
   blank_btn.addEventListener(MouseEvent.MOUSE_OUT, fl_MouseOutHandler);  
   function fl_MouseOutHandler(event:MouseEvent):void 
   {    
   gotoAndPlay("Finished")  
   trace("Moused out"); 
   }  
   stop();

此刻它所做的只是播放幻灯片并消失。我希望鼠标超过gotoAndPlay只播放动画的选定块(幻灯片中),我希望鼠标输出gotoAndPlay播放幻灯片......

希望这有意义!

0 个答案:

没有答案