1 Reply Latest reply on Apr 17, 2011 10:17 PM by Crimson Sahil

    An unexpected problem

    Crimson Sahil

      I am using fms 3.5 with a flex application. I send 10 values(1,2,3,4,5....10) from a loop to a method in a asc file, this fires the SyncEventHandler of all attached clients. And the values are recieved in order of sending, I mean (1,2,3,4,5,6....10) received at clients in the same order as (1,2,3,4,5,6.....10).

      Here is the code that works fine

      count = 1;

      while(count <= 10)

      {

          

      fmsConnection.call(createLineNumber", null, count);

       

      count++;

      }

       

      Now the problem.

       

      When i dont use the asc file method, rather i do:

      count = 1;

      while(count <= 10)

      {

      sharedObj.setProperty("lineNumber",count)

      count++

      }

       

      The values received at the clients are not in order, Instead of receiving 1,2,3,4,5,6....10, the clients recieve random values say 1,3,6,2,4,5.....Not in order

       

      Need urgent help on this. Thanks in advance.