Flash CS3 Documentation |
|||
| ActionScript 2.0 Components Language Reference > Menu component > MenuDataProvider class | |||
ActionScript Class Name mx.controls.menuclasses.MenuDataProvider
The MenuDataProvider class is a decorator (mix-in) class that adds functionality to the XMLNode global class. This functionality lets XML instances assigned to a Menu.dataProvider property use the MenuDataProvider methods and properties to manipulate their own data as well as the associated menu views.
|
NOTE |
|
The MenuDataProvider class is supported only if you are working in a document that specifies ActionScript 2.0 in its Publish Settings. |
Keep in mind these concepts about the MenuDataProvider class:
dataProvider property value.The following table lists the methods of the MenuDataProvider class.
|
Method |
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. |
Flash CS3