myButton.onRelease = function():Void{ this._x+=20; this._y+=20; trace("new x = "+this._x+" y = "+this._y); }