Previous Element | Next Element |
SoundStream
This details the parameters of a sound to be output as
streaming sound. On decompilation, where a Timeline has a
sound stream separated by gaps, the application will split a
sound stream into separate SoundStream elements. As this is
a streaming-type element there must be sufficient frames in
the destination timeline to contain the defined stream. If
insufficient frames are defined then the stream will be
truncated. SoundStream elements are particularly useful when
a continual stream needs to be associated with a set of
frames so that navigation to a particular frame will
automatically play the sound associated with that frame.
Attributes
format | Optional informational attribute specifying the native format of the sound. Only 'Raw', 'MP3' and 'ADPCM' formats are supported below version 6. | |
Values | MP3 ADPCM Raw RawPS Nellymoser | |
Default Value | MP3 | |
resourceType | The type of file used to store the sound. An SWF file format is an SWF file in which the sound is already pre-processed and stored as SWF. Most commonly, this be be as a result of a previous SWF decompilation. Only MP3 sounds can be read from external file formats. If other sound formats are required to be streamed then they should be either converted to MP3 or imported into a Flash movie using another authoring tool and exported to a .SWF resource file. | |
Values | External SWF | |
Default Value | External | |
resourceLocation | Identifier for this resource within the repository. For the default 'File' repository this indicated the file name within the sounds subdirectory. | |
Type | String | |
Default Value | No default | |
movieClip | Optional attribute specifying the symbol name of a movie clip in whcih the sound streams. If no movieClip attribute is specified the sound will be streamed in the main timeline. | |
Type | String | |
movieStartTime | Time within the Movie or MovieClip element, milliseconds, at which to start this sound. | |
Type | Integer | |
Default Value | 0 | |
sourceStartTime | Optional attribute specifying the position within the sound at which to start. Position is specified in Milliseconds into the specified sound. | |
Type | Integer | |
Default Value | 0 | |
duration | Optional attribute specifying the duration, in milliseconds, of the sound. | |
Type | Integer | |
Default Value | The duration of the timeline or the duration of the sound, whichever is less. |
Child Elements
None
Parent Elements
SoundStreamsExamples
None
Previous Element | Next Element |