Page 1 of 1

Add hyperlink to flash banner ???

Posted: Tue Sep 19, 2006 9:49 am
by phoenix211984
I was wondering if anybody could help me.

I would like to know how to go about adding a link to a flash banner (swf file) that will users to another website. The flash banners are owned by me. I have would like to do it in php code not javascript or actionscript.

Also is there a way to add a hyperlink by editing the swf file and resaving it????

thanks in advance for any help!!!!!!!

Posted: Tue Sep 19, 2006 9:50 am
by panic!
maybe you could wrap it in an <a> tag, that might work, i don't know for sure.

Posted: Tue Sep 19, 2006 10:56 am
by lecram
if you are building the flash banners then why not make the link in flash?

Posted: Tue Sep 19, 2006 11:55 am
by panic!
I'd imagine he wants it to be dynamic, but I can only guess.

Posted: Tue Sep 19, 2006 2:47 pm
by bokehman
Having the link in the .swf file is the correct way. There is no valid way to have a flash object inside an anchor.

Posted: Tue Sep 19, 2006 4:33 pm
by n00b Saibot
Two ways:

1) Get Sothink SWF Decompiler.. decompile the swf.. add the link in the resulting fla.. recompile.. done.
2) put a positioned div on top of the flash.. set onclick to take the user on the ride.. done.

Posted: Tue Sep 19, 2006 5:26 pm
by wtf
Link doesn't have to be hardcoded in flash. Link url can be passed to swf.

Posted: Tue Sep 19, 2006 5:37 pm
by n00b Saibot
wtf wrote:Link doesn't have to be hardcoded in flash. Link url can be passed to swf.
yeah, kinda overlooked this option :roll: