How can I have an MC play at different speeds upon a button click. For example, I want button one to play the MC “cars” at one speed, and button two to play the same MC (cars) at another speed? Thanks in advance…
set variables. have the movieclips move at the speed “nSpeed” and then when the buttons are pressed change the values of “nSpeed”
or do you mean different FPS? cuz thats not easy, Sinf had a way to do it, but its very complicated.
Ok, I wanted different FPS, but how do I change the values of nSpeed upon different clicks of a button?
nSpeed = 4
and on a different button would be
nSpeed = 9
you could use this when moving movieclips. the code on a movie clip would look something like this.
this._x += nSpeed
this would move the movieclip to the right with a speed of “nSpeed”
Thank you so much. That was great information you provided.