질문
Help with on click go to website
Hi,
I'm trying to create a HTML5 web banner ad. I need to have a transparent button on the top layer with an action set to load the target URL. However, when I test or publish, the button doesn't work. It doesn't even appear to be there when I hover over the stage.
This is the code I am using:
var _this = this;
/*
Clicking on the specified symbol instance executes a function.
*/
_this.CTA.on('click', function(){
/*
Loads the URL in a new browser window.
*/
window.open('http://www.adobe.com', '_blank');
});
