Class caurina.transitions.properties.SoundShortcuts

Method Index

new SoundShortcuts()
_sound_pan_get(), _sound_pan_set(), _sound_volume_get(), _sound_volume_set(), init()

Constructor Detail

SoundShortcuts

public function SoundShortcuts()

There's no constructor.

Method Detail

init

static public function init():Void

Registers all the special properties to the Tweener class, so the Tweener knows what to do with them.

_sound_volume_get

static public function _sound_volume_get(p_obj:Object):Number

Returns the current sound volume

Parameters

p_objObject Sound object

Return

Number The current volume

_sound_volume_set

static public function _sound_volume_set(p_obj:Object, p_value:Number):Void

Sets the sound volume

Parameters

p_objObject Sound object
p_valueNumber New volume

_sound_pan_get

static public function _sound_pan_get(p_obj:Object):Number

Returns the current sound pan

Parameters

p_objObject Sound object

Return

Number The current pan

_sound_pan_set

static public function _sound_pan_set(p_obj:Object, p_value:Number):Void

Sets the sound volume

Parameters

p_objObject Sound object
p_valueNumber New pan