Skip to main content
Participant
May 17, 2019
Answered

Button wont work

  • May 17, 2019
  • 2 replies
  • 395 views

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

This topic has been closed for replies.
Correct answer Daniel_Painter

After reinstall, fla is working

2 replies

Community Expert
May 18, 2019

Glad you were able to solve this on your own.

Daniel_PainterAuthorCorrect answer
Participant
May 17, 2019

After reinstall, fla is working