Skip to main content

ObjectProxy to ArrayCollection in flex

If you encounter this error in flex
annot convert mx.utils::ObjectProxy to mx.collections.ArrayCollection.
This is the answer

if(resultObj.ArrayOfWordWithReCode.WordWithReCode is ObjectProxy)
_gridData =new ArrayCollection(ArrayUtil.toArray(resultObj.ArrayOfWordWithReCode.WordWithReCode)) ;


Comments