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
>
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
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
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.
>
4 matches
Mail list logo