List.removeAll()
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX 2004.
Usage
listInstance.removeAll()
Parameters
None.
Returns
Nothing.
Description
Method; removes all items in the list.
Calling this method modifies the data provider of the List component. If the data provider is
shared with other components, those components will update as well.
Example
The following code clears the list:
myList.removeAll();
List.removeItemAt()
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX 2004.
Usage
listInstance.removeItemAt(index)
Parameters
A string that indicates the label for the new item. The value must be greater than 0 and
index
less than
List.length
Returns
An object; the removed item (
Description
Method; removes the item at the specified index position. The list indices after the specified index
collapse by one.
.
if no item exists).
undefined
List component
473
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