You should use the ArrayCollection method "toArray()"


2010/3/14 Tracy Spratt <[email protected]>

>
>
>  You are getting the array, so the issue is further along the line.  For
> any data more complex than simple values, I pass data using xml, so I do not
> even know how an array gets serialized/deserialized by HTTPService.  If you
> look at that parameter in PHP, what is actually in it?
>
>
>
> Tracy Spratt,
>
> Lariat Services, development services available
>   ------------------------------
>
> *From:* [email protected] [mailto:[email protected]] *On
> Behalf Of *s_hernandez01
> *Sent:* Wednesday, March 10, 2010 2:43 PM
> *To:* [email protected]
> *Subject:* [flexcoders] Convert ArrayCollection to Array
>
>
>
>
>
> I'm trying to convert my ArrayCollection in my datagrid to an Array so I
> can use the post method to send out the array to php from flex, but php is
> not recognizing the array can someone tell me what I'm doing wrong:
>
> public var ac:ArrayCollection = new ArrayCollection();
>
> public function uploadData():void{
>
> var postArray:Array = new Array();
> postArray = ac.source;
>
> }
>   
>



518cd98217
518cd98217

Reply via email to