I'm not very good with scripts.
I have a movie clip that has certain key frames, where it can be stopped. You can think of them as indices.
There is a button, which when pressed, shall stop the movie clip at the next index.
I thought to have a variable, somehow associate it with the button, and set it to zero (not pressed) and if pressed, it toggles to 1.
Then, at each index, to check what value the variable has. Something like:
if(_global.knapp = 1)
Can anyone help me with this?