Skip to main content
Participant
September 7, 2018
Answered

Stop an action script of a frame

  • September 7, 2018
  • 1 reply
  • 463 views

Hi.. I've been wondering how can i stop an action script that i put on my first frame. The action is whenever MOUSE_DOWN then gotoAndPlay(2) and it will stop at the 10th frame.. Because the first frame i put a "Click Anywhere To Start". It has stopped at the 10th frame but still, whenever MOUSE_DOWN it goes to the second frame. Is it because my first frame's action script still running? If it is, then how to stop it? I've added a new keyframe in the second frame of my action script layer. Although i don't know if  it will make a difference. Or maybe i should change the script?

    This topic has been closed for replies.
    Correct answer macpawel

    Maybe you can use RemoveEventListener(Mouse Down) command

    pawel

    1 reply

    macpawel
    macpawelCorrect answer
    Participating Frequently
    September 7, 2018

    Maybe you can use RemoveEventListener(Mouse Down) command

    pawel

    Participant
    September 7, 2018

    Hm i see.. I didn't even know there's that kind of script. I'm still very new to this. By the way, thank you very much for replying!