JavaScript library lets iPad read Flash advertisements

Flash advertisements are converted in a web browser to JavaScript and HTML5

A mobile advertising company has written a JavaScript library that makes Flash advertisements viewable on devices such as the iPad, working around Apple's opposition to Adobe Systems' multimedia platform.

The library, called Smokescreen, renders Flash advertisements into JavaScript and HTML5 within the browser if a device can't read Flash. Smokescreen, which was primarily developed by Chris Smoak of RevShockAds, means that companies that create Flash advertisements don't have to build a different version of an ad in order to reach millions of iPhone and iPad users.

"Many people still want to use their existing Adobe tools for developing ads, and retooling to support a single platform seems silly," according to Smokescreen's blog.

Smokescreen does need up-to-date browsers, and the demo advertisements works on Firefox 3.6, Chrome 5, Safari 4 and the mobile version of Safari. It won't run yet on Microsoft's Internet Explorer 9 although it "looks promising," according to developers. There are "known, fixable" issues with Opera 10.5.

Smokescreen's code will soon be released under an open-source license. Its developers have posted a preview along with demos. Low-cost support and service options will eventually be made available, according to Smokescreen's blog.

Developers appear to be excited by Smokescreen. "Chris Smoak’s Smokescreen, 'a Flash player written in JavaScript,' is an incredible piece of work," wrote Simon Willison, co-creator of Django, a framework for building Web applications in the Python language, on his blog.

However, Willison wrote that "my one concern is performance — the library is 175 KB and over 8,000 lines of JavaScript which might cause problems on low-powered mobile devices."

Smokescreen's JavaScript library must be downloaded and executed on a Web browser. Since mobile devices have much less processing power than desktop computers, the time it takes to render the advertisement may vary by device. The developers warn that Smokescreen is not as fast as a Flash plugin, but that performance could be improved.

A test of Smokescreen's demos on an iPhone showed that the more complex the animation, the slower the advertisement rendered. On a desktop computer, the performance was faster.

"Since Smokescreen is written in JavaScript, it is slower than the Flash plugin and is limited in speed by the performance of the browser," according to Smokescreen's blog. "Until we pull more tricks out of our sleeves to boost the speed, realize that some demos will not run at acceptable speeds on iPad/iPhone/iPod devices and are categorized appropriately."

Join the newsletter!

Error: Please check your email address.
Rocket to Success - Your 10 Tips for Smarter ERP System Selection

Tags apple ipadonline advertisingadobe flashjavascriptflashhtml 5SmokescreeniPad

Keep up with the latest tech news, reviews and previews by subscribing to the Good Gear Guide newsletter.

Jeremy Kirk

IDG News Service
Show Comments

Most Popular Reviews

Latest Articles

Resources

PCW Evaluation Team

Ben Ramsden

Sharp PN-40TC1 Huddle Board

Brainstorming, innovation, problem solving, and negotiation have all become much more productive and valuable if people can easily collaborate in real time with minimal friction.

Sarah Ieroianni

Brother QL-820NWB Professional Label Printer

The print quality also does not disappoint, it’s clear, bold, doesn’t smudge and the text is perfectly sized.

Ratchada Dunn

Sharp PN-40TC1 Huddle Board

The Huddle Board’s built in program; Sharp Touch Viewing software allows us to easily manipulate and edit our documents (jpegs and PDFs) all at the same time on the dashboard.

George Khoury

Sharp PN-40TC1 Huddle Board

The biggest perks for me would be that it comes with easy to use and comprehensive programs that make the collaboration process a whole lot more intuitive and organic

David Coyle

Brother PocketJet PJ-773 A4 Portable Thermal Printer

I rate the printer as a 5 out of 5 stars as it has been able to fit seamlessly into my busy and mobile lifestyle.

Kurt Hegetschweiler

Brother PocketJet PJ-773 A4 Portable Thermal Printer

It’s perfect for mobile workers. Just take it out — it’s small enough to sit anywhere — turn it on, load a sheet of paper, and start printing.

Featured Content

Latest Jobs

Don’t have an account? Sign up here

Don't have an account? Sign up now

Forgot password?