myPicture_mc.onRollOver = function(){ this.onEnterFrame = function(){ this._alpha--; if(this._alpha<=0){ delete this onEnterFrame; } } }