title: Flash/Actionscript preloader and button onRelease problem
body: <p>using this as my actionscript for preloader:</p>
  
  <pre><code>if(_root.getBytesLoaded() != _root.getTotalBytes()) {
      gotoAndPlay(1);
  }
  </code></pre>
  
  <p>getting error:</p>
  
  <pre><code>Scene 1, Layer 'Actions', Frame 2, Line 1   1120: Access of undefined property _root.
  </code></pre>
  
  <p>this is my buttons actionscript:</p>
  
  <pre><code>    stop();
  home_btn.onRelease = function () {
      gotoAndStop(3);
  }
  page1_btn.onRelease = function (){
      gotoAndStop(4);
  }
  page2_btn.onRelease = function (){
      gotoAndStop(5);
  }
  </code></pre>
  
  <p>and error :</p>
  
  <pre><code>Scene 1, Layer 'Actions', Frame 3, Line 2   1119: Access of possibly undefined property onRelease through a reference with static type fl.controls:Button.
  </code></pre>
  
  <p>id like to get my website working. can you help me guys?
  what im i doin wrong? id like to use the latest actionscript.</p>