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

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

Conquering Machu Picchu

"A life-long dream came true this morning, as I stood upon the mountain looking down at Machu Picchu. I felt like some strange mix between Indiana Jones and a small boy, gazing down upon the final treasure of the Incas."

Good morning Montenegro

"One would almost think that all this secrecy was made on purpose to keep the hordes of tourists away. Let them all perish in the crowds of Dubrovnik while the people of Montenegro can enjoy their beautiful country on their own. Or something like that."

The fairytale castles of Sintra

"The Portuguese town of Sintra is famous for many beautiful castles. Palácio Nacional da Pena is arguably the most stunning of the lot. "

Roaming the cobblestones of Istanbul

"Inside the church there are still traces of rune inscriptions made during the Viking age by Varangians, an elite guard made up of Scandinavian immigrant warriors."

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