Google Labs has built up Swiffy, which takes an SWF file and created an HTML5 version that will run in most current browsers (Chrome and Safari). The converted file is pretty close in size to the original; however, however Google quotes that the project is in infancy so it won’t convert your entire Flash library as of now. Though it still makes existing animations useful without starting from scratch. Simply save the HTML file that is generated and include it on your website using an < iframe > tag. When using the “Save as” option of your browser, use the “HTML only” or “page source” save option of your browser.
Swiffy supports many common SWF features such as vector graphics, embedded fonts, images and timeline animation. Basic ActionScript 2.0 code is also supported, but don’t expect to convert your favorite Flash game yet. In general, Swiffy supports most of the features in Flash 5, so exporting your file as a Flash 5 will give the best results. The Swiffy compiler will warn you when unsupported SWF features are encountered.