onClipEvent

onClipEvent(load){
 speed=1
}
onClipEvent(enterFrame){
 xdiff=_root._xmouse-this._x;
 ydiff=_root._ymouse-this._y;
 this._x=this._x+xdiff/speed;
 this._y=this._y+ydiff/speed;
}
Trackback 0 Comment 0
prev 1 ··· 18 19 20 21 22 23 24 25 26 ··· 79 next