Two statements in the click attribute
<?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"> <mx:TextInput id="fullNameTextInput" text="AAA" /> <mx:CheckBox id="expertCheckBox" label="I'm a Flex Expert!" x="10" y="71" /> <mx:Button label="Click me" click=" fullNameTextInput.text='A';expertCheckBox.selected=true " /> </mx:Application>