I had a web based Flex app and I've extracted common code to use in an AIR
app. The Web application makes HTTPService and source=XXX requests using
relative paths to the web application like this:
<mx:HTTPService id="imagesXML"
showBusyCursor="true"
url="config/images.xml"
resultFormat="e4x"
result="onImagesLoaded(event)"
fault="onLoadFault(event, imagesXML.url)"/>
<mx:Image source="images/thumbnail.png"
height="46" width="46" scaleContent="true"
horizontalAlign="center"
verticalAlign="middle"/>

