Re: [flexcoders] Strategies for switching between testing and deployment addresses

2010-02-25 Thread Nick Middleweek
Hey David, If you have a local DNS you could setup a subdomain for the production IP and edit your windows hosts file to override it to point locally... Tracy mentioned FlashVars, that's a real easy way. You've help me enough in the world of 4D so I'll ping something over if you need it...

Re: [flexcoders] Strategies for switching between testing and deployment addresses

2010-02-25 Thread claudiu ursica
Middleweek n...@middleweek.co.uk To: flexcoders@yahoogroups.com Sent: Thu, February 25, 2010 2:32:28 PM Subject: Re: [flexcoders] Strategies for switching between testing and deployment addresses Hey David, If you have a local DNS you could setup a subdomain for the production IP and edit

Re: [flexcoders] Strategies for switching between testing and deployment addresses

2010-02-24 Thread Tim Romano
I'm too new at Flex to do anything fancy like reading files from the O/S file system, so I use the Project compile option. -locale en_US -define=CONFIG::debug,true Then I have me some constants: public static const DEBUGMODE:Boolean = CONFIG::debug; public static const

Re: [flexcoders] Strategies for switching between testing and deployment addresses

2010-02-22 Thread Peeyush Tuli
you can always read the ip address from an xml file at application startup and bind your service to it.. On Mon, Feb 22, 2010 at 6:30 AM, David Adams dpad...@gmail.com wrote: I've been writing some small programs that use HTTPService calls to fetch data from a back-end. During testing, I'm

RE: [flexcoders] Strategies for switching between testing and deployment addresses

2010-02-22 Thread Tracy Spratt
Sent: Monday, February 22, 2010 6:47 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Strategies for switching between testing and deployment addresses you can always read the ip address from an xml file at application startup and bind your service to it.. On Mon, Feb 22, 2010

[flexcoders] Strategies for switching between testing and deployment addresses

2010-02-21 Thread David Adams
I've been writing some small programs that use HTTPService calls to fetch data from a back-end. During testing, I'm using 127.0.0.1 or an IP address on my subnet. When I deploy, I update the IP address in service definitions to the right external address and build the app. Or at least I mean to.