var mymouseX:int ;
stage.addEventListener(MouseEvent.MOUSE_MOVE,move1)
function move1(e:Event) {
var myNewmouseX:int = mouseX ;
if(myNewmouseX > mymouseX){
trace("事件1")
B_plan_pic.nextFrame();
}else{
trace("事件2")
B_plan_pic.prevFrame();
}
mymouseX = myNewmouseX ;
}
This comment has been removed by the author.
ReplyDelete