Quantcast
Viewing all articles
Browse latest Browse all 9897

Buzz.js: how to make sound play from nested symbols?

Hi,

 

I loaded buzz.js and it is playing fine with this code:

 

var mySound = new buzz.sound("soundfolder/myAudio", { formats: [ "ogg", "mp3" ] });

mySound.play();

 

Now, if "var mySound = new buzz.sound" is in Stage.creationComplete, how do I play this sound from a nested symbol? Can someone give me a code example? Thank you


Viewing all articles
Browse latest Browse all 9897

Trending Articles



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