Hello Everyone,
I have a mc on stage with an instance name of slide_mc. It must scale and stop when it has reached a certain width. It scales but it does not want to stop. Here is my code:
var my_x = 60;
slide_mc._x = 13;
slide_mc._width = 1;
slide_mc.onEnterFrame = function(){
slide_mc._xscale += my_x
if(slide_mc._width == my_x){
delete this.onEnterFrame
}
}