ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Re: Running number counter attached to a slider

COW Forums : Adobe After Effects Expressions

FAQ   •   VIEW ALL   •   ADD A NEW POST   •   PRINT
Respond to this post   •   Return to posts index   •   Read entire thread


Declan Smith
Re: Running number counter attached to a slider
on Feb 26, 2018 at 11:39:10 pm

A couple of approaches, depending on what you are trying to achieve.

1. Create a text object and add a slider
2. Use the following expression on the text which will scale the default 0-100 on the slider to 0-999999999
effect("Slider Control")("Slider")*999999999/100

Sliders have a limit of 1000000 as their top value I believe, so another approach isto use a point control as the source which has a higher a limit and link to just the x value for example, then use an expression such as below and keyframe the point control

value = effect("Point Control")("Point")[0]
if (value < 0) {
value = 0;
}
if (value > 999999999) {
value = 999999999;
}


Declan Smith
http://www.madpanic.tv
FCPX / Adobe CS6/ FCS3 / Canon XLH1 / Canon 7D / Reason / Cubase

"it's either binary or it's not"


Posts IndexRead Thread 


Current Message Thread:





© 2019 CreativeCOW.net All Rights Reserved
[TOP]