You need to use the dispatchEvent() method to send a Click to the
menubar. This example is for a mouseover but you get the idea,

obj.dispatchEvent(new MouseEvent(MouseEvent.MOUSE_OVER));

--- In [email protected], "sleblang" <[EMAIL PROTECTED]> wrote:
>
> I have the following menubar implemented:
> 
>                  <mx:MenuBar id="adminBar" labelField="@label"
> itemClick="changeMenuView(event)"change="adminBarSelection(event)">
>                         <mx:XMLList>
>                             <menuitem label="Options" data="top">
>                                     <menuitem label="Main"
> data="MainView" type="radio" group="group1" />
>                                  <menuitem label="Account Management"
> data="AddUser" type="radio" group="group1" />
>                                  <menuitem label="Log Out" data="LogOut"
> type="radio" group="group1" />
>                             </menuitem>
>                         </mx:XMLList>
>                  </mx:MenuBar>
> How can I dynamically change which menuitem is selected without actually
> clicking on it?
> 
> Thanks for any and all replies.
>


Reply via email to