title: How to use external actionscript classes in FlashBuilder (thought I knew)
body: <p>I'm trying to implement CSVLib in an Air application and am getting an error that seems wholly illogical to me. </p>
  
  <p>"1120: Access of undefined property csv." 
  and 
  "1120: Access of undefined property completeHandler."</p>
  
  <p>The only thing I can think is it's not importing the csv class properly, or the class itself is broken somehow?  I know my import path is correct because I typed it out directly based on automatic hinting.  The code below is copied directly from the how-to wiki on the csv lib site.</p>
  
  <p>Or is there something special you need to do to get external actionscript classes to work in flashbuilder?</p>
  
  <pre><code>    &lt;fx:Script&gt;
          &lt;![CDATA[
              import com.shortybmc.*;
              import com.shortybmc.data.parser.CSV;
  
              var csv:CSV = new CSV();
              csv.addEventListener (Event.COMPLETE, completeHandler);
              csv.load (new URLRequest('example-2.csv'));
              function completeHandler (event: Event)
              {
                  trace ( csv.data.join('\r') );
                  // do something ...
              }
          ]]&gt;
      &lt;/fx:Script&gt;
  </code></pre>