Prev | Current Page 151 | Next

Kevin Potts

"Web Design and Marketing Solutions for Business Websites"

Microsoft calls this ???Activating an
ActiveX Control??™s Interface,???15 and rolled it out as a security update for Internet
Explorer 6 before fully integrating the functionality in Internet Explorer 7.
Better Flash accessibility with SWFObject
To address the issues listed in the preceding section, a developer named Geoff Stearns
developed SWFObject,16 a nonintrusive and gracefully degrading piece of JavaScript that
tests for the Flash plug-in, loads all of your parameters, provides alternative content, and
avoids some of the pitfalls of the and markup that is automatically generated
by web development software like Dreamweaver. See Figure 3-6 for an example of
SWFObject in action.
ACCESSIBILITY
59
3
15. http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/overview/
activating_activex.asp
16. http://blog.deconcept.com/swfobject/
Figure 3-6. This page uses two important accessibility techniques in the video testimonials piece:
first, the videos have closed captions; second, the Flash file is loaded through SWFObject.
The code for using SWFObject is very simple: