0 Replies Latest reply on Sep 18, 2015 8:15 AM by mlprouty

    Class action "on click" not working when assigned in compositionReady. Know why?

    mlprouty Level 1

      Using the latest version of Edge Animate, I have created a rectangle and assigned it a class of recHidden. I defined this class using the Edge Animate class ("c") button. The actions on this class work; for example:


                $('.recHidden').hide();

       

      However, I can't get the "on click" event to work when I code the event in compositionReady. Does anybody know how to make this work?

       

      This does not work when used in compositionReady:

       

      $('.recHidden').on("click", function() {

        alert('hello');

      });