求一段FLASH中的代码

来源:百度知道 编辑:UC知道 时间:2024/05/31 08:57:43
影片停止在第25祯
等到影片播放时间为5000毫秒时再播放
你说的不行

在第一帧加上动作
gotoAndStop(25);
function replay()
{
_root.play();
}

setTimeout(replay,5000);

在第一帧加上动作
var Time = 0;
gotoAndStop(25);
在某个影片剪辑上(自定)加上动作
onClipEvent(enterFrame){
_root.Time = getTimer();
if(_root.Time>=5000){
_root.play();//若你想FLASH的主场景播放则加上_root不是的话,你就写好路
//径即可
}
}