home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 112
/
jogo-disk-112.iso
/
Games
/
mon_the_monkey.swf
/
scripts
/
frame_1
/
DoAction.as
Wrap
Text File
|
2010-07-14
|
394b
|
17 lines
stop();
this.onEnterFrame = function()
{
sedang = _root.getBytesLoaded();
total = _root.getBytesTotal();
xpersen = Math.floor(sedang / total * 100);
persen = xpersen + " %";
wpersen = Math.floor(xpersen);
bar_mc.gotoAndStop(Math.floor(xpersen / 10));
if(sedang == total)
{
gotoAndStop("menu");
play();
delete this.onEnterFrame;
}
};