MACROMEDIA FLASH MX 2004-USING COMPONENTS Use Manual page 479

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

Advertisement

List.setPropertiesAt()
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX 2004.
Usage
listInstance.setPropertiesAt(index, styleObj)
Parameters
A number greater than 0 or less than
index
to change.
An object that enumerates the properties and values to set.
styleObj
Returns
Nothing.
Description
Method; applies the specified properties to the specified item. The supported properties are
and
backgroundColor
Example
The following example changes the fourth item to black and gives it an icon:
myList.setPropertiesAt(3, {backgroundColor:0x000000, icon: "file"});
List.sortItems()
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX 2004.
Usage
listInstance.sortItems(compareFunc)
Parameters
compareFunc
determine their sort order.
For more information, see
Returns
The index at which the item was added.
480
Chapter 6: Components Dictionary
.
A reference to a function. This function is used to compare two items to
Array.sort()
indicating the index of the item
List.length
in Flash ActionScript Language Reference.
icon

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?

This manual is also suitable for:

Flash mx

Table of Contents