Skip to main content
rjoshicool
Inspiring
January 27, 2010
Question

Mapping Flash AS3 object to PHP object

  • January 27, 2010
  • 1 reply
  • 596 views

I am using AMFPHP to receive data from PHP in Flash. From PHP I am sending an object having 3 attributes as: username, email and id.In Flash I have created an AS3 VO with same 3 attributes. I am getting the result from PHP when taking the result as a normal object.But when i try to get the result as:

var testVO:TestVO = result as TestVO;

I get the testVO object as null, whereas result has all the data.

Any idea where I might be wrong?

This topic has been closed for replies.

1 reply

rjoshicool
Inspiring
January 29, 2010

Anyone who can provide some help on this?