1 Reply Latest reply on Feb 16, 2009 6:44 AM by wijszman

    Cannot load AIR aliases

    jcoglan
      I'm trying to run the HelloWorld application in the developer guide, specifically this code:

      <html>
      <head>
      <title>Hello World</title>
      <script type="text/javascript" src="AIRAliases.js"></script>
      <script type="text/javascript">
      function appLoad(){
      air.trace("Hello World");
      }
      </script>
      </head>
      <body onLoad="appLoad()">
      <h1>Hello World</h1>
      </body>
      </html>

      But when I run it using ADL I get the following in my terminal:

      $ /usr/local/air_1.5_sdk/bin/adl HelloWorld-app.xml
      ReferenceError: Can't find variable: air
      appLoad at app:/HelloWorld.html : 7
      onload at app:/HelloWorld.html : 11

      Am wondering whether there's some part of the installation that I missed out -- can someone help me get this running?