Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions animating controller.

  • animating controller.

    Posted by Eddy Alvarez on September 27, 2011 at 6:29 pm

    i’m wondering if there is a way to control another layers animating points.

    for example, under a comp using 29.97 timecode. there is an animating layer that has a 20 frame long wipe-on animation beginning at 00:15 and a 25 frame long wipe-off animation beginning at 03:05.

    now lets say i have a null with an expression slider that lets me enter a timecode value as a start point for the wipe-on in the animating layer (say 1:15) and another value for the wipe-off start point for that same layer.

    i know there is some trickery in here using valueAtTime and time remap…but i haven’t been successful in putting the right code together. i’ve used an expression using markers but that only worked for start points for the wipe-on and it doesnt allow me to control the point where i want the wipe-off to start.

    any ideas?

    Kevin Camp replied 14 years, 7 months ago 2 Members · 1 Reply
  • 1 Reply
  • Kevin Camp

    September 27, 2011 at 10:00 pm

    [Eddy Alvarez] “i’ve used an expression using markers but that only worked for start points for the wipe-on and it doesnt allow me to control the point where i want the wipe-off to start.”

    i think layer markers would be a good way to go, and they should work for ‘in’ and ‘out’ points if you either name them or specify the marker index.

    to name a marker, double click it and add a comment (like in or out), then in the expression use the maker name, something like this: marker.key(“in”).time.

    then you would use conditionals for time>marker.key(“in”).time … wipe in code … and do the same for key(“out”).

    although, if you are using a transition effect like linear wipe, you could link the transition completion to a sider in main comp, then key frame that slider for the in and out. you could set that up with the expression pickwhip if you make both timelines visible (drag one bellow the other).

    Kevin Camp
    Senior Designer
    KCPQ, KMYQ & KRCW

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