因为我司港台有缓存机制,一些flash代码不兼容,需要修改代码,
您可以打开 inc/AspCms_MainClass.asp 1693行到1709这部分代码替换成新的代码即可
原代码:
------------------------------------------------------
Str="<SCRIPT language=JavaScript type=text/javascript>"&vbcrlf& _
"var swf_width='"&slideWidth&"';"&vbcrlf& _
"var swf_height='"&slideHeight&"';"&vbcrlf& _
"var configtg='0xffffff:文字颜色|2:文字位置|0x000000:文字背景颜色|30:文字背景透明度|0xffffff:按键文字颜色|0x4f6898:按键默认颜色|0x000033:按键当前颜色|8:自动播放时间|3:图片过渡效果|1:是否显示按钮|_blank:打开新窗口';"&vbcrlf& _
sFiles&vbcrlf& sLinks &vbcrlf& sTexts&vbcrlf& _
"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=""'+ swf_width +'"" height=""'+ swf_height +'"">');"&vbcrlf& _
"document.write('<param name=""movie"" value="""&sitePath&"/flash/slideflash.swf""><param name=""quality"" value=""high"">');"&vbcrlf& _
"document.write('<param name=""menu"" value=""false""><param name=wmode value=""opaque"">');"&vbcrlf& _
"document.write('<param name=""FlashVars"" value=""bcastr_file='+files+'&bcastr_link='+links+'&bcastr_title='+texts+'&bcastr_config='+configtg+'"">');"&vbcrlf& _
"document.write('<embed src="""&sitePath&"/flash/slideflash.swf"" wmode=""opaque"" FlashVars=""bcastr_file='+files+'&bcastr_link='+links+'&bcastr_title='+texts+'&bcastr_config='+configtg+'& menu=""false"" quality=""high"" width=""'+ swf_width +'"" height=""'+ swf_height +'"" type=""application/x-shockwave-flash"" pluginspage=""http://www.macromedia.com/go/getflashplayer"" />'); document.write('</object>'); "&vbcrlf& _
"</SCRIPT>"
新代码:
Str="<SCRIPT language=JavaScript type=text/javascript>"&vbcrlf& _
"var swf_width='"&slideWidth&"';"&vbcrlf& _
"var swf_height='"&slideHeight&"';"&vbcrlf& _
"var configtg='0xffffff:文字颜色|2:文字位置|0x000000:文字背景颜色|30:文字背景透明度|0xffffff:按键文字颜色|0x4f6898:按键默认颜色|0x000033:按键当前颜色|8:自动播放时间|3:图片过渡效果|1:是否显示按钮|_blank:打开新窗口';"&vbcrlf& _
sFiles&vbcrlf& sLinks &vbcrlf& sTexts&vbcrlf& _
"var texts='' ;"&vbcrlf& _
"config=configtg"&vbcrlf& _
"var swf_dir=""/focus.swf"";"&vbcrlf& _
"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=""'+swf_width+'"" height=""'+swf_height+'"">');"&vbcrlf& _
"document.write('<param name=""movie"" value=""'+swf_dir+'"" />');"&vbcrlf& _
"document.write('<param name=""quality"" value=""high"" />');"&vbcrlf& _
"document.write('<param name=""menu"" value=""false"" />');"&vbcrlf& _
"document.write('<param name=""wmode"" value=""transparent"" />');"&vbcrlf& _
"document.write('<param name=""FlashVars"" value=""config='+config+'&bcastr_flie='+files+'&bcastr_link='+links+'&bcastr_title='+texts+'"" />');"&vbcrlf& _
"document.write('<embed src=""'+swf_dir+'"" wmode=""opaque"" FlashVars=""config='+config+'&bcastr_flie='+files+'&bcastr_link='+links+'&bcastr_title='+texts+'"" menu=""false"" quality=""high"" width=""'+swf_width+'"" height=""'+swf_height+'"" type=""application/x-shockwave-flash"" pluginspage=""http://www.macromedia.com/go/getflashplayer"" />');"&vbcrlf& _
"document.write('</object>');"&vbcrlf& _
"</SCRIPT>"