[flexcoders] programmatically using RemoteObject

2008-06-03 Thread blc187
I'm trying to move some code out of my MXML into AS classes but having 
trouble with the RemoteObject.
The following code:

mx:RemoteObject id=remoteObject destination=genericDestination
mx:method name=myMethod result=gotServerData(event)/
/mx:RemoteObject

How do I go about setting up the remoteObject method programmatically?




Re: [flexcoders] programmatically using RemoteObject

2008-06-03 Thread Douglas Knudsen
dunno why you'd want to, using a framework you wouldn't have very many
instances of RO around, eh?  Anyhoo, you will need to use the non-mxml
version
http://livedocs.adobe.com/flex/3/langref/mx/rpc/remoting/RemoteObject.html

DK

On Tue, Jun 3, 2008 at 11:42 AM, blc187 [EMAIL PROTECTED] wrote:

   I'm trying to move some code out of my MXML into AS classes but having
 trouble with the RemoteObject.
 The following code:

 mx:RemoteObject id=remoteObject destination=genericDestination
 mx:method name=myMethod result=gotServerData(event)/
 /mx:RemoteObject

 How do I go about setting up the remoteObject method programmatically?

  




-- 
Douglas Knudsen
http://www.cubicleman.com
this is my signature, like it?