FORUMS: list search recent posts

timecode expression question

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Henry Yu
timecode expression question
on Nov 29, 2010 at 2:30:45 pm

Hi

I downloaded a clock expression online
Q1. I want the second to be a different color, I dont anything about scripting
can someone help please

Q2. the timecode that given from the script is at a slower speed than the generic timecode from AfterEffect
Did I do something wrong?

My comp setting is at 25ftp

h=08;m=54;s=3;f=0;
f+=timeToFrames();
s+=Math.floor(f*thisComp.frameDuration);
m+=Math.floor(s/60);
h+=Math.floor(m/60);
f=f%(1/thisComp.frameDuration);
s=s%60;
m=m%60;
if(f<10) {f="0"+f}
if(s<10) {s="0"+s}
if(m<10) {m="0"+m}
if(h<10) {h="0"+h}
h+":"+m+":"+s


Many thanks
Henry


Return to posts index

Dan Ebberts
Re: timecode expression question
on Nov 29, 2010 at 11:28:40 pm

Q1. Why not just add a color Animator and adjust the Start parameter until you get what you want?

Q2. I don't know. I tried your expression and the timing looked right to me.


Dan



Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]