Tweener Documentation
This class creates special properties used when controlling sound.
First, import then initialize the class.
import caurina.transitions.properties.SoundShortcuts; SoundShortcuts.init();
Then, you can use any of the special properties listed below on a normal tweening. See the introduction to special properties for more information.
Property name (AS2/AS3) | Description | Target type | Type | Usual values | Related reference |
---|---|---|---|---|---|
_sound_volume | The volume of a given sound reference. | AS2: Sound AS3: SoundChannel |
Number | AS2: 0 (mute) to 100 (full volume) AS3: 0 (mute) to 1 (full volume) |
AS2: Sound.setVolume, Sound.getVolume AS3: SoundTransform.volume |
_sound_pan | The sound panning (the balance of sound volume between the left and right speaker) of a given sound reference. | AS2: Sound AS3: SoundChannel |
Number | AS2: -100 (left speaker only) to 0 (both speakers) to 100 (right speaker only) AS3: -1 (left speaker only) to 0 (both speakers) to 1 (right speaker only) |
AS2: Sound.setPan, sound.getPan AS3: SoundTransform.pan |