Ask a Question related to Macromedia Flash Flashcom, Design and Development.
-
staca #1
FMS Connect problem - Response object not found
Hello
I've an app that connects to FMS. On localhost i have no problems, but when i
test the app online, sometimes (it seems to be when my connection goes really
slow), in the live log of the app in the fms2_console i see this:
Sending error message: Response object not found (_result:-909491903)
The clients connects to FMS, i see the connection but it don't works, and when
this erro happen, i must reload the app.
When the clients connects, must send to the app some data (nick, user type).
Here is the asc code:
application.onConnect = function(Client,tipo) {
application.acceptConnection(Client);
Client.ID= this.ID++
user="Cliente_"+Client.ID
Client.call("eres", null, Client.ID);
Client.call("mi_nick", new vincula_nick(Client,tipo,user));
};
function vincula_nick(Client,tipo,user) {
this.onResult = function(resultado) {
Client.nick = resultado;
Client.tipo = tipo;
Client.user=user;
//trace("Tipo en vincula: "+ tipo);
actualiza_nicks(tipo,user);
};
}
function actualiza_nicks(tipo,user) {
trace("Lista de nicks actualizada")
var nicks = new Array();
var ips=new Array();
var tipos=new Array();
var ping=new Array();
var userID=new Array();
//trace("Tipo en actualiza: "+ tipo)
for (var i = 0; i< application.clients.length; i++) {
nicks = application.clients.nick;
tipos = application.clients.tipo;
ips = application.clients.ip;
userID=application.clients.user;
stats = application.clients.getStats();
ping=stats.ping_rtt;
sala=application.name;
}
}
for (var j = 0; j< application.clients.length; j++) {
//the problem ocurs before calling this function
application.clients.call("muestra_nicks", null,
nicks,tipos,ips,ping,userID,sala);
}
}
**************************
The client code:
servidor="rmtp......"
function conectaSala(servidor) {
my_ne = new NetConnection();
my_ne.onStatus = function(info) {
// trace("Level: " + info.level + " Code: " + info.code);
if (info.code == "NetConnection.Connect.Success") {
//trace("--- connected to: "+this.uri);
cone.htmlText += "Sala creada"+newline;
gotoAndPlay("sala")
//
} else if (info.code == "NetConnection.Connect.Failed" || info.code ==
"NetConnection.Connect.Closed") {
//trace("--- No connection to app");
cone.htmlText = "No se ha podido conectar la sala";
gotoAndStop("error")
}
};
my_ne.connect(servidor+"emisor/"+sala, 4);
}
conectaSala(servidor);
my_ne.mi_nick = function() {
return nick;
};
my_ne.eres = function(user) {
soy = user;
}
Anybody had the same problem?? ANy idea??
staca Guest
-
Error: (Client found response content type...)
I use webservice to connect to a server on Internet and sometimes(not always), I recieve this error on calling webserice member functions. Error:... -
Client found response content type of '', but expected 'text/xml'. with Wse 2.0
I created a very simple application which calls a ws which in turns call another ws and return true. In my Windows application, I have the... -
Client found response content type of '', but expected 'text/xml'
I am trying to run a web service project with multiple web services. The problem is that this works sometimes, and sometimes it does not work. I've... -
Client found response content type of 'application/soap'
My client is an ASP .NET Web Application developed with .NET Framework 1.1 and VS .NET 2003 I used "Add Web Reference" and pointed VS .NET at the... -
socket connect and response time
Simon Wistow <simon@thegestalt.org> writes: Be careful, there are problems with timeouts, which dont work natively (you can get 20sec timeout... -
Unregistered #2
Re: FMS Connect problem - Response object not found
I have encountered the same issue. Have you found anything about this error so far?
Thanks!!Unregistered Guest



Reply With Quote

