Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Pre-composed Expression

  • Pre-composed Expression

    Posted by Luke Regan on October 26, 2009 at 10:47 pm

    This has been driving me crazy for a few days and I feel like it is something very simple that I just can’t seem to find the answer too. I have rotating wheels on a bicycle and I used the expression below on the rotation property in order to have the wheels repeat their rotation for a certain duration and then stop. Works great, but the layer this happens on is in a pre-composed comp which is nest in the main comp. Trying to be organized except when I switch to the main comp the wheels do not stop rotating like they do in the nested comp. I’m guessing that I need to link the main comp with the layer somehow or vice versus so that the main comp can recognize the layer with the expression?

    if(time < 17.9){ loopOut("cycle")} else(rotation)

    Luke Regan replied 16 years, 6 months ago 3 Members · 3 Replies
  • 3 Replies
  • Dan Ebberts

    October 26, 2009 at 11:03 pm

    I’m not seeing that behavior (CS4). It stops in the main comp as well.

    Dan

  • Xinlai Ni

    October 26, 2009 at 11:13 pm

    Are you using time remapping or shift of precomp layer on the timeline panel for the main comp?

    Xinlai Ni
    Software Engineer, Google Inc.

  • Luke Regan

    October 27, 2009 at 1:59 am

    Thanks for responding,

    I’m not using time remapping or the shift of precomp layer. The Expression I used for the rotation is meant to stop at 17.9 seconds on the layer which it does in my project but when I switch out of the pre-comp into the main comp it doesn’t stop rotating the wheel at 17.9 seconds, it just continues to repeat.

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