+ (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
+ loader=loading.swf movie=flashfile.swf
+ and try playing around with the values after -x and -y)
+
+Step 4: Correcting the size and framerate
+
+ Sometimes, the bounding box of the generated flash file is not
+ correct. This happens because when linking a viewer or preloader to
+ 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
+ flashfile.swf
+ (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
+ flashfile.swf
+
+Step 5: Embedding the SWF into a html page
+
+ Usually, one wants to put the generated SWFs on his web page. To do
+ so, you have to embed the SWF file into html. If you don't know how to
+ 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
+ swfdump --html flashfile.swf
+ and insert the output into your html document
+
+Appendix A: Creating your own Viewers