Home > Net >  On var loaderBaiduAd: Loader=new Loader ();
On var loaderBaiduAd: Loader=new Loader ();

Time:01-04

See baidu video advertisement, I am a webmaster,
Baidu video ads because part of the code is as follows: feel complicated, request some answers
Var loaderBaiduAd: Loader=new Loader ();
LoaderBaiduAd. ContentLoaderInfo. AddEventListener (Event.COM PLETE, onl oaded);
LoaderBaiduAd. Load (new URLRequest (" http://cpro. baidustatic.com/cpro/ui/baiduPatch.swf "));
Enclosing addChild (loaderBaiduAd. Content);
Var Params: Object={
Id: "XXXXXX15,"
Tu: "baidu.com"
};
LoaderBaiduAd. ContentLoaderInfo. RemoveEventListener (Event.COM PLETE, onBaiduAdInit);
Var AD: Object=loaderBaiduAd. The content as the Object;
"RequestAd" AD [] ({args: Params}, enclosing onSuccess, enclosing one rror);
AD (" show ") (20, 5, option); AD [" hide "] ();

What kind of language is the code, I think is not asp.net (c #), also not JS,
How do I get the code to be asp.net (c #) make it run successfully?
  • Related