1 1.) What's the cost of swftools?
3 SWFTools is free of charge, and is released under the GPL
4 (http://www.gnu.org/licenses/gpl.html).
6 2.) How to compile/link swftools?
8 Download swftools-0.4.2.tar.gz and t1lib-1.3.1.tar.gz.
10 gzip -d swftools-0.4.2.tar.gz
11 gzip -d t1lib-1.3.1.tar.gz
12 tar -xf t1lib-1.3.1.tar
18 tar -xf swftools-0.4.2.tar
24 3.) Is there a pdf2swf for Windows?
26 No. pdf2swf only runs on Unix platforms, like Linux, *BSD, MacOS X, etc.
27 There have been some reports on more or less successfully compling pdf2swf on Win32 using
28 Cygwin (http://sources.redhat.com/cygwin), however, there's no working version
30 If you want to use pdf2swf, find a Unix machine.
32 4.) Is there *going to* be a pdf2swf for Windows?
34 Probably. As soon as we find the time to look into the Cygwin compile issues.
36 5.) The fonts in the SWFs generated by pdf2swf are wrong!
38 Try running pdf2swf with the "-v" switch.
39 If you see a line reading "substituting VerySpecialFont -> Times-Roman", then pdf2swf
40 didn't find some fonts, which may be external references in the pdf.
41 To fix this, copy the fonts into your current directory and pass the "-F ./" (--fontpath ./)
42 option to pdf2swf. (This doesn't yet work with TTF, only with Type1 Fonts. You can
43 convert TTF to Type1, however, using ttf2pt1 (http://ttf2pt1.sourceforge.net)).
44 The font files should, in this case, have the filenames VerySpecialFont.afm and
45 VerySpecialFont.pfa (.pfb).
47 6.) Can png2swf handle transparency?
49 It supports PNG mode 2 transparency (alpha palettes) since version 0.4.2.
50 Mode 6 (32 bit RGBA truecolor) is also supported since version 0.4.3, however
51 it seems most Flash players don't handle the alpha channel in the resulting
52 32 bit images correctly.
54 7.) How to get Flash MX compression with SWFTools?
56 Most tools support the -z flag for outputting compressed SWF.
57 Furthermore you can compress/uncompress SWF files using swfcombine:
59 swfcombine -dz file.swf -o file_new.swf
63 swfcombine -d file.swf -o file_new.swf
67 8.) avi2swf converts my avi files upside down!
69 Try using the -p (--flip) switch.
71 9.) How to extract images/sounds from myfile.swf using swfextract?
73 First list all extractable items:
77 The result is something like:
79 Objects in file myfile.swf:
81 MovieClips: 4, 5, 8, 10, 12
85 Frames: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10
87 Not you can extract a shape using
89 swfextract -i 2 myfile.swf -o shape.swf
93 swfextract -s 28 myfile.swf -o sound.wav
95 a PNG image file using
97 swfextract -p 318 myfile.swf -o file.png
101 10.) Is there a mailing list for SWFTools?
103 There used to be, however it was shut down due to lack of traffic. The archive
104 is available as raw INBOX file on http://www.quiss.org/swftools/list.tar.gz .