[flexcoders] Learning Flex and AMFPHP

2008-09-24 Thread timgerr
Hello all, hope you all are doing good. I have a question on how to build the Flex RemoteObject method in action script. I am having troubles doing this. Here is my RemoteObject: Can someone take the above code and do it in acitonscript? It is not that I want someone t

Re: [flexcoders] Learning Flex and AMFPHP

2008-09-24 Thread Aaron Miller
It is hard to find. Here is a snippet from my code. Hope it helps! public function loadFavorites( resultHandler:Function, errorHandler:Function, zone:String ): void { trace('FavoritesProxy.loadFavorites'); var dataService:RemoteObject = new RemoteObject(); var channel:Channel = new AMFChannel( 'amf

Re: [flexcoders] Learning Flex and AMFPHP

2008-09-25 Thread Alan
I ironically, I have found WebOrb's site http://www.themidnightcoders.com/weborb/php/ to be very helpful for any Flex remoting info - regardless if your using amfphp or not. In their tutorials, they have an example of a remote object , constructed in action script, connecting to a php serv

Re: [flexcoders] Learning Flex and AMFPHP

2008-09-25 Thread Terry Allen
I was also having trouble with AMFPHP until I purchased the Essential Guide to Open Source Flash. The creator of AMFPHP has a chapter (chapter 7) that fully explains how to setup the PHP and Flex side of a CRUD sample application. It also contains a primer on VO's. I highly recommend this chapter t