Theres a few options. First off, you need to understand flash is like
any html element in that it sends a request and then the server sends a
response. A chat application usually has at minimum two flash clients
sending messages to eachother. One client essentially tells the server
to send its message to the other client. This is called push technology
and without a server its not possible via convential webbased flash
applications.


You have a few options. You can either write a flash client that polls
the server every N seconds for a new message from any other "connected"
clients and fake push technology or just use the real thing. You have
two options for the real thing: Flash Comm Server or an XML socket
server. Flash Comm server has a tonne of prebuilt components to
facilitate the behavior you seek as well as video and/or audio push
technology. There are a few XML socket server implementations for Flash
and I'm sure if you decide to go that way you can learn all about them
via Google.


:)


Have fun. Btw, for a small app I don't think the polling option would be
all that bad, just a little slow. If you need further clarification just
email me offlist.


Brian

Hi John,

Actually the intranet in question deals with financing.  Clients log
into the portal and submit their deals.  If they need help they click on
the "Live Help" link and chat with a company representative.  Due to the
nature of communications a "chat room" wouldn't work.  It needs to be a
one-on-one conversation.  The company representative might have 4-5
windows open for chatting but from the client's perspective it's a
one-on-one chat.

It's really nothing more than a Flash movie using ColdFusion as
"middleware" to do SQL selects and inserts from a database table.  Some
might argue that using session/client variables would be better... but
for corporate reasons we wish to keep a 14 day (configurable of course)
log of all conversations.

-Novak

-----Original Message-----
From: John Dowdell [mailto:[EMAIL PROTECTED]
Sent: Monday, December 08, 2003 4:38 PM
To: CF-Talk
Subject: Re: Flash Instant Messenger Software?

At 12:43 PM 12/8/3, cf-talk wrote:
> Does anyone know of some cheap/free "instant messenger" software
> that  can embed in a ColdFusion intranet application?

If it's page-based, on an intranet, then I'm assuming a chat app would
work
as well as an IM app...?

(A chat is a place you go where you can communicate with anyone also
there... in IM you set up a whitelist of people you feel safe
communicating
with. The combo of intranet and being in a page seems an effective
whitelist.)

You'd need both a client component and a server component in either
case.
I'm not sure which of each might be best for your situation. The
following
two Google terms turn up hits:
site:macromedia.com inurl:devnet chat
site:macromedia.com inurl:devnet "instant messenger"

The search engine at http://www.macromedia.com/go/weblogs can turn up
current discussions on such subjects too. Do any of these help define
the
project...?

jd

John Dowdell, Macromedia Developer Support, San Francisco
(Best to reply on-list, to avoid my mighty spam filters!)
Technotes: http://www.macromedia.com/support/search/
Column: http://www.macromedia.com/desdev/jd_forum/
Technical daily diary: http://www.macromedia.com/go/blog_jd
  _____
  _____
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to