Importing .as files

[FONT=Verdana][SIZE=2]Hello,

I’m building an educational package with two games, and this may seem like a silly question, but I’m stuck as to how to get past the errors as described below.

In the games section of the fla, there are two buttons, depending on which button they click they’re either taken to the wordsearch game scene or pairs game scene.

I’ll try to explain the best I can:

Games.as - This is the file where the other two should be imported, but I’m guessing it’s wrong somehow as it’s not working


[FONT=&quot]package{
      import flash.display.*;
      import flash.events.*;
      
      // Games
      import PG.Pairs;
      import WG.Wordsearch;
      
      public class Games extends MovieClip {    }
}
[/FONT]

Pairs.as - first game - the class “Pairs” contains information on how to set out each of the cards… this is no longer happening by the looks of things, possibly because information not being loaded.


package PG
{
[FONT=&quot]      import flash.display.*;
      import flash.events.*;[/FONT][FONT=&quot]

[/FONT][FONT=&quot]      [/FONT][FONT=Verdana][FONT=&quot]public class Pairs extends MovieClip { see description above  }[/FONT][/FONT]
[FONT=&quot]
[/FONT]}

Wordsearch.as - second game, grid is set out in class called Wordsearch. I need to call the methods “startWordSearch” and “cleanUp” for it to work, they are both giving me error 1180 at the moment “Call to a possibly undefined method” (again, perhaps because not importing correctly)


package WG
{
[FONT=&quot]      import flash.display.*;
      import flash.events.*;[/FONT]
[FONT=&quot]      [/FONT][FONT=&quot]import flash.text.*;
      import flash.geom.Point;

[/FONT][FONT=&quot]      public class Wordsearch extends MovieClip {see description above }[/FONT]
}

I hope that all makes sense,

Thank you for any help you can offer!
[/SIZE][/FONT]