-
Time control into Script or mix Script/Expressions
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
}
}
Sorry, there were no replies found.