0 Replies Latest reply on Sep 27, 2006 3:50 AM by bluczek

    video embedded flash6 vs. flash8

    bluczek
      hi, i have problems preloading a movie which contains a video embedded.

      i used to have flash 6 when i originally created this movie (containg video). the preloader worked fine.
      here is the example

      than i updated to flash 8 and the same movie does not work.
      here is the example

      i import the the video to be a part of the movie (embedded), it forced me to set up the codecs for flash 8 and my old preloader does not work at all.

      this is the preloader code


      onClipEvent (load) {
      BL = 0;
      BT = _root.getBytesTotal();
      }
      onClipEvent (enterFrame) {
      if (BL<BT) {
      BL = _root.getBytesLoaded();
      PL = Math.round(100*BL/BT);
      _root.pre.BL_T = BT;
      _root.pre.BL_L = BL;
      _root.pre.BL_P = PL;
      if (BL<BT) {
      _root.Pre.LB.LoadedBar._xscale = PL;
      } else {
      _root.Pre.LB.LoadedBar._xscale = 100;
      _root.Pre.gotoAndPlay(2);
      }
      }
      }

      can anyone help me to fix this preloader or find one which works fine with video embedded files in the movie while using flash 8?

      thank you for any help