When you publish a Flash movie, the ActionScript code (.as files) is compiled into the SWF file. The SWF is a standalone file that contains all necessary bytecode and assets, so it runs perfectly without the original .as files. The source files are only needed during development and for recompilation if you want to make changes.