if( nc == null ){
nc=new NetConnection();
nc.client=this;
nc.addEventListener(NetStatusEvent.NET_STATUS,onstatus);
nc.connect("rtmp://localhost/so",“ve”);
}
今天写测试的时候没有用监听,直接在服务器端appConnect接口写了一个invock()方法
但是在flex客户端一直不能出现想到的调用方法,加上nc.client=this就可以了。。