Sounds
QuickLinks
Properties
Property | Type | Access | Description |
---|---|---|---|
length | number | readonly | The number of objects in the collection. |
Methods
Instances
Sound [] (index:
number)
Returns the Sound with the specified index.
Parameter | Type | Description |
---|---|---|
index | number | The index. |
Sound add ([layer:
Layer][, at:
LocationOptions=LocationOptions.UNKNOWN][, reference:
any][, withProperties:
Object])
Creates a new Sound
Parameter | Type | Description |
---|---|---|
layer | Layer | The layer on which to create the Sound. (Optional) |
at | LocationOptions: LocationOptions.BEFORE LocationOptions.AFTER LocationOptions.AT_END LocationOptions.AT_BEGINNING LocationOptions.UNKNOWN | The location at which to insert the Sound relative to the reference object or within the container object. (Optional) (default: LocationOptions.UNKNOWN) |
reference | Document Layer MasterSpread Page PageItem Spread | The reference object. Note: Required when the at parameter is before or after. Can accept: Document, Spread, MasterSpread, Page, Layer or PageItem. (Optional) |
withProperties | Object | 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.
Array of Sound everyItem ()
Returns every Sound in the collection.
Sound firstItem ()
Returns the first Sound in the collection.
Sound item (index:
any)
Returns the Sound with the specified index or name.
Parameter | Type | Description |
---|---|---|
index | Long Integer String | 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 | number | The ID. |
Sound itemByName (name:
string)
Returns the Sound with the specified name.
Parameter | Type | Description |
---|---|---|
name | string | The name. |
Array of Sound itemByRange (from:
any, to:
any)
Returns the Sounds within the specified range.
Parameter | Type | Description |
---|---|---|
from | Long Integer Sound String | The Sound, index, or name at the beginning of the range. Can accept: Sound, Long Integer or String. |
to | Long Integer Sound String | 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 | Sound | 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 | Sound | The index of the Sound that follows the desired Sound. |
string toSource ()
Generates a string which, if executed, will return the Sound.
Element of
Oval.sounds
Page.masterPageItems
PageItem.sounds
Polygon.sounds
Rectangle.sounds
Used in:
Asset Library.store (using: Array of any[, withProperties: Object])
Jongware, 20-Jun-2010 v3.0.3d | Contents :: Index |