ADOBE AFTER EFFECTS 63 RE MINUTES SECONDS TENTHS
From: "Jim Howells" (jhowells@no-spam)
Subject: Re: Minutes:Seconds:Tenths
Date: Mon, 28 Jul 2003 15:08:59 -0700


Well yes, you have two instances of the numbers effect. One where the numbers is set to timecode, and the frams are masked out.


The other with an expression for the number parameter. The expression should read "time." Then mask out everthing in front of the decimal point.
























From: "Jim Howells" (jhowells@no-spam)
Subject: Re: Minutes:Seconds:Tenths
Date: Mon, 28 Jul 2003 18:12:35 -0700

No not in the type of numbers. Set the type set to numbers (leading zeros). Under value create an expression that says "time" then set the decimal places to 1.


Goto my website for a sample proj.

http:/homepage.mac.com/jhowells
The project is called time tenths.


From: ImJeffP (jeffp@no-spam)
Subject: Re: Minutes:Seconds:Tenths
Date: Mon, 28 Jul 2003 20:39:09 -0700

You're my new hero, Jim. Thanks!


From: "Dan Ebberts" (debberts@no-spam)
Subject: Re: Minutes:Seconds:Tenths
Date: Mon, 28 Jul 2003 22:14:00 -0700

For anybody that's interested, you'll be able to do this with a fairly simple expression in AE 6. In AE 6, you can apply an expression to the source text of a text layer which opens up enormous possibilities. In this case you could use the JavaScript Date constructor to do something like this:


d = new Date(time*1000 + 28800000); d.toString().substr(19,5) + "." + d.getMilliseconds()

It's not as scary as it looks once you start digging into the JavaScript string functions. Tutorial coming soon at the Cow... 8^>


Dan

From: "Dan Ebberts" (debberts@no-spam)
Subject: Re: Minutes:Seconds:Tenths
Date: Mon, 28 Jul 2003 22:48:18 -0700

P.S. This probably only works as written on the west coast. In other locations you'd have to change the 28800000 to however many milliseconds you are from GMT (8 hours x 60 minutes x 60 seconds x 1000 milliseconds in my case)


Dan

From: -stev=o (stephen_patterson@no-spam)
Subject: Re: Minutes:Seconds:Tenths
Date: Tue, 29 Jul 2003 07:40:28 -0700

okay dan,
you're starting to scare me now...
;P
-stev=o
p.s.-can't wait for the tutorial ;)


From: ImJeffP (jeffp@no-spam)
Subject: Re: Minutes:Seconds:Tenths
Date: Tue, 29 Jul 2003 10:03:46 -0700

Dan & I seem to define "fairly simple" in completely different terms. =)


From: "Nigel Moore" (member@no-spam)
Subject: Re: Minutes:Seconds:Tenths
Date: Tue, 29 Jul 2003 12:40:19 -0700

Presumably this would be
d = new Date(time*1000 - X*3600000);
d.toString().substr(19,5) + "." + d.getMilliseconds()

if you're X hours ahead of GMT.