Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions valueAtTime from a keyframe is nothing????

  • valueAtTime from a keyframe is nothing????

    Posted by Eden Exposito on April 8, 2009 at 6:38 pm

    Hi again!

    Im using this expression for controlling a values from keyframe position in time with layer keymarkers

    x1=marker.key(“1”).time
    x2=marker.key(“2”).time
    x3=valueAtTime(key(1).time)
    x4=valueAtTime(key(2).time)

    linear(time,x1,x2,x3,x4)

    All works correctly, but…

    I want print this “valueAtTime(key(1).time)” with a layer text
    I had tested adding this on source in a text layer:

    valueAtTime(thisComp.layer(“solid 1”).scale.key(1).time)

    no expression errors but i dont see anything, :S i want see these x1,x2,x3,x4 values for understand really all.

    Thanks!

    Eden Exposito replied 17 years, 1 month ago 2 Members · 2 Replies
  • 2 Replies
  • Dan Ebberts

    April 8, 2009 at 7:55 pm

    This should work:

    L = thisComp.layer(“solid 1”);
    L.scale.valueAtTime(L.scale.key(1).time)

    Dan

  • Eden Exposito

    April 9, 2009 at 8:21 am

    thanks! dan you are a master

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