RemoteObjectAMF0 Update
October 31st, 2006
I have updated RemoteObjectAMF0 to work properly with mx.rpc.IResponder implementation. I have also properly packaged it up as a component, including SWC, docs, example and source files.
You can find the updated code at http://renaun.com/blog/flex-components/remoteobjectamf0/.
There is a live demo example of the updated code running Cairngorm Store (Cairngorm 2.1 updated), AMFPHP and RemoteObjectAMF0.
Entry Filed under: Adobe Flex, Flex,AMF,PHP, Rich Internet Applications




9 Comments Add your own
1. Owen van Dijk | 2006-10-31 at 8.02 am
Thanks, i was just fighting today to get things working with 2.1 :)
2. luchyx | 2006-10-31 at 8.16 am
Yes excellent !!
This class is very useful for me and for amfphp developers too.
Thank“s Erikson.
Q: I’m having coercion problems mapping users’s returned by a sql query to the corresponding as3 class. php5.
I`m doing:
// php remote method table
// getUsers() “returns”=>”com.ria.vo.User”
// “select name, lastname, userid from users”;
With AMFPHP Service Browser I saw the _explicitType correctly but in flex they trow me a coercion error.
How can I map a resulset to an array of type object.??
Thanks a lot.
Reunan - Your works are excellent ;)
3. seantomas | 2006-11-08 at 10.08 pm
Am trying to get the RemoteObjectAMF0 object working and am getting the following error on compile:
Initializer for ‘com.renaun.rpc.RemoteObjectAMF0′: values of type com.renaun.rpc.RemoteObjectAMF0 cannot be represented in text.
Any thoughts as to where I went wrong?
Many thanks!
4. Renaun Erickson | 2006-11-08 at 10.11 pm
That is a strange error I would have to see your code to try and figure out what the compiler is really talking about.
5. Diego | 2006-11-09 at 9.45 pm
Hi Renanun,
I was working with your previous version for a while.
I want to use the new one in a new project but I’m getting this weird error:
Error #2044: Unhandled NetStatusEvent:. level=error, code=NetConnection.Call.Failed
at com.renaun.rpc::RemoteObjectAMF0/http://www.adobe.com/2006/actionscript/flash/proxy::callProperty()
at RemoteObjectsTest/::onTestSetSession()
at RemoteObjectsTest/___Button2_click()
Any clue?
Thanks in advance.
6. Renaun Erickson | 2006-11-09 at 9.48 pm
NetConnection.Call.Failed could mean many things. Did you change any of your other code or just the RemoteObjectAMF0?
Any sample code would be helpful.
7. robert was | 2006-11-14 at 4.22 pm
In the latest source of RemoteObjectAMF0 I not found methods for set credentials - it is my solution - maybe you integrate it your current code
http://81.21.200.136:8160/97.html
8. Renaun Erickson | 2007-03-04 at 12.07 am
Thanks robert, a little over due, but I will integrate the setCredentials into the code base
9. Renaun Erickson » C&hellip | 2008-06-16 at 9.11 am
[...] You can read more on the AMFPHP implementation in my previous post. [...]
Leave a Comment
Some HTML allowed:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>
Trackback this post | Subscribe to the comments via RSS Feed