5 Replies Latest reply on Apr 8, 2010 11:38 AM by Jason San Jose

    flash imports not found (events and filesystem)

    brds Level 1

      I'm trying to learn how to manipulate/display DB data using flash.  In the example in Tour De Flex, I'm given the following list of imports:

       

      import flash.data.SQLResult;
      import flash.filesystem.File;
      import flash.data.SQLStatement;
      import flash.data.SQLConnection;
      import flash.events.SQLEvent;
      import flash.events.SQLErrorEvent;
      import mx.collections.ArrayCollection;

       

      However, when i copy and paste these imports into my application, I get the following errors:

       

      Definition flash.data:SQLConnection could not be found.

      Definition flash.data:SQLConnection could not be found.

      Definition flash.data:SQLResult could not be found.

      Definition flash.data:SQLResult could not be found.

      Definition flash.data:SQLStatement could not be found.

      Definition flash.data:SQLStatement could not be found.

      Definition flash.data:SQLErrorEvent could not be found.

      Definition flash.data:SQLErrorEvent could not be found.

      Definition flash.data:SQLEvent could not be found.

      Definition flash.data:SQLEvent could not be found.

      Definition flash.filesystem:File could not be found.

      Definition flash.filesystem:File could not be found.

       

       

      Anybody know how to fix these errors?