title: Specify package of MXML file (Flex)
body: <p>How can I specify the package of an MXML file? I can easily set the package of an ActionScript class by just wrapping it with a package declaration, but how do I do the same thing in an MXML file?</p>
  
  <p>The problem I have is that I'm not able to use MXML files that are not in the same folder as the main MXML file. For structure, I want to create subfolders as such:</p>
  
  <pre><code>src
      mycompany
          myproject
              gui
                  screens
                      Screen1.mxml
                      Screen2.mxml
                  Main.mxml
  </code></pre>
  
  <p>If I want to use Screen1.mxml in Main.mxml, how do I do that? I want Screen1.mxml to be in the package "mycompany.myproject.gui.screens" but I don't know how to specify that. </p>
  
  <p>If I managed to put Screen1.mxml in that package, i guess I would just use it in Main.mxml as such:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
      xmlns:screens="mycompany.myproject.gui.screens"&gt;
      &lt;mx:Canvas&gt;
          &lt;screens:Companies id="screenCompanies" /&gt;
      &lt;/mx:Canvas&gt;
  &lt;/mx:Application&gt;
  </code></pre>
  
  <p>Please correct me if I'm wrong about that...</p>
  
  <p>I'm using FlashDevelop as my IDE and building with Flex 3.3.</p>