-
Notifications
You must be signed in to change notification settings - Fork 4
this is an upgrated version of the Sound Manager Class from Matt Przybylski. See http://evolve.reintroducing.com/2011/01/06/as3/as3-soundmanager-v1-4/
GrupoW/as3-Sound-Manager
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Works with the latest version of TweenLite. Useage 1: instead of using: import com.reintroducing.sound.SoundManager; import flash.utils.getDefinitionByName; var manageSound:SoundManager=SoundManager.getInstance(); manageSound.addLibrarySound(getDefinitionByName("loop"), "loop"); manageSound.playSound("loop", 1, 0, 999); just do this: import com.reintroducing.sound.SoundManager; var manageSound:SoundManager=SoundManager.getInstance(); manageSound.addSound("loop"); manageSound.playSound("loop", 1, 0, 999); addMultiplesSounds functionality package { public class Sounds { static public const LOOP_SOUND = "LoopSound"; static public const CLICK_SOUND01 = "ClickSound01"; static public const CLICK_SOUND02 = "ClickSound02"; } } import com.reintroducing.sound.SoundManager; var manageSound:SoundManager=SoundManager.getInstance(); manageSound.addMultiplesSounds([Sounds.LOOP_SOUND, Sounds.CLICK_SOUND01, Sounds.CLICK_SOUND02]); manageSound.playSound(Sounds.LOOP_SOUND, 1, 0, 999); manageSound.playSound(Sounds.CLICK_SOUND01);
About
this is an upgrated version of the Sound Manager Class from Matt Przybylski. See http://evolve.reintroducing.com/2011/01/06/as3/as3-soundmanager-v1-4/
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published