Add hyperlink to flash banner ???

XML, Perl, Python, and other languages can be discussed here, even if it isn't PHP (We might forgive you).

Moderator: General Moderators

Post Reply
phoenix211984
Forum Newbie
Posts: 3
Joined: Sat Sep 16, 2006 7:03 pm

Add hyperlink to flash banner ???

Post 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!!!!!!!
User avatar
panic!
Forum Regular
Posts: 516
Joined: Mon Jul 31, 2006 7:59 am
Location: Brighton, UK

Post by panic! »

maybe you could wrap it in an <a> tag, that might work, i don't know for sure.
lecram
Forum Newbie
Posts: 20
Joined: Wed Sep 06, 2006 10:12 am

Post by lecram »

if you are building the flash banners then why not make the link in flash?
User avatar
panic!
Forum Regular
Posts: 516
Joined: Mon Jul 31, 2006 7:59 am
Location: Brighton, UK

Post by panic! »

I'd imagine he wants it to be dynamic, but I can only guess.
User avatar
bokehman
Forum Regular
Posts: 509
Joined: Wed May 11, 2005 2:33 am
Location: Alicante (Spain)

Post 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.
User avatar
n00b Saibot
DevNet Resident
Posts: 1452
Joined: Fri Dec 24, 2004 2:59 am
Location: Lucknow, UP, India
Contact:

Post 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.
User avatar
wtf
Forum Contributor
Posts: 331
Joined: Thu Nov 03, 2005 5:27 pm

Post by wtf »

Link doesn't have to be hardcoded in flash. Link url can be passed to swf.
User avatar
n00b Saibot
DevNet Resident
Posts: 1452
Joined: Fri Dec 24, 2004 2:59 am
Location: Lucknow, UP, India
Contact:

Post 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:
Post Reply