using flash on custom home page
-
Hey WP community,
I am trying to get a flash image to load on my index.php
I was able to get a temporary placement image to load by using the following:
<img src=<?php bloginfo(‘stylesheet_directory’); ?>/images/flash_holder.jpg alt=”image” />I also tried a direct path without using the above scenario, and the image still loaded.
Below is the code I used in conjunction with a java work around for the IE issue with flash. (FYI, im previewing in firefox, the java script is automtic in dreamweaver, so I included it) I also tried it without the java work around, with a direct path to the swf file, and with out the parentheses “” (as with the img link that I got to work above).
Here is the code from the bottom of the header to the end of the flash div:
<script src="../../../../Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
</head>
<body>
<div id="wrapper"><!--div1-->
<div id="wrapper2"><!--div2-->
<div id="content"><!--div3-->
<div id="header">
<h1 class="header1"><a href="index.php">star tribe cinema</a></h1>
<h2 class="header2">story sight sound</h2>
</div>
<!--end header-->
<!--nav-->
<?php get_sidebar(); ?>
<!--end nav-->
<!--begin showcase-->
<script type="text/javascript">
AC_FL_RunContent( 'codebase','https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0','width','432','height','288','src','<?php bloginfo('stylesheet_directory'); ?>images/intro1_drwngs','quality','high','pluginspage','https://www.macromedia.com/go/getflashplayer','movie','<?php bloginfo('stylesheet_directory'); ?>images/intro1_drwngs' ); //end AC code
</script>
<noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="432" height="288">
<param name="movie" value="<?php bloginfo('stylesheet_directory'); ?>images/intro1_drwngs.swf" />
<param name="quality" value="high" />
<embed src="<?php bloginfo('stylesheet_directory'); ?>images/intro1_drwngs.swf" quality="high" pluginspage="https://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="432" height="288"></embed>
</object></noscript>
<!--end showcase-->
My essential goal is to have the flash display on my index template file, anyhow, any help our direction would be greatly appreciated.
all the best,
orionoh… also, here is the resulting source from the page:
<script src="../../../../Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
</head>
<body>
<div id="wrapper"><!--div1-->
<div id="wrapper2"><!--div2-->
<div id="content"><!--div3-->
<div id="header">
<h1 class="header1"><a href="index.php">star tribe cinema</a></h1>
<h2 class="header2">story sight sound</h2>
</div>
<!--end header-->
<!--nav-->
<div id="left_nav">
<ul>
<li><a href="index.php?cat=16">movies</a></li>
<li><a href="index.php?cat=17">music</a></li>
<li><a href="index.php?cat=18">motion</a></li>
<li><a href="index.php?cat=19">moments</a></li>
<li><a href="index.php?cat=29">members</a></li>
<li><a href="index.php?cat=30">mission</a></li>
<li><a href="index.php?cat=20">mymind</a></li>
<li><a href="index.php?cat=31">myself</a></li>
</ul>
</div>
<!--end nav-->
<!--begin showcase-->
<object>
<param name="movie" value="https://startribecinema.com/wp/wp-content/themes/star_themeimages/intro1_drwngs.swf" />
<param name="quality" value="high" />
<embed src="https://startribecinema.com/wp/wp-content/themes/star_themeimages/intro1_drwngs.swf" quality="high" pluginspage="https://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="432" height="288"></embed></object>
<!--end showcase-->
- The topic ‘using flash on custom home page’ is closed to new replies.