Edit in GitHubLog an issue

AnimationBehaviors

A collection of animation behaviors.

Instance

Read Only

Number length

The number of objects in the collection.

Methods

Number count()

Displays the number of elements in the AnimationBehavior.


AnimationBehavior add( Object withProperties )

Creates a new AnimationBehavior.

Parameters

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

AnimationBehavior item( Mixed index )

Returns the AnimationBehavior with the specified index or name.

Parameters

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

AnimationBehavior itemByName( String name )

Returns the AnimationBehavior with the specified name.

Parameters

TypeNameDescription
String
name
The name.

AnimationBehavior itemByID( Number id )

Returns the AnimationBehavior with the specified ID.

Parameters

TypeNameDescription
Number
id
The ID.

AnimationBehavior itemByRange( Mixed from, Mixed to )

Returns the AnimationBehaviors within the specified range.

Parameters

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

AnimationBehavior firstItem()

Returns the first AnimationBehavior in the collection.


AnimationBehavior lastItem()

Returns the last AnimationBehavior in the collection.


AnimationBehavior middleItem()

Returns the middle AnimationBehavior in the collection.


AnimationBehavior previousItem( AnimationBehavior obj )

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

Parameters

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

AnimationBehavior nextItem( AnimationBehavior obj )

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

Parameters

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

AnimationBehavior anyItem()

Returns any AnimationBehavior in the collection.


AnimationBehavior everyItem()

Returns every AnimationBehavior in the collection.


String toSource()

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


AnimationBehavior []( Number index )

Returns the AnimationBehavior 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.