Audio Management in Actionscript
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
examples/net/singuerinc/media/audio
libs
src/net/singuerinc/media/audio
tests
.gitignore
README.textile
TODO.txt

README.textile

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