|
From: | Dominique DERRIER |
Subject: | Re: [Swftools-common] Small pre loader for Xmas |
Date: | Sat, 26 Dec 2009 11:25:26 +0400 |
User-agent: | Thunderbird 2.0.0.21 (Macintosh/20090302) |
you should use size instead of *size* .... there is a little bug this bold and plain/text email. Dominique DERRIER a écrit :
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
[Prev in Thread] | Current Thread | [Next in Thread] |