0 Replies Latest reply on Jul 11, 2010 3:11 PM by bencoderedit

    XML Service relative to embed page not swf

    bencoderedit

      My app used to default to loading a settings file "settings.xml" relative to the page embedding the swf file.

      Now since moving to Flash Builder it tries to load the file from the swf's directory. Where it doesn't exist, thus causing an error!

       

      Eg...

       

      Swf living at site.com/flash/app.swf

      Embedded in page living at site.com/page.aspx

      It used to request site.com/settings.xml

       

      However now it's trying to get at site.com/flash/settings.xml

       

      This wouldn't be a problem except that settings file changes from one place to another in the site.

       

      Any ideas?