[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: > > >com.test.demo.DemoService >

[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 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 xmwang1982
In my sample, I have to define the following in remoting_config.xml: com.test.demo.DemoService session So, whenver you want to add new destination, you have to change this file and re-deploy the whole project. I don't want to change

[flexcoders] Re: Dynamic destination of remote object?

2008-09-08 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. >