import mx.rpc.remoting.RemoteObject;
import mx.rpc.events.FaultEvent;
import mx.rpc.events.ResultEvent;
private var myRemoteObject :RemoteObject = new RemoteObject();
myRemoteObject .destination = genericDestination;
myRemoteObject .addEventListener(FaultEvent.FAULT, faultHandler);
import mx.rpc.remoting.RemoteObject;
import mx.rpc.events.FaultEvent;
import mx.rpc.events.ResultEvent;
private var myRemoteObject :RemoteObject = new RemoteObject();
myRemoteObject .destination = genericDestination;
myRemoteObject .addEventListener(FaultEvent.FAULT, faultHandler);
Here is a part of my way to do it this is only for the connection,
you have to use flexComRo.yourjavamethod and you have to create a
handler for tath if you need to.
you have to put the destination in the remote-config.xml
import flash.events.Event;
import flash.events.EventDispatcher;
3 matches
Mail list logo