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

Click to Go to Web Page - Access of Undefined Property Window

New Here ,
Sep 24, 2020 Sep 24, 2020

Copy link to clipboard

Copied

Forgive me if this is a stupid question with an easy answer.

 

All I’m trying to do is link a button to a webpage using HTML5. The code snippet is attached, I’ve not even changing it yet. For the Record, ‘Use Advanced Layers’ is turned off.

 

The code hasn’t changed:

this.button_1.addEventListener("click", fl_ClickToGoToWebPage);

function fl_ClickToGoToWebPage() {
	window.open("http://www.adobe.com", "_blank");
}

 

I’m still getting the ‘Access of Undefined Property Window’ message when I export.

 

What am I doing wrong?

Views

169

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
LEGEND ,
Sep 24, 2020 Sep 24, 2020

Copy link to clipboard

Copied

Uh, "Access of undefined property" is an ActionScript error.

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 ,
Sep 24, 2020 Sep 24, 2020

Copy link to clipboard

Copied

LATEST

Hi.

 

You seem to be working with an AS3 document. Please convert your document to HTML5 Canvas and let us know if it will work.

 

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