var ro : RemoteObject = new RemoteObject();
var op:Operation = ro.getOperation(myOperationName);
var token : AsyncToken = op.send();
I don't think you create them, once you create a remote object in action
script you can just an operation by name from which to send. If the
method doesn't exist on the server I think this throws an error, but am
not sure exactly.
Brian..
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of rleuthold
Sent: Tuesday, September 18, 2007 10:04 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Add methods to RemoteObjects with ActionScript
Hi there,
Does somebody know how to create and add methods to RemoteObjects in
ActionScript ?
In mxml i do it like this.
mx:method name=getData result=getDataHandler(event)
fault=faultHandler(event) /
... must be possible to do it in AS ...
I couldn't find something in the doc's ...
With best thanks for every bit of information ...
_rico
***
The information in this e-mail is confidential and intended solely for the
individual or entity to whom it is addressed. If you have received this e-mail
in error please notify the sender by return e-mail delete this e-mail and
refrain from any disclosure or action based on the information.
***