swftools-common
[Top][All Lists]
Advanced

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

Re: [Swftools-common] how to use swfcombine to combine swfviewer with a


From: Mayank Jain
Subject: Re: [Swftools-common] how to use swfcombine to combine swfviewer with a swf generated from pdf2swf
Date: Wed, 24 Nov 2010 22:01:29 -0500



On Wed, Nov 24, 2010 at 5:33 PM, Chris <address@hidden> wrote:
On Wed, 24 Nov 2010 16:04:17 -0500
Mayank Jain <address@hidden> wrote:

> Hi,
>
> Can some one please guide me how to use swfcombine to combine some swfviewer
> with a swf generated from pdf2swf.
>
> I run following command
>
> #pdf2swf -z -S -w fromjod.pdf -o poesie-book.swf;  swfcombine -z
> swfviewer.swf viewpoint="poesie-book.swf" -o poesie-book.swf
>
> and I got an error message.
>
> WARNING Didn't find anything named viewpoint in file. No substitutions will
> occur.
>
> What is the concept behind the viewpoint. Can some one please suggest how to
> fix this.

The swf file you are using as the viewer, has to have an object inside it which
can contain/constrain the swf file you want to view.   In the case of the viewers supplied with the swftools distribution, this container object just happens to have been given the name 'viewport'.  This object can however be a name of your own
choosing.

So, for your given example to work as is, 'swfviewer.swf' must contain an object
named 'viewpoint', because,

Can you please guide me how to find which object is there? 
 

 swfcombine -z swfviewer.swf viewpoint="poesie-book.swf" -o poesie-book.swf

means, load the file 'poesie-book.swf' into the object 'viewpoint' which is inside
the file 'swfviewer.swf'
 
I need to create a viewer, so any pointer for that too. I want to convert ppt to swf. Which I am able to do with the help of the openoffice and pdf2swf converter. The SWF doesn't have a good interface. So can you please guide me how can I create an interface for that, any existing one? or some pointer to create a new one.

Regards,
Mayank Jain
 

To see how this works with at the swfc/as2 script level, see the section entitled
'Load another SWF' from the SWFTools wiki,

   http://wiki.swftools.org/index.php/Swfc_Code_Snippets

HTH.

Regards,


Chris
--
<address@hidden>


reply via email to

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