太平洋汽车网部分flash添加曝光代码;

AS3.0中添加按钮时间跳转到网页

import flash.net.URLRequest;
xs.addEventListener(MouseEvent.MOUSE_UP, ss);
function ss(Event:MouseEvent):void{
navigateToURL(new URLRequest("http://www.pcauto.com.cn"),"_blank");}

xs为按钮实例名;ss为函数名称;

var req:URLRequest = new URLRequest("http://impression.gridsumdissector.com/gs.gif?gscmd=impress&gsadid=gad_139_54ND83HH");
var img:Loader = new Loader();img.load(req); 

添加曝光代码;
as 2.0 添加曝光代码

loadMovie("http://impression.gridsumdissector.com/gs.gif?gscmd=impress&gsadid=gad_139_54ND83HH",createEmptyMovieClip 
("gstracker",this.getNextHighestDepth()));