Skip to content

lvshiling/as3-audio

 
 

Repository files navigation

as3-audio

Audio Management for AS3 built on as3-signals.

Overview

Audio provides an easy way to work with sounds on Actionscript 3.

Syntax


var audio:IAudio = new Audio('id', 'path/to/sound.mp3');
audio.volume = .5;
audio.completed.add(onSoundComplete);
audio.play();

var audio:IAudioX = new AudioX('id', SoundClass);
audio.play();
audio.fade(1000, 1, 0); //time, to, from (optional)

Some Features

  • Unit tested.
  • Can be configured via XML.
  • No Events, as3-signals.
  • Interfaces.
  • Works with Robotlegs: http://www.robotlegs.org

About

Audio Management in Actionscript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published