15 Replies Latest reply on Apr 20, 2006 10:15 PM by kglad

    Can someone help with my loading question please?


      I have a flash file with 3 scenes that play one after the other, in scene 1 i want to put a loader so that everything loads and then all scenes play. I placed this in scene 1:

      onClipEvent (enterFrame) {
      var total = Math.floor(_root.getBytesTotal()/1024);
      var loaded = Math.floor(_root.getBytesLoaded()/1024);
      _root.k_txt.text = loaded+"KB /"+total+" KB";
      var per = Math.floor(loaded/total*100);
      _root.p_txt.text = per+"%";
      if (root.getBytesLoaded() == root.getBytesTotal()) {

      but it doesnt work :S ... how do i do it right? Right now when i play my .swf there's this blank white screen that stays on for a couple seconds before the actualy swf starts playing

      thanks a lot.