Additionally, you could configure several channels for a
destination and rely on channel failover so that it will look for one then the
other...
From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of
Jason Y. Kwong
Sent: Wednesday, March 15, 2006 7:41 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Configuring RemoteObject destinations (Flex 2)
This came up cause I was configuring my Flex 2 app to communicate
with ColdFusion, but I suppose it applies to RemoteObject in general. In
order to tell your app the location of a web service destination, we're told to
add something like this to the compiler command line: Sent: Wednesday, March 15, 2006 7:41 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Configuring RemoteObject destinations (Flex 2)
--services=C:\CFusionMX7\wwwroot\WEB-INF\flex\flex-enterprise-services.xmlNow, my first question is, since the file flex-enterprise-services.xml resides on the server (be it ColdFusion or FES) and you typically don't do your client development on the same machine as the production server, how would this work in the general case?
Anyway, so then I decided to copy the file to my development machine and then manually changed "localhost" to the server's IP address in the channel configuration. I compiled my app and it worked fine. But now it appears that the server's address is compiled directly into the swf. Are we unable to dynamically assign server addresses at runtime?
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
Web site design development | Computer software development | Software design and development |
Macromedia flex | Software development best practice |
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.