各位能不能提供一个详细的flash进度条的制作过程啊!!!最好是比较有创意的进度条……速度速度 啊!!
1个回答
展开全部
stop();
this.onEnterFrame = function() {
var percent = Math.round((_root.getBytesLoaded()/_root.getBytesTotal())*100);
percenty = percent+" %";
tiao._width = percent/100*300;
Load.text = percenty;
if (percent == 100) {
delete percent;
delete this.onEnterFrame;
play();
}
};
名为tiao进度条样式的影片剪辑,300是进度条宽度,Load是动态文本名。play()为载入完毕后播放第二帧。
this.onEnterFrame = function() {
var percent = Math.round((_root.getBytesLoaded()/_root.getBytesTotal())*100);
percenty = percent+" %";
tiao._width = percent/100*300;
Load.text = percenty;
if (percent == 100) {
delete percent;
delete this.onEnterFrame;
play();
}
};
名为tiao进度条样式的影片剪辑,300是进度条宽度,Load是动态文本名。play()为载入完毕后播放第二帧。
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询