Gordon – JavaScript Hack Enables Flash on iPhone
Friday, May 28, 2010 2:45 AM
built-in web browser: Safari.
It’s called Gordon, and the software doesn’t allow Adobe’s Flash itself to work on the iPhone. Gordon is aJavaScript runtime that allows the browser to run and display .swf (Shockware Flash) files. You go to a website, the JavaScript code loads and does its thing — you’re now flash-enabled.
You may be asking yourself, does this mean my iPhone supports Adobe’s Flash? Well, no — it doesn’t. You cannot just go to any flash-based website and expect it to work. The website has to have Gordon installed. The webmaster would have to add this runtime to every instance of Flash, which is only a few lines of code.
While the project is open source and available to the public, it doesn’t solve one of the biggest problems with Flash — Flash hogs the CPU like a fat kid does cookies!
However, this clever Javascript hack potentially opens the door to a new class of interactive, animated mobile websites. While many web developers rely on Flash to accomplish things that can’t easily be done in HTML; those Flash apps won’t run on the iPhone.
If you want to see Gordon in action head over to Paul Irish’s demos by clicking here — prepare yourself to be amazed. The demos work on both MobileSafari or on any desktop web browser. The animations seem to run very smoothly on the iPhone 3G running iPhone OS 3.1.2.
- source:
Gordon Flash Javascript hack Demos
Gordon Flash Javascript hack source code
It’s called Gordon, and the software doesn’t allow Adobe’s Flash itself to work on the iPhone. Gordon is aJavaScript runtime that allows the browser to run and display .swf (Shockware Flash) files. You go to a website, the JavaScript code loads and does its thing — you’re now flash-enabled.
You may be asking yourself, does this mean my iPhone supports Adobe’s Flash? Well, no — it doesn’t. You cannot just go to any flash-based website and expect it to work. The website has to have Gordon installed. The webmaster would have to add this runtime to every instance of Flash, which is only a few lines of code.
While the project is open source and available to the public, it doesn’t solve one of the biggest problems with Flash — Flash hogs the CPU like a fat kid does cookies!
However, this clever Javascript hack potentially opens the door to a new class of interactive, animated mobile websites. While many web developers rely on Flash to accomplish things that can’t easily be done in HTML; those Flash apps won’t run on the iPhone.
If you want to see Gordon in action head over to Paul Irish’s demos by clicking here — prepare yourself to be amazed. The demos work on both MobileSafari or on any desktop web browser. The animations seem to run very smoothly on the iPhone 3G running iPhone OS 3.1.2.
- source:
Gordon Flash Javascript hack Demos
Gordon Flash Javascript hack source code