Hi guys
I is trying to get my movie to move in the opposite direction to the mouse within a certain area, eg when my movie gets to the edge of the area it slows down.
I’ve got this far but now I is stuck…
onClipEvent (enterFrame) {
_root.yChange = Math.round(_root._ymouse+this._y);
_root.xChange = Math.round(_root._xmouse+this._x);
_root.yMove = Math.round(_root.yChange/20);
_root.xMove = Math.round(_root.xChange/20);
this._y -= _root.yMove;
this._x -= _root.xMove;
}
Any pointers would be grand
cheers guys