-- Lingo syntax _movie.puppetTempo(intTempo) // JavaScript syntax _movie.puppetTempo(intTempo);
Movie method; causes the tempo channel to act as a puppet and sets the tempo to a specified number of frames.
When the tempo channel is a puppet, script can override the tempo setting in the Score and change the tempo assigned to the movie.
Its unnecessary to turn off the puppet tempo condition to make subsequent tempo changes in the Score take effect.
intTempo Required. An integer that specifies the tempo.
This statement sets the movies tempo to 30 fps:
-- Lingo syntax _movie.puppetTempo(30) // JavaScript syntax _movie.puppetTempo(30);
This statement increases the movies old tempo by 10 fps:
-- Lingo syntax _movie.puppetTempo(oldTempo + 10) // JavaScript syntax _movie.puppetTempo(oldTempo + 10);