I think i got it.
If i keep -1 the expression will work as the same a comp frame rate is.
I have another question wich is the same one above of Jose.
Using this expression to a “fight” scene where the judge sometimes stop and the counter must stop to then when he start will continue the same time position.
Is possible to add somes keys into the timeline to pause and resume?
Ex:
5:00 ~ 4:10 run
4:10~3:40 stop
3:40~2:20 run
2:20~1:30 stop
1:30~0:00 run
Regards.
Jun
rate = -1; clockStart = 300; function padZero(n){ if (n < 10) return "0" + n else return "" + n } clockTime = Math.max(clockStart + rate*(time - inPoint),0); t = Math.floor(clockTime); min = Math.floor((t%3600)/60); sec = Math.floor(t%60); min + ":" + padZero(sec)