On Fri, Apr 11, 2008 at 05:05:56PM +0200, Frédéric LEVE - [E]cedi <[EMAIL PROTECTED]> wrote: > I tried to use a setMask (with the mask at the right size) but _width and > _height of the parent movieclip are still at the wrong size :(
I believe Flash doesn't take Masks into account when calculating _width and _height. Only the dimension/position of the largest contained object. Greetings Matthias -----Original Message----- From: Frédéric LEVE - [E]cedi Sent: Fri, Apr 11, 2008 at 05:05:56PM +0200 To [email protected] Subject: RE: [Swftools-common] Pr Thanks for your answers I used the BitmapData class to crop the pages (using the bboxvars option to find the real sizes) and generate a JPEG with it to use it on pageFlip. I tried to use a setMask (with the mask at the right size) but _width and _height of the parent movieclip are still at the wrong size :( For the version of swttools I use, is 0.8.1 is still the latest version for Linux ? thanks Frédéric Levé - [E]cedi Ingénieur de développement 91 avenue de la République - 75011 Paris Ligne directe : 01 70 95 70 92 Standard : 01 70 95 70 70 Fax : 01 70 95 70 95 http://www.ecedi.fr -----Message d'origine----- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de Matthias Kramm Envoyé : vendredi 11 avril 2008 12:32 À : [email protected] Objet : Re: [Swftools-common] Problems w/ several PDF On Fri, Apr 11, 2008 at 10:25:01AM +0200, Frédéric LEVE - [E]cedi <[EMAIL PROTECTED]> wrote: > I'm still having problems using pdf2swf with several type of PDF. > > When using loadMovie in a movie clip, the size of each page doesn't seem to > be the same for all pages. Very well possible. The page size can differ within a PDF. > $command = "swfbbox -c " . $swfFile; You don't need to do that anymore for the latest versions of pdf2swf (development snapshot) > You can find an example of a PDF which I have the problem on this link : > http://91.121.103.12/e_upload/catalogues/pdf/Convertis/4757_test3.pdf That PDF seems to have the following page sizes: page 1: 596 794 page 2: 596 794 page 3: 596 794 page 4: 595 793 page 5: 596 794 Is that what you get, too? Greetings Matthias
