AnimationBehaviors

A collection of animation behaviors.

Methods:

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

Property Listing

Property

Type

Access

Description

length

Number

readonly

The number of objects in the collection.

Method Listing

AnimationBehavior [] (index:Number)

Returns the AnimationBehavior with the specified index.

Parameter

Type

Description

index

Number

The index.

AnimationBehavior add (withProperties:Object)

Creates a new AnimationBehavior.

Parameter

Type

Description

withProperties

Object

Initial values for properties of the new AnimationBehavior (Optional)

AnimationBehavior anyItem ()

Returns any AnimationBehavior in the collection.

Number count ()

Displays the number of elements in the AnimationBehavior.

AnimationBehavior everyItem ()

Returns every AnimationBehavior in the collection.

AnimationBehavior firstItem ()

Returns the first AnimationBehavior in the collection.

AnimationBehavior item (index:Varies LongInteger String)

Returns the AnimationBehavior with the specified index or name.

Parameter

Type

Description

index

LongInteger

String

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

AnimationBehavior itemByID (id:Number)

Returns the AnimationBehavior with the specified ID.

Parameter

Type

Description

id

Number

The ID.

AnimationBehavior itemByName (name:String)

Returns the AnimationBehavior with the specified name.

Parameter

Type

Description

name

String

The name.

AnimationBehavior itemByRange (from:Varies AnimationBehavior LongInteger String, to:Varies AnimationBehavior LongInteger String)

Returns the AnimationBehaviors within the specified range.

Parameter

Type

Description

from

AnimationBehavior

LongInteger

String

The AnimationBehavior, index, or name at the beginning of the range. Can accept: AnimationBehavior, Long Integer or String.

to

AnimationBehavior

LongInteger

String

The AnimationBehavior, index, or name at the end of the range. Can accept: AnimationBehavior, Long Integer or String.

AnimationBehavior lastItem ()

Returns the last AnimationBehavior in the collection.

AnimationBehavior middleItem ()

Returns the middle AnimationBehavior in the collection.

AnimationBehavior nextItem (obj:AnimationBehavior)

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

Parameter

Type

Description

obj

AnimationBehavior

The AnimationBehavior whose index comes before the desired AnimationBehavior.

AnimationBehavior previousItem (obj:AnimationBehavior)

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

Parameter

Type

Description

obj

AnimationBehavior

The index of the AnimationBehavior that follows the desired AnimationBehavior.

String toSource ()

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

Object of

Button.animationBehaviors