1 Reply Latest reply on Apr 7, 2015 10:47 AM by Preran

    calling an external function from within edge animate

    silverstarfy Level 1

      Hi,

       

      I have a edge animate stage with 2 items.

      1. a text box named "Text"
      2. a rectangle named "Change" with an click event containing "myFunction();"

       

      I am linking to a .js file that has the following:

       

      function myFunction()

      {

      AdobeEdge.getComposition("EDGE-277557069").getStage().getSymbol("Text").html("hello world!")

      }

       

       

      when I check the animate file though, it doesn't work. Does anyone have any ideas for fixing this?