Do you still need the crossdomain.xml if the app is an AIR app? -----Original Message----- From: João_Fernandes [mailto:[EMAIL PROTECTED] Sent: Monday, June 16, 2008 5:45 PM To: Flex Subject: Re: Using RemoteObject for a remote URL?
Andy, first of all, you'll have to have a crossdomain.xml which will allow your 'local' flex app to access a remote service. The destination only provides at compile time what is the correct url channel used by that destination and that info will be hardcoded in your code. You can do it by changing the channelSet URL for that remoteObject at runtime or add a new channelSet in the services-config.xml and hardcode your desired url and point those remoteObjects to that destination. Don't forget any CFC need to have access=remote but it should be like that no matter invoking cfcs served from the same webserver as the flex app or from a different one. -- João Fernandes http://www.onflexwithcf.org http://www.riapt.org Portugal Adobe User Group (http://aug.riapt.org) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/Flex/message.cfm/messageid:5346 Subscription: http://www.houseoffusion.com/groups/Flex/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.37
