Components Flex



    xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/mx"
    xmlns="*">
    
        
    

     
         
        import mx.controls.Menu; 
        public var productMenu:Menu; 
        public function initMenu(): void { 
            productMenu = Menu.createMenu(null, Products.Department); 
            productMenu.setStyle("disabledColor", 0xCC3366); 
            productMenu.show(10,10); 
        }