5 Replies Latest reply on Oct 5, 2010 10:04 AM by kglad

    Empty mc not playing external mp4

    a_bosiger

      Before the mp4 plays I have a preloader set up in Frame 1

      to preload the movie and play in Frame 3.

       

      myLoaded = Math.round(getBytesLoaded());
          myTotal = Math.round(getBytesTotal());
          myPercent = myLoaded/myTotal;
      if (myLoaded == myTotal) {
          gotoAndStop(3);
      } else {
          gotoAndPlay(1);
      }

       

       

      I have an empty mc clip that uses this code to call in an external mp4 HD video (Frame 3):

       

      var loader:MovieClipLoader = new MovieClipLoader();
      this.createEmptyMovieClip("emptyMC",1);
      loader.loadClip("Yeah we’re different.mp4",emptyMC);

       

      When tested with the mp4 neither one of these elements work.

       

      Can I use this method to play the mp4 video or do I need to convert to another format?