View Single Post
  #3  
Old 05-02-2010, 09:52 AM
xAndrewx xAndrewx is offline
Registered User
xAndrewx's Avatar
Join Date: Sep 2004
Posts: 5,260
xAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud of
ChatBar.visible = true;

I used something like this to detect if it's open
HTML Code:
//#CLIENTSIDE
function onKeyPressed(code) {
  if (keydown(8) || temp.code == 9) setTimer(0.05);
}

function onTimeout() {
  if (ChatBar.visible) {
    temp.text = ChatBar.text; //or ChatBar.getText()
    if (temp.text != null) {
      [Do your animation]
    }
    setTimer(0.1);
  }
}
__________________
Reply With Quote