<script type="text/javascript" src="swfobject_source.js"></script>
<div id="dplayer2"></div>
<script language=javascript type=text/javascript>
var titles = "[index1=1]{title}[/index1][loop1]|{title}[/loop1]";
var imgs="[index2=1]{pic}[/index2][loop2]|{pic}[/loop2]";
var urls="[index3=1]{url}[/index3][loop3]|{url}[/loop3]";
var ph = 230;
var sizes = 14;
var Times = 4000;
var umcolor = 0xFFFFFF;
var btnbg =0x99CC00;
var txtcolor =0xFFFFFF;
var txtoutcolor = 0x000000;
var flash = new SWFObject('focus1.swf', 'mymovie', pw, ph, '7', '');
flash.addParam('allowFullScreen', 'true');
flash.addParam('allowScriptAccess', 'always');
flash.addParam('quality', 'high');
flash.addParam('wmode', 'Transparent');
flash.addVariable('pw', pw);
flash.addVariable('ph', ph);
flash.addVariable('sizes', sizes);
flash.addVariable('umcolor', umcolor);
flash.addVariable('btnbg', btnbg);
flash.addVariable('txtcolor', txtcolor);
flash.addVariable('txtoutcolor', txtoutcolor);
flash.addVariable('urls', urls);
flash.addVariable('Times', Times);
flash.addVariable('titles', titles);
flash.addVariable('imgs', imgs);
flash.write('dplayer2');
</script>
查看输出的结果是正常的5条信息一个不少格式也正确,但就是只显示1个 |