Hi Steve, Thanks for the feedback. To answer some questions and to ask more here I go:
1. Yes I am using the RemoteClass tag however I am not using the registerClassAlias function. Hadn't heard anything about using it but will look into it. So does that work in conjunction with the Metadata tag? How exactly are you utilizing the import? 2. My commands do the same thing (I scrapped the whole Cairngorm delegate thing) so I think that should be fine. 3. Nope, never did that so that might help too. Wow, I am really surprised by the lack of documentation or rather the wealth of misinformation. All the examples I was looking at never mentioned any of this. Nor did they really pose the issue in the framework of Flex and Cairngorm. Thanks, Justin --- In flexcoders@yahoogroups.com, "sgrace99" <[EMAIL PROTECTED]> wrote: > > I use AMFPHP no issues here... my Objects transfer just fine.... > > 1.Have you registered the class alias in your UserVO.as? > > import flash.net.registerClassAlias; > [RemoteClass(alias="UserVO")] > > > 2.My service calls in my delegates look like this..... > > public function getUser(vo:UserVO):void > { > var token:AsyncToken = this.service.getUser(vo); > token.addResponder(this.responder); > } > > 3. Did you set the classMappingsPath in gateway.php? > > $gateway->setClassMappingsPath("my/path/to/voDir/"); > > > .... > steve > > > > --- In flexcoders@yahoogroups.com, "JWOpitz" <jwopitz@> wrote: > > > > an update to this: > > > > I ended up dropping the casting to the UserVO.php. So the function > > signature looks like: > > > > function getUser ($user){} > > > > rather than > > > > function getUser (UserVO $user){} > > > > then inside the new function I set the type to an object using: > > > > settype(&user, "object"); > > > > this allows the php function to be able to retrieve the object > > propeties such as $user->name or $user->password since it sees it as > > an object rather than the array flex likes to send. > > > > Though this works, it doesn't sit well with me because I thought the > > whole idea of remoting was to be able to pass classes around without > > having to do these kind of work arounds. > > > > If anyone has any ideas on this, please give me a shout. > > > > Thanks, > > J > > >