I would like to use different service definitions in a Flex app depending on whether I'm running on:
- My local developer machine
- The test tier
- The QA tier
- The production tier
My services are all AMFPHP remote objects, living on different hosts and at different locations depending on which tier I'm on. How can I have my flex app choose the 'correct' tier at runtime to connect to?