Container Flex



    
        
        import mx.controls.Alert;
        public function calculateChildren():void {
            var myText:String = new String();
            myText= myVBox.numChildren + " children";
            myText+="\nThe Application has " + numChildren + " children";
            Alert.show(myText);
        }