replaceSource()

app.project.item(index).layer(index).replaceSource(newSource,fixExpressions)

Description

Replaces the source for this layer.

Parameters

newSource The new source AVItem object.
fixExpressions True to adjust expressions for the new source, false otherwise. Note that this feature can be resource-intensive; if replacing a large amount of footage, do this only at the end of the operation.

Returns

Nothing.

Other Tags

Posted in AVLayer object and tagged , , , , , , , .