Sorry about the sending without the complete question.  The cat jumped on
the keyboard and managed to hit the gmail code to send the mail.

Anyway the question is this: Can I set the base URL for an AIR app so all
relative requests for an HTTPService, Image, Movie, etc go to the given
location?

On Fri, May 23, 2008 at 9:50 AM, Robert Stehwien <[EMAIL PROTECTED]>
wrote:

> 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"/>
>
>

Reply via email to