Packagecom.sonoport
Interfacepublic interface IBaseSoundCore

Functions and properties supported by all Sonoport sounds.



Public Properties
 PropertyDefined 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
Public Methods
 MethodDefined By
  
play():void
Start playing a sound.
IBaseSoundCore
  
stop():void
Stop the sound.
IBaseSoundCore
Property Detail
gainproperty
gain:Number

Gain. Range is [0, 1].


Implementation
    public function get gain():Number
    public function set gain(value:Number):void
panproperty 
pan:Number

Left-to-right position of the sound. Ranges from -1 (full pan left) to 1 (full pan right).


Implementation
    public function get pan():Number
    public function set pan(value:Number):void
versionproperty 
version:String  [read-only]

Information on the build version.


Implementation
    public function get version():String
watermarkedproperty 
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.


Implementation
    public function get watermarked():Boolean
Method Detail
play()method
public function play():void

Start playing a sound.

stop()method 
public function stop():void

Stop the sound.