var bgSound:Sound = new Sound();
bgSsound.loadSound("music.mp3", true);
this.play_mc.onRelease = function() {
var numSecondsOffset:Number = (bgSound.position/1000);
bgSound.start(numSecondsOffset);
};
this.stop_mc.onRelease = function() {
stopAllSounds();
};
No comments:
Post a Comment