Print Page | Close Window

swf banner

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=13233
Printed Date: 29 March 2026 at 5:00pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: swf banner
Posted By: fathom
Subject: swf banner
Date Posted: 06 January 2005 at 3:38am
Hey Guys
I am trying to run a sponsor banner on my front page. The thing is he has given me an swf file. I have inlcuded it in my header file but it won't run. I have also seen some talk of swf files being security risks.
Is this true? What would be my best solution?
Thanks
Brad
Oh and I think the new mailing list version rocks.



Replies:
Posted By: WebWiz-Bruce
Date Posted: 06 January 2005 at 4:42am
Have you included correctly.

Flash files will not run like a normal image file. In many browsers they have to be included as an object.


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: fathom
Date Posted: 06 January 2005 at 8:52am
How do I do that?
 
Brad


Posted By: dj air
Date Posted: 06 January 2005 at 9:02am
to add a SWF to a page you need the following


<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codeba se="http://download.macromedia.com/pub/shockwave/cabs/flash/ swflash.cab#version=6,0,29,0" width="32" height="32">
  <param name="movie" value="path to SWF">
  <param name="quality" value="high">
  <embed src="path to SWF" quality="high" pluginspage="http://www.macromedia.com/go/ge tflashplayer" type="application/x-shockwave-flash" width="32" height="32"></embed>
</object>



Posted By: fathom
Date Posted: 10 January 2005 at 2:51am
I have done all that but still no joy. The banner runs in a normal html page but not the header.asp.
Any ideas?
 
Brad


Posted By: dj air
Date Posted: 10 January 2005 at 2:17pm
it should work, what happens (error) do you get when trying it in the header.asp page?


Posted By: dpyers
Date Posted: 10 January 2005 at 7:11pm
You seem to have it sorted now.
I'm not a big fan of flash banners but I thought it was cool the way the top part of the flash banner loaded before the rest of the forum after I hit the forum link on your home page.


-------------

Lead me not into temptation... I know the short cut, follow me.


Posted By: fathom
Date Posted: 12 January 2005 at 4:11am
Ok I sorted it and it was just wrong path in the header.asp file. (ahem, embarassed grin)
The path must be relative to the default.asp file not the header.asp file in the includes directory
 
and yeah the delay is a bonus for the sponsor. Is there a way to delay the loading so that can be controlled? We could hook a few more advertisers with a 'You get shown berfore everything else' angle. Interesting.Clap
Sorry for all the fuss and thanks for all the help
 
Brad



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