: [flexcoders] Re:
Disabling a nested menu item in a menu bar?
Sadly, thats where the problems started for me. I'm
able to get at
the top level items, using getMenuAt or even using the menuItems
array, but sadly, i cant seem to get a handle on the first child menu
var myMenu:Me
I see what you mean Jeff. There used to be a getMenuItemAt()
function (myMenu.getMenuAt(0).getMenuItemAt(1).enabled = false), but
it looks like it has been depreciated. Sorry for wasting your
time. You can always modify the enabled attributes in the
dataProvider, after the xml has loaded. J
Sadly, thats where the problems started for me. I'm able to get at
the top level items, using getMenuAt or even using the menuItems
array, but sadly, i cant seem to get a handle on the first child menu
var myMenu:MenuBar = myMenuBar;
var nextLevel:* = myMenu.getMenuAt(0);
// throws error Prope
Bummer - sorry,
Probably need to look at MenuBar.getMenuAt(index).
-TH
--- In flexcoders@yahoogroups.com, "jeff tapper" <[EMAIL PROTECTED]> wrote:
>
> unfortunately not, its populated dynamically at run time. Any
other
> ideas on how to address a nested child of the menu?
>
> --- In flexco
unfortunately not, its populated dynamically at run time. Any other
ideas on how to address a nested child of the menu?
--- In flexcoders@yahoogroups.com, "Tim Hoff" <[EMAIL PROTECTED]> wrote:
>
>
> Hi Jeff,
>
> You can handle this with binding. Something like this:
>
>
>
>
>
Hi Jeff,
You can handle this with binding. Something like this:
model.FileMenuEnabledFlags is an array of Boolean values.
-TH
--- In flexcoders@yahoogroups.com, "jeff tapper" <[EMAIL PROTECTED]> wrote:
>
> Anyone have a clue how to disable a menu bar item, when it is not
6 matches
Mail list logo