2 Replies Latest reply on Mar 21, 2016 10:49 AM by johnnym64510252

    parent slider value to source text

    johnnym64510252

      I'm trying to parent a Kerning animator on Text to a Slider on SliderControl, which is parented to the source text on TrackingControl.

       

      The real problem here is parenting the Slider value to the Source Text. I tried this expression on the Slider, with no success:

      txt = comp("thisComp").layer("TrackingControl").text.sourceText;

      if (! isNaN(parseFloat(txt)))

      parseFloat(txt)

      else

      value

       

      The expression doesn't give me any errors, but it also doesn't seem to be linking to anything!

       

      Reason:

      I am building title templates for Premiere, which only allow the source text to be edited. So, to control the kerning inside the AE template comp, I need to parent the kerning animator to a text layer, which can be edited straight from the Premiere effects panel.