using a flash .swf file for forum header
Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=24821
Printed Date: 03 April 2026 at 8:25pm Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com
Topic: using a flash .swf file for forum header
Posted By: julia444
Subject: using a flash .swf file for forum header
Date Posted: 14 November 2007 at 1:15am
|
I want to use a flash header for my forum, i tried uploading both the index.html file, and the flash file .swf, but the image won't show.
Does the header upload permit it even? If not how do i get around this? i'd really like to usse the same header for my website and forum, and it is a flash one, in a swf. file.
I've uploaded the whole folder and linked to it, but the image won't show. The normal picture image does show, but i dont want that.
Thanks for any tips.
|
Replies:
Posted By: julia444
Date Posted: 14 November 2007 at 12:17pm
|
Just to add to the above problem, when i try adding a gif, or jpg, it works, the header shows through, however my problem is getting the flash file to work. In the configuration where you add your personalised logo, i added this link which is the link to my flash file. It works on the internet, however it won't show in the web wiz forum. I have modified the link below, so it's not the real link but looks like it,
http://www.mywebsite.con/images/flHeader2/index.html - http://www.mywebsite.con/images/flHeader2/index.html
in the folder flHeader2, there is an .swf file which is the flash movie. Basically the index.html is the link which includes the .swf file.
Does anyone know how i can make this work in WEb wiz forum 8?
thanks in advance
|
Posted By: Scotty32
Date Posted: 14 November 2007 at 12:51pm
A Flash file is not the same as regular image. You cannot put them into a webpage in the same way as a regular image.
If you open the "/images/flHeader2/index.html" file into notepad and copy the contents into here, i can tell you what you need to enter and where to enter it the Flash file to work.
------------- S2H.co.uk - http://www.s2h.co.uk/wwf/" rel="nofollow - WebWiz Mods and Skins
For support on my mods + skins, please use http://www.s2h.co.uk/forum/" rel="nofollow - my forum .
|
Posted By: julia444
Date Posted: 14 November 2007 at 3:16pm
|
scotty32 thanks for you reply. here is the code in red below for the index.html file
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" " http://www.w3.org/TR/html40/loose.dtd - http://www.w3.org/TR/html40/loose.dtd "> <html> <head> <title>third draft - smaller text</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <meta name="author" content=""> <meta name="description" content="index"> <meta name="keywords" content="daily, "> </head> <body bgcolor="#FFFFFF"> <center> <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase=" http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,79,0 - http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,79,0 " id="index" width="750" height="133" > <param name="movie" value="header.swf"> <param name="bgcolor" value="#FFFFFF"> <param name="quality" value="high"> <param name="allowscriptaccess" value="samedomain"> <embed type="application/x-shockwave-flash" pluginspage=" http://www.macromedia.com/go/getflashplayer - http://www.macromedia.com/go/getflashplayer " name="index" width="750" height="133" src="header.swf" bgcolor="#FFFFFF" quality="high" swliveconnect="true" allowscriptaccess="samedomain" > <noembed> </noembed> </embed> </object> </center> </body>
For you information, if this is the link to the flash file
http://www.mywebsite.con/images/flHeader2/index.html - http://www.mywebsite.con/images/flHeader2/index.html
then the forum is in the
http://www.mywebsite.con/forum - http://www.mywebsite.con/forum
I think i tried copying the folder which holds all the flash file paraphenalia and adding it tto the forum folder, in the images, hoping that puttingit in the same folder may make it work. I'm not html literate, and am totally novice, i use dreamweaver 8 but only know the very basics.
Would it be better if kept the flash folder "flHeader2" in the "forum" folder somewhere? or doesn'tit matter?
Much appreciated, thank you.
|
Posted By: Scotty32
Date Posted: 15 November 2007 at 6:35pm
i noticed that the width is 750, so it would probably be best to stick it in the header.
the header can be found in: "forum/includes/header.asp" load this file into Notepad, you should see the following:
<script language="javascript" src="includes/default_javascript.js" type="text/javascript"></script>
</head>
<body> |
enter below that the following:
<center> <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,79,0" id="index" width="750" height="133" > <param name="movie" value="../images/flHeader2/header.swf"> <param name="bgcolor" value="#FFFFFF"> <param name="quality" value="high"> <param name="allowscriptaccess" value="samedomain"> <embed type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" name="index" width="750" height="133" src="../images/flHeader2/header.swf" bgcolor="#FFFFFF" quality="high" swliveconnect="true" allowscriptaccess="samedomain" > <noembed> </noembed> </embed> </object> </center> |
based on the locations you gave me above, i have set the link to the file up. if you wish to move the flash file you will need to change the parts in red to reflect this, both parts in red need to be the same.
If you have changed the background colour of your forum or it is different from white, you may wish to change the colour to the one you used in the part that is green above.
------------- S2H.co.uk - http://www.s2h.co.uk/wwf/" rel="nofollow - WebWiz Mods and Skins
For support on my mods + skins, please use http://www.s2h.co.uk/forum/" rel="nofollow - my forum .
|
Posted By: julia444
Date Posted: 15 November 2007 at 9:16pm
|
Thank you , that worked just fine. Many thanks. Does this mean that i don't have to enter the link to the image now, in the forum configuration?
much appreciated:)
|
Posted By: julia444
Date Posted: 15 November 2007 at 10:05pm
|
ive got the answer to my last question, now. NO NEED TO reply;)
thanks a lot
|
Posted By: cgacfox
Date Posted: 03 April 2008 at 3:34am
|
I am having the same problem with my Flash header for my site. Here is the code that I have placed in the header.asp page. I put the swf file in the includes folder but it won't work. Removing the javascript also won't work. I have to have all this code on my other HTML pages for the Flash header to function properly. Any clue what I could be doing incorrectly?
<script language="javascript" src="includes/default_javascript.js" type="text/javascript"></script>
<script language="javascript">AC_FL_RunContent = 0;</script> <script src="includes/AC_RunActiveContent.js" language="javascript"></script>
<body> <table width="780" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td> <div align="center"> <script language="javascript"> if (AC_FL_RunContent == 0) { alert("This page requires AC_RunActiveContent.js."); } else { AC_FL_RunContent( 'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0', 'width', '780', 'height', '137', 'src', 'baneheader', 'quality', 'high', 'pluginspage', 'http://www.macromedia.com/go/getflashplayer', 'align', 'middle', 'play', 'true', 'loop', 'true', 'scale', 'showall', 'wmode', 'window', 'devicefont', 'false', 'id', 'baneheader', 'bgcolor', '#ffffff', 'name', 'baneheader', 'menu', 'true', 'allowFullScreen', 'false', 'allowScriptAccess','sameDomain', 'movie', 'baneheader', 'salign', '' ); //end AC code } </script> <noscript> <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase=" http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0 - http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0 " width="780" height="137" id="baneheader" align="middle"> <param name="allowScriptAccess" value="sameDomain" /> <param name="allowFullScreen" value="false" /> <param name="movie" value="includes/baneheader.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" /> <embed src="includes/baneheader.swf" quality="high" bgcolor="#ffffff" width="780" height="137" name="baneheader" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage=" http://www.macromedia.com/go/getflashplayer - http://www.macromedia.com/go/getflashplayer " /> </object> </noscript> </div> </td> </tr> <tr> <td><div align="center"><img src="includes/images/div1.jpg"></div></td> </tr> <tr> <td><div align="center"><img src="includes/images/guildforumhead.jpg"></div></td> </tr>
|
|