A collection of movies.
Go to Property Listing | Method Listing
add, anyItem, count, everyItem, firstItem, item, itemByID, itemByName, itemByRange, lastItem, middleItem, nextItem, previousItem, toSource
|
Property |
Type |
Access |
Description |
|---|---|---|---|
|
readonly |
The number of objects in the collection. |
Movie add (layer:Layer, [at:LocationOptions=LocationOptions], reference:Varies Document MasterSpread Page Spread Layer, withProperties:Object)
Create a new Movie
|
Parameter |
Type |
Description |
|---|---|---|
|
layer |
The layer on which to create the Movie. (Optional) |
|
|
at |
Location (Optional) (default: LocationOptions.UNKNOWN) |
|
|
reference |
Before/after this Movie or at the beginning/end of this Document, Spread, Master Spread, Page or Layer. Can accept: Document, Spread, MasterSpread, Page or Layer. (Optional) |
|
|
withProperties |
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.
Movie everyItem ()
Returns every Movie in the collection.
Movie firstItem ()
Returns the first Movie in the collection.
Movie item (index:Varies Long String)
Returns the Movie with the specified index or name.
|
Parameter |
Type |
Description |
|---|---|---|
|
index |
Long |
The index or name. Can accept: Long or String. |
Movie itemByID (id:Number)
Returns the Movie with the specified ID.
|
Parameter |
Type |
Description |
|---|---|---|
|
id |
The ID. |
Movie itemByName (name:String)
Returns the Movie with the specified name.
|
Parameter |
Type |
Description |
|---|---|---|
|
name |
The name. |
Movie itemByRange (from:Varies Long Movie String, to:Varies Long Movie String)
Returns the Movies within the specified range.
|
Parameter |
Type |
Description |
|---|---|---|
|
from |
Long |
The Movie, index, or name at the beginning of the range. Can accept: Movie, Long or String. |
|
to |
Long |
The Movie, index, or name at the end of the range. Can accept: Movie, Long 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 |
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 |
The index of the Movie that follows the desired Movie. |
String toSource ()
Generates a string which, if executed, will return the Movie.