Hi Jim,
Take a look at the latest Amfphp sample app in the Arp SVN tree:
http://svn1.cvsdude.com/osflash/arp/trunk/samples/PizzaService/server/amfphp/
Now keep in mind that Patrick's actually simplified things further so
that soon all you'll need to do is configure a VO folder and your custom
classes will get mapped automatically.
I'm going to update the sample app to use Patrick's latest alpha as soon
as I find some time (which will have to be after FlashForward now.)
Take care,
Aral
Jim Tann wrote:
>Hi all,
>
>I am using amfphp and getting along well with it, I am sending and
>recieveing data & my functions seem to be working correctly. Only thing
>is I am not a PHP man & not having dot syntax is confusing me.
>
>Where I am having trouble is passing in an object as an argument so from
>flash I am passing:
>
>Service.method({id:1, description:"hello world"});
>
>And in the PHP I am calling this function:
>
>
>function method ($objNew){
> NetDebug::trace($objNew);
> NetDebug::trace($objNew->description);
>}
>
>On receiving the data I can write the object out to the netconnection
>debugger window but I CANT ACCESS THE PROPERTIES!
>
>Can anyone help me please.
><snip>
>
_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org