It depends on how you wish to display the user list. In my own implementation I
used actionscript's 'ComboBox' element in order to save screen space (it
scrolls back shut when not used). Assuming the flash client has already
obtained a list of all current usernames from your server-side shared object,
then you can populate the combobox via code like this (where "usrNames" is the
Array object that contains the user names and "currentMembers" is your combobox
element) :
for(var j=0; j<usrNames.length; j++)
{
currentMembers.addItem({data:"whatever data you want", label:usrNames[j]});
trace("user ["+usrNames[j]+"] added to combolist !!");
}
-------------------------------------------------
Rajib Nath <[EMAIL PROTECTED]> wrote:
Hello
I am using Red5 newly. I have made a modification for multi room chatting.
But I am stucked with the problem of showing the user display list.
Is there anybody to help me?
Thanks in advance.
Rajib
_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org
---------------------------------
Now that's room service! Choose from over 150,000 hotels
in 45,000 destinations on Yahoo! Travel to find your fit._______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org