sound.destruct doesn't stop a sound playing when using flash 9
When using Sound Manager with flash 9, calling sound.destruct() doesn't stop the sound playing.
Test case to recreate:
With flash 9 the sound keeps playing. The sound should be stopped.
With flash 8 the sound is correctly stopped.
Test case to recreate:
var s = soundManager.createSound({id:'a', url:'/static/js-unit-tests/data/track.mp3'});
s.play();
s.destruct();
With flash 9 the sound keeps playing. The sound should be stopped.
With flash 8 the sound is correctly stopped.
1
person has this problem
I have this problem, too!
Tell me when someone solves it.
The more people who report this problem, the more it gets noticed.
The more people who report this problem, the more it gets noticed.
The company marked this problem solved.
Create a customer community for your own organization
Plans starting at $19/month
-
Inappropriate?You sir, are on a roll. Good stuff! I should have caught this one. :D The Flash 9 stuff is relatively new to SM2 and hasn't been poked and prodded by users as much as the Flash 8 base.
I have a few apps and tests which use many API methods, but it's very difficult to test all of the permutations. I'll investigate this one. It may just be that stop() and/or unload() needs to be explicitly called on the flash 9 object before its destruction.
I’m d'oh!
-
The company says
this solves the problem
Loading Profile...



EMPLOYEE