Macromedia Flash Server - RE: FlashComm Digest, Vol 5, Issue 39

This is Interesting: Free IT Magazines  
Home > Archive > Macromedia Flash Server > May 2005 > RE: FlashComm Digest, Vol 5, Issue 39





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author RE: FlashComm Digest, Vol 5, Issue 39

2005-05-27, 2:45 am

Dear Wouter van Vliet,

Nope. The chat component only accept text. I tried to put HTML font color
code but Flash didn't accept it. It just printed it strait to screen.

Any other suggestion?

Thanks,

Leonardo Opitz



From: Wouter van Vliet / webclusive <wouter-cbyZFP1Q8NkXQ3Lr6voeyA@public.gmane.org>

I'm not sure of the chat component thingie supports this (if it doesn't
you can probably enable it somewhere) but textfields in Flash support
basic HTML. So, you might want to go into:

var msg = 'some kind of message';
if (isStudent) msg = '<font color="#0000FF">' + msg + '</font>';
else msg = '<font color="#FF0000">' + msg + '</font>';

Wouter

Leonardo Opitz wrote:
> Hello,
>
>
>
> First, thank you all for all replys to my msg about PP2SWF.
>
>
>
> I have another question. I have two swf applications. One swf for

students,
> and another for teachers.
>
>
>
> I would like that all students msgs in chat to have a blue color and all

the
> msgs from teachers to have a
>
> Red color. How to I do this without using the color component? Is there

any
> way like:
>
>
>
> Chat.setcolor(color);
>
>
>
> Thank you,
>
>
>
> Leonardo Opitz




=-----------------------------------------------------------
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

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com