Print Page | Close Window

Link a .swf object

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: Web Design Discussion
Forum Description: Discussion on web design and development subjects.
URL: https://forums.webwiz.net/forum_posts.asp?TID=3182
Printed Date: 28 March 2026 at 1:09am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Link a .swf object
Posted By: 808Rider
Subject: Link a .swf object
Date Posted: 31 May 2003 at 8:42pm

A webmaster recently sent me a new banner to link to his site, but it was in a .swf format. I looked everywhere trying to find out if I can link a .swf file in somewhat the same manner as a normal graphic file like .jpg or .gif, but no luck. I ask the webmaster to embed his link in the .swf file, but he has not gotten back to me yet. So while I wait, I was trying to link to his site in the normal way you would like a banner. Ex: <a href="http://www.site.com"><img src="pic/banner.gif"></a>

I tried to link the .swf file by doing this:

<a href="http://www.thesitetolinkto.com"><OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
 codebase=" http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0 - http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0 "
 WIDTH="468" HEIGHT="60" id="bfsbanner001" ALIGN="">
 <PARAM NAME=movie VALUE="bfsbanner001.swf"> <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#000000> <EMBED src="bfsbanner001.swf" quality=high bgcolor=#000000  WIDTH="470" HEIGHT="60" NAME="bfsbanner001" ALIGN=""
 TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer">http://www.macromedia.com/go/getflashplayer"></EMBED>
</OBJECT></a>

Of course it did not work, but is there some way to do this without having the ability to edit the.swf file? Thought if it was possible someone here would know the answer.



-------------
PodcastPUP: http://podcastpup.com - http://podcastpup.com
808Talk: http://808Talk.com - http://808Talk.com
808TTV: http://808Talk.tv - http://808Talk.tv



Replies:
Posted By: Gullanian
Date Posted: 01 June 2003 at 12:07am
if its a still banner, no moving frames you can press your print screen button, open paint press edit paste then save as jpg


Posted By: 808Rider
Date Posted: 01 June 2003 at 1:10am

Hey thanks Gullanian,

It did have moving frames, but what I did was follow your instructions and then saved a snapshot of each frame using the print screen button and then pieced them together to make a .gif file. It doesn't perform exactly the same animation, but it is close enough. Again thanks. I learned something new!



-------------
PodcastPUP: http://podcastpup.com - http://podcastpup.com
808Talk: http://808Talk.com - http://808Talk.com
808TTV: http://808Talk.tv - http://808Talk.tv


Posted By: KCWebMonkey
Date Posted: 02 June 2003 at 10:18am

this probably would have worked also,

<DIV style="cursor: hand" onclick="document.location='http://www.thesitetolinkto.com';">
<OBJECT
classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
WIDTH=
"468" HEIGHT="60" id="bfsbanner001" ALIGN="">
<PARAM NAME=movie VALUE="bfsbanner001.swf">
<PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#000000>
<EMBED src="bfsbanner001.swf" quality=high bgcolor=#000000 WIDTH="470" HEIGHT="60" NAME="bfsbanner001" ALIGN="" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>
</OBJECT>
</DIV>



Posted By: KCWebMonkey
Date Posted: 02 June 2003 at 10:21am
umm...maybe not... nevermind that one!


Posted By: 808Rider
Date Posted: 03 June 2003 at 12:46am

Okay so I got a new .swf back from the webmaster that originally sent me the first version of his .swf banner. So now he linked up his site in the .swf file and it's good to go to put it as a banner.

Now my question is: If someone does not have flash installed, is there a way to overlay the .swf banner on top of a regular .gif banner. In doing this if someone cannot see the .swf because that don't have flash capabilities then they will see the .gif banner which was hiding behind the .swf banner. Sounds confusing, but hopefully someone will understand what I am trying to say.



-------------
PodcastPUP: http://podcastpup.com - http://podcastpup.com
808Talk: http://808Talk.com - http://808Talk.com
808TTV: http://808Talk.tv - http://808Talk.tv


Posted By: Arad
Date Posted: 17 June 2003 at 9:24am

most people have it, but if the banner dont have any commands and its just normal frames, you can turn it into gif

Arads1@Doal.co.il - send me the file and i'll try



-------------
.:Graphic Designer:.


Posted By: abhinav
Date Posted: 19 June 2003 at 5:37am
I have heard a solution to that before...dun't remember where. I'll get back to you If I can find it.

-------------
http://www.sgkabra.com - Accountancy Firm | http://www.mp3oldies.com.ar - Mp3 Oldies | http://www.best-mp3software.com - Mp3 Software


Posted By: Arad
Date Posted: 20 June 2003 at 4:32am
ok...

-------------
.:Graphic Designer:.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net