Activity › Forums › Adobe After Effects › Help with Expression
-
Help with Expression
Posted by Kaffe Boy on June 14, 2006 at 4:05 pmHi everybody!
This could be a question for Dan Ebbert, but, since I donJulian Sixx replied 19 years, 11 months ago 6 Members · 10 Replies -
10 Replies
-
Ron Lindeboom
June 14, 2006 at 4:18 pm[Kaffe_Boy] “This could be a question for Dan Ebbert, but, since I don
-
Mylenium
June 14, 2006 at 5:17 pmUse some simple if/else construct.
scale_ref=thisComp.layer(“Object A”).scale[0];
if (scale_ref < 30) {opa=0} else {opa = 100} [opa]
Mylenium
[Pour Myl
-
Julian Sixx
June 14, 2006 at 5:43 pmHi
[Mylenium] “[opa]”Why do you put this at the end of the expression?I’m trying to understand it.
-
Mylenium
June 14, 2006 at 7:25 pmIt is the proper way to tell AE which variable to use as the channel/ parameter value. It’s not required in many cases, just a way to keep things clean. With more complex expressions you will learn to appreciate such little things, trust me ;o).
Mylenium
[Pour Myl
-
Julian Sixx
June 15, 2006 at 9:10 amHi again
I’ve got one more question concerning the second line of the expression.
instead of using {opa=0},you can use any other words and it still works.Why?
Does this line automatically refer to the parameter which the expression is applied to?In this case opacity.
Thanks for your patient. -
Dan Ebberts
June 15, 2006 at 1:48 pmYes, the value of the last statement executed gets assigned to the parameter that the expression is applied to. It doesn’t even need to be an assignment statement – it can just be a number. This would work the same way:
if (thisComp.layer(“Object A”).scale[0] < 30){ 0 }else{ 100 } Or even more compactly: if (thisComp.layer("Object A").scale[0] < 30) 0 else 100; Dan
-
Peter Stenhouse
June 15, 2006 at 2:02 pmHi
I am using keylight to key out some 16mm footage.
however after i have pulled a key the footage is becoming very buzzy and edges look
very jagged. I can change this using keylight, but surely the orginal key should be better than this
before I play with the settings? I also know the noise on 16mm is more than say vari-cam…Woud re-importing it in frames help?
thanks
small flowers crack concrete
Reply to this Discussion! Login or Sign Up