Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects temp inside an expression

  • temp inside an expression

    Posted by Tielman Dewaele on March 18, 2007 at 7:58 pm

    Hello,

    im folowing this tutorial from Mark Coleran(bought).
    Its easty to follow and all :), but when just at the end there go’s something wrong.

    The tut is based like this:
    20 tutorial are parent with NULL01, who is parent on a MASTERNULL01.
    I have 1 CONTROLLER, with 2 control sliders, 1 is for Time, the other for amount:

    T = thisComp.layer(“control(solid)”).effect(“wigg_01_time”)(“Slider”);
    A = thisComp.layer(“control(solid)”).effect(“wigg_01_amount”)(“Slider”)
    wiggle(T,A)

    So far so good…

    Now the NULL01 Rotation i pickwicked it to the R expression see above.
    But the expression gives me:

    temp = thisComp.layer(“Master Null”).transform.orientation[0];
    [temp, temp, temp]

    So i am confused because its not the same in the book : (
    IM a looser in expressions. Im trying realy hard 🙂

    So why does it sais Temp(probebly meaning tempary?), what does it mean?
    Can you help me with this?
    Iff so GREAT!

    Thanks

    T.

    Peace

    Darby Edelen replied 19 years, 4 months ago 3 Members · 2 Replies
  • 2 Replies
  • Steve Roberts

    March 19, 2007 at 1:39 pm

    Did you try the AE Expressions COW forum?

  • Darby Edelen

    March 22, 2007 at 12:30 am

    [Mister T.] “Now the NULL01 Rotation i pickwicked it to the R expression see above.
    But the expression gives me:

    temp = thisComp.layer(“Master Null”).transform.orientation[0];
    [temp, temp, temp]

    So i am confused because its not the same in the book : (
    IM a looser in expressions. Im trying realy hard 🙂

    So why does it sais Temp(probebly meaning tempary?), what does it mean?
    Can you help me with this?
    Iff so GREAT!”

    First off I will tell you that yes ‘temp’ means temporary, and this is the default variable name that AE will assign whenever you pickwhip something.

    So here’s some explanation of what’s going on in this expression:

    temp = thisComp.layer(“Master Null”).transform.orientation[0];
    [temp, temp, temp]

    You’re setting a variable (‘temp’) equal to the FIRST ENTRY of the orientation ARRAY (a sequence of values, the first of which is X orientation, 2nd is Y, 3rd is Z) of the layer “Master Null.” To translate: if the orientation of “Master Null” is 230

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