08-03-05 10:45 PM
If you do that also make sure you delete any existing SO's in your app dir
or the old history may show up again and again.
Stefan
-----Original Message-----
From: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
[mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.
org] On Behalf Of Simon Lord
Sent: Wednesday, August 03, 2005 3:53 PM
To: FlashComm Mailing List
Subject: Re: [FlashComm] How to limit chat history on client?
SS: If you're using the standard FCS shipped file then edit some prefs in
--> /scriptlib/components/chat.as
FCChat.prototype.histlen = 35; // Maximum history length
FCChat.prototype.persist = true; // Whether to save history
FCChat.prototype.allowClear = true; // Allow clients to clear history
Set histlen to 0 and persist to false and you should get a blank chat window
whenever you login to any room using the chat.as. You can edit your
application's main.as file and point to a copy of chat.as if you'd rather
leave the originals alone.
You can alternatively play with the chat components innards and edit the
recieveHistory function and poke around there.
On Aug 3, 2005, at 10:31 AM, Gavin Lilley wrote:
> not strictly following this thread, but in a simlar vein.
>
> is it possible to ignore the chat history when logging in to a new
> session
> so that the client only sees wheat is occuring after he/she starts to
> use
> the chat room?
>
>
> --
>
>
> Gavin Lilley
> Technical Consultant
> CrISPUK.NET Limited
> t. +44 (0) 1905 779112
> f. +44 (0) 1905 797666
> e. gavin-7GrnRsipluzR7s880joybQ@public.gmane.org
>
> =-----------------------------------------------------------
> Supported by Fig Leaf Software - http://www.figleaf.com
> =-----------------------------------------------------------
>
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
>
>
Sincerely,
Simon
=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
[ Post a follow-up to this message ]
|