flash header
-
How would I go about using a flash header for my blog?
-
In case you didn’t see this or get this resolved, this may help:
I too want to add my flash header, I can add flash using the kimili to the body.. but the header is still a long hard search if you can help I will be grateful
I haved added the flash header but the links dont work, its a puzzle for sure. if there is anyone who would know why my flash links dont work in WP could you please help me? I just want a univeral header for all the pages in my web. thanks!
Take a look at this post…
https://www.ads-software.com/support/topic/190041?replies=15
See if that helps…
thanks I am still not having any luck. but THANK YOU for the answer I have been on that page and tried most of it. still no luck.
hi glassrabbit,
i’ve been playing around with putting flash in the header myself. i don’t care what the haters say, i like the flash.
hey, so you’ve got the flash in your header, but none of the links work, can you post the code for your flash header?
basic actionscript 2 code for a movieclip/button link looks like this:
yourInstance_mc.onRelease = function() { getURL("https://www.yoursitename.com/blog/?page_id=182"); };
I was very pleased to get my Flash header working using Kimili. But then I discovered it works on everything but IE7 (haven’t tried IE8 yet).
This is so frustrating.
Here’s the code from header.php. Can anyone please tell me what I’m doing wrong?<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>
<html xmlns=”https://www.w3.org/1999/xhtml” <?php language_attributes(); ?>><head profile=”https://gmpg.org/xfn/11″>
<meta http-equiv=”Content-Type” content=”<?php bloginfo(‘html_type’); ?>; charset=<?php bloginfo(‘charset’); ?>” /><title><?php bloginfo(‘name’); ?> <?php if ( is_single() ) { ?> » Blog Archive <?php } ?> <?php wp_title(); ?></title>
<link rel=”stylesheet” href=”<?php bloginfo(‘stylesheet_url’); ?>” type=”text/css” media=”screen” />
<link rel=”alternate” type=”application/rss+xml” title=”<?php bloginfo(‘name’); ?> RSS Feed” href=”<?php bloginfo(‘rss2_url’); ?>” />
<link rel=”pingback” href=”<?php bloginfo(‘pingback_url’); ?>” /><style type=”text/css” media=”screen”>
<?php
// Checks to see whether it needs a sidebar or not
if ( !empty($withcomments) && !is_single() ) {
?>
#page { background: url(“<?php bloginfo(‘stylesheet_directory’); ?>/images/kubrickbg-<?php bloginfo(‘text_direction’); ?>.jpg”) repeat-y top; border: none; }
<?php } else { // No sidebar ?>
#page { background: url(“<?php bloginfo(‘stylesheet_directory’); ?>/images/kubrickbgwide.jpg”) repeat-y top; border: none; }
<?php } ?></style>
<?php wp_head(); ?>
</head>
<body>
<div id=”page”><div id=”header”>
<object classid=”clsid:D27CDB6E-AE6D-11cf-96B8-444553540000″ width=”760″ height=”200″ id=”kubrickheader” name=”kubrickheader”>
<param name=”movie” value=”kubrickheader.swf” />
<param name=”allowscriptaccess” value=”always” />
<param name=”allownetworking” value=”all” />
<!–[if !IE]>–>
<object type=”application/x-shockwave-flash” data=”https://www.andplusor.co.nz/wordpress/wp-content/themes/default/images/kubrickheader.swf” width=”760″ height=”200″>
<param name=”allowscriptaccess” value=”always” />
<param name=”allownetworking” value=”all” />
<!–<![endif]–>
<img src=”https://www.adobe.com/images/shared/download_buttons/get_flash_player.gif” alt=”Get Adobe Flash player” />
<!–[if !IE]>–>
</object>
<!–<![endif]–>
</object></div>
<hr />hi nyuji,
can you post a link? i’d like to see the html in action.
i’ve been playing around with putting Flash in the header and on my pages. i didn’t use Kimili, just swfObject. i’d say if your playing around in the header you could probably handle putting Flash in without the use of a plug-in, eh?
here’s my results, i’m still putting the site together so it’s not all there, but the flash header works nice and degrades well if you’re viewing in a non-java or non-flash browser.
https://www.workalicious.com/blog/i can’t tell you exactly where you’re going wrong, but here’s a snippet from my original test version, pre-workalicious. maybe it could help you:
<script type="text/javascript" src="https://www.workalicious.com/blog/wp-content/themes/hardway/js/swfobject.js"></script> <script type="text/javascript"> var vars = {}; var params = { scale:'noScale', salign:'t', menu:'false' }; var attributes = { id:'headerflash', name:'headerflash' }; // give an id to the flash object swfobject.embedSWF("wp-content/themes/hardway/swf/header.swf", "headerflash", "100%", "100%", "9.0.0", "js/expressInstall.swf", vars, params, attributes ); </script>
then down in the body i have the flash replacing the image
<body> <div id="page"> <div id="header"> <div id="headerflash"> <div id="headerimg"><a href="/blog" class="link"></a></div> </div> </div> <hr />
check out swfObject:
https://code.google.com/p/swfobject/wiki/documentationnyuji, it looks like you’re missing the swfObject from the head of the header…
<script type="text/javascript" src="swfobject.js"></script>
from what you’ve posted it looks like you have Step 1 from the swfObject Static instructions down, but don’t have Step 2 and 3.
it’s taken some time for me to get my head around the difference between dynamic and static swfObject publishing, but it looks like the ‘object’ approach is the ‘static’. i found the ‘dynamic’ approach worked for me.
Glassrabbit
You may want to checkout https://www.igwebs.com/igblog/?p=32
It might help if you have not resolved your problem.Iraji,
Thanks for that website, it was a big help! I am newer to the group and so far I have learned so much from you all on the forum- thanks a lot!Jennifer
https://practicebuildingcenter.com
- The topic ‘flash header’ is closed to new replies.