title: 1120 Access of undefined property Ibar & Ipc
body: <pre><code>stop();
  
  
  import flash.display.*;
  
  this.stop();
  
  
  this.loaderInfo.addEventListener(ProgressEvent.PROGRESS, PL_LOADING);
  
  function PL_LOADING(event: ProgressEvent): void {
      var pcent: Number = event.bytesLoaded / event.bytesTotal * 100;
  
      lbar.scaleX = pcent / 100;
  
      lpc.text = int(pcent) + "%";
  
      if (pcent == 100) {
          this.gotoAndStop(2);
  
      }
  }
  </code></pre>