1 Reply Latest reply on Apr 27, 2008 11:42 PM by anirudhs

    How to add new javascript from an external document?

    gizmogwai
      I'm currently doing some XSLT transformation with AIR.
      Currently, I load the XML and XSLT files, and then use the XSLTProcessor object to do the transformation and append the resulting fragment to my document.
      It works great, except for one point: JavaScript!

      The generated JS is well added to the document, but I'm unable to call it. Is this part of the AIR security model? If yes, is there a way to send the result to a non-application sandbox, or something else, that would be able to execute the JS?

      Please, help me!