[thelist] Chatting with Java in a Flash

Petros petros at okupi.com
Tue Apr 3 16:03:20 CDT 2001


hi,

i'm not a flash developer, so my information will be a bit obscure, but i
recently had to help some designers to do a similar thing.

i used a free flash script that i found on flashkit.com
http://www.flashkit.com/movies/Scripting/XML/DahuNode-dahu-1707/index.shtml
that implements a forum using flash/xml/perl

in flash 5 u can open a continuous connection to a server using the
XMLSocket object.

petros

-----Original Message-----
From: Richard Livsey [mailto:R.Livsey at cache-22.co.uk]
Sent: Tuesday, April 03, 2001 5:51 PM
To: thelist at lists.evolt.org
Subject: [thelist] Chatting with Java in a Flash


A project I am currently involved in has a section that the client wants
users to be able to chat with each other.
The site is 100% flash (the brief lends itself nicely to flash) and I want
to make the chat room in Flash so it fits seamlessly with the interface.

My question is as follows - what is the best way to do this?

I could do it with Flash getting the messages from a text file which is
updated by Perl/PHP, but I am wary of using a text file due to the number of
users being expected.
Same goes really for using an Access database (NT server being used here).

What I would like to do, but don't quite know if its possible and/or how, is
to do it in Java.
I.e. have a java proggy running on the server and all the client programs
hook into it.
The Java programming I can do and I have written a few chat room style
programs in the past. The problem is integrating it with Flash - how do I go
about it?
Do I have Flash requesting new messages all the time, or can I have the Java
prog pushing the messages to flash?

Any ideas guys n gals?

Cheers.

R.Livsey
Freelance web developer
Vibus.net Director
Lead programmer for Tickle.co.uk
m. +44 (0) 7714 757250
e. R.Livsey at Cache-22.co.uk


---------------------------------------
For unsubscribe and other options, including
the Tip Harvester and archive of TheList go to:
http://lists.evolt.org Workers of the Web, evolt ! 




More information about the thelist mailing list