[flexcoders] Re: Dynamic destination of remote object?

2008-09-17 Thread valdhor
This thread may help: http://tech.groups.yahoo.com/group/flexcoders/message/120115 --- In flexcoders@yahoogroups.com, xmwang1982 [EMAIL PROTECTED] wrote: In my sample, I have to define the following in remoting_config.xml: destination id=WorkFlowServiceDemo properties

[flexcoders] +Re: Dynamic destination of remote object?

2008-09-10 Thread Daniel McQuillen
Did you try casting to mx.rpc.remoting.mxml.RemoteObject? This is a subclass or mx.rpc.remoting.RemoteObject. Although it's for the mx:RemoteObject tag, it does give you access to the endpoint property...something the superclass doesn't. - Daniel

[flexcoders] Re: Dynamic destination of remote object?

2008-09-09 Thread Cato Paus
channel = new AMFChannel('my-amf', 'http://{server.name}: {server.port}/flex/messagebroker/amf'); in your as file. --- In flexcoders@yahoogroups.com, xmwang1982 [EMAIL PROTECTED] wrote: Hi, So far as I know all destinations of remote object must be defined in remote-cofig.xml. Can we

[flexcoders] Re: Dynamic destination of remote object?

2008-09-09 Thread xmwang1982
In my sample, I have to define the following in remoting_config.xml: destination id=WorkFlowServiceDemo properties sourcecom.test.demo.DemoService/source scopesession/scope /properties /destination So, whenver you want to add new