create a folder called firstPackage in the same folder as
your fla file. create a new .as file. Copy your code into that as
file and name it firstClass.as making sure to save it inside the
firstPackage folder. Now you can import the class into the main
document something like this....
var _fc = new firstClass();