Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects putting an expression on a ramp start and end points

  • putting an expression on a ramp start and end points

    Posted by Alan Tonn on May 28, 2009 at 4:19 am

    hello all

    i have a project i am working on where i have text that i am using a ramp to create an effect of a “horizon” line.

    i want to be able to move the text with out having to reposition the start and end points of the ramp all the time. is there a way to create an expression that will look at the top of the text it is applied to, figure out the middle of the text object and then put the start of the ramp at the top or bottom and then an expression to do the same for the end?

    John Adams replied 16 years, 2 months ago 2 Members · 3 Replies
  • 3 Replies
  • Alan Tonn

    May 28, 2009 at 6:11 am

    well, i kinda figured out a way to do it.

    i put an expression on the start point that uses the end point minus some sliders i put in for X and Y.

    then i put in an expression on the end that looks at the anchor point, adds the position, then is tweaked by a slider for X and another for Y.

    it isnt the simple elegant solution i was hoping for, but it works. 🙂

  • Alan Tonn

    May 28, 2009 at 7:16 pm

    oh wow.

    simple.

    darn. i have my method working. once i have the text set up with my sliders for x and y the ramp effect sticks.

    with your method i would have to change transfer modes or mattes wouldnt i? even so your method still seems like an easier way to go.

    thanks for the response!

  • John Adams

    March 10, 2010 at 6:18 am

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy