The code above is the absolute minimum code to embed Flash
movies in the HTML pages. It is not recommended that to use the minimum
code. There should be few more attributes added:
- classid is an attribute to the <object> tag. It tells the
Internet Explorer to load the ActiveX plug-in if it is not
- The pluginspage is an attribute to the <embed> tag. It
display a link to the Shockwave download page if Netscape
does not have it
The Flash program can add these attribute for you:
Choose File > Publish. Flash will now create the <object>,
<param>, and <embed> tag for you. It will also create the
classid and pluginspage attribute.
Open the HTML document that Flash created, view the HTML
source and copy the code into your HTML page where you want your
Flash movie to de displayed.
Be sure that you have the "somefilename.swf" in your Web folder only.
Type the address of the HTML file in your browser and
look at your first Flash movie.