本文共 260 字,大约阅读时间需要 1 分钟。
START在库中找到你要用的声音,单击右键找到链接单击左键打开,勾选为ActionScript导出和在第一帧导出,设置识标符为music,确定退出. 再在第一帧加入下面代码: mySound = new Sound(); mySound.attachSound("music"); mySound.start(0,100); 这里做下说名: mySound.start(0,100); 中第一个0是秒偏移量,就是从0秒开使播放的意思 第二个100是播放100遍的意思.STOPmySound.stop("music");
转载地址:http://wogxi.baihongyu.com/