instancia.onPress = function() { startDrag(this); this.onEnterFrame = function() { trace("x: "+this._x+" y: "+this._y); }; }; instancia.onRelease = function() { stopDrag(); delete this.onEnterFrame; };