Combined Code
movieClip 4 {
}
movieClip 8 {
}
movieClip 9 {
}
movieClip 14 {
}
movieClip 21 {
}
movieClip 23 {
}
movieClip 25 {
}
instance of movieClip 25 {
onClipEvent (enterFrame) {
myRadians = Math.atan2(_root._ymouse - this._y, _root._xmouse - this._x);
_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);
if (_root._xmouse >= 0 && _root._xmouse <= 550 && _root._ymouse >= 0 && _root._ymouse <= 400) {
this._x += _root.xMove;
this._y += _root.yMove;
}
}
}