Nope, the fact that server B has a /crossdomain.xml file is not relevant and not even known at compile time. In fact, for RPC services like RemoteObject, WebService and HTTPService, compiling against services-config.xml is only a convenience. The MXML compiler uses this information to generate some ActionScript code for you so it saves you from having to construct the list of mx.messaging.Channel implementations used to construct a ChannelSet (it takes a "set" because it allows you specify multiple channels and fail over to the next channel in in the event that one fails to connect). If you're comfortable with Channels you can programmatically create your own instances instead. Pete
________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Douglas Knudsen Sent: Thursday, January 11, 2007 10:28 PM To: [email protected] Subject: Re: [flexcoders] Anyone Using a Remote CF Server with Flex 2, Remoting? no way! I thought that was for webservices or REST calls only. Interesting, So I can have a SWF served from server A that connects to server B via remoteobject if server B has a crossdomain file? So, do I need to compile against a services-config.xml that has the URI hardcoded to server B to do this? DK On 1/11/07, Peter Farland <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > wrote: You can avoid that restriction if you use a /crossdomain.xml file that is hosted on the server you are remoting to and allows the domain from which your swf is hosted to contact it. ________________________________ From: [email protected] <mailto:[email protected]> [mailto:[email protected] <mailto:[email protected]> ] On Behalf Of Douglas Knudsen Sent: Thursday, January 11, 2007 1:32 PM To: [email protected] <mailto:[email protected]> Subject: Re: [flexcoders] Anyone Using a Remote CF Server with Flex 2, Remoting? AFAIK, the swf has to be served from the same box you remote to. DK -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt <http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt> Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com <http://www.mail-archive.com/flexcoders%40yahoogroups.com> Yahoo! Groups Links (Yahoo! ID required) mailto: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> -- Douglas Knudsen http://www.cubicleman.com <http://www.cubicleman.com> this is my signature, like it?

