Use button click event to update Label text
<?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical"> <mx:Label id="myLabel"/> <mx:Button label="Click Me" click="myLabel.text='You clicked the button'"/> </mx:Application>