-
Notifications
You must be signed in to change notification settings - Fork 45
Open
Description
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 .
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels