I’m trying to save some CPU resorces here but donno how… my MC script is deleted before it can reach the current point… what should I do?..
MovieClip.prototype.moveIt = function() {
this.onEnterFrame = function() {
menu._x = Math.round(border._x - ((border._width/2) + 68))+5;
menu._y = Math.round(border._y - border._height/2)+5;
if (Math.abs(menu._x - (Math.round(border._x - ((border._width/2) + 68))+5))<1 && (Math.abs(menu._y - (Math.round(border._y-border._height/2)+5))<1)) {
delete this.onEnterFrame;
}
}
};