swftools-common
[Top][All Lists]
Advanced

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

Re: [Swftools-common] Complete newbie how-to question


From: List_Subs
Subject: Re: [Swftools-common] Complete newbie how-to question
Date: Sun, 10 Jun 2012 13:24:35 +0200

Ok, try it this way..

Create a new swf, and then use it to load your existing swf.  That'll
give you the control you need, to stop at whichever frame you need to.
Should you recast your pdf with extra frames, just adjust the final
stop frame, as necessary.

Since you are short of time, below is an swfc script that does exactly
that:

#~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~
# SWFC script 'final.sc'
#~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~
.flash filename="final.swf" version=8 fps=12  bbox=800x600
.swf recom "recombination.swf"
.frame 1
 .put recom x=0 y=0 scale=50%
.frame 32
# adjust the above frame number to the one
# you wish your recombination.swf to stop at
  .stop recom
.end
#
#~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~

Put the final.sc script in the same directory as you recombination.swf,
then issue,

  swfc final.sc   ( or whatever you choose to call it )

There are some alternative swf loading methods illustrated on the
swftools wiki. Check here,

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


HTH.

Good luck with the presentation! ;o)

Regards,


Chris.


>On Sat, 9 Jun 2012 22:35:29 -0700
>"Michael Cooley" <address@hidden> wrote:

> Thanks for your reply Chris.
> 
> I just need a stop at the very last frame, so that it doesn't keep
> repeating, as it does here:
> 
> http://ancestraldata.com/recombination.swf
> 
> Is it possible to specify a stop at a frame number?
> 
> I played around with swfc, took one of the examples and added ".stop"
> at the end of a sequence, but I don't have the time to learn a new
> programming language from scratch before the presentation. If I can
> translate the swf to a script that would be great. The swfdump command
> gives me something but I don't know what it is or how to edit and
> re-use it.
> 
> I'll try specifying a frame number with -t.
> 
> Thanks,
> Michael
> 
> > -t inserts a stop() in each page.  Does that help?
> >
> > It's a bit tricky though, to know where any issue lies, without
> > seeing the original pdf.  Able to link to it?
> >
> > Incidentally, OpenOffice is no longer what it once was.  If I were
> > you I'd completely remove it, and replace with LibreOffice,
> >
> >     http://libreoffice.org
> >
> > Regards,
> >
> >
> > Chris.
> >
> >>On Sat, 9 Jun 2012 20:36:08 -0700
> >>"Michael Cooley" <address@hidden> wrote:
> >
> >> I found the -s option and the framerate param under that.
> >>
> >> Now I'd like it to show only 1 iteration.
> >>
> >> Sorry for the stupid newbie questions, but this could go a lot
> >> faster. =8-O
> >>
> >> -Michael
> >>
> >> > I'm a linux user who prefers using the command line whenever
> >> > possible. I've done little with graphics but I'm preparing a
> >> > presentation for which I want to do some simple animation.
> >> > OpenOffice is frustrating me. Swftools looks perfect and I've
> >> > converted an office-generated pdf file with 32 "frames" to swf.
> >> > But it's -really- slow. I'm unable to figure out the timing. Can
> >> > it be that I'm simply using too many frames?
> >> >
> >> > This is the file: http://ancestraldata.com/recomb-pdf.swf
> >> >
> >> > It takes about three seconds for each frame to advance.
> >> >
> >> > Can someone get me started on this?
> >> >
> >> > Thanks!
> >> > Michael Cooley
> >
> > ---------------
> > SWFTools-common is a self-managed list. To subscribe/unsubscribe,
> > or amend an existing subscription, please kindly point your
> > favourite web browser
> > at:<http://lists.nongnu.org/mailman/listinfo/swftools-common>
> >
> 
> 
> 




reply via email to

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