Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/singuerinc/as3-audio

Audio Management in Actionscript
https://github.com/singuerinc/as3-audio

Last synced: 3 months ago
JSON representation

Audio Management in Actionscript

Awesome Lists containing this project

README

        

h2. as3-audio

Audio Management for AS3 built on as3-signals.

h3. Overview

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

h3. 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)

h3. Some Features

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