Ana səhifə

Case study: How to make Macromedia Flash accessible


Yüklə 60.5 Kb.
tarix25.06.2016
ölçüsü60.5 Kb.
Appreciate everyone’s comments and here is the latest. Once more please comment. The objective is to put this into the techniques document.


CASE STUDY: How to make Macromedia Flash accessible

When Macromedia Flash (Flash) is not installed on the computer and a file that uses Flash is opened, a jigsaw puzzle piece may be displayed or the resultant object will not be displayed.


Macromedia Flash is a standard for multimedia playback featuring vector-based images, keyframe animation, MP3-compressed audio, and a host of interactivity elements. It is one of the most popular multimedia plug-ins, and is shipped with versions of Internet Explorer and Netscape Communicator. The Flash client-side plug-in can perform streaming animation and audio playback. Flash media files are usually assigned the extension SWF and are stored on the server-side (similar to an embedded graphic). To allow run-time creation of flash animation files, Macromedia provides a server-based product named "Generator" which can produce dynamic animations from database or text file data.
Unfortunately, the Flash plug-in is non-W3C standard and there are currently no techniques to make it accessible. However, there is a solution to provide People With Disability an understanding of the page author’s intent. There are two scenarios:

  1. Macromedia Flash is currently coded in the document without JavaScript

  2. Macromedia Flash is currently coded in the document with JavaScript

A. Macromedia FLASH is currently coded in the document without JavaScript


Here is how Macromedia FLASH is currently coded in the document without JavaScript and where accessibility is not addressed:
classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"

codebase="http://active.macromedia.com/flash2/cabs/swflash.cab#version=3,0,0,0"

ID=va


WIDTH=550 HEIGHT=335>

//defines the Flash movie file name for OBJECT


swLiveConnect=FALSE

WIDTH=550 HEIGHT=335

QUALITY=high

TYPE="application/x-shockwave-flash"

PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">






For example, place these two files (HTML and SWF) in one directory and view the HTML file with in a browser with the Flash plug-in installed and you will see a red ball bouncing around the screen. View it without the Flash plug-in and you will see a text representation. Place these files test.htm and test.swf in the same directory.


Here is the HTML code for the file, test.html








codebase="http://active.macromedia.com/flash2/cabs/swflash.cab#version=3,0,0,0"

ID=va WIDTH=550 HEIGHT=335>

Red ball bouncing around the screen

swLiveConnect=FALSE WIDTH=550 HEIGHT=335

QUALITY=high

TYPE="application/x-shockwave-flash"



PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">



<b>Red ball bouncing around the screen.</b> <br /> <br /><b> //If you are producing the Flash movie <a href="/macromedia-flash-0-and-generator-0.html">using Macromedia Generator</a>, you can have Generator produce a .GIF version</b> <br /> <br /><b> // of the flash movie and embed it here. This is done using the type= parameter on a reference to a Generator .swt file.</b> <br /> <br /><b> // Refer to the Generator documentation for more details.</b> <br /> <br /><b> // example: flashtemplate.swt?type=gif</b> <br /> <br /><b><span>// For example <img src=”</span><u><span>http://path/flashtemplate.swt?type=gif</span></u><span>” ALT=”A map of Alaska” WIDTH 100 HEIGHT35 usemap=”#AK” BORDER=0></span></b> <br /> <br />



Verilənlər bazası müəlliflik hüququ ilə müdafiə olunur ©atelim.com 2016
rəhbərliyinə müraciət