Forums › Adobe After Effects Expressions › Using slider to control precomp frame number
-
Using slider to control precomp frame number
-
Israel Unger
January 14, 2023 at 12:25 amHello all,
I have what I know is an absurdly simple question that I KNOW I’ve seen answered before, but dang it, I can’t find the answer. I’m trying to build a template comp where the user can dial in which lower third banner gets used. I pre-built a bunch of configurations, and I have them, each with a 1 frame duration, strung out across a precomp. The user should be able to scrub a slider control (or any expression controller that makes sense to associate with the task) to find the banner that best suits the typographic layout. Can someone out there walk me through the best way to approach this?
Your help is much appreciated
-
Dan Ebberts
January 14, 2023 at 12:31 amJust drop your comp in another comp, turn on time remapping, add a slider, and add a time remapping expression like this:
s = effect("Slider Control")("Slider");
framesToTime(s) -
Israel Unger
January 14, 2023 at 12:36 amThank you, Dan – you are a national treasure. Nay – International
Log in to reply.