swftools-common
[Top][All Lists]
Advanced

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

Re: [Swftools-common] bug embedding video SWF?


From: Ricardo Pedroso
Subject: Re: [Swftools-common] bug embedding video SWF?
Date: Wed, 27 Oct 2010 19:37:07 +0100

2010/10/26 Pablo Rodríguez <address@hidden>:
> Hi there,
>
> Matthias kindly posted in this list an example on how to embed an SWF video
> into another SWF (thread starting from
> http://lists.nongnu.org/archive/html/swftools-common/2008-11/msg00148.html),
> which I use as:
>
> .flash filename="this-land.swf" bbox=841x545 version=7 fps=50
> background=#002600
> .swf movie "thisland.swf"
>
> .frame 1
>    .put movie
>    .stop movie
>    .action:
>        movie._x = (Stage.width - movie._width) / 2;
>        movie._y = (Stage.height - movie._height) / 2;
>    .end
>
> .frame 2
>    .del movie
>
> .end
>
> I have used this method to embed two movies at the presentation at
> http://www.ousia.tk/freeculture.php.
>
> But with the following movie with sound (http://www.ousia.tk/thisland.swf),
> compiling the code above, the output doesn't play
> (http://www.ousia.tk/this-land.swf).
>

You are stopping the movie, just change:
   .stop movie

to:
  .stop


You can try code below, too:

.flash filename="this-land.swf" bbox=841x545 version=7 fps=50 background=#002600
.swf movie "thisland.swf"

.sprite container
   .put movie
   .action:
       movie._x = (Stage.width - movie._width) / 2;
       movie._y = (Stage.height - movie._height) / 2;
   .end
.end

.frame 1
   .put container
   .stop

.end



or:

.flash filename="this-land.swf" bbox=841x545 version=7 fps=50 background=#002600
.swf movie "thisland.swf"

.frame 1
   .put movie
   .action:
       movie._x = (Stage.width - movie._width) / 2;
       movie._y = (Stage.height - movie._height) / 2;
   .end

.end


Regards,
Ricardo



reply via email to

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