Flash Tutorials - Herong's Tutorial Examples - v3.03, by Dr. Herong Yang
"swfdump -E" - Generate HTML Code
This section provides a tutorial example on how to generate HTML code to embed a SWF file using the SWFDump tool with -E option.
SWFDump tool can also be used to generate HTML code to embed a SWF file in Web pages using option "-E":
C:\herong>\local\SWFTools\swfdump -E yahoo.swf <object type="application/x-shockwave-flash" data="yahoo.swf" width="217" height="85"> <param name="movie" value="yahoo.swf"/> <param name="play" value="true"/> <param name="loop" value="false"/> <param name="quality" value="high"/> <param name="loop" value="false"/> </object>
What do you think about the generated code? SWFDump uses a single "object" element with the SWF file specified in 2 places: the "data" attribute and the "param[@name='movie']" sub element.
Table of Contents
Adobe Flash Player Plugin for Firefox
Adobe Flash Player Plugin for Chrome
Adobe Flash Player Plugin for Safari
Adobe Flash Player ActiveX for IE
Using "object" Elements for Flash Files
Using "embed" Elements for Flash Files
"mp3player" - MP3 Music Player
SWFObject - Hidding "object" behind JavaScript
►SWFTools - SWF File Manipulation Tools
Downloading and installing SWFTools
"swfdump" - Dump SWF File Header
►"swfdump -E" - Generate HTML Code
JPEG2SWF - JPEG to SWF File Conversion Tool
"jpeg2swf *.jpg" - Create a Slide Show
PDF2SWF - PDF to SWF File Conversion Tool
"pdf2swf" - Convert PDF to SWF
"master and slave" - Viewer and Page Frames
SWFCombine - SWF File Merging Tool
"swfcombine masterfile viewpoint=slavefile"
"swfcombine -a" - Concatenate SWF Files
"swfcombine -d" - Change Frame Rate and Size
SWFC Script to Generate Flash SWF Files
ActionScript Embedded in SWFC Script
AS3Compile - ActionScript 3 Compiler