swftools-common
[Top][All Lists]
Advanced

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

[Swftools-common] swfc to add a link to a swf movie


From: Kirk Zurell
Subject: [Swftools-common] swfc to add a link to a swf movie
Date: Wed, 27 May 2009 17:28:22 -0400
User-agent: Thunderbird 2.0.0.21 (Windows/20090302)

I need to make a splash screen flash movie clickable: to allow the user
to click on it to getURL(), and preferably to have it getURL on its own
at the end of the movie.

I can't see how to overlay the clickable button (5% for debug) over the
movie, if it's possible at all. This test leaves a 1px clickable link at
left and top.

Also, is there any setting to ensure the movie only runs once? The movie
was created with "-loop 1" in ffmpeg, and runs only once on its own. The
test page has a parameter <PARAM NAME="loop" VALUE="false">

Any pointers appreciated.
Thanks
Kirk


swfc source:

.flash filename="test1.swf" version=6 background=#87002F bbox=468x600
fps=25 compress
        .swf mymovie1 "test.swf"
        .put mymovie1 x=0 y=0

        .box buttonbox width=468 height=600
        .button button
                .show buttonbox as=area
                .show buttonbox as=idle
                .show buttonbox as=hover
                .on_press:
                        getURL("http://www.bytecraft.com";, "_self");
                .end
        .end

        .put button alpha=5% x=0 y=0
.end
-- 
Kirk Zurell
Byte Craft Limited
Waterloo, Ontario, Canada
http://www.bytecraft.com




reply via email to

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