0 Replies Latest reply on May 20, 2008 3:08 PM by tobycraftse

    communication with Java (non-blocking socket)

      I have a flash animation that communication with Java process through a socket.

      I have a while loop that keeps collecting live sensor data from Java from the socket, then draw the sensor data on flash.

      But when I run the flash, it just crash / freeze, how do I use multiple thread in flash so one thread is collect data from sensor in an infinite loop, other thread will draw the animation on screen once data is collected?