Flash content in header image
As the subject says, is there an easy way to include flash in the header content instead of images?
Thanks! |
Turn the header image off at Atahualpa Theme Options -> Header -> Configure Header area and edit header.php
<!-- Header --> <td id="header" colspan="<?php echo $cols; ?>"> Your code here --> <?php bfa_header_config($bfa_ata['configure_header']); ?> Or, Your code here --> </td> <!-- / Header --> |
Something is amiss...I've tried this suggestion as well the others posted to get flash content to load before the default header so it loads first on the page. Unfortunately I can't get it to work. Maybe I've just been looking at the code too long today? Hopefully it's just some simple error. Please let me know and thank you.
AC_RunActiveContent.js is in the root directory and sfw is in the images folder header image is turned off in dashboard Here's the code in the header.php. <!-- Header --> <td id="header" colspan="<?php echo $cols; ?>"> <!-- Begin code for flash insertion for flash before header --> <script src="AC_RunActiveContent.js" type="text/javascript"></script> <script type="text/javascript"> AC_FL_RunContent( "codebase","http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0","width","960","heigh t","180","src","/thesage/wp-content/themes/Vz_atahualpa332/images/SampleHead1","quality","high","pluginspage","http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash","movi e","/thesage/wp-content/themes/Vz_atahualpa332/images/SampleHead1" ); //end AC code </script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="960" height="180"> <param name="movie" value="/thesage/wp-content/themes/Vz_atahualpa332/images/SampleHead1.swf" /> <param name="quality" value="high" /> <param name="wmode" value="opaque" /> <embed src="/thesage/wp-content/themes/Vz_atahualpa332/images/SampleHead1.swf" quality="high" wmode="opaque" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="960" height="180"></embed> </object></noscript> <!-- / code for flash insertion --> <?php bfa_header_config($bfa_ata['configure_header']); ?> </td> <!-- / Header --> |
Looks like the .swf ending is missing two times in your code, you have
SampleHead1 instead of SampleHead1.swf |
I'm very new here and to developing but tried to follow above. Here would be my code: <!-- Begin code for flash insertion for flash before header -->
<script src="AC_RunActiveContent.js" type="text/javascript"></script> <script type="text/javascript"> AC_FL_RunContent( "codebase","http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,2,54","width","784","heig ht","308","src","/wordpress/wp-content/themes/atahualpa/images/banner.swf","quality","high","pluginspage","http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash","movi e","/wordpress/wp-content/themes/atahualpa/images/banner.swf" ); //end AC code </script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,2,54" width="784" height="308"> <param name="movie" value="/wordpress/wp-content/themes/atahualpa/images/banner.swf" /> <param name="quality" value="high" /> <param name="wmode" value="opaque" /> <embed src="/wordpress/wp-content/themes/atahualpa/images/banner.swf" quality="high" wmode="opaque" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="784" height="308"></embed> </object></noscript> <!-- / code for flash insertion --> I think I have most correct but don't know what the classid is, what it applies to, and don't know where to find it. Could you help please. Thank You. |
I'm on 3.6.4 and I can't see to add flash to my header. Are the step different in the latest version?
|
All times are GMT -6. The time now is 09:06 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.