SWFTools

From FlashSec

Jump to: navigation, search
SWFTools
Developer Rainer Böhme and Matthias Kramm
Release 0.8.1
OS Windows, MacOS, Linux, BSD, Solaris, HP-UX
Genre Converter, Exporter, Generator
License GNU GPL
Type
Website Official Website
Documentation SWFTools Docs
Wikipedia SWFTools
OSFlash


SWFTools is a suite of software tools to create and manipulate SWF files. SWFTools runs on Windows, Mac OS X, Linux and several other Unix-like systems.

SWFTools is distributed under the terms of the GNU General Public License and is thus free software.

The central tool is swfc which takes as input a description of a Flash animation in a simple language and creates as output an SWF file. It is possible to include ActionScript scripts into the generated SWF file. SWFTools also includes the RFXSWF Library which allows to write programs that generate SWF.

In addition SWFTools includes a number of tools to convert content in the PDF, JPEG, GIF, WAV and AVI formats to SWF, and others to extract information and content from existing SWF files.

[edit] Tools included

  • PDF2SWF: A PDF to SWF Converter. Generates one frame per page. Enables you to have fully formatted text, including tables, formulas etc. inside your Flash Movie. It's based on the xpdf PDF parser from Derek B. Noonburg.
  • SWFCombine: A tool for inserting SWFs into Wrapper SWFs. (Templates) E.g. for including the pdf2swf SWFs in some sort of Browsing-SWF.
  • SWFStrings: Scans SWFs for text data.
  • SWFDump: Prints out various informations about SWFs.
  • JPEG2SWF: Takes one or more JPEG pictures and generates a SWF slideshow.
  • PNG2SWF: Like JPEG2SWF, only for PNGs.
  • GIF2SWF: Converts GIFs to SWF. Also able to handle animated gifs.
  • WAV2SWF: Converts WAV audio files to SWFs, using the L.A.M.E. MP3 encoder library.
  • AVI2SWF: Converts AVI animation files to SWF. It supports Flash MX H.263 compression. Some examples can be found at examples.html.
  • Font2SWF: Converts font files (TTF, Type1) to SWF.
  • SWFBBox: Allows to readjust SWF bounding boxes.
  • SWFC: A tool for creating SWF files from simple script files.
  • SWFExtract: Allows to extract Movieclips, Sounds, Images etc. from SWF files.
  • RFXSWF: Library A fully featured library which can be used for standalone SWF generation. Includes support for Bitmaps, Buttons, Shapes, Text, Fonts, Sound etc. It also has support for ActionScript using the Ming ActionCompiler.

[edit] See also

  • Ming, a free library to create SWF files, used by SWFTools