一件小事初中作文600:紧急(FLASH)~如何在banner中加入clicktag?

来源:百度文库 编辑:高考问答 时间:2024/04/27 07:02:19
朋友问我,如何在FLASH制作的BANNER中加入clicktag(加入clicktag是为了统计点击),请问如何在banner中加入?不需要考虑服务器等因素,只要说如何加,完整具体的语句是什么,是否和action一样在动作面板中加入?拜托高手告诉我具体的语句,我在网上查了一下,这方面的东西很少,国外的banner好象都需要加入这东西来统计点击,香港好象也一样,请知道这方面的高手,不吝相告,最好能有FLA源文件,感激感激!!!!!!!

将下列代码加入需要统计的页面(凌火发给你的源码里没有把代码加入)
<script language="JavaScript" type="text/JavaScript" src="Counter.asp?URL=<%=Request.ServerVariables("URL")%>"></script>

制作过程:
ASP文件,参考"生活色彩流量统计ASP源码"

经过对ASP的研究,制作了test.asp。目的显示出各项统计数据供FLASH端接收

内容如下:
<!--#include file="conn.asp"-->
<%
set rs=server.createobject("adodb.recordset")
sql="select * from counter"
rs.open sql,conn,1,3
do while not rs.eof
Response.Write("count="&rs("browser"))'今天流量
Response.Write("|"&rs("webaddress"))'webaddress
Response.Write("|"&rs("today"))'IP
rs.movenext
loop
%>

以下为FLASH连接ASP的解决方案:

var myArray=new Array()//建立数组存放ASP上的数据
var getData = new LoadVars();//建立loadVars对象连接ASP
getData.load("http://222.67.194.150/test.asp","GET");//获取网页数据,注:把IP地址改为你的网站URL
getData.onLoad = function(ok) {//建立onload过程
if (ok) {//建立读取过程
myArray = getData.count.split("|");//把ASP数据以|为分割符。存如数组
_root.mytxt.text = "总访问量 "+myArray[0]//FLASH舞台显示
_root.mytxt1.text = "页面 "+myArray[1]//FLASH舞台显示
_root.mytxt2.text = "总IP "+myArray[2]//FLASH舞台显示
} else {
_root.mytxt.text = "数据加载中";//在没有被load的情况下,显示内容
}
}

clickTag是variable 真正连接要通过flashhtml, swf?clickTag=http..传入
*.fastclick.*

*clickTAG*

/[\W](top|page|get|)ad(s|bureau|server|sina|)[\W]/

/[\W]banners[\W]/

/jst\/[^t][^e][^x].*/

/referr?er/

geocities.com/js_source/*

http://*.yimg.com/a/*

http://cdn1.tribalfusion.com/media/136186.gif

http://cn.promo.yahoo.com/popunder/pu.php

http://cn.yimg.com/i/cn/adv/java/*.js

http://ia.imdb.com/media/imdb/*

http://itxt.vibrantmedia.com/intellitxt*

http://servedby.advertising.com/*

http://tribalfusion.speedera.net/m.tribalfusion.com/*

http://view.atdmt.com/*
试试

好了,楼上全部废话

我做了一个给你,你可以看一下

http://222.67.194.150/index.asp

会有专门人员在我楼下跟贴说明整个制作过程.

使用插件LTV,之后输入程序就可以了!

利用DSL 3.11 软件就可以了。

?????????????????????????????