title: Trouble getting this preloader working (NO LOAD BAR)
body: <p>So I'm attempting to have a basic preloader for my flash file with a movieclip that has text that changes depending on what % of the file has loaded. And by text, I mean it's telling a short story of sorts as the main part of the file loads. Not just a numerical representation of the % loaded.</p>
  
  <p>I've searched and searched and searched, but everything I've found only uses the progress bar which I don't want!</p>
  
  <p>My flash file is three frames, the first has:</p>
  
  <pre><code>var amountLoaded:Number = Math.round(this.getBytesLoaded()/this.getBytesTotal() * 100);
  
  preloadText.gotoAndStop(Math.ceil(amountLoaded));
  </code></pre>
  
  <p>The second frame is:</p>
  
  <pre><code>if(_root.getBytesLoaded() == _root.getBytesTotal()) {
  gotoAndPlay(3);
  }
  else {
  gotoAndPlay(1);
  }
  </code></pre>
  
  <p>And the third is the actual meat and potatoes of the file, which works.</p>
  
  <p>The problem is, I get these compiler errors</p>
  
  <pre><code>Scene 1, Layer 'actions', Frame 2, Line 1 1180: Call to a possibly undefined method getBytesLoaded.
  Scene 1, Layer 'actions', Frame 2, Line 1 1180: Call to a possibly undefined method getBytesTotal.
  </code></pre>
  
  <p>This is driving me batty!</p>