第一步:
建立一个文本文档,将下面的代码复制进去:
<?exit?>
<!--{eval $picarr=$linkarr=$textarr=array();}-->
<!--{loop $iarr $ikey $value}-->
<!--{eval $picarr[]=$value[a_thumbpath];}-->
<!--{eval $linkarr[]=$value[url];}-->
<!--{eval $textarr[]=$value[subject];}-->
<!--{/loop}-->
<!--{eval $pics=implode('|', $picarr);}-->
<!--{eval $links=implode('|', $linkarr);}-->
<!--{eval $texts=implode('|', $textarr);}-->
<SCRIPT type=text/javascript>
<!--
var swf_height = focus_height+text_height;
var pics="{$pics}";
var links="{$links}";
var texts="{$texts}";
document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="'+ focus_width +'" height="'+ swf_height +'">');
document.write('<param name="allowScriptAccess" value="sameDomain"><param name="movie" value="images/viewer.swf"><param name="quality" value="high"><param name="bgcolor" value="#FFFFFF">');
document.write('<param name="menu" value="false"><param name=wmode value="opaque">');
document.write('<param name="FlashVars" value="pics='+pics+'&links='+links+'&texts='+texts+'&borderwidth='+focus_width+'&borderheight='+focus_height+'&textheight='+text_height+'">');
document.write('<embed src="images/viewer.swf" wmode="opaque" FlashVars="pics='+pics+'&links='+links+'&texts='+texts+'&borderwidth='+focus_width+'&borderheight='+focus_height+'&textheight='+text_height+'" menu="false" bgcolor="#FFFFFF" quality="high" width="'+ focus_width +'" height="'+ focus_height +'" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');document.write('</object>');
//-->
</SCRIPT>
代码里面的红色的写上你FLASH复制的路径,这里是在images目录里面,你可以自己改,兰色的为背景颜色,第一个蓝色的为图片的那块的背景颜色,第二个为标题那块的背景颜色,改完后随便的取个名字,但是后面的后缀为 .html.php,这里我先把它命名为 huanden.html.php |