XML, Perl, Python, and other languages can be discussed here, even if it isn't PHP (We might forgive you).
Moderator: General Moderators
phoenix211984
Forum Newbie
Posts: 3 Joined: Sat Sep 16, 2006 7:03 pm
Post
by phoenix211984 » Tue Sep 19, 2006 9:49 am
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!!!!!!!
panic!
Forum Regular
Posts: 516 Joined: Mon Jul 31, 2006 7:59 am
Location: Brighton, UK
Post
by panic! » Tue Sep 19, 2006 9:50 am
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 » Tue Sep 19, 2006 10:56 am
if you are building the flash banners then why not make the link in flash?
panic!
Forum Regular
Posts: 516 Joined: Mon Jul 31, 2006 7:59 am
Location: Brighton, UK
Post
by panic! » Tue Sep 19, 2006 11:55 am
I'd imagine he wants it to be dynamic, but I can only guess.
bokehman
Forum Regular
Posts: 509 Joined: Wed May 11, 2005 2:33 am
Location: Alicante (Spain)
Post
by bokehman » Tue Sep 19, 2006 2:47 pm
Having the link in the .swf file is the correct way. There is no valid way to have a flash object inside an anchor.
n00b Saibot
DevNet Resident
Posts: 1452 Joined: Fri Dec 24, 2004 2:59 am
Location: Lucknow, UP, India
Contact:
Post
by n00b Saibot » Tue Sep 19, 2006 4:33 pm
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.
wtf
Forum Contributor
Posts: 331 Joined: Thu Nov 03, 2005 5:27 pm
Post
by wtf » Tue Sep 19, 2006 5:26 pm
Link doesn't have to be hardcoded in flash. Link url can be passed to swf.
n00b Saibot
DevNet Resident
Posts: 1452 Joined: Fri Dec 24, 2004 2:59 am
Location: Lucknow, UP, India
Contact:
Post
by n00b Saibot » Tue Sep 19, 2006 5:37 pm
wtf wrote: Link doesn't have to be hardcoded in flash. Link url can be passed to swf.
yeah, kinda overlooked this option