2
<title>Sound ActionScript Class</title>
5
This class implements an Sound object.
8
<sect5 id="soundmethods">
9
<title>The Methods of the Class</title>
14
<term>attachSound()</term>
17
Attach the specified sound.
23
<term>getBytesLoaded()</term>
26
Returns how many bytes of the sound have been loaded.
32
<term>getBytesTotal()</term>
35
Returns the total size of the sound.
44
Returns the value of the previous call to setPan().
50
<term>getTransform()</term>
53
Returns the value of the previous call to setTransform().
59
<term>getVolume()</term>
62
Returns the value of the previous call to setVolumne().
68
<term>loadSound()</term>
86
<term>setTransform()</term>
89
Set the channel amounts for each speaker.
95
<term>setVolume()</term>
98
Set the volume for playing.
107
Play the loaded sound.
116
Stop playing the sound.
124
<sect5 id="soundprops">
125
<title>The Properties of the Sound Class</title>
131
<term>duration</term>
134
The length in milliseconds of the sound.
143
Returns the ID3 tag of an MP3 file.
149
<term>position</term>
152
Returns the amount of time the sound has been playing.
161
<sect5 id="soundevents">
162
<title>Event Handlers of the Sound Class</title>
171
Called when ID3 data is available.
180
Called when a sound is loaded.
186
<term>onSoundComplete</term>
189
Called when a sound is done playing.
198
<sect5 id="soundconf">
199
<title>Sound Class Conformance</title>
202
<informaltable frame="all">
203
<?dbhtml table-width="75%" ?>
208
<para>Class Name</para>
211
<para>Conformance</para>
217
<entry valign="top" align="left">
218
<para>attachSound()</para>
220
<entry valign="top" align="center">
222
This method is implemented.
227
<entry valign="top" align="left">
228
<para>getBytesLoaded()</para>
230
<entry valign="top" align="center">
232
This method has an unknown status.
237
<entry valign="top" align="left">
238
<para>getBytesTotal()</para>
240
<entry valign="top" align="center">
242
This method has an unknown status.
247
<entry valign="top" align="left">
248
<para>getPan()</para>
250
<entry valign="top" align="center">
252
This method is unimplemented.
257
<entry valign="top" align="left">
258
<para>getTransform()</para>
260
<entry valign="top" align="center">
262
This method has an unknown status.
267
<entry valign="top" align="left">
268
<para>getVolume()</para>
270
<entry valign="top" align="center">
272
This method is unimplemented.
277
<entry valign="top" align="left">
278
<para>loadSound()</para>
280
<entry valign="top" align="center">
282
This method is unimplemented.
287
<entry valign="top" align="left">
288
<para>setPan()</para>
290
<entry valign="top" align="center">
292
This method is unimplemented.
297
<entry valign="top" align="left">
298
<para>setTransform()</para>
300
<entry valign="top" align="center">
302
This method is unimplemented.
307
<entry valign="top" align="left">
308
<para>setVolume()</para>
310
<entry valign="top" align="center">
312
This method is unimplemented.
317
<entry valign="top" align="left">
320
<entry valign="top" align="center">
322
This method is implemented.
327
<entry valign="top" align="left">
330
<entry valign="top" align="center">
332
This method is implemented.
337
<entry valign="top" align="left">
338
<para>duration</para>
340
<entry valign="top" align="center">
342
This property has an unknown status.
347
<entry valign="top" align="left">
350
<entry valign="top" align="center">
352
This property is unimplemented.
357
<entry valign="top" align="left">
360
<entry valign="top" align="center">
362
This event handler is unimplemented.
367
<entry valign="top" align="left">
370
<entry valign="top" align="center">
372
This event handler is unimplemented.
377
<entry valign="top" align="left">
378
<para>onSoundComplete</para>
380
<entry valign="top" align="center">
382
This event handler is unimplemented.
387
<entry valign="top" align="left">
388
<para>position</para>
390
<entry valign="top" align="center">
392
This property is implemented.