Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions expressions- translating back to 5.0

  • expressions- translating back to 5.0

    Posted by Rich Ramazinski on May 25, 2006 at 6:36 pm

    hey all-

    I’m on a job site where we are trying to use complicated expressions on an additional computer that only has AE 5.0.

    I’ve gotten by mostly by replacing Caps with lowercase, and adding an underscore here and there. But this one stumps me:

    delta1=position-thisComp.layer(“rf”).position;
    delta2=position-thisComp.layer(“sm”).position;

    ang1=radiansToDegrees(Math.atan2(delta1[1],delta1[0]));
    ang2=radiansToDegrees(Math.atan2(delta2[1],delta2[0]));
    rotation=ang2-ang1;

    if ( (time>outPoint) || (time < inPoint)) rotation = 0; ------ the error I get is: Class

    Rich Ramazinski replied 19 years, 11 months ago 2 Members · 2 Replies
  • 2 Replies
  • Dan Ebberts

    May 25, 2006 at 10:27 pm

    The ones I see that need changing are this_comp, radians_to_degrees, in_point, and out_point.

    Is that the expression in its entirety? It doesn’t look right.

    Dan

  • Rich Ramazinski

    May 26, 2006 at 1:25 am

    Dan-

    I had changed all the issues you posted about- I think the problem lies within “delta1[0]”

    I ended up abandoning the expression downgrade and am now working on 6.5 at another station.

    This part of the expression is complete: I’m detemining a rotation based on the position of two seperate points.

    Thanks for the post!

    r

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