Flex application are compiled into .SWF files and SWF files are rendered and executed by Flash Player either in browser or stand-alone. When you are developing Flex applications to run in browser it makes no sense to send raw SWF files. Usually Flex applications are packaged as an web archive .war file and like any other web project and deployed on your web server such as
Tomcat.
Thanks,