Create Complete event and initialize event
<?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" creationComplete="event_txt.text += '\n Application creationComplete'" initialize="event_txt.text += '\n Application initialize'"> <mx:Panel title="Handling System Events" creationComplete="event_txt.text += ('\n Panel creationComplete')" initialize="event_txt.text += ('\n Panel initialize')" width="372" height="234"> <mx:TextArea editable="false" height="100%" width="100%" id="event_txt" /> </mx:Panel> </mx:Application>