![]() ![]() ![]() | |
![]() | |
![]() | |
![]() |
Flash Player 6.0.79.
Flash MX 2004.
listInstance
.setPropertiesAt(index
,styleObj
)
index
A number greater than zero or less than List.length
indicating the index of the item to change.
styleObj
An object that enumerates the properties and values to set.
Nothing.
Method; applies the properties specified by the styleObj
parameter to the item specified by the index
parameter. The supported properties are icon
and backgroundColor
.
The following example changes the fourth item to black and gives it an icon:
myList.setPropertiesAt(3, {backgroundColor:0x000000, icon: "file"});
![]() | |
![]() | |
![]() | |
![]() ![]() ![]() |