InstancesMovie [] (index:
number)
Returns the Movie with the specified index.
Parameter | Type | Description |
index | number | The index. |
Movie add ([layer:
Layer][, at:
LocationOptions=LocationOptions.UNKNOWN][, reference:
varies][, withProperties:
Object])
Creates a new Movie
Parameter | Type | Description |
layer | Layer | The layer on which to create the Movie. (Optional) |
at | LocationOptions: LocationOptions.BEFORE LocationOptions.AFTER LocationOptions.AT_END LocationOptions.AT_BEGINNING LocationOptions.UNKNOWN | The location at which to insert the Movie relative to the reference object or within the container object. (Optional) (default: LocationOptions.UNKNOWN) |
reference | Document Layer MasterSpread Page PageItem Spread | The reference object. Note: Required when the at parameter is before or after. Can accept: Document, Spread, MasterSpread, Page, Layer or PageItem. (Optional) |
withProperties | Object | Initial values for properties of the new Movie (Optional) |
Movie anyItem ()
Returns any Movie in the collection.
number count ()
Displays the number of elements in the Movie.
Array of Movie everyItem ()
Returns every Movie in the collection.
Movie firstItem ()
Returns the first Movie in the collection.
Movie item (index:
varies)
Returns the Movie with the specified index or name.
Parameter | Type | Description |
index | Long Integer String | The index or name. Can accept: Long Integer or String. |
Movie itemByID (id:
number)
Returns the Movie with the specified ID.
Parameter | Type | Description |
id | number | The ID. |
Movie itemByName (name:
string)
Returns the Movie with the specified name.
Parameter | Type | Description |
name | string | The name. |
Array of Movie itemByRange (from:
varies, to:
varies)
Returns the Movies within the specified range.
Parameter | Type | Description |
from | Long Integer Movie String | The Movie, index, or name at the beginning of the range. Can accept: Movie, Long Integer or String. |
to | Long Integer Movie String | The Movie, index, or name at the end of the range. Can accept: Movie, Long Integer or String. |
Movie lastItem ()
Returns the last Movie in the collection.
Movie middleItem ()
Returns the middle Movie in the collection.
Movie nextItem (obj:
Movie)
Returns the Movie whose index follows the specified Movie in the collection.
Parameter | Type | Description |
obj | Movie | The Movie whose index comes before the desired Movie. |
Movie previousItem (obj:
Movie)
Returns the Movie with the index previous to the specified index.
Parameter | Type | Description |
obj | Movie | The index of the Movie that follows the desired Movie. |
string toSource ()
Generates a string which, if executed, will return the Movie.
|