I am having a bit of trouble figuring out what to do in my situation.
I am a main timeline, with a movie clip that I want to loop infinitly, until a button is clicked, once the button is clicked I want it to stop the movie clip timeline, once the button is clicked again I want it to start the movie clip timeline again.
I am not the greatest actionscripter, I understand it I just have a bit of trouble writing the syntax myself.
change “yourmc” to the instance name of the mc you want to stop/play!
It checks if a variable is true or false, if it’s false then it stops the mc and makes the variable true, if it’s true then it starts playing it and sets it to false.