Quantcast
Viewing all articles
Browse latest Browse all 40524

Clone ofSoundPlayer object

that works but you only have 1 object but 3 references to it, if you want to load 1 sound but play it several times simultaneously you have to use multiplay instead:

soundPlayer1.loadSound(audioFolder + "/" + dmtr.parametrosString["AUDIOSREICH"]);
soundPlayer1.setMultiplay(true);

then when you call play instead of stopping the last sound before starting a new one it'll just start a new instance of the sound but will keep playing the previous one too


Viewing all articles
Browse latest Browse all 40524

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>