开发者

More than 3 sounds playing at once in flex 4

开发者 https://www.devze.com 2023-02-19 15:38 出处:网络
I have noticed that while trying to play sounds in Flex 4 some weird things happen.Playing 1 sound (say a button click) on top of another (say background music) seems fine but when I add a third sound

I have noticed that while trying to play sounds in Flex 4 some weird things happen. Playing 1 sound (say a button click) on top of another (say background music) seems fine but when I add a third sound everything just cuts out. Is there some sort of explanation as to why this would happen and if so how to fix th开发者_如何学编程is problem.

Thanks.


It's definitely a matter of dividing your sounds into SoundChannel objects and managing them that way.

0

精彩评论

暂无评论...
验证码 换一张
取 消