From the SabreAMF docs -

http://code.google.com/p/sabreamf/wiki/FlexArrayCollection

SabreAMF_ArrayCollections uses PHP's ArrayObject class <http://www.php.net/%7Ehelly/php/ext/spl/classArrayObject.html> to store its data.

Not familiar with PHP's ArrayObject, but guessing there are some useful examples online:

http://uk2.php.net/manual/en/class.arrayobject.php

Glen

Adir Iakya wrote:
Hi All,

I'm having a problem sending arrays or objects from FLEX3 to the server side (my system is working, i got the gateway running ok, and it calls to the right methods).

Sending from the PHP side to client is working cool (I'm using SabreAMF_ArrayCollection for that, works like charm).

Now lets say i want to send this to the server:

var names : Array = new Array( "Ana", "Kate", "John" );

and to foreach it. which SabreAMF function help me to do that?

Same question about objects, i know how to send it to the server, but i don't know how to parse/decode/whatever it on the PHP side so i can use it.

If anyone can paste an example, that would be awesome :-)

Thnx,

AI
------------------------------------------------------------------------

_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org

--

Glen Pike
01326 218440
www.glenpike.co.uk <http://www.glenpike.co.uk>

_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org

Reply via email to