Tuesday, November 16, 2010

SWftools installation

SWftools installation
=====================

http://www.swftools.org/download.html

web browser execution commands
==============================
pdftoswf.php
shell_exec('/usr/local/bin/pdf2swf -l -z -t TPT_poster.pdf -o TPT_poster.swf');
echo "Successfully converted";
?>


Testscript to pdf navigation
============================

$test=shell_exec('/usr/local/bin/pdf2swf -B /usr/local/src/swftools-0.9.1/swfs/rfxview.swf -l -z -t /home/user/public_html/dev/files/Test_File.pdf -o /home/tuser/public_html/dev/files/Test_File.swf ');
if($test) print_r($test);
echo "Conversion has been completed successfully";
?>

#/usr/local/src/swftools-0.9.1/swfs/rfxview.swf

?>





play="true" align="" loop="true" quality="high"
TYPE="application/x-shockwave-flash"
PLUGINSPAGE="[[http://www.macromedia.com/go/getflashplayer]]">

No comments:

Post a Comment