Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Dynamic sizing and Relative positioning After Effects

  • Dynamic sizing and Relative positioning After Effects

    Posted by Alek Ivanov on June 15, 2016 at 7:10 pm

    Hello,
    I have an object ( a bar) , which has a middle point (a stroke) and two other objects in the halves of the big bar which are centered relative to the half of the big bar.
    It sounds like a web design question but I am trying to make this dynamically sizeable. I want (hopefully) with one slider control to size up/down the big bar on the x axis and at the same time the stroke to stay in the middle of the bar and the two objects to remain centered relative to the halves.

    https://drive.google.com/file/d/0B6uhFWXoGVX5dEVVUklUdW5Idm8/view?usp=sharing

    Alek Ivanov replied 10 years, 2 months ago 2 Members · 2 Replies
  • 2 Replies
  • Kalleheikki Kannisto

    June 16, 2016 at 8:21 am

    Like so (AE CC 14):
    10205_dynamicsizing.aep.zip

  • Alek Ivanov

    June 16, 2016 at 4:29 pm

    Thank you very much! I’d never assume this would work with scaling the elements. I was trying to use a similar expression but on the position properties and my point was to figure out some type of mathematical progression to correlate the scale of the big bar and the position of all the other elements. This seems simple and elegant.
    Thanks again.

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