You need to upgrade your Flash Player to version 10 or newer.

Monday, February 7, 2011

adding piecemaker in header

Copy the code and Add this above </head>

<script src="http://dl.dropbox.com/u/13256471/xml%20_slideshow/js/swfobject.js" type="text/javascript">
</script>

<script type="text/javascript">
  var flashvars = {};
  flashvars.xmlSource = "http://dl.dropbox.com/u/13256471/piecemaker/piecemakerXML.xml";
  flashvars.cssSource = "http://dl.dropbox.com/u/13256471/piecemaker/piecemakerCSS.css";
  flashvars.imageSource = "http://dl.dropbox.com/u/13256471/piecemaker/images";
  var attributes = {};
  attributes.wmode = "transparent";
var params = {};  
     params.allowscriptaccess = "always";  
     params.allownetworking = "all";
  swfobject.embedSWF("http://dl.dropbox.com/u/13256471/piecemaker/piecemakerNoShadow.swf", "flashcontent", "960", "610", "10", "http://dl.dropbox.com/u/13256471/xml%20_slideshow/js/expressInstall.swf", flashvars, attributes,params);
</script>



Then find </header> and point out the below code


<b:section class='header' id='header' maxwidgets='1' showaddelement='no'>
<b:widget id='Header1' locked='true' title='wordpress for beginners (Header)' type='Header'/>
</b:section>

delete the above code
and replace it with



<div id="flashcontent">
You need to <a href="http://www.adobe.com/products/flashplayer/" target="_blank">upgrade your Flash Player</a> to version 10 or newer.</div>


click save template

and you will be prompted with below image
then click delete widget.......

look above for piecemaker in header


if you want to adjust the width and height then put your values that are highlighted in orange

 swfobject.embedSWF("http://dl.dropbox.com/u/13256471/piecemaker/piecemakerNoShadow.swf", "flashcontent", "width", "height", "10", "http://dl.dropbox.com/u/13256471/xml%20_slideshow/js/expressInstall.swf", flashvars, attributes,params);