AS3 Compilation

HI,
How would i go about compiling just AS3 in CS3? I tried having my .as files in a folder then creating a new .fla from within CS3 in the same folder but I cant seem to get any output.