ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Limiting Slider Values from 1-100 to 1-10

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Arvin Bautista
Limiting Slider Values from 1-100 to 1-10
on Mar 18, 2010 at 1:04:07 am

The slider expression control goes from 0-100, I'd like it only go from 1-10. I can go without it but since I only need to slide between 9 values I don't need such a large scale.

I feel like I've seen this before, can anyone help?


Return to posts index

Arvin Bautista
Re: Limiting Slider Values from 1-100 to 1-10
on Mar 18, 2010 at 1:06:37 am

Oop, figured it out. You can right click on the slider control and click "Edit Value."

Now to figure out how to only handle integers...


Return to posts index

ben rollason
Re: Limiting Slider Values from 1-100 to 1-10
on Mar 18, 2010 at 10:04:13 pm

[Arvin Bautista] "Now to figure out how to only handle integers..."

Math.round(value); :)

-Ben.



http://www.benrollason.com


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]