Title: Flash Banner doesn&#8217;t work
Last modified: August 19, 2016

---

# Flash Banner doesn’t work

 *  Resolved [kashifamin](https://wordpress.org/support/users/kashifamin/)
 * (@kashifamin)
 * [18 years, 2 months ago](https://wordpress.org/support/topic/flash-banner-doesnt-work/)
 * Hi There,
 * I’m trying to add a simple Flash banner to my wordpress site. However, even though
   I have produced the Flash movie to the exact pixel dimensions of the banner, 
   it does not show up.
 * Does anyone know why?
 * Kashif.

Viewing 14 replies - 1 through 14 (of 14 total)

 *  [alexleonard](https://wordpress.org/support/users/alexleonard/)
 * (@alexleonard)
 * [18 years, 2 months ago](https://wordpress.org/support/topic/flash-banner-doesnt-work/#post-710845)
 * You could be having a problem with your source location for the .swf?
 * If you could provide a URL to a page where the flash banner is meant to be loading
   that would be great. Have you cross checked that you can load the .swf by typing
   the URL of the swf directly into your address bar?
 * Eg. [http://www.yourdomain.com/folder/folder/flash.swf](http://www.yourdomain.com/folder/folder/flash.swf)
 *  Thread Starter [kashifamin](https://wordpress.org/support/users/kashifamin/)
 * (@kashifamin)
 * [18 years, 2 months ago](https://wordpress.org/support/topic/flash-banner-doesnt-work/#post-710894)
 * Hi Alex,
 * The URL and flash seems to work.
 * [http://www.wellworthdriving.com/wp-content/themes/WWDTheme/images/header.swf](http://www.wellworthdriving.com/wp-content/themes/WWDTheme/images/header.swf)
 * Don’t know why it’s not showing up.
 * Any ideas?
 * Kashif.
 *  Thread Starter [kashifamin](https://wordpress.org/support/users/kashifamin/)
 * (@kashifamin)
 * [18 years, 2 months ago](https://wordpress.org/support/topic/flash-banner-doesnt-work/#post-710895)
 * Hi Alex,
 * The URL where the Flash banner is supposed to appear is:
 * [http://www.wellworthdriving.com/](http://www.wellworthdriving.com/)
 * As you can see, the site is still work in progress. But I wanted the Flash banner
   to appear at the top above the navigation buttons.
 * Appreciate you help and advice.
 * Kashif.
 *  [alexleonard](https://wordpress.org/support/users/alexleonard/)
 * (@alexleonard)
 * [18 years, 2 months ago](https://wordpress.org/support/topic/flash-banner-doesnt-work/#post-710908)
 * Well, as far as I can tell, your problem lies with the lack of code calling the
   swf in your header.php file in your theme.
 * At the moment it reads:
 *     ```
       <div id="header">
       	<div id="headerimg">
       		<h1><a href="http://www.wellworthdriving.com/"></a></h1>
   
       		<div class="description"></div>
       	</div>
       </div>
       ```
   
 * Which means there’s no way any flash is going to show up.
 * I suggest you edit your header.php and include the following code in <div id=”
   header”>:
 *     ```
       <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="enterwidth" height="enterheight" id="flashbanner">
       		<param name="allowScriptAccess" value="sameDomain" />
       		<param name="movie" value="<?php bloginfo('stylesheet_directory'); ?>/images/header.swf" />
       		<param name="wmode" value="transparent" />
       		<!--[if !IE]>-->
       		<object type="application/x-shockwave-flash" data="<?php bloginfo('stylesheet_directory'); ?>/images/header.swf" width="enterwidth" height="enterheight">
       			<param name="movie" value="slideshow.swf" />
       			<param name="wmode" value="transparent" />
       		</object>
       		<!--<![endif]-->
       	</object>
       ```
   
 * Hopefully that should do it?
 *  Thread Starter [kashifamin](https://wordpress.org/support/users/kashifamin/)
 * (@kashifamin)
 * [18 years, 2 months ago](https://wordpress.org/support/topic/flash-banner-doesnt-work/#post-710919)
 * Hi Alex,
 * Thanks for that.
 * Will give that a try.
 * Much appreciated.
 * Kashif.
 *  Thread Starter [kashifamin](https://wordpress.org/support/users/kashifamin/)
 * (@kashifamin)
 * [18 years, 2 months ago](https://wordpress.org/support/topic/flash-banner-doesnt-work/#post-710933)
 * Hi Alex,
 * That worked! Thanks.
 * But the Flash seems to have shifted to the right and down. Is this a style sheet
   issue or something in the code you gave me above?
 * Kashif.
 *  [alexleonard](https://wordpress.org/support/users/alexleonard/)
 * (@alexleonard)
 * [18 years, 2 months ago](https://wordpress.org/support/topic/flash-banner-doesnt-work/#post-710934)
 * For some reason there’s nothing loading on the above URL for me at the moment–
   is it active on all pages on your new blog?
 *  Thread Starter [kashifamin](https://wordpress.org/support/users/kashifamin/)
 * (@kashifamin)
 * [18 years, 2 months ago](https://wordpress.org/support/topic/flash-banner-doesnt-work/#post-710947)
 * Hi Alex,
 * Sorry. Switched to the wrong theme!
 * It should be there now. You should see the Flash banner. It is offset towards
   the right and downwards.
 * Again, appreciate your advice 🙂
 * Kashif.
 *  [alexleonard](https://wordpress.org/support/users/alexleonard/)
 * (@alexleonard)
 * [18 years, 2 months ago](https://wordpress.org/support/topic/flash-banner-doesnt-work/#post-710948)
 * Cool. That’s easier.
 * Change your #headerimg code in your style sheet to read:
 *     ```
       #headerimg {
       	position: relative;
       	padding: 0;
       	height: 60px;
       }
       ```
   
 * That should do it. You might have to make some minor other adjustments but it
   might entail slight adjustments to the swf.
 *  Thread Starter [kashifamin](https://wordpress.org/support/users/kashifamin/)
 * (@kashifamin)
 * [18 years, 2 months ago](https://wordpress.org/support/topic/flash-banner-doesnt-work/#post-710989)
 * It worked!!!
 * Thanks Alex. You’re a star.
 * Kashif.
 *  [alexleonard](https://wordpress.org/support/users/alexleonard/)
 * (@alexleonard)
 * [18 years, 2 months ago](https://wordpress.org/support/topic/flash-banner-doesnt-work/#post-711007)
 * Brilliant – please mark this resolved 🙂
 *  Thread Starter [kashifamin](https://wordpress.org/support/users/kashifamin/)
 * (@kashifamin)
 * [18 years, 2 months ago](https://wordpress.org/support/topic/flash-banner-doesnt-work/#post-711019)
 * Hi Alex,
 * Yes will do.
 * Before I do that, I have one other query.
 * Is there a way to add Flash SWF files to Posts and Pages?
 * Kashif.
 *  [alexleonard](https://wordpress.org/support/users/alexleonard/)
 * (@alexleonard)
 * [18 years, 2 months ago](https://wordpress.org/support/topic/flash-banner-doesnt-work/#post-711022)
 * I’d have a look through the plugins directory – if you just try adding through
   the code view it will inevitably get messed up as most of the code that people
   use to embed flash is actually completely invalid (but IE doesn’t understand 
   the valid method so that’s all that matters).
 * There’s loads of plugins addressing this, but each one offers slightly different
   functionality.
 *  Thread Starter [kashifamin](https://wordpress.org/support/users/kashifamin/)
 * (@kashifamin)
 * [18 years, 2 months ago](https://wordpress.org/support/topic/flash-banner-doesnt-work/#post-711052)
 * Okay. Thanks again Alex.

Viewing 14 replies - 1 through 14 (of 14 total)

The topic ‘Flash Banner doesn’t work’ is closed to new replies.

## Tags

 * [banner](https://wordpress.org/support/topic-tag/banner/)
 * [flash](https://wordpress.org/support/topic-tag/flash/)
 * [work](https://wordpress.org/support/topic-tag/work/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 14 replies
 * 2 participants
 * Last reply from: [kashifamin](https://wordpress.org/support/users/kashifamin/)
 * Last activity: [18 years, 2 months ago](https://wordpress.org/support/topic/flash-banner-doesnt-work/#post-711052)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
