Flash header on Drupal theme

How do I replace the JPEG header in the following drupal theme. I have tried, but have been unsuccessful. The flash header filename is header.swf with width = 890 height 175.

The code for my page.tpl.php page is below.

Thanks
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="<?php echo get_page_language($language); ?>" xml:lang="<?php echo get_page_language($language); ?>">
 
<head>
  <title><?php if (isset($head_title )) { echo $head_title; } ?></title>
  <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
  <?php echo $head; ?>  
  <script type="text/javascript" src="<?php echo get_full_path_to_theme(); ?>/script.js"></script>  
  <?php echo $styles ?>
  <?php echo $scripts ?>
  <!--[if IE 6]><link rel="stylesheet" href="<?php echo $base_path . $directory; ?>/style.ie6.css" type="text/css" /><![endif]-->  
  <script type="text/javascript"><?php /* Needed to avoid Flash of Unstyle Content in IE */ ?> </script>
</head>
 
<body>
<div class="PageBackgroundSimpleGradient">
</div>
<div class="PageBackgroundGlare">
    <div class="PageBackgroundGlareImage"></div>
</div>
<div class="Main">
<div class="Sheet">
    <div class="Sheet-tl"></div>
    <div class="Sheet-tr"><div></div></div>
    <div class="Sheet-bl"><div></div></div>
    <div class="Sheet-br"><div></div></div>
    <div class="Sheet-tc"><div></div></div>
    <div class="Sheet-bc"><div></div></div>
    <div class="Sheet-cl"><div></div></div>
    <div class="Sheet-cr"><div></div></div>
    <div class="Sheet-cc"></div>
    <div class="Sheet-body">
 
<div class="Header">
<div class="Header-jpeg"></div>  
   
<div class="logo">
 <?php if ($site_name) : ?>
 <h1 class="logo-name"><a href="<?php echo check_url($base_path); ?>" title = "<?php echo $site_name; ?>"><?php echo $site_name; ?></a></h1>
 <?php endif; ?>
 <?php if ($site_slogan) : ?>
 <div class="logo-text"><?php echo $site_slogan; ?></div>
 <?php endif; ?>
</div>
</div>
<div class="nav">
<?php
if (get_drupal_version() >= 6) {
	$menu_name = variable_get('menu_default_node_menu', 'primary-links');
	$tree = menu_tree_page_data($menu_name);
	echo art_menu_tree_output_d6($tree);
} else {
	echo art_menu_tree_output_d5(variable_get('menu_primary_menu',0));
}
?>
<div class="l"></div>
<div class="r"><div></div></div>
</div>
<div class="contentLayout">
<div class="content">
<div class="Post">
    <div class="Post-body">
<div class="Post-inner">
<div class="PostContent">
<?php if (!empty($breadcrumb)): print theme('breadcrumb', $breadcrumb); endif; ?>
<?php if (!empty($tabs)): print $tabs.'<div class="cleared"></div>'; endif; ?>
<?php if (!empty($tabs2)): print '<ul class="tabs secondary">'. $tabs2 .'</ul>'; endif; ?>
<?php if (isset($mission)): print '<div id="mission">' . $mission . '</div>'; endif; ?>
<?php if (isset($help)): print $help; endif; ?>
<?php if (isset($messages)): print $messages; endif; ?>
<?php print art_content_replace($content); ?>
 
</div>
<div class="cleared"></div>
 
</div>
 
    </div>
</div>
 
</div>
<div class="sidebar1">
<?php
if (isset($sidebar_right)) print $sidebar_right;
else if (isset($right)) print $right; 
?>
</div>
 
</div>
<div class="cleared"></div>
<div class="Footer">
    <div class="Footer-inner">
        <a href="<?php $feedsUrls = array_keys(drupal_add_feed()); if(isset($feedsUrls[0]) && strlen($feedsUrls[0])>0) {echo $feedsUrls[0];} ?>" class="rss-tag-icon" title="RSS"></a>
        <div class="Footer-text">
        <?php echo $footer_message; ?>
        <?php echo $footer; ?>
        </div>
    </div>
    <div class="Footer-background"></div>
</div>
 
    </div>
</div>
<p class="page-footer">
  <?php //echo t('Powered by ').'<a href="http://drupal.org/">'.t('Drupal').'</a>'.t(' and ').'<a href="http://www.artisteer.com/drupal">Drupal Theme</a>'.t(' created with ').'Artisteer'; ?>
 
</p>
 
</div>
 
 
<?php if ($closure_region): ?>
  <div id="closure-blocks"><?php print $closure_region; ?></div>
<?php endif; ?>
<?php print $closure; ?>
 
</body>
</html>

Open in new window

zerogAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Carl BohmanCommented:
You should be able to simply replace line 35 (<div class="Header-jpeg"></div>) with the code to insert your flash file.  Something like the following.
<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" WIDTH="890" HEIGHT="175" id="Header" ALIGN="">
<PARAM NAME="movie" VALUE="header.swf">
<PARAM NAME="quality" VALUE="high">
<PARAM NAME="bgcolor" VALUE="#FFFFFF">
<EMBED src="header.swf" quality="high" bgcolor="#FFFFFF" WIDTH="890" HEIGHT="175" NAME="Header" ALIGN="" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED> </OBJECT> 

Open in new window

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
zerogAuthor Commented:
Thanks. I had to replace the line (<div class="Header-jpeg"></div>) with your code in the following pages, then it appeared on every page within Drupal.

page.tpl.php
page-blog.tpl.php
page-node.tpl.php
page-node-add.tpl.php
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Drupal

From novice to tech pro — start learning today.