//加载声音
var sound:Sound=new Sound();
sound.load(new URLRequest("1.mp3")):
//声明声道
var soundChanne:SoundChannel=sound.play(); //修改音量为一半
var soundTF:SoundTransform=new SoundTransform();
soundTF.volume=0.5
soundChannel.soundTransform=soundTF
//加载声音
var sound:Sound=new Sound();
sound.load(new URLRequest("1.mp3")):
//声明声道
var soundChanne:SoundChannel=sound.play(); //修改音量为一半
var soundTF:SoundTransform=new SoundTransform();
soundTF.volume=0.5
soundChannel.soundTransform=soundTF