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

Button wont work

Community Beginner ,
May 17, 2019 May 17, 2019

Copy link to clipboard

Copied

Hi Guys!

I have a strange problem. In scene 1 is a button with the following code:

welcome.addEventListener(MouseEvent.CLICK, clickHandler_start);

function clickHandler_start(event: MouseEvent): void {

gotoAndStop(2)

}

However, this code works only if in scene 2 the same button is added to the stage.

if the button (in scene 2) is removed, the code will not work

Fla to download and test: http://app-developing.eu/tfzfleitfaden/leitfaden.fla

Views

263

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 Beginner , May 17, 2019 May 17, 2019

After reinstall, fla is working

Votes

Translate

Translate
Community Beginner ,
May 17, 2019 May 17, 2019

Copy link to clipboard

Copied

After reinstall, fla is working

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 ,
May 18, 2019 May 18, 2019

Copy link to clipboard

Copied

LATEST

Glad you were able to solve this on your own.

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