Edit in GitHubLog an issue

MovieBehaviors

A collection of movie behavior objects.

Instance

Read Only

Number length

The number of objects in the collection.

Methods

Number count()

Displays the number of elements in the MovieBehavior.


MovieBehavior add( Object withProperties )

Creates a new MovieBehavior.

Parameters

TypeNameDescription
Object
withProperties
Initial values for properties of the new MovieBehavior (Optional)

MovieBehavior item( Mixed index )

Returns the MovieBehavior with the specified index or name.

Parameters

TypeNameDescription
Mixed
index
The index or name. Can accept: Long Integer or String.

MovieBehavior itemByName( String name )

Returns the MovieBehavior with the specified name.

Parameters

TypeNameDescription
String
name
The name.

MovieBehavior itemByID( Number id )

Returns the MovieBehavior with the specified ID.

Parameters

TypeNameDescription
Number
id
The ID.

MovieBehavior itemByRange( Mixed from, Mixed to )

Returns the MovieBehaviors within the specified range.

Parameters

TypeNameDescription
Mixed
from
The MovieBehavior, index, or name at the beginning of the range. Can accept: MovieBehavior, Long Integer or String.
Mixed
to
The MovieBehavior, index, or name at the end of the range. Can accept: MovieBehavior, Long Integer or String.

MovieBehavior firstItem()

Returns the first MovieBehavior in the collection.


MovieBehavior lastItem()

Returns the last MovieBehavior in the collection.


MovieBehavior middleItem()

Returns the middle MovieBehavior in the collection.


MovieBehavior previousItem( MovieBehavior obj )

Returns the MovieBehavior with the index previous to the specified index.

Parameters

TypeNameDescription
MovieBehavior
obj
The index of the MovieBehavior that follows the desired MovieBehavior.

MovieBehavior nextItem( MovieBehavior obj )

Returns the MovieBehavior whose index follows the specified MovieBehavior in the collection.

Parameters

TypeNameDescription
MovieBehavior
obj
The MovieBehavior whose index comes before the desired MovieBehavior.

MovieBehavior anyItem()

Returns any MovieBehavior in the collection.


MovieBehavior everyItem()

Returns every MovieBehavior in the collection.


String toSource()

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


MovieBehavior []( Number index )

Returns the MovieBehavior with the specified index.

Parameters

TypeNameDescription
Number
index
The index.
Was this helpful?
  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2023 Adobe. All rights reserved.