If Zend AMF supports mapping, then it should be possible with pure AS3.
Think you'll need to use flash.net.registerClassAlias() to map the AS class to 
a PHP class.
http://livedocs.adobe.com/flex/3/langref/flash/net/package.html#registerClassAlias()

That will do the same thing as the Flex [RemoteClass] metadata tag.

So in the VO constructor, make a call to registerClassAlias():
   registerClassAlias("php.package.classname", VOClass);

No idea if PHP does packages tho (someone else does the PHP stuff for me, I'm a CF guy), so you might just need the php class name (without package).

http://www.roboncode.com/articles/187
http://framework.zend.com/manual/en/zend.amf.server.html#zend.amf.server.typedobjects

regards,
Muzak

----- Original Message ----- From: "Sidney de Koning" <[email protected]>
To: "Flash Coders List" <[email protected]>
Sent: Monday, March 30, 2009 4:40 PM
Subject: Re: [Flashcoders] Best data type for Zend AMF


Nice one guys, thanks for the response.
Since i'm not at all into Flex, in the video he talks about binding  (and 
mapping them to ValueObjects).
My question is can i do this with pure AS3?

Cheers,

Sid


_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to