Skip to content


Flex 3 Application Control Bar

Simple demo of the ApplicationControlBar with check and radio marks on active submenu items.



    
        
            
                
                    
                    
                
                
                
                    
                    
                    
                
            
        
    

.. and corrected:

<?xml version="1.0"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" backgroundColor="0xffffff">
<mx:ApplicationControlBar dock="true" paddingTop="0" paddingBottom="0">
<mx:MenuBar id="myMenuBar" labelField="@label">
<mx:XMLList>
<menuitem label="Menu A" >
<menuitem label="SubMenu A1" type="check"/>
<menuitem label="SubMenu A2" type="check"/>
</menuitem>
<menuitem label="Menu B"/>
<menuitem label="Menu C" >
<menuitem label="SubMenu C1" type="radio" groupName="smgroup"/>
<menuitem label="SubMenu C2" type="radio" groupName="smgroup"/>
<menuitem label="SubMenu C3" type="radio" groupName="smgroup"/>
</menuitem>
</mx:XMLList>
</mx:MenuBar>
</mx:ApplicationControlBar>
</mx:Application>

Posted in Flex Web Development.


One Response

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.

  1. Biju Subhash says

    great post…
    Thank you for sharing…

    Biju Subhash



Some HTML is OK

or, reply to this post via trackback.