|
原帖由 随风哥哥 于 2012-6-15 00:48 发表 ![]()
开发组也不知道怎么想的,整天就特么的逛窑子吗?
MP的人多了,当初就该适量开转入啊。。#fadai
再特么想赚转入的钱,你们特么的就该限制每个IP只能登陆一个账号,这样就解决问题了!而且LocalConnection ...
曾经看到过这个,估计是kfz的都是只会考试那种
package
{
import flash.display.Sprite;
import flash.net.LocalConnection;
import flash.text.TextField;
import flash.text.TextFormat;
[SWF(width="310",height="110",backgroundColor="#FFFFFF")]
public class GameCheckExample1 extends Sprite
{
private var lc:LocalConnection;
private var text:TextField;
public function GameCheckExample1()
{
lc = new LocalConnection();
text = new TextField();
text.backgroundColor =0xCCCCCC;
text.background = true;
text.defaultTextFormat= new TextFormat("宋体",12);
text.x = 5;
text.y = 5;
text.selectable = false;
text.width = 300;
text.height = 100;
addChild(text);
_connect();
}
private function _connect():void
{
try
{
lc.connect("GameCheckExample1");
text.text = "连接成功";
}catch(err:Error)
{
text.text = "已经有客户端,请勿多开!";
};
}
}
} |
|