Sorry, meant to say flash MX
"Success is a journey, not a destination!!"
Doug Brown
----- Original Message -----
From: "Douglas Brown" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Saturday, March 23, 2002 7:51 AM
Subject: Re: Help me test Flash Chat app?
> Bud....Just a thought if you use xml, you can keep your connection open for clients
>using flash 5 and XMLSocket. The down fall to doing so would be cpu usage and memory.
>
>
> IE:
>
> // Create a new XMLSocket object
> sock = new XMLSocket();
> // Call its connect method to establish a connection with port 1024
> // of the server at the URL
> sock.connect("http://www.myserver.com", 1024);
> // Define a function to assign to the sock object that handles
> // the server's response. If the connection succeeds, send the
> // myXML object. If it fails, provide an error message in a text
> // field.
> function onSockConnect(success){
> if (success){
> sock.send(myXML);
> } else {
> msg="There has been an error connecting to "+serverName;
> }
> }
> // Assign the onSockConnect function to the onConnect property
> sock.onConnect = onSockConnect;
>
>
> Doug Brown
> ----- Original Message -----
> From: "Bud" <[EMAIL PROTECTED]>
> To: "CF-Talk" <[EMAIL PROTECTED]>
> Sent: Saturday, March 23, 2002 5:54 AM
> Subject: Help me test Flash Chat app?
>
>
> > Hi all. I just got done building a chat program out of Flash. It
> > basically works like the cheapo HTML refresh chat apps, except it
> > doesn't annoy you by actually refreshing the whole page. I'd like to
> > test it with a few users if anyone is spending Saturday just playing
> > and doesn't actually have any work to do. :)
> >
> > I made it so all the data is stored in arrays in the application
> > scope, which should make it a bit faster than using a database. I
> > guess the only drawback to that is, everyone will be logged out (???)
> > if CF restarts. Shouldn't be too often though.
> >
> > Thanks! See you there I hope. I'm going to try and keep one eye on
> > the window as I haven't put any BEEPS or anything yet to let you know
> > someone entered.
> >
> > http://www.twcreations.com/flashchat/
> > --
> >
> > Bud Schneehagen - Tropical Web Creations
> >
> > _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
> > ColdFusion Solutions / eCommerce Development
> > [EMAIL PROTECTED]
> > http://www.twcreations.com/
> > 954.721.3452
> >
>
______________________________________________________________________
This list and all House of Fusion resources hosted by CFHosting.com. The place for
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists