AS:
function ReturnNextSet(ParentNextSet:Array){
_global.gameNC.call("ServerNextSet", null, _global.userid, _global.enemyid, _global.gameID, ParentNextSet);
}
_global.gameNC = new NetConnection();
_global.gameNC.EnemyNextSet = function(ENSA:Array){
_root.getURL("从服务器:"+ENSA,"_blank");
}
FMS:
application.users_so.setProperty (id,
{
username : name, userid : id, score : 0, gameStatus : 3, enemyID : enemyid, gameID : ameid,pkNum :pknum
});
Client.prototype.ServerNextSet = function (userid, enemyid, gameID,ServerNSA){
for (i = 0; i < application.clients.length; i ++)
{
if (application.clients [i].id == enemyid )
{
application.clients [i].call ("EnemyNextSet", null, ServerNSA)
}
}
}