3 Replies Latest reply on Jul 9, 2013 5:46 PM by Lloydie73

    call function in external .js from stage.onCompletion

    Lloydie73

      I have my edge composition, and some functions in sim.js

       

      within the stage.onCompletion event, I have:

       

      $("<script type='text/javascript' src='sim.js'></script>").appendTo("#Stage");

       

      how can I call functions, e.g. "testMe()" that are in sim.js from within the stage.onCompletion event?

       

      $("testMe()"); was my first thought, but no. what am I missing?