Mega Code Archive
Categories
/
Flex
/
Components
Bind Array to List and change Array to update the List
import mx.collections.ArrayCollection; [Bindable] public var myArray:Array = ["A", "B", "C"]; public function addCountryToArray(country:String):void { myArray.push(country); }