var sId = fid;
var nCpm = fcpm;
var nMoney = fmoney;
var sUser = fuser;
var connection = connection;
var epercentage = tepercentage;
ncConnection = new NetConnection();
ncConnection.connect((connection+sUser),sUser,nCpm );
ncConnection["onStatus"] = function (info){
if(info.code == "NetConnection.Connect.Success"){
txConnect.text = "Coonection established";
gotoAndStop(2);
} else if(info.code == "NetConnection.Connect.Closed"){
gotoAndStop(1);
txConnect.text += "\r>>The connection was closed successfully";
} else if(info.code == "NetConnection.Call.Failed"){
gotoAndStop(1);
txConnect.text += "\r>>The NetConnection.call method was not able to invoke the server-side method or command.";
txConnect.text += ("\r" + info.description);
} else if(info.code == "NetConnection.Connect.Failed"){
gotoAndStop(1);
txConnect.text += "\r>>The connection attempt failed.";
} else if(info.code == "NetConnection.Connect.InvalidApp"){
gotoAndStop(1);
txConnect.text += "\r>>The application name specified during the connection attempt was not found on the server.";
} else if(info.code == "NetConnection.Connect.Rejected"){
gotoAndStop(1);
txConnect.text += "\r>>The client does not have permission to connect to the application, or the application expected different parameters from those that were passed.";
} else if(info.code == "NetConnection.Connect.AppShutdown"){
gotoAndStop(1);
txConnect.text += "\r>>The application has been shut down (for example, if the application is out of memory resources and must shut down to prevent the server from crashing) or the server has shut down.";
} else if(info.code = "NetConnection.call.BadVersion"){
gotoAndStop(1);
txConnect.text += "\r>>The URI specified in the NetConnection.connect method did not specify \'rtmp\' as the protocol. \'rtmp\' must be specified when connecting to Flash Communication Server.";
}
}
stop();
Arkada$lar sitemde yukardaki gibi bi kod dizini kullandım ,
ama bağlanmaya çalı$tığımda devamlı hata alıyorum
var sId = fid;
var nCpm = fcpm;
var nMoney = fmoney;
var sUser = fuser;
var connection = connection;
var epercentage = tepercentage;
ncConnection = new NetConnection();
ncConnection.connect((connection+sUser),sUser,nCpm );
burdaki detayları almadğı için sanırım devamlı hata mesajı alıyorum bunu nasıl düzeltebilirim var sId = fid; meselea bu variable yi nerden aliyor bu kod kafayi yemek uzereyim bir haftadir ustunde calisiyorum sonuc 0

rtmp bğlantılarımda sıkıntı yok sadece yukardaki dizinde alamadigi bi variable var tum sıkıntım bundan