Groups > Multimedia > Adobe After Effects expressions > Re: Loop_out does't work with mask shape keyframes?




Loop_out does't work with mask shape keyframes?

Loop_out does't work with mask shape keyframes?
Mon, 4 Feb 2008 12:39:58 -0800
Hi all. I'm trying to loop a mask shape animation. However, the usual
loop_out("cycle",0) is not working. I'm getting a "loop is not
supported for custom properties" error.

Post Reply
Re: Loop_out does't work with mask shape keyframes?
Mon, 4 Feb 2008 14:03:55 -0800
It looks like the loop functions don't work on Source Text either.

Post Reply
Re: Loop_out does't work with mask shape keyframes?
Mon, 4 Feb 2008 15:26:22 -0800
Post Reply
Re: Loop_out does't work with mask shape keyframes?
Mon, 4 Feb 2008 16:57:18 -0800
Something like this should be close:

if (numKeys > 1){
  tOut = key(numKeys).time;
  if (time > tOut){
    tIn = key(numKeys - 1).time;
    tDur = tOut - tIn;
    t = (time - tOut)%tDur - thisComp.frameDuration;
    valueAtTime(tIn + t);
  }else
}else

You should also be able do it with time remapping and a loop expression.

Post Reply
about | contact