Preloader issue

I am using the following script to preload my swf. The problem is that my pause/play button in the swf is not working. What am I doing wrong.


this.reelmc._visible = false;
this.loadbar._visible = false;
percent_display = "";
//create a new movieclip to load
//the external movie into
this.createEmptyMovieClip("container",10);
//load the external movie into the new movieclip
container.loadMovie("bank_flash5_web.swf");
//check the download status of the external
//movie once every frame
this.onEnterFrame=function(){
    //trace the percentage of the movie that has loaded
    //trace(percent);
 percent=(this.container.getBytesLoaded()/this.container.getBytesTotal())*100;
 if(!isNaN(percent)){
  if (percent == 0) {
   percent_display = "";
  } else {
   trace(percent);
   percent_display = Math.ceil(percent) + "% LOADED.";
  }
  this.loadbar._visible = true;
  this.loadbar._xscale = percent;
  if (percent > 1) {
   this.reelmc._visible = true;
  }
  container.stop();
    }
    if(percent == 100){
  delete this.onEnterFrame;
  this.reelmc._visible = false;
  percent_display = "";
  this.loadbar._visible = false;
  loadMovieNum("bank_flash5_web.swf", 0);
 }
};
stop();