Tobias Schneider has built an open source Flash runtime written in pure JavaScript and HTML5, quite impressive. Hosted on GitHub for everyone to download and use.
Works well in the latest versions of Firefox, Chrome, and Safari (and, yes, iPhone Safari). Very useful for desktop users as well, if the user doesn't have Flash installed you can call Gordon to run the Flash files instead (great for users who do not have privileges to install Flash on their computer).
Quick and Easy Installation Instructions
- Download Gordon
- Insert a script tag in the head of your HTML file to the Gordon javascript file
<script type="text/javascript" src="../gordon.js"></script>
- Insert a div or span tag where you would like the Flash file to appear within the body of your HTML file
<div id="stage"></div>
- Add a JavaScript onload event to insert the flash file within your div or span
<body onload="new Gordon.Movie('flash-file.swf', {id: 'stage', width: 500, height: 400})"> - Enjoy !