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

Alone in Kyoto

"I tried my best to sneak across the building, but the floor revealed me each time. I suppose I would make a lousy ninja."

The streets of Paris

"One of the advantages of repeated visits to a place is the leisure pace of awe and discovery while drifting slowly down the worn streets of the French capital."

Roaming in Valletta

"I passed the statue of Jean de Valette, the 49th Grand Master who laid the foundation stone to Valletta in 1566, to gaze at the golden interior of St. John’s Co-Cathedral, where he is buried in the crypt."

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

Having champagne in Champagne

"We roamed the damp and chilly tunnels and stumbled upon a large barrel delivered by Napoleon himself."

Roaming through Banff

"Even though the main town is surrounded by mountains with names such as Sulphur Mountain, it is as far away from Mordor as one could imagine."