you can download the class here:
http://evolve.reintroducing.com/2008/07/15/news/as3-soundmanager/
In your flash file you can set a linkage to the sound in your library:
To use the soundmanager simply use these lines:
//load the sound from library
SoundManager.getInstance().addLibrarySound(nl.Amercom.Sounds.MenuItem, "MenuItem");
//play the sound on a rollover or somewhere else
SoundManager.getInstance().playSound("MenuItem");
No comments:
Post a Comment