![]() Formatting a number with commas | ||||||
|
Formatting a number with commas
|
After Effects 6 Text-FX Expressions Views: 39578 Permalink | ||||
1. Create a comp. Name it anything you like.
2. Create a new text layer and name it "dummy" (this layer can be turned off; it feeds a number to the final text layer. I haven't found a way around this; please let me know if there's another way). 3. Add a slider to the "dummy" layer (Effects > Expression Controls > Slider Control). After Effects should automatically name the slider control "Slider" 4. Add an expression to Source Text of "dummy" (Animation > Add Expression). 5. Pickwhip the expression to the "Slider" control from step 3. 6. Create a second text layer. This will be the layer that displays the formatted number. 7. Add an expression to Source Text of the new text layer. Replace the code with the following: Now try changing the value of the "Slider" control. Your visible text layer should reflect that number, now formatted with commas. Two catches: it only works for integers, and the slider tops out at 1,000,000. You should be able to pickwhip to any propery that contains a number (decimals are rounded off automatically).(Min. Version: After Effects 6, Category: Text-FX, Type: Expressions) | ||||||
posted by MicGyver on Sep 15, 2008
|
![]() Folding Template | ||
folding and unfolding template free to use.
Require After Effects CS6 |
After Effects CS6 Other Projects (aep) Views: 50231 Permalink | |
posted by fsimoni on Nov 05, 2012
|
![]() Product, Service or App Promotion | ||
After Effects Template. Promote your app, product or service
|
After Effects CS5 Useful things Projects (aep) Views: 26612 Permalink | |
posted by RedSpikeFx on Oct 30, 2012
|