| Wouter van Vliet / webclusive 2005-05-26, 2:45 am |
| 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
>
>
=-----------------------------------------------------------
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
|