# Sound ActionScript Class

This class implements an Sound object.

## The Methods of the Class

attachSound()

  Attach the specified sound.

getBytesLoaded()

  Returns how many bytes of the sound have been loaded.

getBytesTotal()

  Returns the total size of the sound.

getPan()

  Returns the value of the previous call to setPan().

getTransform()

  Returns the value of the previous call to setTransform().

getVolume()

  Returns the value of the previous call to setVolumne().

loadSound()

  Load an MP3 file.

setPan()

  Change the balance.

setTransform()

  Set the channel amounts for each speaker.

setVolume()

  Set the volume for playing.

start()

  Play the loaded sound.

stop()

  Stop playing the sound.

## The Properties of the Sound Class

duration

  The length in milliseconds of the sound.

id3

  Returns the ID3 tag of an MP3 file.

position

  Returns the amount of time the sound has been playing.

## Event Handlers of the Sound Class

onID3

  Called when ID3 data is available.

onLoad

  Called when a sound is loaded.

onSoundComplete

  Called when a sound is done playing.

## Sound Class Conformance

Class Name | Conformance
--- | ---
attachSound() | This method is implemented.
getBytesLoaded() | This method has an unknown status.
getBytesTotal() | This method has an unknown status.
getPan() | This method is unimplemented.
getTransform() | This method has an unknown status.
getVolume() | This method is unimplemented.
loadSound() | This method is unimplemented.
setPan() | This method is unimplemented.
setTransform() | This method is unimplemented.
setVolume() | This method is unimplemented.
start() | This method is implemented.
stop() | This method is implemented.
duration | This property has an unknown status.
id3 | This property is unimplemented.
onID3 | This event handler is unimplemented.
onLoad | This event handler is unimplemented.
onSoundComplete | This event handler is unimplemented.
position | This property is implemented.