<SCRIPT type=text/javascript>
<!--
var focus_width=300
var focus_height=200
var text_height=25
var swf_height = focus_height+text_height
var pics='http://img4.pcpop.com/WallImages/0x0/0/43/000043082.jpg|http://blog.cnknow.com/attachments/month_0603/2.jpg|http://blog.cnknow.com/attachments/month_0603/1.jpg'
var links='http://cnknow.com/|http://cnknow.com/|http://cnknow.com/'
var 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="http://www.cnknow.com/images/media/pixviewer.swf"><param name="quality" value="high"><param name="bgcolor" value="#DADADA">');
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('</object>');
//-->
</SCRIPT>
如果要从数据库中读取值,可以将 var pics ="<%= picUrl%>"<!--
var focus_width=300
var focus_height=200
var text_height=25
var swf_height = focus_height+text_height
var pics='http://img4.pcpop.com/WallImages/0x0/0/43/000043082.jpg|http://blog.cnknow.com/attachments/month_0603/2.jpg|http://blog.cnknow.com/attachments/month_0603/1.jpg'
var links='http://cnknow.com/|http://cnknow.com/|http://cnknow.com/'
var 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="http://www.cnknow.com/images/media/pixviewer.swf"><param name="quality" value="high"><param name="bgcolor" value="#DADADA">');
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('</object>');
//-->
</SCRIPT>
然后在后置代码里面声明一个public string picUrl变量赋值即可
链接地址和Text同样也可以这样设置