Sounds
QuickLinks
Properties
Property | Type | Access | Description |
---|---|---|---|
length | number | readonly | The number of objects in the collection. |
Methods
Instances
Sound add ([layer:
Layer][, at:
LocationOptions=LocationOptions.UNKNOWN][, reference:
any][, withProperties:
Object])
Create 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 | Location (Optional) (default: LocationOptions.UNKNOWN) |
reference | Document Layer MasterSpread Page Spread | Before/after this Sound or at the beginning/end of this Document, Spread, Master Spread, Page or Layer. Can accept: Document, Spread, MasterSpread, Page or Layer. (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 String | The index or name. Can accept: Long 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 Sound String | The Sound, index, or name at the beginning of the range. Can accept: Sound, Long or String. |
to | Long Sound String | The Sound, index, or name at the end of the range. Can accept: Sound, Long 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)
Jongware, 27-Jun-2010 v3.0.3d | Contents :: Index |