MACROMEDIA FLASH MX 2004-USING COMPONENTS Use Manual page 569

Using components
Hide thumbs Also See for FLASH MX 2004-USING COMPONENTS:
Table of Contents

Advertisement

Method summary for the MenuDataProvider class
The following table lists the methods of the MenuDataProvider class.
Method
MenuDataProvider.addMenuItem()
MenuDataProvider.addMenuItemAt()
MenuDataProvider.getMenuItemAt()
MenuDataProvider.indexOf()
MenuDataProvider.removeMenuItem()
MenuDataProvider.removeMenuItemAt()
MenuDataProvider.addMenuItem()
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX Professional 2004.
Usage
Usage 1:
myMenuDataProvider.addMenuItem(initObject)
Usage 2:
myMenuDataProvider.addMenuItem(childMenuItem)
Parameters
An object containing the attributes that initialize a Menu item's attributes. For
initObject
more information, see
childMenuItem
Returns
A reference to an XMLNode object.
Description
Method; Usage 1 adds a child item to the end of a parent menu item (which could be the menu
itself ). The menu item is constructed from the values passed in the
Usage 2 adds a child item that is defined in the specified XML
end of a parent menu item.
Any node or menu item in a MenuDataProvider instance can call the methods of the
MenuDataProvider class.
"About menu item XML attributes" on page
An XML node.
Description
Adds a child item.
Adds a child item at a specified location.
Gets a reference to a menu item at a specified location.
Returns the index of a specified menu item.
Removes a menu item.
Removes a menu item at a specified location.
childMenuItem
Menu component (Flash Professional only)
541.
parameter.
initObject
parameter to the
569

Advertisement

Table of Contents
loading
Need help?

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

This manual is also suitable for:

Flash mx

Table of Contents