swftools-common
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Swftools-common] Problem with preloader and windows ??


From: Chris Pugh
Subject: Re: [Swftools-common] Problem with preloader and windows ??
Date: Thu, 11 Mar 2010 12:55:06 +0000

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 <address@hidden> wrote:
> Da: Marco Tironi / 8volante Srl [mailto:address@hidden
> Inviato: giovedì 11 marzo 2010 10.55
> A: 'address@hidden'
> 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 doesn’t
> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]