Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Simple Expressions are KILLING ME!

  • Simple Expressions are KILLING ME!

    Posted by Ben Insler on October 18, 2005 at 8:49 pm

    Hello Cow,

    Here’s an easy one for you I’m sure, but for some reason not a single online tutorial actually works to help me on this one. I’m using AFX 6.5 Pro, and I’m trying to use the loop expression to loop some keys. I’ve been trying to use both loopIn(“cycle”, X) and loopOut(“cycle”, X). When I use loopIn, nothing happens, even if I set X=0. When I use loopOut, AFX cycles the whole keyframe animation for the layer, no matter what the value of X is set to. The same thing happens when using “pingpong” on loopOut.

    Trying to figure this out, I’ve set up a very simple comp with a 100×100 yellow solid moving across the top of a 60 frame 500×500 comp from the Left corner to Right for 10 frames, and then down from Top to Bottom once the yellow solid reaches the top right corner, which also takes 10 frames. I have Position keys set for the yellow solid at frame 0, frame 10, and frame 20 (to achieve the respective movement above), and an Expression:Position — loopOut(“cycle”, 11); — Obviously, I’m tring to get the vertical movement of the yellow solid to loop, after it moves across the top of the comp, but the whole 21 frames of animation loops.

    Thanks in advance for any help you can offer!

    -Ben

    Ben Insler
    Editor
    Telemark Films

    Ben Insler replied 20 years, 7 months ago 2 Members · 4 Replies
  • 4 Replies
  • Dan Ebberts

    October 18, 2005 at 9:17 pm

    Try this:

    loopOut(“cycle”,1);

    Dan

  • Ben Insler

    October 18, 2005 at 10:18 pm

    Honestly…I’m still laughing out loud at myself… the loop expressions cycle over next or previous key, not frames… right?

    Thanks Dan.

    Ben Insler
    Editor
    Telemark Films

  • Dan Ebberts

    October 18, 2005 at 10:40 pm

    Yes, keyframe segments. There’s also a flavor where you can specify time in seconds – loopOutDur() I think.

    Dan

  • Ben Insler

    October 18, 2005 at 10:56 pm

    sweet!

    thanks.

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