Relative Path For Webservice in FLASH


I am using a webservice in my flash application and i have created a web application for that. The application is working fine but the only problem is that when ever i change the system i need to edit the flash for changing the WebsERVICE URL. Is there a way to specify the URL path as Relative Path. Please help. It is really urgent.