Groups | Blog | Home
all groups > macromedia flash flashcom > october 2005 >

macromedia flash flashcom : Retrieve text chat history from server, how?


Aldo Santillo
10/31/2005 10:44:46 AM
Hi,

I need to setup a very simple text chat application, with many rooms.
As far as the chat itself goes, it is ok, very simple to do using the chat
component.
I will need to have access to the content of the conversations that took
place in each room separately. How can get that from the server?

best regards

Aldo

dejayfx
11/1/2005 10:21:57 AM
the shared object from that app holds a 'log' of everything typed in that room.

Aldo Santillo
11/8/2005 11:41:19 AM
Thank you!
I tried to work on the textChat exemple. Did a little chatting using my
localhost, however, I can't find the log to download. Where is it supposed
to be?

"dejayfx" <webforumsuser@macromedia.com> escreveu na mensagem
news:dk7fk5$t4m$1@forums.macromedia.com...
[quoted text, click to view]

JayCharles
11/10/2005 12:00:00 AM
It will be in the fcsinstalldir> applications >application > sharedobjects
[quoted text, click to view]
the name of the instance of the application

The file will have a name like FCChat.instancename.history.fso. There's going
to be a bunch of garbage characters in there, so you'll have to do some editing
if you plan to reuse or archive the chats... seems like sort of a roundabout
way of doing things.

Is this something you want to do manually, or do you want to harvest the
contents of each chat automatically? What is your server environment?

If you want this to happen automatically, I would think that using Remoting or
AMFPHP to log the chat to a database or text file on your http server would be
the most efficient approach. That way, you can just have FCS make the remoting
call to your http server, and everything can be formatted how you want it.
Along with the chat data, you could log usernames (if any), IP's and other
pertinent tracking data as well as the text of the chat.... if you wanted to.

If you just want manual review of the chats, you could build another .swf that
gives you access to all instances of the application. That would allow you to
read in on any given chat.
AddThis Social Bookmark Button