Skip to main content
Inspiring
November 13, 2023
Answered

tool or method to create timelines with 10 second,etc times

  • November 13, 2023
  • 1 reply
  • 1369 views

looking if theirs a simpler way of creating for insance 10 1 single frame keyframes and then automatiing adding 10 second to each keyframe. this is a task i do a lot and seems that it would be a easy task to automate .

    This topic has been closed for replies.
    Correct answer JoãoCésar17023019

    here's your code 240 times:

     

    for(var i=0;i<240;i++){
    an.getDocumentDOM().getTimeline().insertFrames();

    }


    Hi.

     

    Please just note that the insertFrames method accepts three arguments: number of frames to insert, layers affected and start index.

     

    So to insert 240 frames, it's only necessary to call it like this:

    fl.getDocumentDOM().getTimeline().insertFrames(240);

     

    Regards,

    JC

    1 reply

    kglad
    Community Expert
    Community Expert
    November 13, 2023

    do you understand jsfl?

    Inspiring
    November 13, 2023

    im not familar with coding it

    kglad
    Community Expert
    Community Expert
    November 13, 2023

    that's the tool. i don't have time now to do it for you.