onClipEvent (enterFrame) { speed = -2; this._y += speed; }
onClipEvent (enterFrame) { //execute the code only if the _y of the mc is below or equel to 100 if(this._y <= 100){ speed = -2; this._y += speed; } }