[R] svg2swf - controlling the looping of flash files

Yixuan Qiu yixuan.qiu at cos.name
Tue Mar 10 01:20:14 CET 2015


Hello Paul,
So far there is no way to stop the animation after its first run. If this
feature is needed I could try to implement it in the future version of
R2SWF.


Best,
Yixuan

2015-03-09 18:33 GMT-04:00 Paul Sweeting <paul.j.sweeting at gmail.com>:

> Hi
>
>
>
> I'm using svg2swf to collate a number of svg outputs into an swf file.
> I've
> got this working (mainly.) except that I can't control the looping
> behaviour
> of the swf file.  In other words, when it's loaded into html it loops
> continuously.  Is there any way to stop the animation looping, so it just
> plays through once when loaded?  The code I use is (broadly):
>
>
>
>                svg("testplot%d.svg",onefile = FALSE)
>
>                for(j in 1:360){
>
>                               print(cloud(x~y*z, groups=tail,
> data=norm_dots_chart, screen=list(z=0,x=0,y=j)))
>
>                }
>
>                dev.off()
>
>                output = svg2swf(sprintf("testplot%d.svg", 1:360), interval
> =
> 0.04)
>
>                swf2html(output)
>
>
>
> Thank you!
>
>
>         [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>



-- 
Yixuan Qiu <yixuan.qiu at cos.name>
Department of Statistics,
Purdue University

	[[alternative HTML version deleted]]



More information about the R-help mailing list