• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Go to Webpage actionscript not working

New Here ,
Nov 05, 2019 Nov 05, 2019

Copy link to clipboard

Copied

Hello,

 

I just updated my Adobe Animate software and when I try using the actions "go to webpage" code snippet it won't work. Anyone else having this issue after the update? If not, how can I fix this?

 

[This post moved from Get Started to Animate by Moderator]

TOPICS
ActionScript

Views

271

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

correct answers 1 Correct answer

Community Expert , Nov 05, 2019 Nov 05, 2019

Hi.

 

I've just tested this code here using Animate 20 and it worked.

this.openWebsite = function(e)
{
    window.open("https://www.adobe.com/", "_blank");
};

this.yourButton.on("click", this.openWebsite);

 

Please let us know if this helps.

 

 

Regards,

JC

Votes

Translate

Translate
Community Expert ,
Nov 05, 2019 Nov 05, 2019

Copy link to clipboard

Copied

Hi.

 

I've just tested this code here using Animate 20 and it worked.

this.openWebsite = function(e)
{
    window.open("https://www.adobe.com/", "_blank");
};

this.yourButton.on("click", this.openWebsite);

 

Please let us know if this helps.

 

 

Regards,

JC

Votes

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
Community Expert ,
Nov 06, 2019 Nov 06, 2019

Copy link to clipboard

Copied

LATEST

Yeah, I tried it too. no issues. 

Votes

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