FileSource object

app.project.item(index).mainSource
app.project.item(index).proxySource

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

FileSource.file

app.project.item(index).mainSource.file
app.project.item(index).proxySource.file

Description

The Extendscript File object for the file that defines this asset. To change the value:

Type

File object; read-only.


FileSource.missingFootagePath

app.project.item(index).mainSource.missingFootagePath
app.project.item(index).proxySource.missingFootagePath

Description

The path and filename of footage that is missing from this asset. See also AVItem.footageMissing.

Type

String; read-only.


Methods

FileSource.reload()

app.project.item(index).mainSource.reload()

Description

Reloads the asset from the file. This method can be called only on a mainSource, not a proxySource.

Parameters

None.

Returns

Nothing.