git.asbjorn.biz
/
swftools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
9cd7cb0
)
Generated from pdf2swf_usage.html
author
kramm
<kramm>
Fri, 2 Nov 2001 15:09:35 +0000
(15:09 +0000)
committer
kramm
<kramm>
Fri, 2 Nov 2001 15:09:35 +0000
(15:09 +0000)
pdf2swf/HOWTO_pdf2swf
patch
|
blob
|
history
diff --git
a/pdf2swf/HOWTO_pdf2swf
b/pdf2swf/HOWTO_pdf2swf
index
45a3d3d
..
016a031
100644
(file)
--- a/
pdf2swf/HOWTO_pdf2swf
+++ b/
pdf2swf/HOWTO_pdf2swf
@@
-5,18
+5,21
@@
Creating browseable SWFs from PDFs
you have downloaded [1]SimpleViewer.swf into the directory where
document.pdf lies.
Now call:
you have downloaded [1]SimpleViewer.swf into the directory where
document.pdf lies.
Now call:
- $ pdf2swf -o tmp.swf document.pdf
- $ swfcombine -o flashfile.swf SimpleViewer.swf viewport=tmp.swf
+ pdf2swf -o tmp.swf document.pdf
+ swfcombine -o flashfile.swf SimpleViewer.swf viewport=tmp.swf
Now, flashfile.swf should be a browseable flash representation of
document.pdf which can be embedded into your web page.
If you don't know how to embed SWFs into html pages, it's explained at
[2]http://www.macromedia.com/support/flash/ts/documents/tn4150.html .
Now, flashfile.swf should be a browseable flash representation of
document.pdf which can be embedded into your web page.
If you don't know how to embed SWFs into html pages, it's explained at
[2]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)
Creating JPEG Slideshows
You can do the same thing described above with jpeg files. Simply use
Creating JPEG Slideshows
You can do the same thing described above with jpeg files. Simply use
- $ jpeg2swf -o tmp.swf pic1.jpeg pic2.jpeg ...
- $ swfcombine -o flashfile.swf SimpleViewer.swf viewport=tmp.swf
+ jpeg2swf -o tmp.swf pic1.jpeg pic2.jpeg ...
+ swfcombine -o flashfile.swf SimpleViewer.swf viewport=tmp.swf
Linking a Preloader
Linking a Preloader
@@
-27,8
+30,8
@@
Linking a Preloader
loading animation of your choice. (To get started, try [4]loading.swf,
or just convert a "Loading" JPEG picture to swf (jpeg2swf -o
loading.swf picture.jpg)) Now use
loading animation of your choice. (To get started, try [4]loading.swf,
or just convert a "Loading" JPEG picture to swf (jpeg2swf -o
loading.swf picture.jpg)) Now use
- $ swfcombine -o flashfilewithloader.swf PreLoader.swf
- loader=loading.swf movie=flashfile.swf
+ swfcombine -o flashfilewithloader.swf PreLoader.swf loader=loading.swf
+ movie=flashfile.swf
Creating your own Viewers
Creating your own Viewers
@@
-46,6
+49,8
@@
Creating your own Viewers
to set the frame in the to-be-replaced rectangle. (It will be replaced
with a MovieClip, therefore a SetTarget is neccessary)
to set the frame in the to-be-replaced rectangle. (It will be replaced
with a MovieClip, therefore a SetTarget is neccessary)
+ It's important that the Target Name ist "viewport", not "/viewport",
+ as the Movie will get inserted into a Movieclip.
_________________________________________________________________
[5]Back to the SWFTools Project page
_________________________________________________________________
[5]Back to the SWFTools Project page