Skip to content

abhikandoi2000/sm2-bug

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sm2-bug

sample for fixing soundManager v2 onposition event being triggered multiple times

fix

Credits: soundManager2 documentation

URL: http://www.schillmania.com/projects/soundmanager2/doc/

The onposition event is triggered every time a sound reaches or passes a certain position while playing.

The main problem occurs when a sound is not unloaded, in which case the event is triggered the same number of times as the number of instances of the sound created.

Unloading the sound after it is finished playing solves the problem.

status

fixed

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%