0 Replies Latest reply on Sep 22, 2006 9:00 PM by Sherro

    Video wont load

    Sherro Level 1
      Could some one please point me in the right direction
      When I import a video to the stage and press control + enter, the video works
      I add my preloader and things go wrong, it wont play when I upload but will play in simulate download

      I have loader (scene 1)
      and main (scene 2)

      actionscript below
      I have export classes set for frame 2


      myinterval = setInterval (getPercent,10);

      function getPercent () {
      var currentBytes = _root.getBytesLoaded();
      var totalBytes = _root.getBytesTotal();
      var pctLoaded = Math.round (currentBytes/totalBytes * 100);
      loaderBar_mc._xscale = pctLoaded;
      loader_txt.text = pctLoaded;

      if (pctLoaded >= 100){
      gotoAndStop ("main",1);
      clearInterval (myInterval);

      On the loader