bg_sound = new Sound();
bg_sound.loadSound("http://video.bbs.club.sohu.com/upload/forum_video/65/65234.mp3");
stop_now._visible = 0;
begin = 0;
play._status = false;
play_now.onPress = function() {
if (!play_status) {
bg_sound.start(begin,1);
play_status = true;
play_now._visible = 0;
stop_now._visible = 1;
}
};
stop_now.onPress = function() {
begin = 0;
bg_sound.stop();
play_status = false;
play_now._visible = 1;
stop_now._visible = 0;
};
bg_sound.onSoundComplete = function() {
play_status = false;
bg_sound.start(begin,1);
};