Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

How do I create a source text value slider?

New Here ,
Aug 14, 2018 Aug 14, 2018

HI all. I am a beginner when it comes to After Effects. I have a comp that I've created for displaying the scores from disc golf players in a tournament. As it stands, I have the Essential Graphics panel setup so that the source text for each score I want to display is editable. So I have to manually type in the score each time I place that motion graphic in the timeline in Premiere Pro.

What I would like to do is create a slider for each score displayed so I can just select the appropriate score rather than typing it in. I have a slider control added to the text I want to control. What I don't know how to do is write an appropriate expression so that I can select a number range, say 1-20. Can somebody please direct me to the appropriate expression code to create the slider properly?

Thanks in advance for any help.

3.5K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Aug 14, 2018 Aug 14, 2018

Just thought I'd add that after I made this post, I found the solution I was looking for. Adobe had it linked in their help pages on expressions. http://allbetsareoff.com/2009/08/rgtv-ep-26-score/

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Aug 14, 2018 Aug 14, 2018
LATEST

The expression you are looking for is


Math.round(thisComp.layer("LAYERNAME").effect("Slider Control")("Slider"))

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines