求一个网站上常用的图片翻转flash的源码(就是那种底下写着1,2,3,4的)
如题
有的话请发我邮箱不胜感激
yihucha166@yahoo.com.cn
[解决办法]
汗哦,我只是菜鸟新手,那个效果的文件正好电脑里有就是了- -
那个应该不算是FLASH啊,IE用文本打开后就可以修改了呀
把图片名称加进代码,尺寸改成你需要的就好了
然后直接点IE就可以看到效果了
我发去的两个文件和图片放一个文件夹里就行了
下面是我这里用的
<body>
<script language= "javascript ">
var imgUrl= " <%=imgurl%> ";
var imgtext= " <%=name%> "
var imgLink=escape( "Article_show.asp ");
var focus_width=531
var focus_height=76
var text_height=0
var swf_height = focus_height+text_height
var pics= "域名注册2.jpg|虚拟主机2.jpg|VPS主机2.jpg|邮局服务2.jpg|数据中心2.jpg|托管租用2.jpg ";
var links= "||||| ";
var texts= "123|456|789|1222|433|eee ";
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= "1225321247.swf "> <param name= "quality " value= "high "> <param name= "bgcolor " value= "#F0F0F0 "> ');
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= "1225321247.swf " wmode= "opaque " FlashVars= "pics= '+pics+ '&links= '+links+ '&texts= '+texts+ '&borderwidth= '+focus_width+ '&borderheight= '+focus_height+ '&textheight= '+text_height+ ' " menu= "false " bgcolor= "#F0F0F0 " quality= "high " width= " '+ focus_width + ' " height= " '+ focus_height + ' " allowScriptAccess= "sameDomain " type= "application/x-shockwave-flash " pluginspage= "http://www.macromedia.com/go/getflashplayer " /> ');
document.write( ' </object> ');
</script>
</body>
</html>