Ask a Question related to Macromedia Flash Flashcom, Design and Development.
-
Kiriran #1
chat component - clear text
hi
i'm trying to clear the text from the chat component. it works fine with
clearHistory() but it clears it for all ppl what is not what i want. how can i
clear the text for only 1 client when he enters the chat?
thank
k
Kiriran Guest
-
chat component, peoplelist, simpleConnect
Please help! I am struggling to get the chat component working. I have placed simpleConnect, Chat, ConnectionLight and PeopleList components... -
clear chat history when disconected
hi, im new to flash media server, im creating a chat room using the components provided in the sample_lobby file, i have two questions: 1.- how... -
issues testing FMS chat component
Hello guys! I'm new to the media comm and I'm testing the chat component, but I wonder about some issues. Why the simple connect componnent the... -
Please help me about the chat component!
I just follow the instructions of creating the simple chat system, and I found some problems. please help me to solve the problem ... -
I need a Chat component for an ASP application
Hi, We are developing an ASP application that needs a chat area where users can chat 1 to 1 or in chatrooms. I´m looking for a free chat... -
choad_man #2
Re: chat component - clear text
Hi, this should be a simple one,
Try this with the user or any user that you do not want to receive the chat
history from,
After they have connected and the history has been loaded:
chat_mc.history_txt.htmlText = "";
When you initiate and connect to the chat component by default the user will
load the history of the chat up until that point. The way the chat component
works is with two shared objects one is message_so and the other is history_so.
The history shared object only stores the history of the chat up until the
point when clearHistory() is called. The way that users receive messages is
through the message_so. The message_so broadcasts to all users that a new
message has been sent. It then appends the message to the history_so BUT this
does NOT broadcast that the history shared object has been updated.
Essentially, what I am saying is that the only way after connecting that users
receive chat text is through the message_so. The client holds the history from
the history_so in memory but you can wipe this at any time on any client. When
the history_so gets updated, it will not repopulate all of the history.
Hope this helps,
choad_man Guest
-
mshaheen220 #3
Re: chat component - clear text
but where would I put this command? Placing it on the main timeline after the
chat_mc.connect dosn't work. I could place it directly in the chat component at
FCChatClass.prototype.receiveHistory, but is this the best spot?
mshaheen220 Guest



Reply With Quote

