Step 1: Converting the documents
Suppose you have an arbitrary pdf file, "document.pdf".
Call:
Step 1: Converting the documents
Suppose you have an arbitrary pdf file, "document.pdf".
Call:
Now, tmp.swf is a Flash Movie generated from document.pdf. Movie means
that there are no navigation elements whatsoever. Just frames which
get displayed one by one, at a rate of approx. 1/2 frames/second. How
Now, tmp.swf is a Flash Movie generated from document.pdf. Movie means
that there are no navigation elements whatsoever. Just frames which
get displayed one by one, at a rate of approx. 1/2 frames/second. How
Just take a viewer of your choice (e.g. [1]SimpleViewer.swf ) and put
it in the same directory where you entered the commands above.
Now call:
Just take a viewer of your choice (e.g. [1]SimpleViewer.swf ) and put
it in the same directory where you entered the commands above.
Now call:
or just convert a "Loading" JPEG picture to swf (jpeg2swf -o
loading.swf picture.jpg)) Now use
swfcombine -o flashfile.swf PreLoader.swf loader=loading.swf
or just convert a "Loading" JPEG picture to swf (jpeg2swf -o
loading.swf picture.jpg)) Now use
swfcombine -o flashfile.swf PreLoader.swf loader=loading.swf
(Most loaders are smaller than the document they load. They usually
need some centering so they appear in the middle of the page to be
displayed, not in the upper left corner. Replace the above command
with e.g.
swfcombine -o flashfile.swf PreLoader.swf -x 3000 -y 3000
(Most loaders are smaller than the document they load. They usually
need some centering so they appear in the middle of the page to be
displayed, not in the upper left corner. Replace the above command
with e.g.
swfcombine -o flashfile.swf PreLoader.swf -x 3000 -y 3000
the SWFs, the new dimensions are those of the PreLoader and Viewer
templates, and not those of your pdf or jpeg files. To fix this, use
swfcombine --dummy `swfdump -XY tmp.swf` flashfile.swf -o
the SWFs, the new dimensions are those of the PreLoader and Viewer
templates, and not those of your pdf or jpeg files. To fix this, use
swfcombine --dummy `swfdump -XY tmp.swf` flashfile.swf -o
(tmp.swf is your 'original' swf, generated like above)
You may also want to adjust the framerate of the movie to that of the
preloader. (As the preloader is usually the only animated part of e.g.
pdf viewers)
Use:
swfcombine --dummy `swfdump -r loading.swf` flashfile.swf -o
(tmp.swf is your 'original' swf, generated like above)
You may also want to adjust the framerate of the movie to that of the
preloader. (As the preloader is usually the only animated part of e.g.
pdf viewers)
Use:
swfcombine --dummy `swfdump -r loading.swf` flashfile.swf -o
embed SWFs into html pages, it's explained at
[4]http://www.macromedia.com/support/flash/ts/documents/tn4150.html .
Also, you can simply type
embed SWFs into html pages, it's explained at
[4]http://www.macromedia.com/support/flash/ts/documents/tn4150.html .
Also, you can simply type
_________________________________________________________________
[5]Back to the SWFTools Project page
_________________________________________________________________
[5]Back to the SWFTools Project page