title: Understanding Flash Packages
body: <p>I'm trying to understand how packages and dependencies work with Adobe Flash Builder 4.</p>
  
  <p>I've copied an example <a href="http://flare.prefuse.org/src/flare.apps/src/flare/apps/DependencyGraph.as" rel="nofollow noreferrer">here</a> and put it in a .as file called DependencyGraph.</p>
  
  <p>However I get the error message:</p>
  
  <pre><code>A file found in a source-path must have the same package structure '', 
  as the definition's package, 'DependencyGraph'.
  </code></pre>
  
  <p>I understand that the original file has a package name called <code>package flare.apps</code>. What should I change to enable this to run?</p>