title: Error: Id attribute is not allowed on the root tag of a component
body: <p>I have a code like the one below</p>
  
  <pre><code>&lt;mx:Button id="TestingID" width="100%" height="20"&gt;                   
      &lt;mx:Script&gt;
          &lt;![CDATA[
               import flexlib.containers.WindowShade;
          ]]&gt;
      &lt;/mx:Script--&gt;
  &lt;/mx:Button&gt;
  </code></pre>
  
  <p>I am getting the error "id attribute is not allowed on the root tag of a component"</p>
  
  <p>I have to give a Id to the button to refer to it. What should i do.. how do i solve this problem??</p>
  
  <p>Regards
  Zeeshan</p>