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."

Tags apple ipadonline advertisingflashjavascriptadobe flashiPadSmokescreenhtml 5

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

Jeremy Kirk

IDG News Service

Comments

Comments are now closed.

Most Popular Reviews

Follow Us

Best Deals on GoodGearGuide

Shopping.com

Latest News Articles

Resources

GGG Evaluation Team

Kathy Cassidy

STYLISTIC Q702

First impression on unpacking the Q702 test unit was the solid feel and clean, minimalist styling.

Anthony Grifoni

STYLISTIC Q572

For work use, Microsoft Word and Excel programs pre-installed on the device are adequate for preparing short documents.

Steph Mundell

LIFEBOOK UH574

The Fujitsu LifeBook UH574 allowed for great mobility without being obnoxiously heavy or clunky. Its twelve hours of battery life did not disappoint.

Andrew Mitsi

STYLISTIC Q702

The screen was particularly good. It is bright and visible from most angles, however heat is an issue, particularly around the Windows button on the front, and on the back where the battery housing is located.

Simon Harriott

STYLISTIC Q702

My first impression after unboxing the Q702 is that it is a nice looking unit. Styling is somewhat minimalist but very effective. The tablet part, once detached, has a nice weight, and no buttons or switches are located in awkward or intrusive positions.

Latest Jobs

Shopping.com

Don’t have an account? Sign up here

Don't have an account? Sign up now

Forgot password?