Let me clarify... I'm writing an AIR app which will connect to a user specified CFC on some server, and URL, over which I have no control. I will not be able to make changes to any config files on their server, nor should the user have to. I simply want to hit a CFC and return data from it.
Given these requirements, is RemoteObject even the right construct to use? Would it be better to use WebService? >Do you still need the crossdomain.xml if the app is an AIR app? > >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:5348 Subscription: http://www.houseoffusion.com/groups/Flex/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.37
