Modify Components
<?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"> <mx:Script> private function resizeTextInput():void { textInput.width += 10; textInput.height += 10; } </mx:Script> <mx:TextInput id="textInput" x="100" y="10" /> <mx:Button label="Resize" click="resizeTextInput()" /> </mx:Application>