Note
2015年4月8日 星期三
actionscript - movieclip move mouse
stage.addEventListener(MouseEvent.MOUSE_MOVE, moving);
function moving(event:MouseEvent)
{
ball1.x = stage.mouseX;
ball1.y = stage.mouseY;
}
沒有留言:
張貼留言
較新的文章
較舊的文章
首頁
訂閱:
張貼留言 (Atom)
沒有留言:
張貼留言