1 Reply Latest reply on Dec 17, 2010 7:27 AM by jasonjam

    where to put in preloader

    Riff88 Level 1



      I made a preloader for my flash website - i put it in the very first frame before my template and anything else.


      when i open my website the preloader goes up to 13% and then the rest of the website follows but not everything is loaded yet. Shouldn't the preloader finish first?


      I used the following code.


      onClipEvent (load) {
      total = _root.getBytesTotal();


      onClipEvent (enterFrame) {
      loaded = _root.getBytesLoaded();
      percent = int(loaded/total*100);
      perc2 = ""+percent+"%";


      thank you!