Flex FMS应用(下)
application.onConnect=function(client,permission){trace(permission);if(permission == "admin"){ //服务器同意连接 this.acceptConnection(client)}else{ //服务器拒绝连接 //this.rejectConnection(client); application.rejectConnection(client, {msg:"server refuse "+permission+" connecting !"});}}
(thanks : http://www.51as.com/fms/fms3jiaochen.html )
相关资料一大把:
Flash Media Server 入门教程
http://www.nshen.net/blog/article.asp?id=509
Flash Media Server 起步(2)连接
http://www.nshen.net/blog/article.asp?id=394
Flash Media Server 起步(3)远程共享
http://www.nshen.net/blog/article.asp?id=395
Flash Media Server 起步(4)视频,流。。。
http://www.nshen.net/blog/article.asp?id=397
Flash Media Server 起步(5)连接的一些细节
http://www.nshen.net/blog/article.asp?id=401
Flash Media Server 起步(6)写个简单的聊天室
http://www.nshen.net/blog/article.asp?id=403
Flash Media Server 起步(9)在线列表。。
http://www.nshen.net/blog/article.asp?id=409
Flash Media Server 起步(10)中文编码问题
http://www.nshen.net/blog/article.asp?id=414
Flash Media Server 起步(11)判断影片结束
http://www.nshen.net/blog/article.asp?id=415
http://www.cnblogs.com/aierong/archive/2009/01/09/flex_fms_chat.html
http://www.51as.com/fms/fms-1.html