4 Replies Latest reply on May 20, 2013 11:01 AM by elainecc

    Why does getSymbol() not work in this scenario

    Marlene

      I have created a symbol called "docs" and placed an instance of this symbol on the stage and named it "docsSymbol". It has five simple images in it.

      I am using the following code in document.compositionReady

       

      sym.getComposition().getStage().$("docsSymbol").hide();  hides the docsSymbol instance BUT

      if I use this code instead

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

      it does not work.

      I am not understanding why using the jQuery id works but getSymbol does not.  I have read the documentation repeatedly.