How to get Flash Player 9 on Solaris 10 to find custom Actionscript Packages?

I have written a flash application that uses a custom Actionscript Package/Class. On windows I can use import Classes.Library (where Classes is the folder and Library is the .as file) and it works just fine. Now I do have the preferences for Actionscript 3.0 pointed at that particular folder on windows. When I publish my movie and bring all the files over to the Solaris side, it is not finding my custom package? Is there a way to publish a movie and have all of the custom classes built inside of the movie that way it will already include that file? Or does anyone know how to make Solaris find your .as file?