title: Cannot get Adobe AIR's ApplicationUpdaterUI() to work
body: <p>Here is my problem - I'm trying to write a self-updating application, but I keep getting an error saying that runtime.air.update.ApplicationUpdaterUI() does not return a constructor.</p>
  
  <p>Here's the relevant section of the code; there are other javascript files being included, but I don't think that any of them would be actively breaking AIR itself.</p>
  
  <pre><code>&lt;html&gt;
  &lt;head&gt;
  &lt;script type="text/javascript" src="./js/AIRAliases.js"&gt;&lt;/script&gt;
  &lt;script type="text/javascript" src="./js/jquery-1.3.1.js"&gt;&lt;/script&gt;
  &lt;script src="ApplicationUpdater_UI.swf" type="application/x-shockwave-flash"&gt;&lt;/script&gt;
  &lt;script&gt;
      $(document).ready( function() {
          var appUpdater = new runtime.air.update.ApplicationUpdaterUI();  // line 64 in this example
      }
  &lt;/script&gt;
  &lt;/head&gt;
  &lt;body&gt; ... stuff ... &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>And the error that I get when I test it is</p>
  
  <pre>
      TypeError: Value  is not a constructor. Cannot be used with new.
       at app:/index3.html : 64
       at app:/js/jquery-1.3.1.js : 2912
       at app:/js/jquery-1.3.1.js : 686
       at app:/js/jquery-1.3.1.js : 2916
       at app:/js/jquery-1.3.1.js : 2936
  </pre>