日期:2014-05-17  浏览次数:20946 次

请问那种效果怎么做出来的``
大哥大姐们请问一下:http://www.3ucn.com/中那个FLASH   效果的是怎么做出来的``
              有没有相应的代码`
给小弟一下``小弟感谢万分

------解决方案--------------------
这是他网站上的源码.你把图片按自己的换一下就可以了.
记住,把它的swf也下下来,那是个空flash, 图片自己任意加任意换.

<div id= "Ad1 "> <SCRIPT type=text/javascript>
<!--
var focus_width=550
var focus_height=250
var text_height=0
var swf_height = focus_height+text_height

var pics= 'bj.jpg|cc.jpg|xs.jpg|sm.jpg|ty.jpg '
var links= 'http://www.3ucn.com/|http://www.3ucn.com/|http://www.3ucn.com/|http://www.3ucn.com/|http://www.3ucn.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= "004.swf "> <param name= "quality " value= "high "> <param name= "bgcolor " value= "#CCCCCC "> ');
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( ' <embed src= "focus.swf " wmode= "opaque " FlashVars= "pics= '+pics+ '&links= '+links+ '&texts= '+texts+ '&borderwidth= '+focus_width+ '&borderheight= '+focus_height+ '&textheight= '+text_height+ ' " menu= "false " bgcolor= "#ffffff " quality= "high " width= " '+ focus_width + ' " height= " '+ swf_height + ' " allowScriptAccess= "sameDomain " type= "application/x-shockwave-flash " pluginspage= "http://www.macromedia.com/go/getflashplayer " /> '); document.write( ' </object> ');

//-->
</SCRIPT>
</div>
------解决方案--------------------
http://www.yh235.com/zuopin/piczhuanhuan.rar

这是源代码 跟那个一样
希望能把分给俺~~嘿嘿
------解决方案--------------------
不许抢分.> :(