Flash Tutorials - Herong's Tutorial Examples - v3.03, by Dr. Herong Yang
SWF File Example - Dump Output
This section provides a tutorial example on how to dump the file structure and list of tags of SWF file using the 'swfdump' command from 'SWFTools'.
If you want to see the file structure and list of tags of a SWF file, you can use the "swfdump" command from the SWFTools package to create a dump of the SWF file.
Here is the output of "swfdump" on rectangle.swf:
C:\herong>\local\swftools\swfdump rectangle.swf [HEADER] File version: 3 [HEADER] File size: 79 [HEADER] Frame rate: 12.000000 [HEADER] Frame count: 1 [HEADER] Movie width: 550.00 [HEADER] Movie height: 400.00 [009] 3 SETBACKGROUNDCOLOR (ff/ff/ff) [002] 35 DEFINESHAPE defines id 0001 [01a] 6 PLACEOBJECT2 places id 0001 at depth 0001 [001] 0 SHOWFRAME 1 (00:00:00,000) [000] 0 END
As you can see, the dump tells us more details about rectangle.swf:
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
SWFC Script to Generate Flash SWF Files
ActionScript Embedded in SWFC Script
AS3Compile - ActionScript 3 Compiler
SWF File Example - rectangle.swf
►SWF File Example - Dump Output
SWF File Definition and Control Tags