-
01-17-2010, 10:06 AM #1MMi Staff Writer
- Join Date
- Aug 2009
- Location
- Union Square, Somerville, Mass.
- Posts
- 919
- Thanks
- 6
- Thanked 996 Times in 401 Posts
JavaScript Hack Runs (Some) Flash on iPhone

Many users have complained about iPhone’s lack of support for Flash, claiming that it's a fundamental flaw with the phone's ability to access Internet content. Others have maintained that Flash itself is fundamentally flawed, a CPU hog that will crash AT&T's already strained network. Now, however, a developer has come up with a JavaScript workaround that will allow the iPhone to run Flash content, though only that which has been heavily modified.
The script is called Gordon, in an homage to the Thirties sci-fi hero. Tobias Schneider, a programmer from Munich, developed the clever workaround,which is a runtime Flash emulator written in pure JavaScript. Since it's a script rather than an app, it doesn't run afoul of the iPhone SDK EULA section 3.3.2 prohibition against apps executing code... though Apple may have something to say about the project.
The script does not provide true Flash support to the iPhone, as it only enables Flash files to be displayed within the iPhone’s Safari browser. And in order for the script to work correctly, the Flash must be embedded in HTML, and must incorporate Schneider’s code on every animation they want to display correctly on the iPhone. Only a subset of SWF tags are supported, and, as noted by TheAppleBlog, it's very CPU-intensive and a battery killer. Sill, if you want to see Flash on your phone, you can point your Safari browser to Paul Irish's site and take a look.
It's a demo project, not a viable Flash replacement, obviously, and it's unlikely that the workaround will inspire many Flash developers to modify their content to run with this script. It is, clever, though, and it brings to light many of the up and downsides of Flash on this iPhone. By many people's estimation, Flash is the defacto standard for video on the Web, and the exclusion of it from the iPhone is a significant weakness. On the other side, the platform is inherently CPU-intense, and as John Gruber notes, Apple has little incentive to bring Flash support to the iPhone if it's not hurting sales... and it doesn't seem to.
Adobe will include the ability to compile Flash animations as standalone apps with Adobe Flash Professional CS5. For the foreseeable future, at least, that functionality may prove more popular than a script workaround.
image via @digitalgravyLast edited by Paul Daniel Ash; 01-17-2010 at 10:08 AM. Reason: edit link
-
01-17-2010, 10:12 AM #2
Very cool indeed!!
But really now, guys, come on, when I can copy and paste at random into google one paragraph and find your story nearly word for word, you should really quote a source for it.
Code:http://www.google.com/search?q=The+script+does+not+provide+true+Flash+support+to+the+iPhone%2C+as+it+only+enables+Flash+files+to+be+displayed+within+the+iPhone%E2%80%99s+Safari+browser.+And+in+order+for+the+script+to+work+correctly%2C+the+Flash+must+be+embedded+in+HTML%2C+and+must+incorporate+Schneider%E2%80%99s+code+on+every+animation+they+want+to+display+correctly+on+the+iPhone.+Only+a+subset+of+SWF+tags+are+supported%2C+and%2C+as+noted+by+TheAppleBlog%2C+it%27s+very+CPU-intensive+and+a+battery+killer.+Sill%2C+if+you+want+to+see+Flash+on+your+phone%2C+you+can+point+your+Safari+browser+to+Paul+Irish%27s+site+and+take+a+look.&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a
-
01-17-2010, 11:31 AM #3iPhoneaholic
- Join Date
- Oct 2008
- Location
- Six - One - Zero
- Posts
- 387
- Thanks
- 5
- Thanked 15 Times in 13 Posts
thats awesome, always good news to give apple to get their heads out of there asses
Originally Posted by ??????
-
01-17-2010, 11:53 AM #4
hopes this scares/shames apple into letting adobe give us full flash support
-
01-17-2010, 12:10 PM #5iPhone? More like MyPhone
- Join Date
- Jun 2008
- Location
- Mesa, AZ
- Posts
- 146
- Thanks
- 2
- Thanked 5 Times in 4 Posts
interesting...
-
01-17-2010, 12:15 PM #6
im pushing for flash. hopefully they release it on a friday
killall Terminal[]

-
The Following User Says Thank You to rhekt For This Useful Post:
masonbuechler (01-18-2010)
-
01-17-2010, 06:06 PM #7My iPhone is a Part of Me
- Join Date
- Sep 2007
- Location
- Foco, Colorado
- Posts
- 979
- Thanks
- 4
- Thanked 36 Times in 28 Posts
Nice! good news. I can't wait around for apple forever.
-
The Following User Says Thank You to tudtran For This Useful Post:
masonbuechler (01-18-2010)
-
01-17-2010, 06:37 PM #8My iPhone is a Part of Me
- Join Date
- Jun 2008
- Location
- Tampa, FL
- Posts
- 671
- Thanks
- 49
- Thanked 49 Times in 39 Posts
What's the big deal with Flash? Ok, now if it's incorporated doesn't that mean every website that has flash advertisement will run EVERY TIME you load the page? So webpages on the phone will take longer to load. The only way this flash will be good if there is a on/off switch. If not than i won't care for it. I'm not going to sit here and wait for safari to load every flash ad for every webpage i visit.
-
01-17-2010, 08:44 PM #9
I would rather have flash to view on itouch. Reason being maybe because the YouTube app won't show why you want like music videos or news content, like what I want. It would probably be wise to add this feature, more people would buy and their company would get the profit they want. So while I wait I hope they don't make it Of what H0ll0w describes it to be. So I say make it suitable so people don't get pissed off of the horrible effort they put into it.
I also agree with Holl0w if it doesn't work right, idc about it.Last edited by High_Voltage; 01-17-2010 at 08:44 PM. Reason: Automerged Doublepost
-
01-18-2010, 06:52 AM #10Peanut Brain
- Join Date
- Oct 2008
- Location
- Woking
- Posts
- 9,130
- Thanks
- 113
- Thanked 775 Times in 711 Posts
It is an interesting POC but that's as far as it goes.
He who asks a question looks foolish for 5 minutes. He who doesn't ask a question remains foolish forever.
-
01-18-2010, 10:50 AM #11
Can someone explain how I actually use this? How do I install it? I assume it's just a bookmark code similar to the 'Find in a Page' hack for Safari. If someone could explain, that would be awesome!
-
01-19-2010, 09:00 AM #12My iPhone is a Part of Me
- Join Date
- Nov 2007
- Location
- Orlando, FL
- Posts
- 677
- Thanks
- 3
- Thanked 16 Times in 16 Posts
ooh woooow...
This is getting a lil' ridiculous...
-
01-19-2010, 03:37 PM #13



LinkBack URL
About LinkBacks
Reply With Quote
