March 3 2009

鼠标经过时FLASH悬停的小技巧

Tags: flash  悬停   2lengzi @ 17:26

把那个移动的图片做成影片剪辑,然后放到场景里面,将它的实例名称改为af
,然后再打开动作面板,输入下面的代码:
onenterframe=function(){
_root.af.onMouseMove=function(){
this.stop();
}
_root.af.onMouseOut=function(){
this.play();
}
}

分页:«1»