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




Reply via email to