A collection of sound behavior objects.
Methods
SoundBehavioradd ([withProperties:
Object])
Creates a new SoundBehavior.
| Parameter | Type | Description |
|---|---|---|
| withProperties | Object | Initial values for properties of the new SoundBehavior (Optional) |
SoundBehavioranyItem ()
Returns any SoundBehavior in the collection.
number count ()
Displays the number of elements in the SoundBehavior.
Array of SoundBehavioreveryItem ()
Returns every SoundBehavior in the collection.
SoundBehaviorfirstItem ()
Returns the first SoundBehavior in the collection.
SoundBehavioritem (index:
any)
Returns the SoundBehavior with the specified index or name.
| Parameter | Type | Description |
|---|---|---|
| index | Long Integer String |
The index or name. Can accept: Long Integer or String. |
SoundBehavioritemByID (id:
number)
Returns the SoundBehavior with the specified ID.
| Parameter | Type | Description |
|---|---|---|
| id | number | The ID. |
SoundBehavioritemByName (name:
string)
Returns the SoundBehavior with the specified name.
| Parameter | Type | Description |
|---|---|---|
| name | string | The name. |
Array of SoundBehavioritemByRange (from:
any, to:
any)
Returns the SoundBehaviors within the specified range.
| Parameter | Type | Description |
|---|---|---|
| from | SoundBehavior Long Integer String |
The SoundBehavior, index, or name at the beginning of the range. Can accept: SoundBehavior, Long Integer or String. |
| to | SoundBehavior Long Integer String |
The SoundBehavior, index, or name at the end of the range. Can accept: SoundBehavior, Long Integer or String. |
SoundBehaviorlastItem ()
Returns the last SoundBehavior in the collection.
SoundBehaviormiddleItem ()
Returns the middle SoundBehavior in the collection.
SoundBehaviornextItem (obj:
SoundBehavior)
Returns the SoundBehavior whose index follows the specified SoundBehavior in the collection.
| Parameter | Type | Description |
|---|---|---|
| obj | SoundBehavior | The SoundBehavior whose index comes before the desired SoundBehavior. |
SoundBehaviorpreviousItem (obj:
SoundBehavior)
Returns the SoundBehavior with the index previous to the specified index.
| Parameter | Type | Description |
|---|---|---|
| obj | SoundBehavior | The index of the SoundBehavior that follows the desired SoundBehavior. |
string toSource ()
Generates a string which, if executed, will return the SoundBehavior.