ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

inverted scale expression

COW Forums : Adobe After Effects

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Richard Kratt
inverted scale expression
on Mar 26, 2010 at 9:35:07 pm

I'm sure this is fairly elementary as far as expressions go but right now I just need the fish!

I need an expression that inverts the scale value. That is, starting with 100% = 100%, 99% would equal 101%, 90% would equal 110%, etc.


Return to posts index

Michael Szalapski
Re: inverted scale expression
on Mar 26, 2010 at 10:02:55 pm

I'm no expression guru so I'm sure there is another solution out there, but why not have both of your scales driven by a seperate thing. Create a null object and apply a slider to it.
Then, on each one have it be their scale + the slider and on one of them add *-1 (put the slider *-1 in parentheses).
Then when the slider goes to 1, one of the layers will be plus one and the other would be minus one.

But, that's just one solution, I'm sure there are several others.

Also, just for future reference, there's actually a dedicated After Effects Expressions Forum here on the COW.

- The Great Szalam
(The 'Great' stands for 'Not So Great, in fact, Extremely Humble')

No trees were harmed in the creation of this message, but several thousand electrons were mildly inconvenienced.

Return to posts index

Richard Kratt
Re: inverted scale expression
on Mar 29, 2010 at 5:35:50 pm

Michael, thanks for your response. I will try your solution, as well as wonder over to the expressions forum.


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2018 All Rights Reserved