5 Replies Latest reply on Jun 21, 2016 9:44 AM by ClayUUID

    How to bypass function on Adobe Animate CC HTML5 from external button

    dika_gaulzzz

      I've created my HTML5 Canvas with Adobe Animate CC.

      This is some pieces of my code from "page.js" after publish my project

      this.frame_0 = function() { 
      this.button_1.addEventListener("click", fl_ClickToGoToAndStopAtFrame.bind(this));
           function fl_ClickToGoToAndStopAtFrame()
           {
                this.gotoAndStop(1);
           } this.stop();
      }

      And this is my button from "page.html"

      <button type="button" class="btn btn-default">Default</button>

      How to bypass function/send command "gotoAndStop(1)" from my external button above?