From 2e69ec75bfa87e063734f733b9a101d0e4639c38 Mon Sep 17 00:00:00 2001 From: "vincent@cubedesigners.com" Date: Sun, 16 Oct 2011 19:02:12 +0000 Subject: [PATCH] --- inc/ws/DAO/class.ws.dao.book.php | 8 ++++---- inc/ws/Metier/class.ws.document.php | 1 - 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/inc/ws/DAO/class.ws.dao.book.php b/inc/ws/DAO/class.ws.dao.book.php index 12a5b1345..9e153949d 100644 --- a/inc/ws/DAO/class.ws.dao.book.php +++ b/inc/ws/DAO/class.ws.dao.book.php @@ -755,14 +755,14 @@ class wsDAOBook extends commonDAO { wsSVN::updateToLastRevision(); $swf = 'FluidbookAirProjector' . $book_id; - $flex = new cubeFlexCompiler($swf, $compilerDir, 'com.fluidbook.player.AIRMain', $libs, '/usr/local/flex/bin/mxmlc', 10, 45, 800, 600, true); + $flex = new cubeFlexCompiler($swf, $compilerDir, 'com.fluidbook.player.AIRMain', $libs, '/usr/local/flex/bin/mxmlc', 'air', 45, 800, 600, true); $this->compileFlex($book_id, true, $compilerDir, $finalDir, $filesToCopy, $book, $pages, $flex, $flex); $res = $flex->compile(); - $air = new cubeAIRCompiler($compilerDir . '/' . $swf . '.swf', '/usr/local/flex/bin', $compilerDir, '2.7'); - $air->setApplicationDatas('com.fluidbook' . $book_id, $book->parametres->titre, $book->parametres->titre, cubeText::str2URL($book->parametres->titre), $book->parametres->lang); - $air->setInitialWindow($book->parametres->titre); + $air = new cubeAIRCompiler( $swf . '.swf', '/usr/local/flex/bin', $compilerDir, '2.0'); + $air->setApplicationDatas('com.fluidbook' . $book_id, $book->parametres->title, $book->parametres->title, cubeText::str2URL($book->parametres->title), $book->lang); + $air->setInitialWindow($book->parametres->title); $res.=$air->compile(); return $res; diff --git a/inc/ws/Metier/class.ws.document.php b/inc/ws/Metier/class.ws.document.php index 97e5e63d9..7a7c1e1dd 100644 --- a/inc/ws/Metier/class.ws.document.php +++ b/inc/ws/Metier/class.ws.document.php @@ -734,7 +734,6 @@ class wsDocument extends cubeMetier { $pdf2swf->setArg('set multiply', $multiply); } - $pdf2swf->setArg('stop'); // $pdf2swf->setManualArg('-v'); $pdf2swf->setArg('T', 10); $pdf2swf->setArg('set reordertags', '0'); -- 2.39.5