Behaviors
A collection of behavior objects.
Instance
Read Only
Number length
The number of objects in the collection.
Methods
Number count()
Displays the number of elements in the Behavior.
Behavior item( Mixed index )
Returns the Behavior with the specified index or name.
Parameters
Behavior itemByName( String name )
Returns the Behavior with the specified name.
Parameters
Behavior itemByID( Number id )
Returns the Behavior with the specified ID.
Parameters
Behavior itemByRange( Mixed from, Mixed to )
Returns the Behaviors within the specified range.
Parameters
Behavior firstItem()
Returns the first Behavior in the collection.
Behavior lastItem()
Returns the last Behavior in the collection.
Behavior middleItem()
Returns the middle Behavior in the collection.
Behavior previousItem( Behavior obj )
Returns the Behavior with the index previous to the specified index.
Parameters
Behavior nextItem( Behavior obj )
Returns the Behavior whose index follows the specified Behavior in the collection.
Parameters
Behavior anyItem()
Returns any Behavior in the collection.
Behavior everyItem()
Returns every Behavior in the collection.
String toSource()
Generates a string which, if executed, will return the Behavior.
Behavior []( Number index )
Returns the Behavior with the specified index.