Mega Code Archive
Categories
/
Flex
/
Components
Enable multiple selection for the List control
import spark.events.IndexChangeEvent; private function myChangedHandler(event:IndexChangeEvent):void { var selIndices:Vector.
= event.currentTarget.selectedIndices; var selItems:Vector.
= event.currentTarget.selectedItems; var numItems:Number = selIndices.length; selIndicesTA.text = ""; selItemsTA.text = ""; for (var i:Number = 0; i
Flex
Flash Builder
Flash
Director
Dreamweaver
ColdFusion