?? proxyserver.as
字號:
?class XMLRPC.ProxyServer {
private var url:String;
public function ProxyServer(url:String) {
//append to the URL so it's pointing at the xml-rpc endpoint
this.url = url+"/RPC2";
}
public function Call(fn_name:String, fn_params:Array, handler:Object) {
//create a new proxy function object
var fn = new XMLRPC.ProxyFunction(fn_name, fn_params, this.url);
//register the handler as a listener on the function
fn.addEventListener("On"+fn_name, handler);
//execute the proxy function
fn.Execute()
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -