X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=blobdiff_plain;f=pdf2swf%2FHOWTO_pdf2swf;h=3089e661acbae50e53fc4be364cc84333e06cc9d;hp=35a8dd8663058108d90b15bd19d91f2f178ae546;hb=602d0f0a1c8ad614029f235cc6ff38bfe26334e8;hpb=b9a138c01c32e905b7ffb215935a6ece2a2ebf15 diff --git a/pdf2swf/HOWTO_pdf2swf b/pdf2swf/HOWTO_pdf2swf index 35a8dd8..3089e66 100644 --- a/pdf2swf/HOWTO_pdf2swf +++ b/pdf2swf/HOWTO_pdf2swf @@ -1,4 +1,12 @@ +Notice + + This documentation is a little outdated. As with swftools-0.2.1 and + above, you can simply do + pdf2swf -bl -o document.swf document.pdf + to link viewer and preloader. + However, the Steps below are still valid for jpeg2swf. + Step 1: Converting the documents Suppose you have an arbitrary pdf file, "document.pdf". @@ -74,7 +82,10 @@ Appendix A: Creating your own Viewers 1. There has to be some rectangle (Movieclip, whatever... ) in your Viewer, named "viewport". (This name is used to reference the object when using swfcombine for merging it with the converted pdfs) - 2. Browsing buttons next to the rectangle (which turn pages in the + 2. The First frame should contain an actionscript "Stop" instruction. + (Otherwise, the browsing buttons turn pages, but pages get also + automatically turned every few seconds) + 3. Browsing buttons next to the rectangle (which turn pages in the shown pdf) should trigger some Actionsscript events, like SetTarget "viewport" @@ -84,15 +95,20 @@ Appendix A: 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) It's important that the Target Name ist "viewport", not "/viewport", - as the Movie will get inserted into a Movieclip. + as the Movie will get inserted into a Movieclip (Sprite). _________________________________________________________________ [5]Back to the SWFTools Project page + References + Visible links 1. http://www.quiss.org/swftools/SimpleViewer.swf 2. http://www.quiss.org/swftools/PreLoader.swf 3. http://www.quiss.org/swftools/loading.swf 4. http://www.macromedia.com/support/flash/ts/documents/tn4150.html 5. http://www.quiss.org/swftools + + +