Panel with 3 Children : Panel Children « Container « Flex






Panel with 3 Children

Panel with 3 Children
            

<?xml version="1.0"?>

<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
    <mx:Panel title="My Application" 
              layout="vertical"
              horizontalAlign="center" 
              paddingLeft="10" 
              paddingRight="10"
              paddingTop="10" 
              paddingBottom="10">
        <mx:TextInput id="myinput" text="enter zip code" />
        <mx:Button id="mybutton" label="GetWeather" />
        <mx:TextArea id="mytext" height="20" />
    </mx:Panel>
</mx:Application>

   
    
    
    
    
    
    
    
    
    
    
    
  








Related examples in the same category

1.Children of Panel are not instantiated when the application is first loaded, but only after the user clicks the buttonChildren of Panel are not instantiated when the application is first loaded, but only after the user clicks the button
2.Add Sprite object as a child of UIComponent before adding it to PanelAdd Sprite object as a child of UIComponent before adding it to Panel
3.Remove child from PanelRemove child from Panel
4.Add Panel as Child in StateAdd Panel as Child in State
5.Set the padding to 10 pixels, and the gap to 5 pixels, for the children of a Panel container:Set the padding to 10 pixels, and the gap to 5 pixels, for the children of a Panel container:
6.Four parts of a form, you define each child panel by using the Form containerFour parts of a form, you define each child panel by using the Form container
7.Children of panel containers are hidden while the containers resizeChildren of panel containers are hidden while the containers resize