Stopping some sounds from dynamic classes, and exlude some others.

Posted by Hwang on Stack Overflow See other posts from Stack Overflow or by Hwang
Published on 2010-04-14T09:32:40Z Indexed on 2010/04/14 16:13 UTC
Read the original article Hit count: 239

Filed under:
|

The sound I wanted to stop or play are separates into background music and button sound effect. I know you could use SoundMixer.stopAll() to stop all sound, and some how exclude the bg music, IF everything is written in the same class. But what if the sounds are called from others dynamic classes? How could I target them and exclude the bg Music?

© Stack Overflow or respective owner

Related posts about actionscript-3

Related posts about sound