import mx.controls.Alert;
private function changeHandler(event:Event):void
{
if (categoryList.selectedIndex == 0)
{
Alert.show("You selected all categories", "Everything!");
}
else
{
Alert.show("You selected " + categoryList.selectedItem, "One Thing!");
}
}
All Categories
A
B
C
D