import fl.events.SliderEvent;
import flash.media.Sound;
import flash.media.SoundChannel;
import flash.media.SoundTransform;
import flash.events.MouseEvent;
import flash.net.URLRequest;
var snd:Sound;
var channel:SoundChannel;
song1.addEventListener(MouseEvent.CLICK,chooseSong);
function chooseSong(e:MouseEvent):void
{
snd=new Sound();
snd.load(new URLRequest("../MP3s/TapTouch.mp3"));
channel=new SoundChannel;
channel=snd.play();
}
flash最简单的音乐控制片段