A new version of SWX has been released!

SWX is a Flash RPC that assembles the result on SWF format.
The project includes an AS2 and AS3 compiler, developed in pure PHP.
With a very simple usage, the same code works on AS2, AS3 and Flex.

Example:
// On the server we have a class /swx/services/Simple.php with an addNumbers method. // Usage: swx.serviceClass.method(args:Array, [resultHandler:Function], [debug:Boolean])

import org.swxformat.*;
var swx:SWX = new SWX();
swx.gateway = "http://www.swxformat.org/php/swx.php";;

swx.Simple.addNumbers([1,4], resultHandler);

function resultHandler(e:Object) : void {
   trace("The result is: " + e.result);
}

More Info:
http://code.google.com/p/swx-format/
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to