I new to Flex, so please excuse the newbie question.

Within my ServiceLocator.mxml file, I have a listing of HTTPServices.
Each one of them has the URL hard coded in to the file. I would like
to make this a configurable setting, depending on which environment
the app is running off of (dev, testing, production). What is the best
way to accomplish this?

Example of what I am doing:

<!-- Login Service -->
<mx:HTTPService id="loginService"
url="http://localhost:8888/rrs/restLogin.htm"; method="POST"
resultFormat="e4x" showBusyCursor="true">
  <mx:request>
    <username></username>
    <password></password>
  </mx:request> 
</mx:HTTPService>

Reply via email to