Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions cycling, looping, repeating keyframes – this shouldn’t be so difficult!

  • cycling, looping, repeating keyframes – this shouldn’t be so difficult!

    Posted by Anthony S mcgrath on October 3, 2005 at 2:47 pm

    hey guys,
    I’m having a real problem – I have a simple opacity blink on a layer
    frm1 – opacity = 0
    frm50 – opacity = 100
    frm101 – opacity = 0

    keyframe interp set to HOLD so it blinks.

    Can I get these to loop – I dont mind copying and pasting across 1minute of animation but this is 15minutes long! I realise I could probably do it but its a right pain if I want to change the animation blink timing. Please please tell me theres an easy method!!
    cheers
    ant
    frustrated toonster

    Dan Ebberts replied 11 years, 5 months ago 5 Members · 6 Replies
  • 6 Replies
  • Filip Vandueren

    October 3, 2005 at 2:52 pm

    Give the opacity property this expression:

    loopOut(type = “cycle”, numKeyframes = 0)

    it will loop all the keyframes.

  • Anthony S mcgrath

    October 3, 2005 at 3:01 pm

    fantastic! cheers 🙂

  • Carlos Cervantes

    February 6, 2014 at 4:29 pm

    Hi,

    Is there a way to loop the keyframes, starting from a specific moment in the timeline using this expression?

    I want the blinking object to rotate and scale to come into place, and then @ X seconds, start the blinking loop for 15 minutes.

  • Filip Vandueren

    February 6, 2014 at 6:04 pm

    Since it’s a loopOut() expression, it wil only start looping as soon as there actually are keyframes.

    If you just don’t have any opacity keyframes up to the first blink then you can simply keep this expression.

    Tip: Desperately need an opacity Fade-In at the start and don’t want to make the expression any more difficult:

    You can mimic opacity by using a Levels effect and animating the white-point of the Alpha…

    Blinking o opacity,
    Other fades and a sort of “master opacity” on a levels effect.
    Or vice-versa.

  • Peter Lee-jones

    November 20, 2014 at 10:53 am

    Is there an expression which will globally loop all keyframes present in a layer? rather than having to apply a loop expression to each property.

    ‘loop all keyframes in all properties in the layer’

    thanks thanks thanks thanks!

    Pinewood Studios, UK

  • Dan Ebberts

    November 20, 2014 at 4:23 pm

    Nope. An expression can’t do anything except change the value of the property hosting the expression. The best you could do is probably precompose and time remap the layer, then loop the time remapping keyframes.

    Dan

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