Forum Replies Created

  • Bruno Lopez

    November 14, 2008 at 1:23 pm in reply to: easing remapped time between markers
    action =comp("time_remap").layer("White Solid 1");
    n = 0;
    if (marker.numKeys > 0){
      n = marker.nearestKey(time).index;
    
      if (marker.key(n).time >= time){
        n--;{
    if (n > marker.numKeys) n = 0;}
      }
    }
     
    if (n == 0){
    0
    }else{
      m = marker.key(n);
      m1 = marker.key(n+1);
      myComment = m.comment;
      myComment1 = m1.comment;
    
    c= action.marker.key(myComment).time;
    c1=action.marker.key(myComment1).time;
    d=marker.key(myComment).time;
    d1=marker.key(myComment1).time;
    
    ease(time,d,d1,c,c1);
    
    }
    
    
    

    First of all sorry for my poor experience about expressions.

    I have done a modification of Dan Ebberts’s expression “Trigerring animation with markers) for use the time of the markers from another comp layer but I am always getting an error “this property has no keyframe number xx”
    What I am doing wrong?. Is there any way the expression to stop looking for more markers than the layer has got. Thanks in advance

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