2 Replies Latest reply on Apr 20, 2009 3:14 PM by redskwerl

    Embedding SWF/SWC in Air for non visual interaction

    redskwerl

      Hi, hopefully this is a simple question, but it's leaving me a little lost.

       

      I have an existing SWF file which uses AS3/Flex and I'm migrating to Air.  Now, I actually want to access the AS classes but don't need the presentation layer (we're doing that in Air/HTML).  What's the best way to get this into an Air (HTML/Javascript) application?

       

      I was thinking of creating a SWC from the classes, but am unsure how to do that.  I'm already using the applicationupdater_ui.swf successfully, but trying the same thing (with a different namespace, but using <script src=> tags in HTML then air.ApplicationUpdaterUI object in Javascript) is saying the variable 'com' isn't available.

       

      Any help appreciated.

       

      Cheers

       

      Robbie