Creative COW SIGN IN :: SPONSORS :: ABOUT US :: CONTACT US
ADOBE AFTER EFFECTS: HomeForumBasicsExpressionsTutorialsPodcastsMotion GraphicsTrainingCinema 4DFAQ

Create a counter for stills

Cow Forums : Adobe After Effects Expressions
VIEW POSTS   •   ADD A NEW POST   •   SEARCH   •   CHANGE FORUM
Respond to this post   •   Return to posts index   •   Read entire thread


Create a counter for stills
by Adriano Moraes on Sep 14, 2009 at 10:52:16 pm

Hi there!

I need to add a simple counter over a slideshow so I can send it to my client and they can reorder things or make changes without driving me completly nuts.

There are 104 stills all with the same duration (10 secs each). The last pic enters at 1139 secs.(the comp has 1149secs)

I visited Dan Ebbert´s site and after playing with numbers I came up with this and applyed to the Source of a text layer:

//start code


numDecimals = 0;
beginCount = 1;
endCount = 104;
dur = 1139;

t = time - inPoint;
s = linear (t, 0, dur, beginCount, endCount).toFixed(numDecimals);



//end code

It kind of works but it´s not actually counting right. The numbers come up too late. i.e. #2 is displayed only after pic#2 is up for a while. (and it gets in later and later as it progresses.)

I´m still trying here but I wonder if someone would give me a hand.

Hope I made myself clear enough. I allready looked around the forum for old posts. Most helped but I couldn't find the real one answer.

Ok enough of that. Off to work .

Thanx in advance.

Cheers.

adriano moraes


Respond to this post   •   Return to posts index   •   Read entire thread


Current Message Thread:




Note: If you are a registered user please click here to login before posting.

Your post will not be accepted if your name and email address are not registered in our database. Click here if you do not have an account.

Name
E-Mail Address
Subject
E-Mail me when someone responds
Just This Message   Entire Thread   None  

Message:



Note: The following are HTML characters and may cause parts of your post to disappear if not used correctly: < > &
To include any portion of the post in your response, highlight the desired text and hit the "Q" key. Read more...



Please post Expressions Code in the box below:


Add your message signature


 


Note: By clicking "Post Direct" button above, you are agreeing to the Creative Cow's Code of Conduct.



FORUMSTUTORIALSMAGAZINETRAININGVIDEOS - REELSPODCASTSEVENTSSERVICESNEWSLETTERNEWSBLOGS

© CreativeCOW.net All rights are reserved.

[Top]