Application creationComplete event : Application Event « Container « Flex






Application creationComplete event

            

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
    creationComplete="trace(ObjectUtil.toString(myAC))">
    <mx:Script>
        
        import mx.collections.ArrayCollection;
        import mx.utils.ObjectUtil;
        public var myAC:ArrayCollection = new ArrayCollection([
            {label:"J", data:"j"},
            {label:"T", data:"t"},
            {label:"F", data:"f"}
        ]);
      
    </mx:Script>
</mx:Application>

   
    
    
    
    
    
    
    
    
    
    
    
  








Related examples in the same category

1.Add event handler for applicationAdd event handler for application
2.Application initialize eventApplication initialize event
3.Use Application control's initialize eventUse Application control's initialize event
4.preinitialize, initialize, creationComplete events for Applicationpreinitialize, initialize, creationComplete events for Application
5.Application complete eventApplication complete event
6.Application click eventApplication click event