暴风影音不能,用FLASH解决
//先让影片定格
movie.stop();
//暂停按钮
pause.onRelease = function() {
movie.stop();
//储存播放模式
play_status = "stop";
};
//顺播按钮
play_forward.onRelease = function() {
movie.play();
//储存播放模式
play_status = "forward";
};
//逆播按钮
play_back.onRelease = function() {
//储存播放模式
play_status = "back";
};
//实现逆播
this.onEnterFrame = function() {
if (play_status == "back") {
if (movie._currentframe == 1) {
//影片如果在第一帧就跳到最后一帧,实现循环
movie.gotoAndStop(movie._totalframes);
} else {
movie.prevFrame();
}
}
};