5 Replies Latest reply on Feb 15, 2014 9:07 AM by resdesign

    Hide a symbol programatically

    Joel Bondoux Level 1

      Hi all,

       

      I need to hide a symbol on my main stage dynamically, ie without hardcoding it on the timeline.  So I tried this within an IF ELSE statement:

       

      sym.getComposition().getStage().getSymbol("Box_Symbol").hide();

       

      I also tried this:

       

      sym.getComposition().getStage().getSymbol("Box_Symbol").css({"display","none"});
      

       

      Clearly these are not working...What am I missing here?

       

      Thanks for your help.