Menudataprovider.removemenuitemat() - MACROMEDIA FLASH 8-COMPONENTS LANGUAGE Reference

Components language reference
Table of Contents

Advertisement

MenuDataProvider.removeMenuItemAt()

Availability
Flash Player 6 (6.0.79.0).
Edition
Flash MX Professional 2004.
Usage
myMenuDataProvider.removeMenuItemAt(index)
Parameters
The index of the menu item.
index
Returns
A reference to the removed menu item. This value is
if there is no item in that
undefined
position.
Description
Method; removes the child item of the menu item specified by the
parameter. If there is
index
no menu item at that index, calling this method has no effect.
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
removeMenuItemAt()
menu item.
MenuDataProvider.removeMenuItemAt()
943

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH 8-COMPONENTS LANGUAGE and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash 8

Table of Contents