Navigation: Part II - Enhanced Features > Files which can be protected > Conversion necessary > PDF > PDF Conversion to Flash |
![]() ![]() ![]() |
We describe one tool more in detail. It is it is free (released under GPL) - www.swftools.org and comes already installed with Multimedia Protector.
Step 1 - Batch file conversion
It is possible to convert all PDF files on a folder and all subfolders in a batch process.
• | Copy all your PDF files to the folder ..\Multimedia Protector\2.0\converter\swftools |
• | Start convertpdf-batch.bat. It converts all files to flash |
• | As a result of the conversion, a file with the extension .swf is created. It has the same name like the PDF file |
The PDF file may not be password protected - all security settings must be set to none for the PDF file to allow a conversion.
Step 2 - Add a menu and navigation toolbar
If you have only one pdf file, then rename the file to doc.swf (first delete the sample file doc.swf)
Use the Advanced Menu as described below, if you have multiple PDF files. This adds a menu structure.
Adding a toolbar (browse, zoom, print) The toolbar for the converted PDF file is provided by the Advanced Menu.
If you have just one PDF file then use the files provided in the folder ..\converter\swftools. You need 3 files for your project:
Rename your converted PDF file to docu.swf and import all files. Select the file advanced-menu.swf as start file and check the option: Use advanced menu. It will add browse buttons to navigate to the next page and a scroll bar to scroll through the page.
It is possible to change different settings.
|
Step 3 - Import Files
After converting all files to flash, copy only the flash files (swf) and the menu files (advanced-menu.swf, config.xml) to a new directory, which you would import.
The file advanced-menu.swf must be selected as start file.
Note: As required by the license of this tool, the source code is also installed and can be found on the folder ..\converter\swftools\source