[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Swftools-common] Small pre loader for Xmas
From: |
Dominique DERRIER |
Subject: |
[Swftools-common] Small pre loader for Xmas |
Date: |
Fri, 25 Dec 2009 22:36:55 +0400 |
User-agent: |
Thunderbird 2.0.0.21 (Macintosh/20090302) |
Hello,
I've just made a small pre-loader for swfc.
Insert into your ScFile, before any heavy things (picture/sound/...)
.frame 1
.edittext log variable=*size* width=480 height=100 text="upload"
color=#FFFFFF
.put log
.frame 2
.frame 3
.action:
total=_root.getBytesTotal();
load=_root.getBytesLoaded();
*size*=Math.round(load*100/total)+" % uploaded";
if (ld!=to) _root.gotoAndPlay(2);
else _root.gotoAndPlay(4);
.end
.frame 4
.del log
....
Merry Christmas.
Dominique
- [Swftools-common] Small pre loader for Xmas,
Dominique DERRIER <=