# Simple Chatt-system with Flash/XML

**URL:** <https://forum.kirupa.com/t/simple-chatt-system-with-flash-xml/8900>\
**Category:** flash\
**Created:** [November 30, 2002, 8:26pm UTC](https://forum.kirupa.com/t/simple-chatt-system-with-flash-xml/8900 "2002-11-30T20:26:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pissmyran](https://avatars.discourse-cdn.com/v4/letter/p/bbe5ce/32.png) [@Pissmyran](https://forum.kirupa.com/u/Pissmyran)\
**Post date:** [November 30, 2002, 8:26pm UTC](https://forum.kirupa.com/t/simple-chatt-system-with-flash-xml/8900/1 "2002-11-30T20:26:06Z")

</div>

Hi, guys!

Im in need of a very simple chattsystem, and I want to use Flash for this purpose (mainly because it looks so darn good).

So I was thinking that with the ability to send and recieve XML-data, this could be done in a simple way, something like this:

1. On the server (to which clients hook up), there is an XML-file with only one parameter: a textstring.
2. The client (ie. the actual flash-script running on the clients computer) requests with regular intervals the textstring in this XML-file.  
If a) the textstring is the same as the one already displayed in the clients display-window (of the Flash-program), no uppdate of the window will occur.  
If b) the textstring is new, the new textstring will be added on a new line in the display-window of the flash-program.  
3 When the client types and sends a textstring from the inputbox of the flash-program, this string will be transmitted to the host (ie. the server) in form of XML-data.  
–(Now for the thing I dont know if it can be done)–
3. When the XML-string reaches the server, it replaces the textstring in the XML-document, so that any subsequent updates of client-computers will be done with this new textstring.

So, you guys who are pros at this stuff - is this possible (with modifications - and what modifications?) ?  
And can you actually have a program alter the XML-file in realtime?

Thanx

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 30, 2002, 8:31pm UTC](https://forum.kirupa.com/t/simple-chatt-system-with-flash-xml/8900/2 "2002-11-30T20:31:13Z")

</div>

I’m not a pro at this, but you would think it’d be a lot easier and more featureful if you used Communication Server… I’m not sure though… Just guessing by the name 🙂
