Title: Header = Flash
Last modified: August 18, 2016

---

# Header = Flash

 *  [ronchicago](https://wordpress.org/support/users/ronchicago/)
 * (@ronchicago)
 * [19 years, 2 months ago](https://wordpress.org/support/topic/header-flash/)
 * Can we put a flash file in our header? If we can put a .jpg in the header it 
   seems we could put flash. I haven’t seen a motion header yet and wondering about
   it.

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

 *  [peiqinglong](https://wordpress.org/support/users/peiqinglong/)
 * (@peiqinglong)
 * [19 years, 2 months ago](https://wordpress.org/support/topic/header-flash/#post-540830)
 * Yup. No reason why you can’t. You just do an embed.
 *  [e-monk](https://wordpress.org/support/users/e-monk/)
 * (@e-monk)
 * [19 years, 2 months ago](https://wordpress.org/support/topic/header-flash/#post-540848)
 * I have one flash in my header, you can create a div to put it. For example:
 * <div id=”flash”>
 * <object classid=”clsid:D27CDB6E-AE6D-11cf-96B8-444553540000″ codebase=”[http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0&#8243](http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0&#8243);
   width=”800″ height=”55″ >
    <param name=movie value=”/wordpress/wp-content/themes/…**
   complete the route here with the nade mof the flash**“>
 *  <param name=quality value=high>
    <param name=”wmode” value=”transparent”>
 *  <embed src=”/wordpress/wp-content/themes/**complete the route here with the 
   flash.swf**” quality=high pluginspage=”[http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash&#8221](http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash&#8221);
   type=”application/x-shockwave-flash” width=”800″ height=”55″>
    </embed> </object
   > </div>
 *  [whooami](https://wordpress.org/support/users/whooami/)
 * (@whooami)
 * [19 years, 2 months ago](https://wordpress.org/support/topic/header-flash/#post-540985)
 * e-monk, and anyone else that might copy it, that isnt valid XHTML, just so you
   know. You also don’t need the embed junk, thats deprecated.
 * A Valid example:
 *     ```
       <object type="application/x-shockwave-flash" data="http://www.domain.com/path-to/file.swf" width="790" height="40">
       <param name="movie" value="http://www.domain.com/path-to/file.swf" />
       <param name="menu" value="false" />
       <param name="bgcolor" value="D7d7d7" />
       <param name="wmode" value="transparent" />
       </object>
       ```
   
 *  Thread Starter [ronchicago](https://wordpress.org/support/users/ronchicago/)
 * (@ronchicago)
 * [19 years, 2 months ago](https://wordpress.org/support/topic/header-flash/#post-541031)
 * thanks to everyone above. after i finish my flash art and make it work i will
   let you know. hopefully this weekend!
 *  [adamsjw2](https://wordpress.org/support/users/adamsjw2/)
 * (@adamsjw2)
 * [19 years, 2 months ago](https://wordpress.org/support/topic/header-flash/#post-541125)
 * whooami,
    Thanks for that code. Do I put that in the header.php or in the style.
   css? Thanks in advance
 *  Thread Starter [ronchicago](https://wordpress.org/support/users/ronchicago/)
 * (@ronchicago)
 * [19 years, 1 month ago](https://wordpress.org/support/topic/header-flash/#post-541166)
 * well, i have not finished my flash art but i wish to revisit per adamsjw2 question.
   i am guessing the style.css? that is where i put my rotate.php code in the header
   folder for a mast-header on another site.
 *  [whooami](https://wordpress.org/support/users/whooami/)
 * (@whooami)
 * [19 years, 1 month ago](https://wordpress.org/support/topic/header-flash/#post-541167)
 * you dont put PHP inside your stylesheet, no.
 * if thats what you just asked.
 *  Thread Starter [ronchicago](https://wordpress.org/support/users/ronchicago/)
 * (@ronchicago)
 * [19 years, 1 month ago](https://wordpress.org/support/topic/header-flash/#post-541168)
 * here is what i placed it in the stylesheet:
 * #header {
    padding: 0; margin: 0; position: relative; height: 200px; background:
   url(‘images/header/rotate.php’) left center no-repeat;
 * here is the config instructions:
    <p>/* ————————- CONFIGURATION ———————–<br> 
   </p> <p> Set $folder to the full path to the location of your images.<br> For
   example: $folder = ‘/user/me/example.com/images/’;<br> If the rotate.php file
   will be in the same folder as your<br> images then you should leave it set to
   $folder = ‘.’;</p> <p>*/<br> </p> <p> $folder = ‘.’;<br> </p> <p>/* </p> <p> 
   Most users can safely ignore this part. If you’re a programmer,<br> keep reading,
   if not, you’re done. Go get some coffee.</p> <p> If you’d like to enable additional
   image types other than<br> gif, jpg, and png, add a duplicate line to the section
   below<br> for the new image type.<br> <br> Add the new file-type, single-quoted,
   inside brackets.<br> <br> Add the mime-type to be sent to the browser, also single-
   quoted,<br> after the equal sign.<br> <br> For example:<br> <br> PDF Files:</
   p> <p> $extList[‘pdf’] = ‘application/pdf’;<br> <br> CSS Files:</p> <p> $extList[‘
   css’] = ‘text/css’;</p> <p> You can even serve up random HTML files:</p> <p> 
   $extList[‘html’] = ‘text/html’;<br> $extList[‘htm’] = ‘text/html’;</p> <p> Just
   be sure your mime-type definition is correct!</p> <p>*/</p> <p> $extList = array();
   <br> $extList[‘gif’] = ‘image/gif’;<br> $extList[‘jpg’] = ‘image/jpeg’;<br> $
   extList[‘jpeg’] = ‘image/jpeg’;<br> $extList[‘png’] = ‘image/png’;<br> </p> <
   p>// You don’t need to edit anything after this point.<br> </p> <p>// ———————
   END CONFIGURATION ———————–</p>
 * here is the author:
 * <p>/*</p>
    <p> AUTOMATIC IMAGE ROTATOR<br> Version 2.2 – December 4, 2003<br>
   Copyright (c) 2002-2003 Dan P. Benjamin, Automatic, Ltd.<br> All Rights Reserved.
   </p> <p> [http://www.hiveware.com/imagerotator.php<br&gt](http://www.hiveware.com/imagerotator.php<br&gt);
   <br> [http://www.automaticlabs.com/<br&gt](http://www.automaticlabs.com/<br&gt);
   <br> <br> DISCLAIMER<br> Automatic, Ltd. makes no representations or warranties
   about<br> the suitability of the software, either express or<br> implied, including
   but not limited to the implied<br> warranties of merchantability, fitness for
   a particular<br> purpose, or non-infringement. Dan P. Benjamin and Automatic,
   Ltd.<br> shall not be liable for any damages suffered by licensee<br> as a result
   of using, modifying or distributing this<br> software or its derivatives.<br>
   <br> <br> ABOUT<br> This PHP script will randomly select an image file from a
   <br> folder of images on your webserver. You can then link to it<br> as you would
   any standard image file and you’ll see a random<br> image each time you reload.
   <br> <br> When you want to add or remove images from the rotation-pool,<br> just
   add or remove them from the image rotation folder.<br> </p>
 *  [triplex2k7](https://wordpress.org/support/users/triplex2k7/)
 * (@triplex2k7)
 * [18 years, 9 months ago](https://wordpress.org/support/topic/header-flash/#post-541199)
 * I know this thread is a bit old, but does anyone know how to have a different
   flash movie for each category on the singles page? For example, you would go 
   to a single post in the category ‘News’ and see a flash header saying ‘News’ 
   at the top, and the same for each category.
    I guess it’s something to do with
   conditional tags, but I couldn’t find one about categories. Thanks

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

The topic ‘Header = Flash’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 9 replies
 * 6 participants
 * Last reply from: [triplex2k7](https://wordpress.org/support/users/triplex2k7/)
 * Last activity: [18 years, 9 months ago](https://wordpress.org/support/topic/header-flash/#post-541199)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
