How can i listen incoming data ? [like socket]

[LIST]
[*][COLOR=DarkRed]Sorry - no matches. Please try some different terms. [/COLOR]
[/LIST]
After having the search result from the particular subject that i am here to ask… i found other forums very lame of answering so just got my kirupa membership : ) Helloo everone! :slight_smile:

[[COLOR=DarkRed]i need my flash to pull data from php dynamically[/COLOR]]

I got a php file that listens mysql for new datas to be pulled in while condition… when data pulled i have the following ideas;

[LIST]
[]use socket server within the same php file and send the data thru socket… (this can be done but i do not wanna use socket yet!)
[
]have my flash file listen for posts but how can i send a POST variable from php to flash without clicking Submit button ??
[*]Using Ajax and passing recieved-variables thru flashvars?
[/LIST]
Examples : http://twitter.com/
in the mainpage yall can see people status
except mine is gonna say just a second ago :slight_smile:
i am in need of help with ideas and the solutions thank you ?