Flash is an animated image format from Macromedia (now part of Adobe) that is widely used on the Web.
To embed Flash:
1.
Begin the object element with <object.
2.
Use type="application/x-shockwave-flash" to indicate the MIME type for Flash animations.
3.
Type data="filename.swf", where filename.swf is the name and location of the Flash animation on your server.
4.
Specify the dimensions of your animation with width="w" height="h", where w and h are both values in pixels.
5.
Finish the opening object tag by typing >.
6.
Add <param name="movie" value="filename.swf" />, where filename.swf matches what you used in step 3.
7.
Type </object> to complete the object.
Figure 18.48. To embed Flash, set the MIME type to application/x-shockwave-flash.
Figure 18.49. The Flash animation is embedded on the pagewithout the nonstandard embed.
Tips
This technique is based on the article Flash Satay by Drew McLellan in A List Apart(www.alistapart.com/articles/flashsatay).
Drew figured out a way to use small reference movies to help Flash animations stream properly with this technique. See his article for details.
Many people use a combination of object and the non-standard embed tag to insert Flash on a Web page. For more details, search for embed Flash on Adobe's site (http://www.adobe.com/).