MACROMEDIA FLASH 8-FLASH LITE 2.X ACTIONSCRIPT LANGUAGE Reference page 597

Flash lite 2.x actionscript language reference
Hide thumbs Also See for FLASH 8-FLASH LITE 2.X ACTIONSCRIPT LANGUAGE:
Table of Contents

Advertisement

Method summary
Modifiers
Signature
attachSound(id:String) :
getBytesLoaded() :
getBytesTotal() :
getPan() :
getTransform() :
getVolume() :
loadSound(url:String,
isStreaming:Boolean) :
setPan(value:Number) :
setTransform(transformObject:Object)
:
Void
setVolume(value:Number) :
start([secondOffset:Number],
[loops:Number]) :
stop([linkageID:String]) :
Void
Number
Number
Number
Object
Number
Void
Void
Void
Void
Void
Description
Attaches the sound specified in the
id parameter to the specified
Sound object.
Returns the number of bytes loaded
(streamed) for the specified Sound
object.
Returns the size, in bytes, of the
specified Sound object.
Returns the pan level set in the last
setPan() call as an integer from -
100 (left) to +100 (right).
Returns the sound transform
information for the specified Sound
object set with the last
Sound.setTransform() call.
Returns the sound volume level as
an integer from 0 to 100, where 0 is
off and 100 is full volume.
Loads an MP3 file into a Sound
object.
Determines how the sound is played
in the left and right channels
(speakers).
Sets the sound transform (or
balance) information, for a Sound
object.
Sets the volume for the Sound
object.
Starts playing the last attached
sound from the beginning if no
parameter is specified, or starting at
the point in the sound specified by
the secondOffset parameter.
Stops all sounds currently playing if
no parameter is specified, or just the
sound specified in the idName
parameter.
Sound
597

Advertisement

Table of Contents
loading

Table of Contents