Adobe InDesign CS (3.0) Object Model JS: Sounds

InDesign CS

Class

Sounds

 A collection of sound clips.

QuickLinks

add, count

Properties

PropertyTypeAccessDescription
lengthnumber readonlyThe number of objects in the collection.

Methods

Instances

Sound add ([layer: Layer][, at: LocationOptions=LocationOptions.UNKNOWN][, reference: any][, withProperties: Object])
Create a new Sound

ParameterTypeDescription
layerLayerThe layer on which to create the Sound. (Optional)
atLocationOptions:
LocationOptions.BEFORE
LocationOptions.AFTER
LocationOptions.AT_END
LocationOptions.AT_BEGINNING
LocationOptions.UNKNOWN
Location (Optional) (default: LocationOptions.UNKNOWN)
referenceDocument
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)
withPropertiesObjectInitial values for properties of the new Sound (Optional)

number count ()
Displays the number of elements in the Sound.

Element of

Oval.sounds

PageItem.sounds

Polygon.sounds

Rectangle.sounds

Used in:

Asset Library.store (using: Array of any)

Jongware, 27-Jun-2010 v3.0.3dContents :: Index