13 Replies Latest reply on Sep 18, 2015 2:11 PM by Cedro83

    clickTAG - Javascript HTML5 Canvas

    stealtheh Level 1

      Hi everyone!

      This is the clickTAG code I am using:

       

      this.click_btn.addEventListener('click', onClick);

      function onClick() {

        click_url = MovieClip(root).loaderInfo.parameters.clickTAG;

        if(click_url) {

      window.location=click_url;

        }

      }

       

      I have inserted a button (eg. HitArea).
      I need to insert the button name into the clickTAG code.
      How is that done, what will the code look like...?

       

      Please help, thank you.