2 Replies Latest reply on Oct 27, 2014 2:20 PM by randyFuse

    How to target self within creationComplete

    randyFuse

      Greetings,

       

      I created a symbol and attached a creationComplete event and in that I created a function called init() and in init I'm trying to use jquery to set the opacity to 0 but having hard time targeting example I've tried

       

      //does not work

      sym.init = function(){

          $( sym.getSymbol(this) ).css('opacity', '0');

      }

       

      //does not work

      sym.init = function(){

           $(this).css('opacity', '0');

      }

       

      Any help? Thanks