Adobe InDesign CS3 (5.0) Object Model JS: MovieBehaviors

InDesign CS3

Class

MovieBehaviors

 A collection of movie behavior objects.

QuickLinks

add, anyItem, count, everyItem, firstItem, item, itemByID, itemByName, itemByRange, lastItem, middleItem, nextItem, previousItem, toSource

Properties

PropertyTypeAccessDescription
lengthnumber readonlyThe number of objects in the collection.

Methods

Instances

MovieBehavior add ([withProperties: Object])
Creates a new MovieBehavior.

ParameterTypeDescription
withPropertiesObjectInitial values for properties of the new MovieBehavior (Optional)

MovieBehavior anyItem ()
Returns any MovieBehavior in the collection.

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

Array of MovieBehavior everyItem ()
Returns every MovieBehavior in the collection.

MovieBehavior firstItem ()
Returns the first MovieBehavior in the collection.

MovieBehavior item (index: any)
Returns the MovieBehavior with the specified index or name.

ParameterTypeDescription
indexLong Integer
String
The index or name. Can accept: Long Integer or String.

MovieBehavior itemByID (id: number)
Returns the MovieBehavior with the specified ID.

ParameterTypeDescription
idnumberThe ID.

MovieBehavior itemByName (name: string)
Returns the MovieBehavior with the specified name.

ParameterTypeDescription
namestringThe name.

Array of MovieBehavior itemByRange (from: any, to: any)
Returns the MovieBehaviors within the specified range.

ParameterTypeDescription
fromLong Integer
MovieBehavior
String
The MovieBehavior, index, or name at the beginning of the range. Can accept: MovieBehavior, Long Integer or String.
toLong Integer
MovieBehavior
String
The MovieBehavior, index, or name at the end of the range. Can accept: MovieBehavior, Long Integer or String.

MovieBehavior lastItem ()
Returns the last MovieBehavior in the collection.

MovieBehavior middleItem ()
Returns the middle MovieBehavior in the collection.

MovieBehavior nextItem (obj: MovieBehavior)
Returns the MovieBehavior whose index follows the specified MovieBehavior in the collection.

ParameterTypeDescription
objMovieBehaviorThe MovieBehavior whose index comes before the desired MovieBehavior.

MovieBehavior previousItem (obj: MovieBehavior)
Returns the MovieBehavior with the index previous to the specified index.

ParameterTypeDescription
objMovieBehaviorThe index of the MovieBehavior that follows the desired MovieBehavior.

string toSource ()
Generates a string which, if executed, will return the MovieBehavior.

Element of

Button.movieBehaviors

FormField.movieBehaviors

Jongware, 27-Jun-2010 v3.0.3dContents :: Index