xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx">
import mx.events.ItemClickEvent;
private var savedIndex:int = 99999;
private function clickHandler(event:ItemClickEvent):void {
if (event.index == savedIndex) {
myTA.text=""
}else {
savedIndex = event.index;
myTA.text="Selected button index: " + String(event.index) + "\n" + "Selected button label: " + event.label;
}
}
toggleOnClick="true" selectedIndex="-1">
Flash
Director
Dreamweaver
ColdFusion