Mink Machine

Modern Flash development

The classic attitude towards Flash is that while it is an excellent tool for interactive visual effects when applied properly, it is a pain in the back when it comes to accessibility and semantics. This black-and-white view often leads to arguments between the Flash developers and front-end coders.

Since I’ve never really liked trench warfare, I’m glad to see that great minds have conceived clever solutions during the last years. We all know about the eternal struggle between the elements <Embed> and <Object>, the classic Flash Satay method (better but still flawed) and its modern successor SWFObject (a progressive enhancement approach) together with swfAddress.

In the last years, we’ve seen the birth of sIFR (scalable Inman Flash Replacement), a way to replace typeface text with Flash movies on the fly. Also, swfIR (swf Image Replacement) was using unobtrusive JavaScript, progressive enhancement and Flash to enhance existing images with visual effects. Faust is another example using a similar technique. Even the old issue with SEO and Flash has seen progress using unobtrusive Javascript.

If you’re feeling tipsy, you can also put HTML elements on top of your Flash movie by adding the following parameter:

<param name="wmode" value="transparent">

But be careful, there are several reported problems with this method including reduced framerate.

However, most solutions come down with the same weakness: They rely on JavaScript to insert Flash content, and you cannot rely on Javascript being available. Graceful degradation must be provided. Or better yet, go straight for progressive enhancement (since it automatically guarantees graceful degradation). This is even more important these days when the Ajax hype adds more fuel to the fire-and-forget usage of Javascript.

Accessibility is still a problem with Flash, but I’m glad to see that some progress happens every year. I suppose that WPF/E will start it all over again in a year or so, but that’s another story.

Related posts

Comments

No comments yet.

Post a comment

Your email address will not be published. Required fields are marked *

Featured stories

Memories of Skye

"The countryside is charming and some places even have coffee."

Wazzup in Vaduz

"Vaduz Castle is overlooking the town from a hill, a short walk from the center. It’s really a postcard view with the alps in the background, which I’m sure the prince enjoys as he sips his morning coffee while towering above his loyal subjects."

Vineyards of southern France

"Not far from Sauternes is the village of Saint-Émilion, also a famous wine region but what got me hooked was their impressive limestone caves."

New Years Eve in Sydney

"Opera House is seen in front of the massive fireworks in the harbor area, celebrating the 75th anniversary of the Harbour Bridge."

Aliens in Nevada and New Mexico

"We turned around and went down another dirt road, past countless Joshua trees until our car was covered in dirt and we finally arrived at the Front Gate of Area 51."

A journey through Iran

"I woke up freezing on a Persian rug with aching back. Behind a corner I saw the damned rooster that kept me awake during many hours."