3 Replies Latest reply on Feb 8, 2010 10:20 AM by andymckay456

    Accessing a SWC in Javascript

    andymckay456 Level 1

      Following on from the large uploads post, I'm trying to get http://code.google.com/p/as3httpclientlib/ working in my Javascript Air app. But not getting too far on that:

       

      <script type="application/x-shockwave-flash" src="js/as3httpclientlib-1_0_6.swc"></script>

       

      Should then be able to do:

       

      var client = new window.runtime.... something or other  as per http://help.adobe.com/en_US/AIR/1.5/devappshtml/WS5b3ccc516d4fbf351e63e3d118666ade46-7ed9. html

       

      Yet every combination there seems to fail. There's no error being generate about the SWC not loading... any ideas?

       

      Thanks