MenuDataProvider.removeMenuItem()
Availability
Flash Player 6 (6.0.79.0).
Edition
Flash MX Professional 2004.
Usage
myMenuDataProvider.removeMenuItem()
Returns
A reference to the removed Menu item (XML node);
if an error occurs.
undefined
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 creates a menu with three menu items and, after an interval of a
couple of seconds (2000 milliseconds), calls
to remove the first
removeMenuItem()
menu item.
MenuDataProvider.removeMenuItem()
941
Need help?
Do you have a question about the FLASH 8-COMPONENTS LANGUAGE and is the answer not in the manual?
Questions and answers