2 Replies Latest reply on Jan 24, 2011 9:07 AM by awakeDT

    Read url from text file

    awakeDT

      I am new to Adobe Air. I was able to load a web browser as an Air app with the following line:
      <mx:HTML id="myBrowser" width="100%" height="100%" location="http://www.google.com"/>

       

      My  question is this: is it possible to add a text file to the project (to  be stored locally) that can be read by the application so that the  location attribute (URL) can be dynamically populated?

       

      I want the user to be able to change the starting URL by manually editing this text file.

       

      Any help I can get is appreciated!

       

      Note:  I am aware that a URL bar can simply be added to the app, but that is  really not the solution that I'm looking for. I don't want the user to  be able to change the url using the GUI.