Alexius Posted June 16, 2010 Share Posted June 16, 2010 Hey! Just started looking at LoaderMax and it looks great! How can I best control sounds, that have been qeued with mp3loader in loadeMax? Is there a good example for this? I want to easily dispose the sound as soon as they have been played, for example a clicksound. Thanx! Again, it looks terrific! Link to comment Share on other sites More sharing options...
GreenSock Posted June 16, 2010 Share Posted June 16, 2010 I'll be working on examples soon, but I'm completely sleep-deprived and working against some other project deadlines so unfortunately I can't whip one together for you. The MP3Loader's "content" property refers to the Sound object that was used to load it in the first place, so you can access that to play() it and make sure you keep track of the SoundChannel that Sound.play() spits back so that you can stop() it when you want. Then unload() or dispose(true) the loader to get rid of its references to the Sound object. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now