title: Why I can't display the variable on the textbox? AS3
body: <p>I have textbox with instance_name <code>power</code>.</p>
  
  <p>And I have variable called <code>laserpower</code> as <code>int = 100</code>.</p>
  
  <p>I wanted to display the <code>laserpower</code> on <code>power</code> textbox.</p>
  
  <p>I have used this, but it doesn't work.</p>
  
  
  
  <pre><code>var laserpower:int = 100;
  
  .....
  
  function onFrame(e:Event): void {
      power.text = String(laserpower);
  
  ....
  }
  </code></pre>
  
  <p>is there another way that I can make it?</p>