"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.

Last update: 2014.

Table of Contents

 About This Book

 Introduction of Adobe Flash

 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

 Flash Player Projector

SWFTools - SWF File Manipulation Tools

 What Is SWFTools?

 Downloading and installing SWFTools

 SWFDump - SWF File Dump Tool

 "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

 Adobe Flex SDK 4

 SWF File Struture and Tags

 SWF File Processing Rules

 SWF Files for Video and Audio Streams

 Outdated Tutorials

 References

 PDF Printing Version