Because of the constant attack by the wiki spam bots, accounts that are created and not used will be deleted. If you are a legitimate user, and your IP was blocked, please contact any active administrator - look at Special:RecentChanges and see who is busy fighting spam.

From SWFTools
Jump to: navigation, search
SWF generation and manipulation utilities


Available downloads


SWFTools 0.9.2 Stable - Source Code for Linux and Windows
SWFTools 0.9.1 Stable - Source Code for Linux and Windows
SWFTools 0.9.0 Stable - Windows Binary


SWFTools 2013-04-09-1007 - Source Code for Linux
SWFTools 2013-04-09-1007 - Windows Binary


git clone git:// - Main GIT Repository - Main GIT Repository Clone ( with ViewGit file browser ) - GIT Repository Clone ( Maintainer: Ricardo Pedroso )

Installation guides

Installation - How To

Mailing List

swftools-common is a user self-managed, friendly, low volume mailing list. Queries, and suggestions concerning the SWFTools utilities suite should be posted here, as should the submission of patches for inclusion in the git repository. Subscription is highly recommended.

Subscribe/unSubscribe here!

A lot of useful information may gleaned from the fully searchable mailing list archives. Your query may already have been answered! Do check the archives thoroughly before posting to the list.

swftools-common Archive

SWFTools Website

SWFTools Website

SWF Tools 0.9.2 ( Current Stable Version ) Documentation

as3compile - a standalone ActionScript 3.0 compiler

Usage: ./as3compile [-o file.swf]

font2swf - Font file (TTF, Type1) conversiom to SWF

Usage: ./font2swf <fontfile>'

gif2swf - GIF to SWF conversion. Able to handle animated gifs

Usage: ./gif2swf [-X width] [-Y height] [-o file.swf] [-r rate] file1.gif [file2.gif ...]'

jpeg2swf - generates a slideshow from one or more JPEG pictures. Supports motion estimation compression (h.263) for better compression of video sequences

Usage: ./jpeg2swf [-options [value]] imagefiles[.jpg]|[.jpeg] [...]

pdf2swf - PDF to SWF Converter. Generates one frame per page. Enables fully formatted text, ::including tables and formulas, inside a Flash Movie.

( It's based on the xpdf PDF parser from ::Derek B. Noonburg. )
Usage: ./pdf2swf [-options] file.pdf -o file.swf

pdf2swf -s - Set a SWF encoder specific parameter

Usage: ./pdf2swf -s [option][=value] input.pdf -o output.swf

png2swf - like JPEG2SWF, only for PNGs

Usage: png2swf [-X width] [-Y height] [-o file.swf] [-r rate] file1.png [file2.png...]

swfbbox - allows to read out, optimize and readjust SWF bounding boxes

Usage: ./swfbbox [-OS] file.swf

swfbytes - hex dump swf byte code to a file

Usage: ./swfbytes [-v] file.swf > file.hexdump
OR: ./swfbytes file.hexdump

swfc - SWF file creation from simple swfc script files. Includes ActionScript 2.0/3,0 support

Usage: ./swfc [-o file.swf]

swfcombine - multi-function tool for SWF insertion into wrapper SWFs, SWF concatenation, stacking, and basic parameter manipulation (e.g. size change )

Usage: ./swfcombine [-rXYomlcv] [-f] masterfile [-xysf] [(name1|#id1)=]slavefile1 .. [-xysf] [(nameN|#idN)=]slavefileN
OR: ./swfcombine [-rXYomv] --stack[1] [-xysf] [(name1|#id1)=]slavefile1 .. [-xysf] [(nameN|#idN)=]slavefileN
OR: ./swfcombine [-rXYov] --cat [-xysf] [(name1|#id1)=]slavefile1 .. [-xysf] [(nameN|#idN)=]slavefileN
OR: ./swfcombine [-rXYomlcv] --dummy [-xys] [file]

swfdump - print out SWF asset information, i.e. images/fonts/sounds, code content disassembly, cross-reference and bounding box data.

Usage: ./swfdump [-atpdu] file.swf

swfextract - SWF element extraction: Movieclips, Sounds, Images, shapes, etc

Usage: ./swfextract [-v] [-n name] [-ijf ids] file.swf

swfrender - bitmap rendering from swf files created with pdf2swf, jpeg2swf or png2swf

Usage: ./swfrender file.swf [-o output.png]

swfstrings - scans SWFs for textual ( aphpanumeric ) data

Usage: ./swfstrings [options] file.swf

ttftool - ttf font manipulation tool

Usage: ./ttftool <fontfile>

wav2swf - WAV audio to SWF conversion

Usage: ./wav2swf [-o filename] file.wav

Questions & Answers

Frequently asked questions (FAQ) including compilation instructions for Linux, Windows, and Mac
Frequently Given Answers (FGA) - various swfc code snippets to compile and test
Example Code - further examples of SWFTools usage and coding implementations

SWF Tools 0.9.1 ( Previous Stable Version )

SWF API Documentation

python gfx module
Python library

SWFTools based software

GUI wrappers for some SWFTools commands:

Wrapper swfc command Contributor
SWF Extractor swfextract Chris Ohmstede
qpdf2swf pdf2swf. Written in QT4 Silvian Cretu
Gpdf2swf pdf2swf ( part of the Windows distribution ) Ricardo Pedroso/Matthias Kramm


Software Description Contributor
:scEdit Windows '98/XP swfc GUI editor - Laurent Lalanne


Software Description Contributor
:zViewer (2009) Document Viewer in AS2, uses rfxview Cristan Rusu
( Various ) ( supplied with swftools distribution )

Media Players:

software Description Contributor
Video Player Video Player (swfc compilable script ) John Sullivan ( .video tag patch contributor )
swftmp Media Player/SWF Viewer (swfc compilable script ) ChrisP

Related Documentation and Guides

Adobe PDF Reference
Adobe SWF File Format Reference
Flash Player Administration Guide
Adobe Actionscript 2.0 Reference
Adobe Actionscript 3.0 Reference
ECMA Script
Mozilla Tamarin Project - Open Source AS3

Useful Software Links- Open Source and Other

AlivePDF Open Source PDF library written is Actionscript 3
ePDFView - requires Poppler and GTK4 ( plus CUPS for printing )
Evince - Gnome Project's multi-format document viewer ( Linux/Windows )
muPDF Lightweight PDF Viewer, Toolkit and library - Linux/Windows. Written in Portable C. Released under GNU GPL v3.0
Nitro PDF PDF Viewer/Editor - Windows
PDFEdit pdf maniplation Library and Tools - Linux/Windows. Released under GNU GPL v2.0
PDF Software Listing Wikipedia list of PDF software inc development libraries
PDF Xchange Viewer PDF Viewer/Editor - Windows. Free version of a Closed Source Commercial Product
Poppler Wikipedia article - SWFTools now compiles against the Poppler Library
Xpdf Open Source viewer and tools used by SWFTools - Linux/Windows. GNU GPL v2.0
zathura Compact, minimalistic document viewer, with emphasis on keyboard interaction


NB The above links are provided solely for informational purposes in the hope they may prove useful. Unless specifically stated otherwise, all site content and products referenced therein, in no way implies a direct relationship to the SWFTools project, its maintainers, or compatibility with it's code base. Should a software 'break' your system or your SWFTools installation, while we will do our best to assist via the [SWFTools Mailing List], please note that we are in no way liable nor responsible! :o)

Personal tools