Creative COW SIGN IN :: SPONSORS :: ADVERTISING :: ABOUT US :: CONTACT US
Creative COW's LinkedIn GroupCreative COW's Facebook PageCreative COW on TwitterCreative COW's Google+ PageCreative COW on YouTube
ADOBE AFTER EFFECTS:HomeForumBasicsExpressionsTutorialsPodcastsAE TechniquesCreative Cloud DebateFAQ

translating negative values to positive

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Share on Facebook
Rob Hindleytranslating negative values to positive
by on Mar 25, 2008 at 11:58:51 pm

I am trying to create an expression slider which when increased simultaneously blows out the luminance values while desaturating the video. I've easily attached the glow parameter but when using Hue & Saturation the desaturation value is in the opposite direction (negative value)

what expression do I need so the value works when the slider moves up in positive values?

Gribble
::: Time flies like an arrow but fruit flies like a banana :::


Return to posts index
Reply   Like  

Dan EbbertsRe: translating negative values to positive
by on Mar 26, 2008 at 12:35:46 am

Just put a minus sign in front of the slider value, like this:

slider = -thisComp.layer("Null 1").effect("Slider Control")("Slider").value;


(or multiply it by -1)

Dan



Return to posts index
Reply   Like  

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
Share on Facebook


FORUMSTUTORIALSFEATURESVIDEOSPODCASTSEVENTSSERVICESNEWSLETTERNEWSBLOGS

Creative COW LinkedIn Group Creative COW Facebook Page Creative COW on Twitter
© 2013 CreativeCOW.net All rights are reserved. - Privacy Policy

[Top]