From e5406c57863ff490727b67b0b399ec02bd7c6ada Mon Sep 17 00:00:00 2001 From: Nathan Curtis Date: Fri, 9 Nov 2007 03:35:15 +0000 Subject: [PATCH] Thats what I get for hoping around my source tree with no regard for file location. I had no idea this was in Nenya. git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@334 ed5b42cb-e716-0410-a449-f6a68f950b19 --- src/as/com/threerings/flex/ChatControl.as | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/as/com/threerings/flex/ChatControl.as b/src/as/com/threerings/flex/ChatControl.as index e653453c..a43fd3f3 100644 --- a/src/as/com/threerings/flex/ChatControl.as +++ b/src/as/com/threerings/flex/ChatControl.as @@ -96,6 +96,14 @@ public class ChatControl extends HBox _chatDtr = (chatDtr == null) ? _ctx.getChatDirector() : chatDtr; } + /** + * Configures the background color of the text entry area. + */ + public function setChatColor (color :int) :void + { + _txt.setStyle("backgroundColor", color); + } + override public function parentChanged (p :DisplayObjectContainer) :void { super.parentChanged(p);