To do That Keith You have to extend the MenuBar class.
Regards On Jan 14, 2008 11:08 AM, keith <[EMAIL PROTECTED]> wrote: > Please help, so far this is what I've done: > > I want to make my MenuBar open up when I rollover an item without clicking > any MenuBarItems. > The following code works, until I've selected something or clicked > somewhere else in the applicaiton. > Afterwards, I have to click the MenuBarItems again to open a menu. > > -- Keith H -- > > /****************************************************** > Initializing the MenuBar's selectedIndex to "menu.menuBarItems.length" > when setting the MenuBar's dataProvider. > ******************************************************/ > private function initMenu():void > menu.labelField="@label"; > menu.dataProvider=menudata; > menu.showRoot=false; > menu.selectedIndex=menu.menuBarItems.length; > > } > > > > keith wrote: > > How can I make the main MenuBarItems open onRollOver without > having to click them first? > > -- Keith H -- > > > -- ---------------------------- Igor Costa www.igorcosta.com www.igorcosta.org

