鼠标点第一帧,然后按键盘上的F9,加上以下代码:byteloaded = this.getBytesLoaded();
bytetotal = this.getBytesTotal();
loaded = int(byteloaded / bytetotal * 100);
percent = loaded + "% ( " + int(byteloaded / 1024) + " K / " + int(bytetotal / 1024) + " K )";
this.loadline._xscale = loaded * 5;
if (int(loaded / 10) > int(loaded / 10 - 0.500000))
{
mca = int(loaded / 10 - 0.500000);
}
else
{
mca = int(loaded / 10);
} // end if
然后接着点第二帧,写下以下代码:if (loaded > 99)
{
gotoAndPlay(5);
}
else
{
gotoAndPlay(1);
} // end if
然后鼠标点在第5帧处,按F6,加上:stop(); 停止。 有不明白的请与我联系。!
他不是跟你说了 你照着加代码不就行了
人家说得这么清楚了还要问?晕倒!