RE: FlashComm Digest, Vol 5, Issue 39
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Macromedia Flash Server > RE: FlashComm Digest, Vol 5, Issue 39




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    RE: FlashComm Digest, Vol 5, Issue 39  


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
05-27-05 07: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.gm
ane.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






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 08:45 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register