MenuDataProvider.getMenuItemAt()
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX Professional 2004.
Usage
myMenuDataProvider.getMenuItemAt(index)
Parameters
An integer indicating the position of the menu.
index
Returns
A reference to the specified XML node.
Description
Method; returns a reference to the specified child menu item of the current menu item.
Any node or menu item in a MenuDataProvider instance can call the methods of the
MenuDataProvider class.
Example
The following example finds the node you want to get, and then gets the second child of
:
myMenuItem
var myMenuItem = myMenuDP.firstChild.firstChild;
myMenuItem.getMenuItemAt(1);
MenuDataProvider.indexOf()
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX Professional 2004.
Usage
myMenuDataProvider.indexOf(item)
Parameters
A reference to the XML node that describes the menu item.
item
Returns
The index of the specified menu item; returns
this menu.
if the item does not belong to
undefined
Menu component (Flash Professional only)
571
Need help?
Do you have a question about the FLASH MX 2004-USING COMPONENTS and is the answer not in the manual?