title: problems generating ASDoc
body: <p>I am using <a href="http://www.gskinner.com/blog/archives/2010/01/asdocr_simple_a.html" rel="nofollow noreferrer">ASDocr</a>, which is an Adobe AIR application GUI interface for the command-line Flex <code>asdoc</code> documentation generator. My class uses several external libraries and it is generating a 1046 error when creating the documentation:</p>
  
  <pre><code>/Users/mga/Documents/FDT Workspace/vgline/src/com/pingpongestudio/timeline/Timeline.as(1569): col: 39 Error: Type was not found or was not a compile-time constant: SWFAddressEvent.
  private function handleSWFAddress(e:SWFAddressEvent):void {
                                      ^
  </code></pre>
  
  <p>As you can see I am using <code>SWFAddress</code> but only the <code>SWFAddressEvent</code> class throws an error. Lines 40 and 41 of that class (Timeline.as) are:</p>
  
  <pre><code>import com.asual.swfaddress.SWFAddress;
  import com.asual.swfaddress.SWFAddressEvent;
  </code></pre>
  
  <p>This is the command-line instruction:</p>
  
  <pre><code>/Applications/Adobe Flex SDK 4/bin/asdoc -source-path "/Users/mga/Documents/FDT Workspace/vgline/src" -output "/Users/mga/Documents/FDT Workspace/vgline/doc" -doc-sources "/Users/mga/Documents/FDT Workspace/vgline/src" -lenient
  </code></pre>
  
  <p>My application works just fine. The compile errors show up only when generating the documentation. This application uses AS3 script files in combination with a FLA interface file.</p>
  
  <hr>
  
  <p>EDIT</p>
  
  <p>I added the external library paths just as they are in FDT to the compiler and now it throws this command-line instruction:</p>
  
  <pre><code>/Applications/Adobe Flex SDK 4/bin/asdoc -source-path "/Users/mga/Documents/FDT Workspace/vgline/src" -output "/Users/mga/Documents/FDT Workspace/vgline/doc" -doc-sources "/Users/mga/Documents/FDT Workspace/vgline/src" -library-path+="/Users/mga/Desktop/stuff/as3 classes/dashedline" -library-path+="/Users/mga/Desktop/stuff/as3 classes/webdevils" -library-path+="/Users/mga/Desktop/stuff/as3 classes/as3corelib-.92.1/src" -library-path+="/Users/mga/Desktop/stuff/as3 classes/swfaddress-2.4/dist/as/3" -library-path+="/Applications/Adobe Flex SDK 4/frameworks/libs/player/10/playerglobal.swc" -library-path+="/Applications/Adobe Flex SDK 4/frameworks/libs/flex.swc" -library-path+="/Applications/Adobe Flex SDK 4/frameworks/libs/framework.swc" -library-path+="/Applications/Adobe Flex SDK 4/frameworks/libs/rpc.swc" -library-path+="/Applications/Adobe Flex SDK 4/frameworks/libs/utilities.swc" -library-path+="/Users/mga/Desktop/stuff/as3 classes/greensock-tweening-platform-as3" -lenient
  </code></pre>
  
  <p>The error generated is the same.</p>
  
  <p>If I try to exclude dependencies I get "Error: exclude-dependencies can not be used with doc-sources."</p>