看到百度視頻廣告的投放,我是站長。
百度視頻廣告的代碼有一部分如下 :因為覺得復雜,請求部分解答
var loaderBaiduAd : Loader = new Loader();
loaderBaiduAd.contentLoaderInfo.addEventListener(Event.COMPLETE, onLoaded);
loaderBaiduAd.load(new URLRequest("http://cpro. baidustatic.com/cpro/ui/baiduPatch.swf"));
this.addChild(loaderBaiduAd.content);
var Params:Object = {
id:"XXXXXX15",
tu:"baidu.com"
};
loaderBaiduAd.contentLoaderInfo.removeEventListener(Event.COMPLETE, onBaiduAdInit);
var ad : Object = loaderBaiduAd.content as Object;
ad["requestAd"]({args : Params}, this.onSuccess, this.onError);
ad["show"](20,5,option); ad["hide"]();
這些是哪種語言代碼啊,我看一定不是asp.net(c#)的,也不是JS的吧,
我如何把這些代碼弄到是asp.net(c#)讓它能夠成功運行?
轉載請註明出處,本文鏈接:https://www.uj5u.com/net/244086.html
標籤:ASP.NET
上一篇:ashx如何編譯dll
