FMS Connect problem - Response object not found

Ask a Question related to Macromedia Flash Flashcom, Design and Development.

  1. #1

    Default 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

  2. Similar Questions and Discussions

    1. 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:...
    2. 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...
    3. 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...
    4. 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...
    5. 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...
  3. #2

    Default 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

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139