Movies

A collection of movies.

Methods

Movieadd ([layer:
Layer][, at:
LocationOptions=UNKNOWN ][, reference:
any][, withProperties:
Object])
Creates a new Movie

Parameter Type Description
layer Layer The layer on which to create the Movie. (Optional)
at LocationOptions
:
BEFORE
AFTER
AT_END
AT_BEGINNING
UNKNOWN
The location at which to insert the Movie relative to the reference object or within the container object. (Optional) (default: UNKNOWN )
reference Document
Spread
MasterSpread
Page
Layer
PageItem
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)

MovieanyItem ()
Returns any Movie in the collection.

number count ()
Displays the number of elements in the Movie.

Array of MovieeveryItem ()
Returns every Movie in the collection.

MoviefirstItem ()
Returns the first Movie in the collection.

Movieitem (index:
any)
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.

MovieitemByID (id:
number)
Returns the Movie with the specified ID.

Parameter Type Description
id number The ID.

MovieitemByName (name:
string)
Returns the Movie with the specified name.

Parameter Type Description
name string The name.

Array of MovieitemByRange (from:
any, to:
any)
Returns the Movies within the specified range.

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

MovielastItem ()
Returns the last Movie in the collection.

MoviemiddleItem ()
Returns the middle Movie in the collection.

MovienextItem (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.

MoviepreviousItem (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.

Element of:

Oval.movies
PageItem.movies
Polygon.movies
Rectangle.movies

Leave a Comment

Previous post:

Next post: