Quantcast
Channel: Adobe Community : All Content - Edge Animate
Viewing all articles
Browse latest Browse all 9897

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

$
0
0

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