Wow Phil, this is very cool! Definitely will come in handy. I like demos with variables in them because I can study them!
I have a few questions after looking "under the hood:"
1. I see that you have the 2 layers looping back and forth each second - can you explain the logic to help this newbie understand why this is necessary?
2. How can you get it to stop? Can it be set up to start/stop/reset? Would simple triggers work for this, or would you need variables also?
OK, while I was writing my post, you added start and stop buttons - boy are you fast! But what about a reset button? Also, could the stopwatch be triggered by a hotspot over the button?
I have a request from Bruce to make this answer "Bruce" freindly.
I will try and do a sreenr tonight to explain this.
The looping layers are there as i needed a way to measure seconds (hence them being 1 second in length) the triggers on these layers increment the variables then fire every second (on timeline start)
I updated the file with a stop and start button. But basically to stop I hide both layers (I have no way of knowing which is open) and to start show layer 1 which start the perpetual looping again. You could add a reset by resetting all the variables (M, S1, S2) to zero
Thanks Phil! So helpful. I appreciate the reset button too
I am so grateful for anyone sharing demos with variables in them. I'll have to try to build one myself.
In the screenr you mentioned that you could do milliseconds - but could you when the smallest time Storyline can handle is .25 seconds? That would be our dream timeline - talk about precision! :-)
14 Replies
Tres cool; thanks for sharing, Phil!
Thanks colin, just added stop and start button
Ironically, that was going to be my first addition - this makes that easier!
Wow Phil, this is very cool! Definitely will come in handy. I like demos with variables in them because I can study them!
I have a few questions after looking "under the hood:"
1. I see that you have the 2 layers looping back and forth each second - can you explain the logic to help this newbie understand why this is necessary?
2. How can you get it to stop? Can it be set up to start/stop/reset? Would simple triggers work for this, or would you need variables also?
Thanks!
Jill
OK, while I was writing my post, you added start and stop buttons - boy are you fast! But what about a reset button? Also, could the stopwatch be triggered by a hotspot over the button?
Hi Jill
I have a request from Bruce to make this answer "Bruce" freindly.
I will try and do a sreenr tonight to explain this.
The looping layers are there as i needed a way to measure seconds (hence them being 1 second in length) the triggers on these layers increment the variables then fire every second (on timeline start)
I updated the file with a stop and start button. But basically to stop I hide both layers (I have no way of knowing which is open) and to start show layer 1 which start the perpetual looping again. You could add a reset by resetting all the variables (M, S1, S2) to zero
hope this helps
Phil
You could use a hotspot just copy the triggers from the buttons, will add a reset button and upload
just for Gill, a reset button as well
If you want it to restart after reseting just add a show layer 1 trigger to the reset button
A Screenr as promised
Impressive Phil and thanks for sharing, my understanding of variables gets better and better with the forums help! Well done!
Chat54
Thanks Phil! So helpful. I appreciate the reset button too
I am so grateful for anyone sharing demos with variables in them. I'll have to try to build one myself.
In the screenr you mentioned that you could do milliseconds - but could you when the smallest time Storyline can handle is .25 seconds? That would be our dream timeline - talk about precision! :-)
Jill, you are right we could do deciseconds in .25 increments not milliseconds
It would be great to have that level of control.
Looking forward to seeing your demo
That is absolutely amazing! I think I'm light years away from achieving anything like that!
This discussion is closed. You can start a new discussion or contact Articulate Support.