Adobe InCopy CS6 (8.0) Object Model JS: MovieBehaviors

InCopy CS6

Class

MovieBehaviors

 A collection of movie behavior objects.

See also MovieBehavior.

QuickLinks

[], 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 [] (index: number)
Returns the MovieBehavior with the specified index.

ParameterTypeDescription
indexnumberThe index.

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: varies)
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: varies, to: varies)
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

CheckBox.movieBehaviors

ComboBox.movieBehaviors

ListBox.movieBehaviors

RadioButton.movieBehaviors

SignatureField.movieBehaviors

TextBox.movieBehaviors

Jongware, 29-Apr-2012 v3.0.3iContents :: Index