MultiStateObjects
A collection of multi-state objects.
Instance
Read Only
Number length
The number of objects in the collection.
Methods
Number count()
Displays the number of elements in the MultiStateObject.
MultiStateObject add( Layer layer, LocationOptions at, Mixed reference, Object withProperties )
Creates a new MultiStateObject
Parameters
Type Name Description 
MultiStateObject item( Mixed index )
Returns the MultiStateObject with the specified index or name.
Parameters
Type Name Description 
MultiStateObject itemByName( String name )
Returns the MultiStateObject with the specified name.
Parameters
Type Name Description 
MultiStateObject itemByID( Number id )
Returns the MultiStateObject with the specified ID.
Parameters
Type Name Description 
MultiStateObject itemByRange( Mixed from, Mixed to )
Returns the MultiStateObjects within the specified range.
Parameters
Type Name Description 
MultiStateObject firstItem()
Returns the first MultiStateObject in the collection.
MultiStateObject lastItem()
Returns the last MultiStateObject in the collection.
MultiStateObject middleItem()
Returns the middle MultiStateObject in the collection.
MultiStateObject previousItem( MultiStateObject obj )
Returns the MultiStateObject with the index previous to the specified index.
Parameters
Type Name Description 
MultiStateObject nextItem( MultiStateObject obj )
Returns the MultiStateObject whose index follows the specified MultiStateObject in the collection.
Parameters
Type Name Description 
MultiStateObject anyItem()
Returns any MultiStateObject in the collection.
MultiStateObject everyItem()
Returns every MultiStateObject in the collection.
String toSource()
Generates a string which, if executed, will return the MultiStateObject.
MultiStateObject []( Number index )
Returns the MultiStateObject with the specified index.
Parameters
Type Name Description