apt-get install libgif-dev xpdf libfreetype6 libfreetype6-dev libjpeg62 libjpeg8 libjpeg8-dev
wget http://www.swftools.org/swftools-2011-12-15-1229.tar.gz
tar -zvxf swftools-2011-12-15-1229.tar.gz
cd swftools-2011-12-15-1229
./configure --prefix=/usr/local
make
make install
Now you are rady to use swftools...
For testing, try to convert a pdf, with more than one pages, into a swf file.....:
pdf2swf input-file.pdf -o output-file.swf
Bye...