Container Flex



    xmlns:s="library://ns.adobe.com/flex/spark"
    xmlns:mx="library://ns.adobe.com/flex/mx">
    
         
        private function logSizes():void { 
            trace("HGroup: "+ hb1.width); 
            trace("Label: "+ lb1.width); 
            trace("Image: "+ img1.width); 
            trace("Button: "+ b1.width); 
        } 
      
    

    
        
            
                            width="60%" />
                            click="logSizes();" />