Actionscript?

Community Beginner ,
Nov 12, 2020 Nov 12, 2020

Copy link to clipboard

Copied

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');
});

 

 

 

 

Views

39

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
no replies

Have something to add?

Join the conversation