DIV+CSS教程_一段调用flash 幻灯代码 改文字颜色
下面是一段待用flash幻灯的效果代码, 其中textsarr[{$AutoID}] = {$Field(2,Text,50,0,0)}"; 是输出的文字 我想知道如何能让这个文字输出带颜色呢 如何修改 它的颜色和字体呢 ?我应该在什么位置加<FONT color=#0000ff size=4> 东西呀?
<SCRIPT language=JavaScript type=text/JavaScript>
<!--
var filesarr = new Array();
var linksarr = new Array();
var textsarr = new Array();
var swf_width={input(0)};
var swf_height={input(1)};
var files='';
var links='';
var texts='';
<!--{Loop}
{Infobegin}
filesarr[{$AutoID}] = "{$InstallDir}{$Field(1,GetChannel,1)}/{$Field(1,GetChannel,3)}/{$Field(3,Text,0,0,1)}";
linksarr[{$AutoID}] = "{$InstallDir}{$Field(0,GetUrl,Article,1)}";
textsarr[{$AutoID}] = "{$Field(2,Text,50,0,0)}";
{Infoend}
{/Loop}
for(i=1;i<filesarr.length;i++){
if(files=="") files = filesarr[i]; else files += "|"+filesarr[i];
}
for(i=1;i<linksarr.length;i++){
if(links=="") links = linksarr[i]; else links += "|"+linksarr[i];
}
for(i=1;i<textsarr.length;i++){
if(texts=="") texts = textsarr[i]; else texts += "|"+textsarr[i];
}
document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" ');
document.write('codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" ');
document.write('width="'+ swf_width +'" height="'+ swf_height +'">');
document.write('<param name="movie" value="{$InstallDir}skin/gembb/flash.swf"><param name="quality" value="high">');
document.write('<param name="menu" value="false"><param name=wmode value="opaque">');
document.write('<param name="FlashVars" value="TitleBgPosition=1&TitleBgColor=0xFFFFFF&TitleTextColor=0x444444&bcastr_file='+files+'&bcastr_link='+links+'&bcastr_title='+texts+'">');
document.write('<embed src="{$InstallDir}skin/gembb/flash.swf" wmode="opaque" ');
document.write('FlashVars="TitleBgPosition=1&TitleBgColor=0xFFFFFF&TitleTextColor=0x444444&bcastr_file='+files+'&bcastr_link='+links+'&bcastr_title='+texts+'& ');
document.write('menu="false" quality="high" width="'+ swf_width +'" height="'+ swf_height +'" type="application/x-shockwave-flash" ');
document.write('pluginspage="http://www.macromedia.com/go/getflashplayer" />');
document.write('</object>');
//-->
</SCRIPT>