Show/Hide Toolbars

All-In-One Protector 8

Navigation: Part II - Enhanced Features > Flash Development

Start PDF and PPT files

Scroll Prev Top Next More

 

Start PDF file (unprotected)

Use in flash the same command to open a PDF file as you would use to start another flash file. The file is displayed in the All-In-One Protector PDF Viewer but it is not protected.

 

You have to select the option: Do NOT encrypt PDF files to open a PDF file from within flash.

 

Start PDF and PPT files (protected)

To start a protected PDF or PPT file within a flash application, you have to create an own project with these files and then invoke the All-In-One Player EXE file.

 

Split the project into a second database (e.g. pdfiles.aipfile)

Add the command http://FILE:player.exe -f filename.aipfile -l "pdfname.pdf" $$RUN in your flash application to start the database filename.aipfile with the pdf file pdfname.pdf - example: http://FILE:player.exe -f pdfiles.aipfile -l "flyer1.pdf" $$RUN

If you have a PowerPoint file, it is sufficient to define just the database name

 

Details how to protect PDF and PPT.

 

 

Flash file converted to EXE file

In case the SWF file was converted to an EXE file, the commands with $$RUN will not work. The flash application has to directly start the player.exe file using command line parameters.

 

player.exe -f filename.aipfile -l "pdfname.pdf"

 

 

 

See also
All-In-One Player - Start Options