blog.ashier.com flash / flex / air development
rss rss comment

Archive for the ‘AMFPHP’ Category

I still don’t know what new updates there may be, but I’m really glad that there are changes being done.

I’m looking forward to the changes in AMFPHP.

Thanks Wade.

Tags: , ,

There are alot of ways to connect to a remote service in Flex / Flash.

You can do it tag based:

Actionscript:
  1. <mx:Application
  2.     xmlns:mx="http://www.adobe.com/2006/mxml"
  3.     layout="absolute">
  4.    
  5.     <mx:RemoteObject id="blazeService" fault="onFault(event)" source="hello.Hello" endpoint="http://localhost:8400/hello/messagebroker/amf/" destination="Hello">
  6.         <mx:method name="sayHello" result="onResult(event)" />
  7.     </mx:RemoteObject>
  8.  
  9.     <mx:Script>
  10.    
  11.         <![CDATA[
  12.             import mx.messaging.channels.AMFChannel;
  13.             import mx.rpc.events.ResultEvent;
  14.             import mx.rpc.events.FaultEvent;
  15.            
  16.             private function onResult(e:ResultEvent):void {
  17.                 trace("Result" + e.result);
  18.             }
  19.            
  20.             private function onFault(e:FaultEvent):void {
  21.                 trace("fault");
  22.             }
  23.         ]]>
  24.     </mx:Script>
  25.    
  26. </mx:Application>

or actionsript based:
Read the rest of this entry...

Tags: , , , , ,

I've been getting my hands dirty studying PureMVC. I created a helloworld basic application that uses PureMVC framework and uses AMFPHP using Flash CS3. I still want to develop more applications that uses PureMVC so I can get really familiar using it.

While getting familiar with the framework, I also recommend you to look into some of these links:

10 tips for working with PureMVC
SilVaFUG Flex Application Frameworks Presentation

I also suggest if you have time, you might want to signup to PureMVC Courseware Beta Test Program

(Either JavaScript is not active or you are using an old version of Adobe Flash Player. Please install the newest Flash Player.)

download source here

Tags: , ,

Wade Arnold posted new additions in AMFPHP project. There are updates in the documentations and has put together basic examples using AMFPHP.

Current Examples:

HelloWorld ? Passing strings to and from AMFPHP in Flash CS3
Counter ? Using PHP sessions in AMFPHP with Flash CS3.

These updates to AMFPHP is very good news indeed. Lets just hope AMFPHP 2.0 will be released soon.

This is a very good news to all AMFPHP users out there. Hopefully, we can see updates on the pages on a soon. You can visit the documention pages here.

Visit AMFPHP.org

The site amfphp.org expires. A new link has been put up and you can find it here.