title: StackTrace in Flash / ActionScript 3.0
body: <p>I want to see the stack trace in any function of my code, so i made somthing like this to call it and print the stack trace:</p>
  
  <pre><code>public function PrintStackTrace() {
      try {
          throw new Error('StackTrace');
      } catch (e:Error) {
          trace(e.getStackTrace());
      }
  }
  </code></pre>
  
  <p>I like to know if there are other way to do this. In some place, the Error class creates the stack trace, but maybe it didn't do it with ActionScript 3.0 so maybe it's not posible, but i want to know.</p>
  
  <p>Thanks!</p>