Flash3.0 用按钮控制声音,声音是库里的 请问怎么写代码

2025-03-09 07:53:43
推荐回答(1个)
回答1:

设置声音的AS链接为a。控制播放的帧代码如下:
var aSound:Sound = new a() as Sound;
aSound.play();