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
Revision as of 19:34, 28 May 2012 by ChrisP (Talk | contribs)

Jump to: navigation, search

SWF generation and manipulation utilities

Contents

Available downloads

Quick Links:
SWFTools 0.9.2 Stable - Source Code for Linux and Windows
SWFTools 0.9.2 Stable - Windows Binary
SWFTools 0.9.1 Stable - Source Code for Linux and Windows
SWFTools 0.9.1 Stable - Windows Binary
Main GIT Repository : git clone git://git.swftools.org/swftools
Main GIT Repository Clone: http://wiki.swftools.org/viewgit ( with file browser )
GIT Repository Clone https://github.com/rpedroso ( maintained by 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 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 file.as [-o file.swf]
[switches]


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

Usage: ./font2swf <fontfile>'
[switches]


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 ...]'
[switches]


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] [...]
[switches]


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
[switches]


pdf2swf -s - Set a SWF encoder specific parameter

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


png2swf - like JPEG2SWF, only for PNGs

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


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

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


swfbytes - hex dump swf byte code to a file

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


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

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


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]
[switches]


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
[switches]


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

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


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

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


swfstrings - scans SWFs for textual ( aphpanumeric ) data

Usage: ./swfstrings [options] file.swf
[switches]


ttftool - ttf font manipulation tool

Usage: ./ttftool <fontfile>
[switches]


wav2swf - WAV audio to SWF conversion

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

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

Editors

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

Viewers

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 )
swfty Media Player/SWF Viewer (swfc compilable script ) Nissemand


Related Documentation and Guides

Adobe PDF Reference
Adobe SWF File Format Reference
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

OSFlash - Sited dedicated to Open Source Flash Software
ePDFViewer - requires Poppler and GTK4 ( plus CUPS for printing )
muPDF Lightweight PDF Viewer, Toolkit and library - Linux/Windows. Written in Portable C. Released under GNU GPL v3.0
Evince - Gnome Project's multi-format document viewer ( Linux/Windows )
Nitro PDF PDF Viewer/Editor - Windows
ZOHO Viewer on-line document viewer
PDF Xchange Viewer PDF Viewer/Editor - Windows. Free version of a Closed Source Commercial Product
Xpdf Open Source viewer and tools used by SWFTools - Linux/Windows. GNU GPL v2.0
PDF Software Listing Wikipedia list of PDF software inc development libraries
PDFEdit pdf maniplation Library and Tools - Linux/Windows. Released under GNU GPL v2.0
AlivePDF Open Source PDF library written is Actionscript 3
PDF Readers/Viewers General Information


---

NB The above links are provided solely for informational purposes in the hope they prove useful. Where site content and any products referenced may have been found to be of particular interest, their mention here in no way implies a relationship to the SWFTools project, its maintainers, nor compatibility with it's code base. Should the worst happen and something breaks your system, we are not, repeat NOT responsible. :) /collapsetext>

== Questions

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox