on(release){ n=20; this.onEnterFrame=function(){ if(n--)this._x+=10; else delete this.onEnterFrame; } }