flash as 代码 鼠标特效

flash as 代码 鼠标特效

ID:14761702

大小:59.50 KB

页数:35页

时间:2018-07-30

flash as 代码 鼠标特效_第1页
flash as 代码 鼠标特效_第2页
flash as 代码 鼠标特效_第3页
flash as 代码 鼠标特效_第4页
flash as 代码 鼠标特效_第5页
资源描述:

《flash as 代码 鼠标特效》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库

1、flashAS代码鼠标特效vartrailLength=8;varpath="jsphotocursor1.gif";varisIE=false,isNav=false,range="all.",style=".style",i,d=0;vartopPix=".pixelTop",leftPix=".pixelLeft",images,storage;if(document.layers){isNav=true,range="layers.",style="",topPix=".top",l

2、eftPix=".left";}elseif(document.all){isIE=true;}functioninitTrail(){images=newArray();for(i=0;i

3、'

'):document.write('');}trail();}functiontrail(){for(i=0;i

4、"document."+range+"obj"+i+style+topPix+"="+storage[d]);eval("document."+range+"obj"+i+style+leftPix+"="+storage[d+1]);d=d+2;}for(i=storage.length;i>=2;i--){;storage[i]=storage[i-2];}d=0;clearTimeout(timer);vartimer=setTimeout("trail()",10);}functionprocessEvent(e){if(isIE){stora

5、ge[0]=window.event.y+document.body.scrollTop+10;storage[1]=window.event.x+document.body.scrollLeft+10;}else{storage[0]=e.pageY+12;storage[1]=e.pageX+12;}}if(isNav){document.captureEvents(Event.MOUSEMOVE);}if(isIE

6、

7、isNav){initTrail();document.onmousemove=processEvent;}(2

8、)跟随鼠标的竖的文字