8 Replies Latest reply on Jul 9, 2013 1:27 PM by resdesign

    Nested symbol syntax question

    John Hall Level 4

      I am dynamically loading 'slides' onto the stage. Within the symbol that is loaded, on its timeline, I have the following:

       

      var icon = sym.$("honIcon");

      icon.hide();

       

      That works as expected. However, the following does not:

       

      var icon = sym.$("honIcon");

      icon.css('cursor', 'pointer');

       

      nor does binding any triggers such as

       

      var icon = sym.$("honIcon");

      icon.bind("click",showToolTip);

       

      function showToolTip(){

           alert("got message");

      }

       

      Suggestions?