title: Issues with mx:method, mx.rpc.remoting.mxml.RemoteObject, and sub-classing mx.rpc.remoting.mxml.RemoteObject
body: <p>I am looking to subclass RemoteObject. Instead of:</p>
  
  <pre><code>&lt;mx:RemoteObject ... &gt;
      &lt;mx:method ... /&gt;
      &lt;mx:method ... /&gt;
  &lt;/mx:RemoteObject&gt;
  </code></pre>
  
  <p>I want to do something like:</p>
  
  <pre><code>&lt;remoting:CustomRemoteObject ...&gt;
      &lt;mx:method ... /&gt;
      &lt;mx:method ... /&gt;
  &lt;/remoting:CustomRemoteObject&gt;
  </code></pre>
  
  <p>where <code>CustomRemoteObject</code> extends <code>mx.rpc.remoting.mxml.RemoteObject</code> like so:</p>
  
  <pre><code>package remoting
  {
      import mx.rpc.remoting.mxml.RemoteObject;
  
      public class CustomRemoteObject extends RemoteObject
      {
          public function CustomRemoteObject(destination:String=null)
          {
              super(destination);
          }
      }
  }
  </code></pre>
  
  <p>However, when doing so and declaring a <code>CustomRemoteObject</code> in MXML as above, the flex compiler shows the error:</p>
  
  <blockquote>
    <p>Could not resolve &lt;mx:method&gt; to a component implementation</p>
  </blockquote>
  
  <p>At first I thought it had something to do with <code>CustomRemoteObject</code> failing to do something, despite that (or since) it had no change except as to the name. So, I copied the source from <code>mx.rpc.remoting.mxml.RemoteObject</code> into <code>CustomRemoteObject</code> and modified it so the  <b>only</b> difference was a refactoring of the class and package name.  But still, the same error.</p>
  
  <p>Unlike many MXML components, I cannot cmd+click <code>&lt;mx:method&gt;</code> in FlashBuilder to open the source. Likewise, I have not found a reference in <code>mx.rpc.remoting.mxml.RemoteObject</code>, <code>mx.rpc.remoting.RemoteObject</code>, or <code>mx.rpc.remoting.AbstractService</code>, and have been unsuccessful in find its source online.</p>
  
  <p>Which leads me to the questions in the title:
  
  <li>What <b>exactly</b> is <code>&lt;mx:method&gt;</code>?  (yes, I know it's a declaration of a <code>RemoteObject</code> method, and I know how to use it, but it's peculiar in regard to other components)</li>
  <li>Why did my attempt at subclassing <code>RemoteObject</code> fail, despite it effectually being a rename?  Perhaps the root, why can <code>mx.rpc.remoting.mxml.RemoteObject</code> as an MXML declaration accept <code>&lt;mx:method&gt;</code> child tags, yet the source of said class cannot when refactored in name only?
  </li></p>