swftools-common
[Top][All Lists]
Advanced

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

[Swftools-common] avoid loop in video SWF


From: Pablo Rodríguez
Subject: [Swftools-common] avoid loop in video SWF
Date: Tue, 02 Nov 2010 21:26:14 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.12) Gecko/20101027 Fedora/3.1.6-1.fc13 Thunderbird/3.1.6

Hi there,

I use ffmpeg to convert movies to SWF video snippets to add to other SWF presentations (as described at http://www.ousia.tk/swftools-video.php).

There is a non-minor issue when converting from ffmpeg (that is the first step of the whole process): output SWF loops endlessly. How could I avoid that?

Using the script below to insert the SWF video snippet, doesn't prevent the endless loop.

.flash filename="video-slide.swf" bbox=841x545 version=7
.swf movie "video-snippet.swf"
.frame 1
     .put movie
     .stop
     .action:
         movie._x = (Stage.width - movie._width) / 2;
         movie._y = (Stage.height - movie._height) / 2;
     .end
.frame 2
     .del movie
.end

Is there a way here to prevent the loop in the embedding script?

Thanks in advance,


Pablo
--
http://www.ousia.tk



reply via email to

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