Components Flex



    xmlns:mx="library://ns.adobe.com/flex/mx"
    xmlns:s="library://ns.adobe.com/flex/spark" creationComplete="initApp()">
    
        
            

                


                    Hello
                    world
                    !
                


            

        
    

    
        import spark.utils.TextFlowUtil; 
        private function initApp():void {
             text1.textDisplay.textFlow = TextFlowUtil.importFromXML(myXML); 
        }