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

End event not firing with audiosprite #307

Open
praine opened this issue Sep 16, 2018 · 2 comments
Open

End event not firing with audiosprite #307

praine opened this issue Sep 16, 2018 · 2 comments
Assignees

Comments

@praine
Copy link

praine commented Sep 16, 2018

                var instance=createjs.Sound.play("voice_start",{
                    startTime:startTime,
                    duration:duration
                });

                instance.on("end",function(){
                    // do something
                });

"end" event is not firing

@mymomscrazy
Copy link

mymomscrazy commented Sep 16, 2018 via email

@gSkinner-Blair
Copy link
Contributor

Hey there,

In SoundJS 1.0, the event is "complete", not "end". Change it to that, and it should work!

@gSkinner-Blair gSkinner-Blair self-assigned this Nov 28, 2018
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