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

Button wont work

Community Beginner ,
May 17, 2019 May 17, 2019

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

353
Translate
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

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

After reinstall, fla is working

Translate
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
LATEST

Glad you were able to solve this on your own.

Translate
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