This content has been marked as final. Show 4 replies
Assuming that you want to increase the label of myText,
myText.label = Number(myText.label) + 1;
I've already tried that, it doesn't work.
What I want to have is that label increase until the mouse is no longer down, mouseUp.
Oh, well, if that's what you're trying to do:
Start a timer on the mouse down. Use whatever timer resolution you want.
On the timer's tick, increase the label by one. When you get a mouse up
or mouse out event, stop the timer.
Ah, so that's how it's done!
Great, thank you! :)