title: AS3 - Abstract Classes
body: <p>How can I make an abstract class in AS3 nicely?</p>
  
  <p>I've tried this:</p>
  
  <pre><code>public class AnAbstractClass
  {
      public function toBeImplemented():void
      {
          throw new NotImplementedError(); // I've created this error
      }
  }
  
  public class AnConcreteClass extends AnAbstractClass
  {
      override public function toBeImplemented():void
      {
          // implementation...
      }
  }
  </code></pre>
  
  <p>But.. I don't like this way. And doesn't have compile time errors.</p>