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, ranging from -1 (full pan left) to 1 (full pan right).
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, ranging from -1 (full pan left) to 1 (full pan right).


Implementation
    public function get pan():Number
    public function set pan(value:Number):void
Method Detail
play()method
public function play():void

Start playing a sound.

stop()method 
public function stop():void

Stop the sound.