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

SoundInstance.fadeTo Bug #20

Open
flashawy opened this issue May 4, 2014 · 1 comment
Open

SoundInstance.fadeTo Bug #20

flashawy opened this issue May 4, 2014 · 1 comment

Comments

@flashawy
Copy link

flashawy commented May 4, 2014

Assume you have 2 instances of the same sound

var si_1:SoundInstance = SoundAS.getSound("somesfx",true);
var si_2:SoundInstance = SoundAS.getSound("somesfx",true);

now if both sounds are playing and you wanted to fade out one of them the SoundInstance.fadeTo method doesn't actually fade that instance .. it calls the SoundManager.addTween with the "type" of sound .. many instances are playing having the same type! .. in this case the addTween method call the getSound() method that throws a stack overflow error .

@treefortress
Copy link
Owner

Thanks for the report! I'll try and find some time to dig into this soon.

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

2 participants