User Guide

786 List component
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 itemRollOut event has an
index property, which specifies the number of the item that was rolled out.
Description
Event; broadcast to all registered listeners when the pointer rolls over and then off of
list items.