swftools-common
[Top][All Lists]
Advanced

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

Re: [Swftools-common] Add a link with gif2swf?


From: Garth Patil
Subject: Re: [Swftools-common] Add a link with gif2swf?
Date: Sun, 12 Mar 2006 12:38:16 -0800

thanks for the help!
i used the code at
http://technoargia.free.fr/swftools/examples/transparent_link/translink.html
as a basis for the following:

# test adding a link to a swf
.flash bbox=autocrop version=6 compress
.swf anim "test.swf"
.box button_area width=100 height=100 line=0
.button trans_button
        .show button_area alpha=0% as=area
        .show button_area alpha=10% as=hover
        .on_press:
        getURL("http://google.com/";, "_blank");
        .end
.end
.put anim x=0 y=0
.put trans_button x=0 y=0
.end

i have two problems that i can't figure out:
1) the button area is not clickable, as it is in the example
2) i will not know the size of the imported swf. is it possible to
dynamically size the transparent button to adapt to 100% x 100% of the
size of the imported swf?

thanks again,
garth

On 3/11/06, Mr. Kevin Veroneau <address@hidden> wrote:
> Garth,
>
>     I believe this is the block of swfc code you are looking for:
>
> .button mybutton
> ...
> ...
> ...
> ...
> ...
>         .on_press:
>         this.geturl('http://www.google.ca/');
>         .end
> ....
> ...
> ..
> .end
>
>     I hope this helps.
>
> ---------------
> K. Veroneau
> Zyrix Networks
> address@hidden
> http://www.zyrixnet.com/
>
>
> On March 11, 2006 02:18 pm, Garth Patil wrote:
> > Thanks Phillipe!
> > I've been looking in the swfc documentation, and I can figure out how
> > to make a transparent movie clip over the imported swf file, but not
> > how to make it clickable or specify the target URL. Can someone point
> > me to the right place in the documentation?
> > Thanks,
> > Garth
> >
> > On 3/10/06, Philippe Maurer <address@hidden> wrote:
> > > Hi Garth,
> > >
> > > You can use swfc for this.
> > > I would import the swf ( created by gif2swf ) and create a clickable
> > > movieclip over it that would navigate to the right link when clicked.
> > >
> > > Philippe
> > >
> > > -----Message d'origine-----
> > > De: address@hidden
> > > [mailto:address@hidden De la
> > > part de Garth Patil
> > > Envoyé: vendredi 10 mars 2006 22:58
> > > À: address@hidden
> > > Objet: [Swftools-common] Add a link with gif2swf?
> > >
> > > hi,
> > > i've just started using swftools, and i was wondering if there was a
> > > way to make the swf files created by gif2swf clickable. i'm trying to
> > > transcode a bunch of animated gifs into swfs, and i need to make a
> > > click (anywhere on the swf file) link to a specific url. any ideas how
> > > to do this?
> > > thanks!
> > > /garth
> > >
> > >
> > > _______________________________________________
> > > Swftools-common mailing list
> > > address@hidden
> > > http://lists.nongnu.org/mailman/listinfo/swftools-common
> >
> > _______________________________________________
> > Swftools-common mailing list
> > address@hidden
> > http://lists.nongnu.org/mailman/listinfo/swftools-common
>
> --
>
>
> _______________________________________________
> Swftools-common mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/swftools-common
>




reply via email to

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