SIGN IN
::
SPONSORS
::
ABOUT US
::
CONTACT US
FORUMS
TUTORIALS
MAGAZINE
TRAINING
VIDEOS - REELS
PODCASTS
EVENTS
SERVICES
NEWSLETTER
NEWS
BLOGS
ADOBE AFTER EFFECTS:
Home
Forum
Basics
Expressions
Tutorials
Podcasts
Motion Graphics
Training
Cinema 4D
FAQ
Re: need numbers to scrool up from 0 to 90 million
Cow Forums
:
Adobe After Effects
FAQ
•
VIEW POSTS
•
ADD A NEW POST
•
SEARCH
•
CHANGE FORUM
Respond to this post
•
Return to posts index
•
Read entire thread
Re: need numbers to scrool up from 0 to 90 million
by
sam moulton
on Jan 22, 2008 at 7:21:34 am
Add a expression control point control to a blank text layer then copy and paste this expression into source text. Just set a keyframe for the Point Control and type the values in the first field. Here's the expression:
val = effect("Point Control")("Point")[0];
numDec = 2; // digits to right of decimal
numDigit = 9; // digits to left of decimal
if (val < 0) sign = "-" else sign = "";
s = Math.abs(val).toFixed(numDec); while (s.length < numDigit + numDec + 1) s = "0" + s; sign + s;
if (numDec > 0){
decimals = s.substr(-(numDec + 1));
s = s.substr(0,s.length - (numDec + 1));
}
outStr = s.substr(-s.length, (s.length-1)%3 +1);
for (i = Math.floor((s.length-1)/3); i > 0; i--){
outStr += "," + s.substr(-i*3,3);}
Respond to this post
•
Return to posts index
•
Read entire thread
Current Message Thread:
need numbers to scrool up from 0 to 90 million
by heather Crank on Jan 22, 2008 at 12:23:04 am
Re: need numbers to scrool up from 0 to 90 million
by Joe Moya on Jan 22, 2008 at 1:16:28 am
Re: need numbers to scrool up from 0 to 90 million
by heather Crank on Jan 22, 2008 at 1:31:28 am
Re: need numbers to scrool up from 0 to 90 million
by sam moulton on Jan 22, 2008 at 7:21:34 am
Re: need numbers to scrool up from 0 to 90 million
by heather Crank on Jan 22, 2008 at 3:31:42 pm
Re: need numbers to scrool up from 0 to 90 million
by heather Crank on Jan 22, 2008 at 3:50:54 pm
Re: need numbers to scrool up from 0 to 90 million
by Kevin Camp on Jan 22, 2008 at 4:25:00 pm
Re: need numbers to scrool up from 0 to 90 million
by heather Crank on Jan 22, 2008 at 4:26:20 pm
Re: need numbers to scrool up from 0 to 90 million
by heather Crank on Jan 22, 2008 at 4:37:29 pm
Re: need numbers to scrool up from 0 to 90 million
by Kevin Camp on Jan 22, 2008 at 5:27:44 pm
Re: need numbers to scrool up from 0 to 90 million
by heather Crank on Jan 22, 2008 at 5:30:00 pm
Re: need numbers to scrool up from 0 to 90 million
by heather Crank on Jan 22, 2008 at 5:42:26 pm
Re: need numbers to scrool up from 0 to 90 million
by heather Crank on Jan 22, 2008 at 9:49:44 pm
Re: need numbers to scrool up from 0 to 90 million
by Kevin Camp on Jan 22, 2008 at 10:56:53 pm
Re: need numbers to scrool up from 0 to 90 million
by heather Crank on Jan 22, 2008 at 10:59:44 pm
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...
Add your message signature
Note:
By clicking "Post Direct" button above, you are agreeing to the Creative Cow's
Code of Conduct
.
FORUMS
•
TUTORIALS
•
MAGAZINE
•
TRAINING
•
VIDEOS - REELS
•
PODCASTS
•
EVENTS
•
SERVICES
•
NEWSLETTER
•
NEWS
•
BLOGS
©
CreativeCOW.net
All rights are reserved.
[
Top
]