Jump to content
Search Community

Daniel8

Members
  • Posts

    1
  • Joined

  • Last visited

Posts posted by Daniel8

  1. Hi! 

    As discussed in this forum before Flash is dead and I have to switch to HTML5 banners. 

    I have tried different solutions and now planing to use Flash CC html5 canvas animation until I learn how to make perfect hand coded and animated banners with Greensock. As for the background I have previously used Greensock (I think it was the same) library but after years passed without banner work I didn't use it and now in this summer I just started again with regular tween and timeline. 

     

    But now my biggest problem with the change is not the file size or how to animate. I am in trouble of adding ClickTAG to the banners. 

     

    I want to add it in Flash as actionscript layer but as I understand html5 canvas is using JS so I can not use old as klicktag code. What I have now is >

    this.button_1.addEventListener("click", fl_ClickToGoToWebPage);
     
    function fl_ClickToGoToWebPage() {
    window.open("ClickTag", "_blank");
    }
     
    + a button in stage with instance name button_1 - but sadly this doesn't work. 
    I know that I could add <a> link around the canvas in html but it means I have to make a new one every time when I publish again. So when you are in a rush and make some small correction in banner it can be easily forgotten. 
     
    Any help much appreciated!
×
×
  • Create New...