豪华首页调用Flash自动变换效果(附源代码)

exemplary_58920 8 0 RAR 2021-04-23 02:04:22

[color=Red]普通用户下载前请先注册并登陆才可正常下载[/color] [font=黑体][size=4]内附完整源代码,欢迎批评指正[/size][/font][emc20] [b]官方网站[/b] [url=http://www.nvan.net/]http://www.nvan.net/[/url] [img]http://www.nvan.net/images/logo_header.gif[/img] [color=Navy]文档说明《关于首页调用经典随即Flash.(模拟Adobe官方网站)》 1.大尺寸flash调用方法 请将FMA文件夹上传至网站更目录 在您的网站首页调用/FMA/FMA.swf XML存放目录/FMA/swf/homepage/fma/en_us/FMA.xml 被调用Flash存放目录/FMA/swf/homepage/fma/en_us/assets/(*.swf) FMA.xml中可修改所调用的swf文件属性[/color] [color=Red]效果演示地址:[/color] [url=http://www.nvan.net/]http://www.nvan.net/[/url] [b]参考代码:[/b] [code]function closeFMA() { FMA.closeAllIntervals(); FMA_target.onFinalize(); } // End of the function function loadXML(which_file) { trace (\"which_file: \" + which_file); navDoc = new XML(); navDoc.ignoreWhite = true; navDoc.onLoad = buildArrays; navDoc.load(which_file); } // End of the function function buildArrays() { var _loc1 = _global; arrayLink = new Array(); arrayPercent = new Array(); myTrace(\"Loaded xml, and processing it into an array...\"); for (x = 0; x < navDoc.firstChild.childNodes.length; x++) { arrayLink.push(_loc1.pathPrefix + navDoc.firstChild.childNodes[x].attributes.LOCATION); arrayPercent.push(navDoc.firstChild.childNodes[x].attributes.PERCENT); } // end of for pickFMA(); } // End of the function function pickFMA() { var _loc1 = this; choice = Math.round(Math.random() * 100); myTrace(\"Random number is \" + choice); number_00 = 100; for (i = 0; i _loc1[\"number_0\" + (i + 1)] && choice

用户评论
请输入评论内容
评分:
暂无评论