Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sound loading example #19

Open
timohausmann opened this issue Mar 4, 2013 · 2 comments
Open

sound loading example #19

timohausmann opened this issue Mar 4, 2013 · 2 comments

Comments

@timohausmann
Copy link

Hey there. First of all, awesome library, helps alot.
Thought I let you know: I had an issue with your audio loading example on http://thinkpixellab.com/pxloader/.

It happened to me that addSound() occurs before the soundManager is ready for usage, resulting in an error.

I solved it by calling the loadSound()s and loader.start(); within the soundManager.onready-function.
addImage() can be done before soundManagers' onready though.

@JamesMcFall
Copy link

Thanks for documenting this. I've had the same issue.

@jamesxwang
Copy link

Thanks, helped a lot! 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants