title: Actionscript class extends and implement getter/setter property of same name but different type
body: <p>In ActionScript 3.0, I want to extends ClassA and implements InterfaceB. The problem comes when there is a 'data' property in both ClassA and Interface B, but of different type. I wrote,</p>
  
  <pre><code>public class MyClass extends ClassA implements InterfaceB {
      private var _data:Object;
  
      public function get data():Object {
          return _data;
      }
  
      public function set data(value:Object):void {
          _data = data;
      }
  }
  </code></pre>
  
  <p>Flex Builder won't compile this and asks me to override the getter/setter methods as they are defined in ClassA, but overriding the data property in ClassA is not what I want. And even if I add override to both the methods, compiler complains incompatible override because the data property in ClassA is of type String.</p>