Skip to main content
Participating Frequently
November 12, 2020
Question

Actionscript?

  • November 12, 2020
  • 0 replies
  • 122 views

A newb to actionscript. 

 

I have to incorporate this into my Adobe Animate Ad for it to run online. Not sure exactly on how to add this in actionscript.

<a href="javascript&colon;window.open(window.clickTag, '_blank')">Click Here!</a>

 

I added this action to my ad but it didn't work:


var _this = this;
/*
Clicking on the specified symbol instance executes a function.
*/
_this.button_1.on('clickTag', function(){
/*
Loads the URL in a new browser window.
*/
window.open('_blank');
});

 

 

 

 

    This topic has been closed for replies.