title: AS3 Inheritance
body: <p>When 'SubClass' extends 'SuperClass', when it inherit its methods and properties, it creates methods and properties that distinguishes from the 'SuperClass'?</p>
  
  <p>Or if I create an instance of 'SubClass' and I try to modify a property, that was inherited from 'SuperClass', am I modificating the super class property also?</p>
  
  <p>Thanks.</p>
  
  <p><strong>EDIT</strong>  </p>
  
  <pre><code>package {
  
      public class SubClass extends SuperClass {
  
          public function SubClass() {
              trace('superclass value n='+superClass.n+'\n');
              trace('subclass changes inherited n'+'\n');
              n = 3;
              trace('subclass value n='+n+'\n');
              trace('superclass value n='+superClass.n+'\n');
          } 
      } 
  } 
  </code></pre>
  
  <p>Returns me: </p>
  
  <pre><code>superclass value n=-1;
  subclass changes inherited n;
  subclass value n=3;
  superclass value n=3;
  </code></pre>