my_list.addItem({data:"dreamweaver", label:"Dreamweaver"});
my_list.addItem({data:"coldfusion", label:"ColdFusion"});
my_list.iconFunction = function(item:Object):String {
if (item.data == "flash") {
// Put icon next to list item with the data "flash".
return "flashIcon";
}
};
my_list.iconField = "icon";
List.itemRollOut
Availability
Flash Player 6 (6.0.79.0).
Edition
Flash MX 2004.
Usage
Usage 1:
var listenerObject:Object = new Object();
listenerObject.itemRollOut = function(eventObject:Object) {
// Your code here.
};
listInstance.addEventListener("itemRollOut", listenerObject);
Usage 2:
on (itemRollOut) {
// Your code here.
}
Event object
In addition to the standard properties of the event object, the
property, which specifies the number of the item that was rolled out.
index
Description
Event; broadcast to all registered listeners when the pointer rolls over and then off of
list items.
786
List component
event has an
itemRollOut
Need help?
Do you have a question about the FLASH 8-COMPONENTS LANGUAGE and is the answer not in the manual?
Questions and answers