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