home
January 27, 2010
Posted by Noskire
Gordon - Javascript runtime flash hack

The only thing missing from the iPhone is Adobe’s Flash Player. Since Apple has taken so long to approve Flash on the iPhone, a clever programmer by the name of Tobias Schneider has managed to get the iPhone to run interactive apps created using Adobe’s Flash platform. This way of running said apps aren’t subject to Apple’s strict rules of the AppStore because it runs under the 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 a JavaScript 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

Share This With...
  • Facebook
  • Digg
  • Twitter
  • RSS
  • Slashdot
  • Technorati
  • del.icio.us
  • Reddit
  • Blogosphere News
  • HackerNews
  • StumbleUpon
  • Google Bookmarks
  • email

RSS feed | Trackback URI

6 Comments »

Comment by digga
2010-01-27 17:36:48

just javascript??

amazing

 
Comment by Ipirate420
2010-01-27 18:40:50

Where is the website you have to go to in order to load the javascript on your iphone?

 
Comment by chris
2010-01-28 00:06:30

no need to install it on your phone. the web site owner installs the javascript to the site and the phone will load it. i just cant get any of my flash files to load with the same type of code. not a good write up on the page but i am sure it will update soon

 
Comment by Ryan
2010-01-30 23:28:14

Thank you

 
<< Login :: Register >>
Name (required)
E-mail (required - never shown publicly)
URI
Your Comment (smaller size | larger size)
Follow Dashhacks:
iPhone-Hacks RSS FeedJoin the Dashhacks Fan Club on FacebookFollow Dashhacks on Twitter

Recent Posts

Poster: dpcrr3

Sat Mar 20, 2010 4:44 pm


Poster: dogdog130

Sat Mar 20, 2010 10:31 am


Poster: jonask95

Sat Mar 20, 2010 8:32 am


Poster: Janinew

Sat Mar 20, 2010 8:30 am


Poster: Janinew

Sat Mar 20, 2010 8:25 am


Poster: Janinew

Sat Mar 20, 2010 7:44 am


Poster: yuna

Sat Mar 20, 2010 6:02 am


Poster: jonask95

Sat Mar 20, 2010 5:36 am


Poster: iFouady

Sat Mar 20, 2010 5:34 am


Poster: wennuan345

Sat Mar 20, 2010 5:25 am