Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Time control into Script or mix Script/Expressions

  • Time control into Script or mix Script/Expressions

    Posted by Miguel De mendoza on October 13, 2014 at 8:05 pm

    Hi everyone.
    I’m developing a script for pixel-frame data monitoring. I wrote the function for the single-frame analysis, but I want loop this function every frame in the comp. Is there any way to control comps time via scripting or a scripting/expression-controls mix? My idea is to make a function like this:

    Thanx! (Sorry about my English :D)

    function( compDuration )
    {
    var counter = currentTime;//Time Counter
    var aux = 0;
    var data = [];

    for ( i = 0; i<compDuration; i++ )
    {
    aux = frameAnalysis(...)//I wrotte this function already
    data.push( aux );
    counter = counter ++; // this is what i want to control
    }
    }

    Miguel De mendoza replied 11 years, 6 months ago 1 Member · 0 Replies
  • 0 Replies

Sorry, there were no replies found.

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