Forum Replies Created

  • Tristan Cossins

    June 3, 2014 at 7:24 am in reply to: easy ease

    Gah, i just figured it out, it should’ve been:

    myPosition.setTemporalEaseAtKey(key3, easeIn=[ease], easeOut=[ease]);

  • Tristan Cossins

    June 3, 2014 at 7:03 am in reply to: easy ease

    Hi Xavier,

    Sorry for the late reply. I only just got around to testing this out today and it works perfectly.

    I’ve run into a bit of a problem though, my script actually has position keyframes aswell:

    var myPosition = myLayer[i].property(“position”);
    myPosition.setValueAtTime(1,[512,288]);
    myPosition.setValueAtTime(5,[512,288]);

    so I thought Id add on a couple of keys to the variable:

    var key1, key2, key3, key4;

    and then add this:

    key3 = myPosition.nearestKeyIndex(1);
    key4 = myPosition.nearestKeyIndex(5);
    myPosition.setTemporalEaseAtKey(key3, easeIn=[ease, ease, ease], easeOut=[ease, ease, ease]);
    myPosition.setTemporalEaseAtKey(key4, easeIn=[ease, ease, ease], easeOut=[ease, ease, ease]);

    however i get the following error:

    Unable to call ‘setTemporalEaseAtKey’ because of parameter 2. Value array does not have 1 elements.

    Any ideas?

  • Tristan Cossins

    April 28, 2014 at 10:55 pm in reply to: duplicator script…undefined error

    you are a legend… thanks so much Dan, works perfect.

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