GotoStateBehaviors
A collection of goto state behaviors.
Go to Property Listing | Method Listing
Methods:
[], add, anyItem, count, everyItem, firstItem, item, itemByID, itemByName, itemByRange, lastItem, middleItem, nextItem, previousItem, toSource
Property Listing
Property |
Type |
Access |
Description |
---|---|---|---|
readonly |
The number of objects in the collection. |
Method Listing
GotoStateBehavior [] (index:Number)
Returns the GotoStateBehavior with the specified index.
Parameter |
Type |
Description |
---|---|---|
index |
The index. |
GotoStateBehavior add (withProperties:Object)
Creates a new GotoStateBehavior.
Parameter |
Type |
Description |
---|---|---|
withProperties |
Initial values for properties of the new GotoStateBehavior (Optional) |
GotoStateBehavior anyItem ()
Returns any GotoStateBehavior in the collection.
Number count ()
Displays the number of elements in the GotoStateBehavior.
GotoStateBehavior everyItem ()
Returns every GotoStateBehavior in the collection.
GotoStateBehavior firstItem ()
Returns the first GotoStateBehavior in the collection.
GotoStateBehavior item (index:Varies LongInteger String)
Returns the GotoStateBehavior with the specified index or name.
Parameter |
Type |
Description |
---|---|---|
index |
LongInteger |
The index or name. Can accept: Long Integer or String. |
GotoStateBehavior itemByID (id:Number)
Returns the GotoStateBehavior with the specified ID.
Parameter |
Type |
Description |
---|---|---|
id |
The ID. |
GotoStateBehavior itemByName (name:String)
Returns the GotoStateBehavior with the specified name.
Parameter |
Type |
Description |
---|---|---|
name |
The name. |
GotoStateBehavior itemByRange (from:Varies GotoStateBehavior LongInteger String, to:Varies GotoStateBehavior LongInteger String)
Returns the GotoStateBehaviors within the specified range.
Parameter |
Type |
Description |
---|---|---|
from |
LongInteger |
The GotoStateBehavior, index, or name at the beginning of the range. Can accept: GotoStateBehavior, Long Integer or String. |
to |
LongInteger |
The GotoStateBehavior, index, or name at the end of the range. Can accept: GotoStateBehavior, Long Integer or String. |
GotoStateBehavior lastItem ()
Returns the last GotoStateBehavior in the collection.
GotoStateBehavior middleItem ()
Returns the middle GotoStateBehavior in the collection.
GotoStateBehavior nextItem (obj:GotoStateBehavior)
Returns the GotoStateBehavior whose index follows the specified GotoStateBehavior in the collection.
Parameter |
Type |
Description |
---|---|---|
obj |
The GotoStateBehavior whose index comes before the desired GotoStateBehavior. |
GotoStateBehavior previousItem (obj:GotoStateBehavior)
Returns the GotoStateBehavior with the index previous to the specified index.
Parameter |
Type |
Description |
---|---|---|
obj |
The index of the GotoStateBehavior that follows the desired GotoStateBehavior. |
String toSource ()
Generates a string which, if executed, will return the GotoStateBehavior.
Object of
Button.gotoStateBehaviors