Components Flex



    
        
        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);
        }