A collection of movie behavior objects.
Methods
MovieBehavioradd ([withProperties:
Object])
Creates a new MovieBehavior.
| Parameter | Type | Description |
|---|---|---|
| withProperties | Object | Initial values for properties of the new MovieBehavior (Optional) |
MovieBehavioranyItem ()
Returns any MovieBehavior in the collection.
number count ()
Displays the number of elements in the MovieBehavior.
Array of MovieBehavioreveryItem ()
Returns every MovieBehavior in the collection.
MovieBehaviorfirstItem ()
Returns the first MovieBehavior in the collection.
MovieBehavioritem (index:
any)
Returns the MovieBehavior with the specified index or name.
| Parameter | Type | Description |
|---|---|---|
| index | Long Integer String |
The index or name. Can accept: Long Integer or String. |
MovieBehavioritemByID (id:
number)
Returns the MovieBehavior with the specified ID.
| Parameter | Type | Description |
|---|---|---|
| id | number | The ID. |
MovieBehavioritemByName (name:
string)
Returns the MovieBehavior with the specified name.
| Parameter | Type | Description |
|---|---|---|
| name | string | The name. |
Array of MovieBehavioritemByRange (from:
any, to:
any)
Returns the MovieBehaviors within the specified range.
| Parameter | Type | Description |
|---|---|---|
| from | MovieBehavior Long Integer String |
The MovieBehavior, index, or name at the beginning of the range. Can accept: MovieBehavior, Long Integer or String. |
| to | MovieBehavior Long Integer String |
The MovieBehavior, index, or name at the end of the range. Can accept: MovieBehavior, Long Integer or String. |
MovieBehaviorlastItem ()
Returns the last MovieBehavior in the collection.
MovieBehaviormiddleItem ()
Returns the middle MovieBehavior in the collection.
MovieBehaviornextItem (obj:
MovieBehavior)
Returns the MovieBehavior whose index follows the specified MovieBehavior in the collection.
| Parameter | Type | Description |
|---|---|---|
| obj | MovieBehavior | The MovieBehavior whose index comes before the desired MovieBehavior. |
MovieBehaviorpreviousItem (obj:
MovieBehavior)
Returns the MovieBehavior with the index previous to the specified index.
| Parameter | Type | Description |
|---|---|---|
| obj | MovieBehavior | The index of the MovieBehavior that follows the desired MovieBehavior. |
string toSource ()
Generates a string which, if executed, will return the MovieBehavior.