I am getting the Line 6 error as well.
After Effects warning: Expected: )
Expression disabled
Error occurred at Line 6.
Comp: ‘Comp 2’
Layer: 1 (‘5:00’)
Proprty: ‘Positon’
Obviously its looking to close a parentheses somewhere?
line 6 should correspond to the if statement and the “n” var opens but does not close?
using this code:
rate = -1;
clockStart = 300;
function padZero(n){
if (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)