Timer in layer

How to add the timer with the help of dial in a layer ?

https://www.youtube.com/watch?v=VHAdxIHjSPY

pls check the above link. I replicated the exact for the timer, but my requirement is in layer. The problem rises when I execute the slide, the variable changes automatically starts , when I click the layer after sometime the time has already done and its not effective in layer. 

My requirement is. the timer has to start after i get access to layer.

Kindly help me get in any ways(main layer, slide master, java script)

 

3 Replies