Hi all.
This is a stupid question, but I can't work it out!
Given the following XML and code, how am I supposed to access the Do
Something menu item that is created?
var xml:XML = new XML(
root
menuItem label=File
menuItem label=Do Something /
/menuItem
/root
);
var
From:[EMAIL PROTECTED] ups.com [mailto: [EMAIL PROTECTED] ups.com ] On Behalf
Of Marty Pitt
Sent: Monday, June 02, 2008 6:11
AM
To: [EMAIL PROTECTED] ups.com
Subject: [flexcoders] Accessing
the sub-items of a Menu command
Hi all.
This is a stupid question, but I can't work
this is extremely close to what I'm trying to do.
(I posted here earlier today looking for a solution!)
You can modify the dataProvider of the XML, setting the @enabled attribute,
which will cause the menu to update.
Eg.,.
myMenuData..menuitem.(@id==menuUp)[EMAIL PROTECTED] = false
3 matches
Mail list logo