title: AS3 Getter and companion setter in different namespaces
body: <p>I'm trying to create a property that can be <code>set</code> by extending classed and <code>read</code> publicly.</p>
  
  <p>I couldn't think of a good naming convention for a <code>protected</code> property with a <code>public</code> getter, so I tried to do this:</p>
  
  <pre><code>public function get name():String{ return _name; }
  protected function set name(string:String):void
  {
      _name = string;
  }
  </code></pre>
  
  <p>However I get the error (when trying to <code>set</code> <code>name</code> in an extending class):</p>
  
  <blockquote>
    <p>1178: Attempted access of inaccessible property name through a
    reference with static type testing:TestComponent.<br /><br />
    1059: Property is read-only.</p>
  </blockquote>
  
  <p>If I change the setter to <code>public</code>, it works fine.</p>