replaceWithSequence()

app.project.item(index).replaceWithSequence(file,forceAlphabetical)

Description

Changes the source of this FootageItem to the specified image sequence. In addition to loading the file, the method creates a new FileSource object for the file and sets mainSource to that object.In the new source object, it sets the name, width , height , frameDuration, and duration attributes(see AVItem object” ) based on the contents of the file.

The methodpreserves interpretationparameters from theprevious mainSource object. Ifthe specified filehas an unlabeled alpha channel, the method estimates the alpha interpretation.

Parameters

file An ExtendScript File object for the first file in the sequence to be used as the footage main source.
forceAlphabetical When true, use the “Force alphabetical order” option.

Other Tags

Posted in FootageItem object and tagged , , , , , , , , , , , , , .