Forum Discussion
anoyatis
12 years agoCommunity Member
Ok, this one's A BIT tricky...
Hello all, I have been banging my head against the wall for the past 3 days trying to find a way to do the following. The requirement I need to implement a timer function (both count-up & co...
MarcLee
12 years agoCommunity Member
Alex, Julie,
See what you think of the attached .story file. The lost second in the countdown counter seemed like it was caused by the master slide being fired off twice whenever the slide changed.
So I put the CDnS1 trigger on a separate object in the S1 layer of the master offset by 20 milliseconds from the start of that layer's timeline. That seemed to alleviate two seconds being deducted each time the slide changed.
I found some conflicts between the CDnS1 and S2 and therefore made the countdown seconds start at 60 and count down (eliminating the need for S2). To add a leading zero when needed for S1 I added a text variable tensPlace that when from blank to 0 when S1 was less than ten.
Very clever counter, Alex!
-Marc Lee