I've got two buttons that rotate a movie clip clockwise and anti-clockwise. At the moment, they only rotate a step at a time while the mouse button is held down but I want them to continuously rotate while the mouse button is held down.
I'm using Flash MX and the current code is as follows:
Code:
on(press) {
// rotate the protractor anti-clockwise.
protractor._rotation += -1;
}
(obviously, the value is '1' for clockwise)
Can anyone help with this? It's quite urgent to get this done so the timer's ticking...
Cheers very much!