发布网友 发布时间:2022-04-23 01:26
共3个回答
热心网友 时间:2023-10-10 01:28
触碰:
function broll (event:MouseEvent){
gotoAndStop(指定的帧);
}
按钮.addEventListener(MouseEvent.MOUSE_OVER,broll);//MOUSE_OVER也可以是ROLL_OVER
触碰离开:
function broll (event:MouseEvent){
gotoAndStop(指定的帧);
}
按钮.addEventListener(MouseEvent.MOUSE_OUT,broll);//MOUSE_OUT也可以是ROLL_OUT
热心网友 时间:2023-10-10 01:29
function btnfun (E:MouseEvent )
{}
btn.addEventListener(MouseEvent.MOUSE_OVER,btnfun);
热心网友 时间:2023-10-10 01:29
btn.addEventListener(MouseEvent.MOUSE_OVER,btnfun);
function btnfun (e:MouseEvent)
{
gotoAndStop(指定帧);
}