/ Published in: ActionScript 3
This can be used for equations, volume, movement etc
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
// clipping values for volume function set volume( value:Number ):void { _soundTransform.volume = Math.min(Math.max(value, 0), 1); }