3 Replies Latest reply on May 5, 2016 10:55 AM by Colin Holgate

    Html5 Click Button - Send Text to Dynamic Text Control

    fwhilton Level 1

      Hi,

       

      I wanting to click a button on my Html5 Canvas that sends specified text to a Dynamic Textbox.

      It's not working... This is what I have on frame 1 of timeline

       

      this.myBtn.addEventListener("click", fl_MouseClickHandler_3.bind(this));

       

      function fl_MouseClickHandler_3()

      {

        // Start your custom code

        // This example code displays the words "Mouse clicked" in the Output panel.

        // alert("Mouse clicked");

      sym.$("myText").html("My Dynamic Text Here");

       

        // End your custom code

      }

       

      The red line is my issue... I am not sure how to get the right code for the textbox control on the canvas.

      I eventually would like to be able to add some basic PHP functions etc.

       

      Thanks in Advanced