filesource
FileSource object
Section titled “FileSource object”app.project.item(index).mainSource
app.project.item(index).proxySource
Description
Section titled “Description”The FileSource object describes footage that comes from a file.
FileSource is a subclass of FootageSource object. All methods and attributes of FootageSource, in addition to those listed below, are available when working with FileSource.
Attributes
Section titled “Attributes”FileSource.file
Section titled “FileSource.file”app.project.item(index).mainSource.file
app.project.item(index).proxySource.file
Description
Section titled “Description”The Extendscript File object for the file that defines this asset. To change the value:
- If this FileSource is a proxySource of an AVItem, call setProxy() or setProxyWithSequence().
- If this FileSource is a mainSource of a FootageItem, call replace() or replaceWithSequence().
File object; read-only.
FileSource.missingFootagePath
Section titled “FileSource.missingFootagePath”app.project.item(index).mainSource.missingFootagePath
app.project.item(index).proxySource.missingFootagePath
Description
Section titled “Description”The path and filename of footage that is missing from this asset. See also AVItem.footageMissing.
String; read-only.
Methods
Section titled “Methods”FileSource.reload()
Section titled “FileSource.reload()”app.project.item(index).mainSource.reload()
Description
Section titled “Description”Reloads the asset from the file. This method can be called only on a mainSource
, not a proxySource
.
Parameters
Section titled “Parameters”None.
Returns
Section titled “Returns”Nothing.