initialize="initData()">
import mx.collections.*;
public var myArray:Array = ["A", "B", "C", "D", "E", "F"];
[Bindable]
public var myAC:ArrayCollection;
public function initData():void {
myAC = new ArrayCollection(myArray);
}
public function changeCollection():void {
var oldLength:int = myAC.length;
ta1.text=String(oldLength);
}