PDA

View Full Version : count up in timer?



bluereo
06-17-2005, 06:14 PM
hi, anther question from me again... :?

i did the count down timer, and its works fine.
But how do i count up the time after i have pressed a button in order to delay the timer keeps on counting down?

i have tried this line of script:
_root.count=+10;
(*assume that current timer is 7.)

but the output was 107, instead of 17.
any idea???

hmm..wondering am i make it clear?
please help me out!!

thanks ! :idea:

NTD
06-17-2005, 07:34 PM
Hi,

I don't understand the question. This bit of code sets the value of the variable "countDown" equal to 10, it doesn't add to it.....

_root.count=+10;

If you want that variable to increment, it would look like......

_root.count+=10;