Hi,
I simply cannot get the TestPerson example to work! I was excited to hear about remoting and AMFPHP but I've spent three darn days and have very little to show for it.
AMFPHP is working correctly - i got into the gateway.php page just fine, I see my services in the browser. I've been through the general errors and fixes thread, everything appears to check out as far as I understand it. I've got the correct URL - I was able to get the SimplePerson example working.
It seems that my objects are arriving to/from Flash and PHP, but not being translated back into the proper Person object. When they are sent to PHP they remain as arrays, and in Actionscript, as plain Objects.
The error in savePerson:
There was a problem: Argument 1 passed to TestPerson::savePerson() must be an instance of Person, array given
and in loadData:
TypeError: Error #1034: Type Coercion failed: cannot convert Object@2665421 to vo.com.flashdb.Person.
Now in ActionScript I can change the function,
/**
* getPerson remoting callback, populates textfields
* @param p instance of Person class
*/
public function getPerson_Result(p:Person):void{
name_txt.text = p.name;
age_txt.text = p.age.toString();
address_txt.text = p.address;
status_txt.text = "";
}
to take p:Object instead and this works and loads the data just fine. It proves to me that the service is getting things from Flash - but it's not acceptable! That gets rid of any advantages in coding, since auto-type features in my editor are then broken...
Then, when i try to take an array in TestPerson.php, it gives me this an exception:
Error #2044: Unhandled NetStatusEvent:. level=error, code=NetConnection.Call.Failed
at vo.com.flashdb::Main()[C:\Users\rweh\Documents\Flash\remoting2\vo\com\flashdb\Main.as:78]
So does someone have any idea what is going on?? this is totally ridiculous and I'm very close to switching to a purchased solution

I'm using a current Windows server with IIS, PHP 5.2.8, latest copy of AMFPHP. I'm using FlashDevelop to write the AS3 file, and have made only necessary changes to update the sample script and also create the GUI items which were assumed handled by Flash :/ it wouldn't compile otherwise.
Let me know if I need to give any more information for troubleshooting.