2 Replies Latest reply on Jun 4, 2014 7:59 AM by mikewirthart

    Populating a nested textbox with a stage variable

    mikewirthart

      Hey Guys,

       

      I've got a textbox nested two symbols deep that I want to populate with a global variable declared on the stage. I've read some posts on the forum about this and haven't had success.

       

      CompReady:

       

      var photoDescription = ""; //set the var as an empty string first

       

       

      On a Button's mouseUp:

       

      sym.getComposition().getStage().getSymbol("themePopUp").getSymbol("photoDescriptionPopUp") .getSymbol("photoDescriptionText").text(photoDescription);

       

      Any advice?

       

      Best-Mike