How to change the way to weave the official Flash slideshow

Source: Internet
Author: User

Source:

<!--size:280px * 192px--
<script language= ' JavaScript ' >
Linkarr = new Array ();
Picarr = new Array ();
Textarr = new Array ();
var swf_width=280;
var swf_height=192;
var files = "";
var links = "";
var texts = "";
This sets the call Mark
{dede:arclist flag= ' F ' row= ' 5 '}
Linkarr[[field:global.autoindex/]] = "[field:arcurl/]";
Picarr[[field:global.autoindex/]] = "[field:litpic/]";
Textarr[[field:global.autoindex/]] = "[Field:title function= ' Html2text (@me) '/]";
{/dede:arclist}
for (i=1;i<picarr.length;i++) {
if (files== "") files = Picarr[i];
else files + = "|" +picarr[i];
}
for (i=1;i<linkarr.length;i++) {
if (links== ") links = linkarr[i];
Else links + = "|" +linkarr[i];
}
for (i=1;i<textarr.length;i++) {
if (texts== "") texts = textarr[i];
else texts + = "|" +textarr[i];
}
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 + ' > ');
document.write (' <param name= ' movie "value=" {dede:global. $cfg _templeturl/}/images/bcastr3.swf "><param Name= "Quality" value= "High" > ");
document.write (' <param name= ' menu ' value= ' false ' ><param name=wmode value= ' opaque ' > ');
document.write (' <param name= ' flashvars "value=" bcastr_file= ' +files+ ' &bcastr_link= ' +links+ ' &bcastr_ Title= ' +texts+ ' &bcastr_config=0xffffff|1|0x0066ff|60|0xffffff|0x0066ff|0x000033|3|2|1|_blank ' > ');
document.write (' <embed src= ' {dede:global.cfg_templeturl/}/images/bcastr3.swf ' wmode= ' opaque ' FlashVars= ' bcastr _file= ' +files+ ' &bcastr_link= ' +links+ ' &bcastr_title= ' +texts+ ' &bcastr_config=0xffffff|1|0x0066ff|60| 0xffffff|0x0066ff|0x000033|3|2|1|_blank& 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> ');
</script>

Parameter Setting http://www.cnblogs.com/cnfiowen/archive/2009/09/10/1563927.html

Advanced Settings:
Default parameter string
0XFFFFFF: Text color | 2: Text Position | 0xff6600: Text Background color | 60: Text Background Transparency | 0XFFFFFF: Key text color | 0xff6600: Button Default Color | 0x000033: Key Current Color | 8: AutoPlay time (seconds) | 2: Picture Transition effect | 1: Whether to show the button | _blank: Open a new window
Colors are represented by starting with a 0x 16 binary number
Text color: The color of the title text
Text Position: 0 indicates the topic text at the top, 1 indicates the text at the bottom, 2 indicates the text at the top
Text background transparency: 0-100 value, 0 for all transparency
Key text color: Key digital color
Key Default color: button default color
Key current color: Current picture key color
AutoPlay time: Unit is seconds
Picture transition effect: 0, representing a luminance transition, 1 for a transparency transition, 2 for a blur transition, and 3 for motion blur transitions
Whether the button is displayed: 0, which means hide the key parts, more suitable for advertising pick rotation
Open window: _blank indicates that a new window is open. _self means open in the current window

The modified method is
In the above slide code bcastr_title= ' +texts+ ' after adding the following code related parameters can refer to the above description
&AMP;BCASTR_CONFIG=0XFFFFFF: Text colors: Text position |0x0066ff: Text background color |60: Text background transparency |0xffffff: Key text color |0x0066ff: button default color |0x000033: Key current color |8: Auto Play Time (sec): Picture transition effect | | Show button |_blank: Open window

How to change the way to weave the official Flash slideshow

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.