2 Replies Latest reply on Feb 22, 2010 12:28 AM by info@seltzlab.com

    help with HTMLLoader


      Hi all,

      I'm trying to load an html page inside a HTMLLoader object, but it seems that the page loaded (test.html) can't load a javascript file

      In my application:

      var content = new window.runtime.flash.html.HTMLLoader();
      content.navigateInSystemBrowser = true;
      var url = new window.runtime.flash.net.URLRequest('app:/test.html');
      url.data = new  window.runtime.flash.net.URLVariables('x=1');



              <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
              <script type="text/javascript" src="lib/air/AIRAliases.js"></script>
              <script type="text/javascript" src="lib/air/AIRIntrospector.js"></script>
              <script type="text/javascript">
              <div id="print-header">HERE WE ARE</div>


      Aptana console tell me:

      You need to include AIRIntrospector.js in your application sandbox.
      at app:/lib/air/AIRIntrospector.js : 1920


      Where I'm wrong?

      I'm using Air 2.0beta2 on a 64bit Ubuntu Linux


      Thanks for any help,