InDesign Server2025
API 20.5.0.49
Collection of Movie

Movies

A collection of movies.

Properties

NameType AccessDescription
Number readonly The number of objects in the collection.

Methods

Movie

Returns the Movie with the specified index.

index Number The index.
Movie

Creates a new Movie

layer? Layer The layer on which to create the Movie.
at? LocationOptions The location at which to insert the Movie relative to the reference object or within the container object.
reference? Document | Layer | MasterSpread | Page | Spread | PageItem The reference object. Note: Required when the at parameter is before or after. Can accept: Document, Spread, MasterSpread, Page, Layer or PageItem.
withProperties? Object Initial values for properties of the new Movie
Movie

Returns any Movie in the collection.

Number

Displays the number of elements in the Movie.

Movie[]

Returns every Movie in the collection.

Movie

Returns the first Movie in the collection.

Movie

Returns the Movie with the specified index or name.

index LongInteger | String The index or name. Can accept: Long Integer or String.
Movie

Returns the Movie with the specified ID.

id Number The ID.
Movie

Returns the Movie with the specified name.

name String The name.
Movie[]

Returns the Movies within the specified range.

from LongInteger | Movie | String The Movie, index, or name at the beginning of the range. Can accept: Movie, Long Integer or String.
to LongInteger | Movie | String The Movie, index, or name at the end of the range. Can accept: Movie, Long Integer or String.
Movie

Returns the last Movie in the collection.

Movie

Returns the middle Movie in the collection.

Movie

Returns the Movie whose index follows the specified Movie in the collection.

obj Movie The Movie whose index comes before the desired Movie.
Movie

Returns the Movie with the index previous to the specified index.

obj Movie The index of the Movie that follows the desired Movie.
String

Generates a string which, if executed, will return the Movie.

Object of 6

Properties elsewhere that hold a Movies.

Parameter of 1

Method parameters that accept a Movies.