Monday, February 19, 2007

Using Amfphp 1.9 with the Flex 2.01 SDK

I have submitted my Amfphp tutorial to HowToForge.com. I hope it gets published. Meanwhile I will post my tutorial online at http://develop.gurufaction.com/AmfTutorial/docs/app/FlexHowTo.html . I would like some feedback from the community. I have tested it but let me know if it doesn't work :) You can also preview the working example at http://develop.gurufaction.com/AmfTutorial/Main.swf

4 comments:

Renaun said...

Overall a very good tutorial, good job.

Two things:

You do not necessarily need the "remoting-config.xml". You can put all the information into the services-config.xml. Might make for less questions.

Second, The last slash on the below code is not needed, and it might be good to talk about a HTML template the wraps the SWF properly?
http://[SERVER_NAME]/[APP_NAME]/Main.swf/

Chris Charlton said...

Seems like each part of the tutorial gets right to the meat. :)

I personally don't use Ant, so that part didn't catch me but the AMFPHP service and MXML looks fine.

Anonymous said...

Thx for the tutorial!
Is there a way to use mx.rpc.remoting.RemoteObject in ActionScript-only projects, or any alternative to the flex2-rpc?

Gurufaction said...

You can create remote objects without using MXML. Alternatives to RPC are HTTPService and WebService.