import mx.collections.ArrayCollection;
import mx.rpc.events.ResultEvent;
[Bindable]
private var statesData:ArrayCollection;
private function resultHandler(event:ResultEvent):void
{
statesData = event.result as ArrayCollection;
}