3 Replies Latest reply on Apr 30, 2015 6:42 AM by resdesign

    Accessing global array

    Chepe Nicoli Level 1

      Hello, I can not access a global array within a simbol, how do I do that?

       

      On my compositionReady I have:

       

      var phrase = [

        "Text 1",

        "Text 2",

        "Text 3"

      ];

       

      Inside the symbol I have, on the click event:

       

      sym.phrase[0]

      Returns an empty var.