Edit in GitHubLog an issue

SoundBehaviors

A collection of sound behavior objects.

Instance

Read Only

Number length

The number of objects in the collection.

Methods

Number count()

Displays the number of elements in the SoundBehavior.


SoundBehavior add( Object withProperties )

Creates a new SoundBehavior.

Parameters

TypeNameDescription
Object
withProperties
Initial values for properties of the new SoundBehavior (Optional)

SoundBehavior item( Mixed index )

Returns the SoundBehavior with the specified index or name.

Parameters

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

SoundBehavior itemByName( String name )

Returns the SoundBehavior with the specified name.

Parameters

TypeNameDescription
String
name
The name.

SoundBehavior itemByID( Number id )

Returns the SoundBehavior with the specified ID.

Parameters

TypeNameDescription
Number
id
The ID.

SoundBehavior itemByRange( Mixed from, Mixed to )

Returns the SoundBehaviors within the specified range.

Parameters

TypeNameDescription
Mixed
from
The SoundBehavior, index, or name at the beginning of the range. Can accept: SoundBehavior, Long Integer or String.
Mixed
to
The SoundBehavior, index, or name at the end of the range. Can accept: SoundBehavior, Long Integer or String.

SoundBehavior firstItem()

Returns the first SoundBehavior in the collection.


SoundBehavior lastItem()

Returns the last SoundBehavior in the collection.


SoundBehavior middleItem()

Returns the middle SoundBehavior in the collection.


SoundBehavior previousItem( SoundBehavior obj )

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

Parameters

TypeNameDescription
SoundBehavior
obj
The index of the SoundBehavior that follows the desired SoundBehavior.

SoundBehavior nextItem( SoundBehavior obj )

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

Parameters

TypeNameDescription
SoundBehavior
obj
The SoundBehavior whose index comes before the desired SoundBehavior.

SoundBehavior anyItem()

Returns any SoundBehavior in the collection.


SoundBehavior everyItem()

Returns every SoundBehavior in the collection.


String toSource()

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


SoundBehavior []( Number index )

Returns the SoundBehavior with the specified index.

Parameters

TypeNameDescription
Number
index
The index.
Was this helpful?
  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2023 Adobe. All rights reserved.