+ Reply to Thread
Results 1 to 2 of 2

Thread: textColor

  1. #1
    Junior Member
    Join Date
    Jun 2006
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    textColor

    Hi again,

    I have a problem with one parameter from the sendMessage function....
    with the variables parameter - it don't work and i don't know why...

    this is my code:

    Code:
    function sendClicked():Void {
    	var msg:String = msgBox_inp.text;
    	var variables:Object = new Object();
    	variables.textColor = "yellow";
    	
    	if (msg.length > 0) {
    		es.sendMessage("public", msg, variables);
    		msgBox_inp.text = "";
    	}
    }
    .. but the text is not yellow - it is still black... maybe there is something missing?

    have a nice day!
    mo

  2. #2
    Senior Member
    Join Date
    Nov 2004
    Posts
    122
    Thanks
    0
    Thanked 0 Times in 0 Posts

    What does your es.messageReceived function look like?

    I'd toss in a trace to make sure your you message is being sent. (just inside your if(msg.length>0) conditional) and then I'd trace my es.messageReceived value that I receive.

+ Reply to Thread

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts