MyBB Community Forums

Full Version: Flash banner as Logo?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey guys,

I was wondering if it is possible for the logo.gif file to be a flash .swf file. I have tried making an animated .gif but the quality isn't as good as I want it to be.

Any help?
Thanks
I don't have much experience in this but I did add the flash to a logo once...

Home » Template Sets » TEMPLATE NAME
In header file

<div class="logo"><a href="{$mybb->settings['bburl']}/index.php"><img src="{$theme['logo']}" alt="{$mybb->settings['bbname']}" title="{$mybb->settings['bbname']}" /></a></div>

I entered the flash file url in the bold bit if I remember correctly... sorry if im wrong.
Okay, that works when I put a .gif file, but as soon as I changed it to a .swf the banner doesn't show. Is there a setting I have to change or something?
(2009-01-10, 12:16 AM)vgamemaster Wrote: [ -> ]Okay, that works when I put a .gif file, but as soon as I changed it to a .swf the banner doesn't show. Is there a setting I have to change or something?

I think you actually have to "Embed" it into the header... sorry I didn't mention before... I just checked and I did embed>

<embed src="Location of SWF file?clang=en" quality="high" bgcolor="#COLOUR CODE HERE OR DELETE THIS BIT"

width="[b]Banner Width[/b]" height="Banner Height" type="application/x-shockwave-flash"

pluginspace="http://www.macromedia.com/shockwave/download/index.cgi?

P1_Prod_Version=ShockwaveFlash" ></embed>
(2009-01-10, 10:29 AM)mcgroove Wrote: [ -> ]
(2009-01-10, 12:16 AM)vgamemaster Wrote: [ -> ]Okay, that works when I put a .gif file, but as soon as I changed it to a .swf the banner doesn't show. Is there a setting I have to change or something?

I think you actually have to "Embed" it into the header... sorry I didn't mention before... I just checked and I did embed>

<embed src="Location of SWF file?clang=en" quality="high" bgcolor="#COLOUR CODE HERE OR DELETE THIS BIT"

width="[b]Banner Width[/b]" height="Banner Height" type="application/x-shockwave-flash"

pluginspace="http://www.macromedia.com/shockwave/download/index.cgi?

P1_Prod_Version=ShockwaveFlash" ></embed>

So do I put this code:
<embed src="Location of SWF file?clang=en" quality="high" bgcolor="#COLOUR CODE HERE OR DELETE THIS BIT" 

width="[b]Banner Width[/b]" height="Banner Height" type="application/x-shockwave-flash" 

pluginspace="http://www.macromedia.com/shockwave/download/index.cgi?

P1_Prod_Version=ShockwaveFlash" ></embed>

In for the bold section of mcgroove's post?
Yes.

Ooo, this is the first time I've had a "Message too short" warning when trying to post a reply.
(2009-01-11, 08:27 AM)MrD. Wrote: [ -> ]Yes.

Ooo, this is the first time I've had a "Message too short" warning when trying to post a reply.

Okay I think I am still doing something wrong, it isn't working.

My code:
<div id="header">
			<div class="logo"><a href="{$mybb->settings['bburl']}/index.php"><img src="<embed src="http://www.competitivevideogames.com/forumbanner.swf?clang=en" quality="high" bgcolor="#000000" 



width="[b]Banner Width[/b]" height="Banner Height" type="application/x-shockwave-flash" 



pluginspace="http://www.macromedia.com/shockwave/download/index.cgi?



P1_Prod_Version=ShockwaveFlash" ></embed>" alt="{$mybb->settings['bbname']}" title="{$mybb->settings['bbname']}" /></a></div>

This code shows:
" alt="Competitive Video Games Forums" title="Competitive Video Games Forums" />

Forum link: http://www.competitivevideogames.com/forums

Thanks guys
(2009-01-11, 06:00 PM)vgamemaster Wrote: [ -> ]
(2009-01-11, 08:27 AM)MrD. Wrote: [ -> ]Yes.

Ooo, this is the first time I've had a "Message too short" warning when trying to post a reply.

Okay I think I am still doing something wrong, it isn't working.

My code:
<div id="header">
			<div class="logo"><a href="{$mybb->settings['bburl']}/index.php"><img src="<embed src="http://www.competitivevideogames.com/forumbanner.swf?clang=en" quality="high" bgcolor="#000000" 



width="[b]Banner Width[/b]" height="Banner Height" type="application/x-shockwave-flash" 



pluginspace="http://www.macromedia.com/shockwave/download/index.cgi?



P1_Prod_Version=ShockwaveFlash" ></embed>" alt="{$mybb->settings['bbname']}" title="{$mybb->settings['bbname']}" /></a></div>

This code shows:
" alt="Competitive Video Games Forums" title="Competitive Video Games Forums" />

Forum link: http://www.competitivevideogames.com/forums

Thanks guys

This is the code I used... If your still stuck search on google "Embed flash"