Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Help with Expression

  • Ron Lindeboom

    June 14, 2006 at 4:18 pm

    [Kaffe_Boy] “This could be a question for Dan Ebbert, but, since I don

  • Kaffe Boy

    June 14, 2006 at 4:24 pm

    That part was a joke. That

  • Mylenium

    June 14, 2006 at 5:17 pm

    Use 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 pm

    Hi
    [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 pm

    It 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 8:40 am

    Hi
    [Mylenium] “trust me”

    Yes, I do 🙂

  • Julian Sixx

    June 15, 2006 at 9:10 am

    Hi 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 pm

    Yes, 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 pm

    Hi

    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

  • Julian Sixx

    June 15, 2006 at 2:03 pm

    Hi
    Thank you Dan

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