swftools-common
[Top][All Lists]
Advanced

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

Re: [Swftools-common] clickable swf from gif/png/jpg


From: Romi Kuntsman
Subject: Re: [Swftools-common] clickable swf from gif/png/jpg
Date: Wed, 13 Aug 2008 13:23:57 +0300

Thanks Matthias, that's great!

1. How can I do it with GIFs?
2. How do I define a background for the flash, to be behind the image in transparent places?

2008/8/13, Matthias Kramm <address@hidden>:
On Sun, Aug 03, 2008 at 12:38:43PM +0300, Romi Kuntsman <address@hidden> wrote:
> I'm using png2swf, gif2swf, jpg2swf to convert images to SWFs.
> How can I make them clickable - so a click would lead to the standard
> clickTAG url, or a predefined URL?


Write a swfc script:

.flash name="clickable.swf" version=6
    #.jpeg image "image.jpg"
    .png image "image.png"

    .button button
      .show image as=idle,area,hover,pressed
      .on_press inside:
         getURL("http://www.quiss.org/", "_parent", "GET");
      .end
    .end
    .put button
.end

Greetings


Matthias







--
[ Romi Kuntsman | High Performance Software Engineer | RockeTier - Startup your engines | http://www.rocketier.com ]

reply via email to

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