"swfdump" - Dump SWF File Header

This section provides a tutorial example on how to dump header information of a SWF file. Header information tells you SWF version, frame size, rate and counts.

Now let's try SWFDump with default options on the Yahoo Flash file used in previous chapters:

C:\herong>\local\SWFTools\swfdump yahoo.swf | more

Reading of filter type 06 not supported yet
Reading of filter type 06 not supported yet
[HEADER]        File version: 8
[HEADER]        File is zlib compressed. Ratio: 52%
[HEADER]        File size: 37536
[HEADER]        Frame rate: 18.000000
[HEADER]        Frame count: 323
[HEADER]        Movie width: 217.00
[HEADER]        Movie height: 85.00
[045]         4 FILEATTRIBUTES
[009]         3 SETBACKGROUNDCOLOR (ff/ff/ff)
[00c]       181 DOACTION
[020]        85 DEFINESHAPE3 defines id 0001
[01a]         6 PLACEOBJECT2 places id 0001 at depth 0001
[020]       553 DEFINESHAPE3 defines id 0002
[027]         4 DEFINESPRITE defines id 0003
[01a]         6          PLACEOBJECT2 places id 0002 at depth 0001
[001]         0          SHOWFRAME 1 (00:00:00,000)
[000]         0          END
[046]        33 PLACEOBJECT3 places id 0003 at depth 0002
[002]        69 DEFINESHAPE defines id 0004
[027]         4 DEFINESPRITE defines id 0005
[01a]         6          PLACEOBJECT2 places id 0004 at depth 0001
[001]         0          SHOWFRAME 1 (00:00:00,000)
[000]         0          END
[046]       132 PLACEOBJECT3 places id 0005 at depth 0004
-- More  --

The SWFDump output tells me that:

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 Structure and Tags

 SWF File Processing Rules

 SWF Files for Video and Audio Streams

 Outdated Tutorials


 Full Version in PDF/EPUB