xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx">
import spark.events.IndexChangeEvent;
private function changeHandler(event:IndexChangeEvent):void {
myTA.text="Selected button index: " + String(event.newIndex) + "\n" +
"Selected button label: " + event.target.selectedItem;
}
Flash
Director
Dreamweaver
ColdFusion