PDA

View Full Version : Hyperlinking swf files


RedbackGraphics
18-11-2009, 03:54 PM
Hi all,
Ive been looking through tutorial after tutorial, googled to death, and just can't find an answer, so Im hoping someone here can help?

When hyperlinking a swf file I place a transparent box on the top layer of the fla file and apply this action to that transparent box to creat a hyperlink:

on (release) {
getURL("http://www.rmysite.com.au", "_blank");
}

Then export movie to an swf.

That works fine, but I can't work out how to provide an alt tag to the same swf file, so anyone clicking the swf, although its hyperlinked, and they can see that, they cant see where it will be taking them.

Would anyone know how to include an alt tag to a hyperlinked swf file please?

Jill

Web-Designer-Perth
18-11-2009, 07:37 PM
Not sure about 'alt tag' but you could reveal a kinda tooltip on rollover...

Can't think of the AS at the mo' but this logic:

your transparent box onRollOver tooltip alpha to 100% duration 1s

Get it?

Vee
18-11-2009, 07:41 PM
Tried a title attribute on the link in the transparent layer?

RedbackGraphics
18-11-2009, 08:29 PM
Not sure about 'alt tag' but you could reveal a kinda tooltip on rollover...

Can't think of the AS at the mo' but this logic:

your transparent box onRollOver tooltip alpha to 100% duration 1s

Get it?
Thanks, yes I found that tip when googling today, but Ive seen swfs with hyperlinks and normal alt tags, I'd love to know how its done. Im pretty sure it would be an action script, like adding the hyperlink, but everything Ive tried so far, doesnt work :(