Use the x and y properties to reposition a Button control
<?xml version="1.0"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" width="150" height="120" layout="absolute"> <mx:Script> public function moveButton():void { myButton.x += 15; myButton.y += 15; } </mx:Script> <mx:Button id="myButton" x="15" y="15" label="Move" click="moveButton();" /> </mx:Application>