A collection of sound clips.
Go to Property Listing | Method Listing
[], add, anyItem, count, everyItem, firstItem, item, itemByID, itemByName, itemByRange, lastItem, middleItem, nextItem, previousItem, toSource
Property |
Type |
Access |
Description |
---|---|---|---|
readonly |
The number of objects in the collection. |
Sound [] (index:Number)
Returns the Sound with the specified index.
Parameter |
Type |
Description |
---|---|---|
index |
The index. |
Sound add (layer:Layer, [at:LocationOptions=LocationOptions], reference:Varies Document Layer MasterSpread Page Spread PageItem, withProperties:Object)
Creates a new Sound
Parameter |
Type |
Description |
---|---|---|
layer |
The layer on which to create the Sound. (Optional) |
|
at |
The location at which to insert the Sound relative to the reference object or within the container object. (Optional) (default: LocationOptions.UNKNOWN) |
|
reference |
The reference object. Note: Required when the at parameter is before or after. Can accept: Document, Spread, MasterSpread, Page, Layer or PageItem. (Optional) |
|
withProperties |
Initial values for properties of the new Sound (Optional) |
Sound anyItem ()
Returns any Sound in the collection.
Number count ()
Displays the number of elements in the Sound.
Sound everyItem ()
Returns every Sound in the collection.
Sound firstItem ()
Returns the first Sound in the collection.
Sound item (index:Varies LongInteger String)
Returns the Sound with the specified index or name.
Parameter |
Type |
Description |
---|---|---|
index |
LongInteger |
The index or name. Can accept: Long Integer or String. |
Sound itemByID (id:Number)
Returns the Sound with the specified ID.
Parameter |
Type |
Description |
---|---|---|
id |
The ID. |
Sound itemByName (name:String)
Returns the Sound with the specified name.
Parameter |
Type |
Description |
---|---|---|
name |
The name. |
Sound itemByRange (from:Varies LongInteger Sound String, to:Varies LongInteger Sound String)
Returns the Sounds within the specified range.
Parameter |
Type |
Description |
---|---|---|
from |
LongInteger |
The Sound, index, or name at the beginning of the range. Can accept: Sound, Long Integer or String. |
to |
LongInteger |
The Sound, index, or name at the end of the range. Can accept: Sound, Long Integer or String. |
Sound lastItem ()
Returns the last Sound in the collection.
Sound middleItem ()
Returns the middle Sound in the collection.
Sound nextItem (obj:Sound)
Returns the Sound whose index follows the specified Sound in the collection.
Parameter |
Type |
Description |
---|---|---|
obj |
The Sound whose index comes before the desired Sound. |
Sound previousItem (obj:Sound)
Returns the Sound with the index previous to the specified index.
Parameter |
Type |
Description |
---|---|---|
obj |
The index of the Sound that follows the desired Sound. |
String toSource ()
Generates a string which, if executed, will return the Sound.
Oval.sounds
Rectangle.sounds
GraphicLine.sounds
Polygon.sounds
SplineItem.sounds
Page.masterPageItems