Repositioning children at run time
<?xml version="1.0"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"> <mx:Canvas width="300" height="300" backgroundColor="#FFFFFF"> <mx:TextInput id="text1" text="Move me" x="50" y="50" /> <mx:Button id="button1" label="Move text1" x="50" y="200" click="text1.x=110; text1.y=110;" /> </mx:Canvas> </mx:Application>