Question
NetConnection.call
My goal is as follows. Say I have a chat app called
"mychatpp" and with in that app I have a bunch of different chat
rooms such as "chatroomone" , "chatroomtwo" and so on. So I've
created a combo box and filled it with all of the chat room names.
I want to also add a user count in the combo box beside each chat
room name. The problem is I can't figure out how to access the user
count for a chat app or for each individual room within a chat app.
I have been trying something like this but haven't had any luck yet.
nc = new NetConnection;
nc.connect("rtmp://www.myflashmediaser.com/mychatapp/");
nc.call("userCount", true);
I can't figure out how to access the returned value. Also notice that my connect string just points at the app and doesn't reference an individual room, in order for it to be useful I need to get the user count for an individual room.
Any help would be appreciated.
I have been trying something like this but haven't had any luck yet.
nc = new NetConnection;
nc.connect("rtmp://www.myflashmediaser.com/mychatapp/");
nc.call("userCount", true);
I can't figure out how to access the returned value. Also notice that my connect string just points at the app and doesn't reference an individual room, in order for it to be useful I need to get the user count for an individual room.
Any help would be appreciated.
