Skip to main content
Known Participant
August 25, 2011
Question

a User Count in a Flash Media Server Application

  • August 25, 2011
  • 1 reply
  • 10344 views

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...

    This topic has been closed for replies.

    1 reply

    Graeme Bull
    Community Expert
    Community Expert
    August 26, 2011
    RoyalWDAuthor
    Known Participant
    August 26, 2011

    i watched that before as i said...i still couldn't success...

    please help...

    Graeme Bull
    Community Expert
    Community Expert
    August 26, 2011

    What's going wrong? I'm not sure how much more obvious it could be to implement the functionality. The tutorial is very straight forward.

    So the question here is, what is happening and what do you expect to be happening? Can you provide everybody here some insight into what you have done? Other than that we're just guessing as to what you could be doing wrong.