2 Replies Latest reply on Dec 11, 2017 12:15 PM by ristenkAdobe

    linking external js file and calling function

    ristenkAdobe

      Hi, I have an external .js file that I have linked Animate CC to under Global>Include. I put a simple function on the file:

       

      alert("test 600");

       

      myFunction(){

      alert("inside function");

         }

       

      Then, inside of Animate CC on one of the timeline frames I put:

       

      this.stop();

      alert("hello");

      myFunction();

       

      When I test the movie in a browser I get the "hello" but I don't get the test 600 nor the "inside function". Is there a way I am suppose to set up a global function that I am missing? Thank you,

       

      Kristen