Well, it wasn't PHP 4, it was my fault. But, I still receive a plain Object, not an object of my class. I'm using Renaun's solution to connect to amfphp, what are you using?

Thanks.

2006/7/22, Oriol Gual <[EMAIL PROTECTED]>:
HI,

Thank you for the responses. Using the registar class solved the problem form flex to php, I thought classes were automatically registered.

On the other hand Robert, I suppose that you are using PHP 5, does it worked also on PHP 4?

2006/7/22, Robert Wąs <[EMAIL PROTECTED]>:
registerClassAlias( "vd.vo.ProductVO", ProductVO )
php:
class ProductVO{
    public $_explicitType="vd.vo.ProductVO";
...
works for me in swf to php and reversed direction
Robert Was


Oriol Gual wrote:

  

Hi,

I've been using Flex and AMFPHP for a while, but there's one thing that is driving me nuts: class mapping.

Has anyone mapped correctly a VO from Flex to PHP with AMFPHP or viceversa? I've tried several ways, but I all I get are plain objects.

Any help would be very much appreciated, especially a working example.

Oriol Gual.



__._,_.___

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





YAHOO! GROUPS LINKS




__,_._,___

Reply via email to