Many thanks Cris, but I think that is not the point. The error you can reproduce is about the path with space (program files). I have installed Swftools in "c:\swftools" so that problem isn't applicable. Windows XP understand forward slash and back slash in path.
I have changed all the slash to forward slash, but with rfxviewer the problem is always the same. Regards Marco Tironi 8volante s.r.l. Tel. 030.9444003 - Fax. 030.9946953 www.8volante.com - [email protected] Le informazioni contenute nella presente comunicazione e i relativi allegati possono essere riservate e sono, comunque, destinate esclusivamente alle persone o alla Società sopraindicati. La diffusione, distribuzione e/o copiatura del documento trasmesso da parte di qualsiasi soggetto diverso dal destinatario è proibita, sia ai sensi dellart. 616 c.p. , che ai sensi del D.Lgs. n. 196/2003. Se avete ricevuto questo messaggio per errore, vi preghiamo di distruggerlo e di informarci immediatamente inviando un messaggio allindirizzo di posta elettronica relativo alla presente. The information in this e-mail (which includes any files transmitted with it) is confidential and may also be legally privileged. It is intended for the addressee only. Access to this e-mail by anyone else is unauthorised. It is not to be relied upon by any person other than the addressee, except with our prior written approval. If no such approval is given, we will not accept any liability (in negligence or otherwise) arising from any third party acting, or refraining from acting on such information. Unauthorised recipients are required to maintain confidentiality. If you have received this e-mail in error please notify us immediately, destroy any copies and delete it from your computer system. Any use, dissemination, forwarding, printing or copying of this e-mail is prohibited. Copyright in this e-mail and any document created by us will be and remain vested in us and will not be transferred to you. We assert the right to be identified as the author of and to object to any misuses of the contents of this e-mail or such documents. -----Messaggio originale----- Da: [email protected] [mailto:[email protected]] Per conto di Chris Pugh Inviato: giovedì 11 marzo 2010 13.55 A: Marco Tironi / 8volante Srl Cc: [email protected] Oggetto: Re: [Swftools-common] Problem with preloader and windows ?? I did a test run on a sample pdf, pdf2swf -lb 1.pdf -o 1.swf This is what happened: ========================================================== NOTICE processing PDF page 1 (595x842:0:0) (move:0:0) NOTICE processing PDF page 2 (595x842:0:0) (move:0:0) NOTICE Writing SWF file 2.swf swfcombine "C:\Program Files\SWFTools\swfs/default_viewer.swf" viewport=2.swf -o __tmp__.swf swfcombine -X 595 -Y 842 -r 20.000000 C:\Program Files\SWFTools\swfs/PreLoaderTemplate.swf loader=C:\Program Files\SWFTools\swfs/default_loader.swf movie=__tmp__.swf -o "2.swf" FATAL Failed to open C:\Program ===================================================== Look at the swfcombine lines, and you'll what is causing the problem - a linux style forward slash in the directory path statements ( after the 'swfs )'. A typo in the source code? Replace the forward slash with a Windows blackslash, and the temp swf gets combined with the viewer properly. Regards, Chris. On 11 March 2010 10:03, Marco Tironi / 8volante Srl <[email protected]> wrote: > Da: Marco Tironi / 8volante Srl [mailto:[email protected]] > Inviato: giovedì 11 marzo 2010 10.55 > A: '[email protected]' > Oggetto: Problem with preloader and windows ?? > > > > Hi, I have a problem with pdf2swf (part of swftools 2010-02-06-1900) and how > it works on windows system maybe I think. > > > > - When I run the simple command pdf2swf -lb ELA.pdf ELA.swf an > error happens on command rm __tmp__.swf. The cause is that windows doesnt > have a RM command, but if I create a file name rm.bat that does the same > things I can bypass the problem. > > - The real problem is that if I run pdf2swf -lb ELA.pdf ELA.swf > with the default viewer and default loader all works, but using > rfxviewer.swf the loader works, but then I can see a black square on white > background, nothing else. Can I solve the problem ?? (I use rfxviewer.swf > shipped with the exe file) > > > > Regards > > > > Marco Tironi
