3 Replies Latest reply on Oct 8, 2007 7:01 PM by _Albertx_

    java Arraylist equivalent in Flex

      Hi Friends,
      I am facing one issue. My remote java object returns an Arraylist and I want to get the same java object in Flex. I have tried Flex options i.e. ArrayCollection and Array but it is not working. It is giving error. it is written below...

      "TypeError: Error #1034: Type Coercion failed: cannot convert mx.rpc::AsyncToken@376ae71 to Array.
      at edgeForm1/init()
      at edgeForm1/___Application1_creationComplete()
      at flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
      at flash.events::EventDispatcher/dispatchEvent()
      at mx.core::UIComponent/dispatchEvent()
      at mx.core::UIComponent/set initialized()
      at mx.managers::LayoutManager/::doPhasedInstantiation()
      at Function/ http://adobe.com/AS3/2006/builtin::apply()
      at mx.core::UIComponent/::callLaterDispatcher2()
      at mx.core::UIComponent/::callLaterDispatcher() "

      Would anybody tell me the solution...