1 Reply Latest reply on Sep 7, 2016 9:24 AM by ClayUUID

    manipulating object visibility inside function

    anton9800 Level 1

      Hello!  This is for Animate CC HTML5 Canvas.  I'm sure this is extremely simple, but please explain why the following doesnt work:


      function hideButton(){

          this.button.visible = false;




      At the same time, running this.button.visible = false; outside of function works just fine.


      How can I address that movie clip correctly?


      Thank you!


      P.S.  is there a reference library I can look at for Animate CC JavaScript?