| Package | com.sonoport |
| Interface | public interface IBaseSoundCore |
| Property | Defined By | ||
|---|---|---|---|
| gain : Number Gain. | IBaseSoundCore | ||
| pan : Number Left-to-right position of the sound. | IBaseSoundCore | ||
| version : String [read-only] Information on the build version. | IBaseSoundCore | ||
| watermarked : Boolean [read-only]
true if the 'watermark' (a dripping sound) will play when this sound is used in a SWF running on a server. | IBaseSoundCore | ||
| Method | Defined By | ||
|---|---|---|---|
play():void Start playing a sound. | IBaseSoundCore | ||
stop():void Stop the sound. | IBaseSoundCore | ||
| gain | property |
gain:NumberGain. Range is [0, 1].
public function get gain():Number public function set gain(value:Number):void| pan | property |
pan:NumberLeft-to-right position of the sound. Ranges from -1 (full pan left) to 1 (full pan right).
public function get pan():Number public function set pan(value:Number):void| version | property |
version:String [read-only] Information on the build version.
public function get version():String| watermarked | property |
watermarked:Boolean [read-only] true if the 'watermark' (a dripping sound) will play when this sound is used in a SWF running on a server. The watermark will never play when SWFs are run locally.
public function get watermarked():Boolean| play | () | method |
public function play():voidStart playing a sound.
| stop | () | method |
public function stop():voidStop the sound.