Macromedia Flash is one of the ways that you can use to add multimedia animations to your web site. Using this method of animating your page requires that visitors to your site have the Flash plugin installed on their computer in order for the animation to work. Most web users have this plugin so they will be able to see the animation directly. For those few that don't have the plugin installed you can give the option of downloading the plugin.
To create a Flash animation you need to own a copy of Macromedia Flash. With version 4 or later you can use the Publish option from within the file menu to generate the html page for you that will display your flash animation. A better option if you use Macromedia Dreamweaver as your html authoring tool is to use that to link your flash animation into the page as Dreamweaver provides more control over the creation of the html page that will display your Flash animation than does the Publish option within Flash.
Alternatively you can add the following code to your existing html page to manually attach your animation. The object tag is the standard way of attaching objects to your page but some earlier browsers don't understand this tag so for those browsers we include an embed tag (which is no longer standard html code) that will have the same effect. Because the embed tag is nested inside the object tag it will be ignored by any browser that recognises the object tag. The supplied code will also automatically ask your visitor if they want to install the Flash plugin if it's not already installed.
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" width="550" height="400" id="movieName">
<param name="movie" value="myFlashMovie.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#FFFFFF" />
<embed src="myFlashMovie.swf" quality="high" bgcolor="#FFFFFF" width="550" height="400" name="movieName" align="" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>
To customize this code to display your specific Flash animation you just need to change the name of the swf file in both of the places where it occurs along with changing the width and height to match the size that you want the animation to use.
There are other parameters that you can add to this code that will add further control of how your animation functions. Macromedia have a tag attributes web page where you can find out more about these.
This article written by Stephen Chapman, Felgall Pty Ltd.