This is a Flash question because the PHP part is fine. Anyways, PHP has a function that allows it to ouput data to the browser at any time, as you can see with this example:
http://www.nilok.ca/test/flushtest.php
All that script is, is a simple echo followed by a flush so that the data is put out when I say, not all at once when the script is finally parsed. Now the question is, how can I get flash to read this? I want to be able to have flash read the new data off the page every 4 seconds or so, and parse it quietly, then go back 4 seconds later looking for new stuff.
Any ideas? Any sort of loadVars will not work because they all wait for the page to stop loading. Do I need a special socket thing or what?