[Top][All Lists]

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

Re: [Swftools-common] Simple links with PNGs

From: Matthias Kramm
Subject: Re: [Swftools-common] Simple links with PNGs
Date: Sun, 18 Mar 2007 19:49:52 +0100
User-agent: Mutt/1.5.13 (2006-08-11)

On Wed, Mar 14, 2007 at 03:06:17PM -0600, Andrew Ziem wrote:
> What is a good way to add links?  I have 2 PNGs which form the SWF, and 
> I'd like any click (any time, any where) to load a web page.  Instead of 
> png2swf, should I use swfc?  Is there an example available?

Yep, swfc will do the trick.
This piece of script should get you started:

.flash name=banner.swf
    .png myimage filename="test.png"

    .button mybutton
     .show myimage as=idle,area,hover,pressed
     .on_press inside:
        getURL("http://www.google.com/";, "_parent", "GET");
    .put mybutton



reply via email to

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