Description
Method; returns the index of the specified menu item in this parent menu item.
Any node or menu item in a MenuDataProvider instance can call the methods of the
MenuDataProvider class.
Example
The following example adds a menu item to a parent item and gets the item's index:
var myMenuItem = myParentMenuItem.addMenuItem({label:"That item"});
var myIndex = myParentMenuItem.indexOf(myItem);
MenuDataProvider.removeMenuItem()
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX Professional 2004.
Usage
myMenuDataProvider.removeMenuItem()
Parameters
None.
Returns
A reference to the removed Menu item (XML node);
Description
Method; removes the target item and any child nodes.
Any node or menu item in a MenuDataProvider instance can call the methods of the
MenuDataProvider class.
Example
The following example removes
myMenuItem.removeMenuItem();
MenuDataProvider.removeMenuItemAt()
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX Professional 2004.
Usage
myMenuDataProvider.removeMenuItemAt(index)
572
Chapter 6: Components Dictionary
undefined
from its parent:
myMenuItem
if an error occurs.
Need help?
Do you have a question about the FLASH MX 2004-USING COMPONENTS and is the answer not in the manual?
Questions and answers