a User Count in a Flash Media Server Application
hello guys, first of all, sorry for my english...
i am making a flash media server application and i want users to see that how many users are currently connected to this application...
i have searched on google for 2 days and i couldnt find a good tutorial for AS3.
i have looked at fmsguru and some other tutorial websites but those wasn't enough for me to succes...
what i am trying to make is; a text area or dynamic text (i dont know which is most suitable for this purpose) which shows the numbers of connected user and i want it change immediately when a user connects or disconnects...
i know there is an array as "application.clients" and i know i should use "application.clients.length" in "main.asc" file to find the number of connected users BUT i can't get this number to the text area or dynamic text in my "swf file".
PLEASE help me by explaining a simple application which uses a "main.asc" file, an "action script" file and a "swf" file. and how to get the number of "application.clients.length", how to send (or call or get) it to the "action script" file, how to show this number in a text field or dynamic text...
i will be very appreciated if someone explain in AS3 and make me success...
thanks for reading...
