Skip to content

SoundInstance.fadeTo Bug #20

@flashawy

Description

@flashawy

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 .

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions