//This will "print" the word SPACE on the stage when the SPACE-Key is pressed:
var tf:TextField = new TextField();
tf.x = stage.stageWidth*.5;
tf.text = "SPACE";
Hi MoccaMaximum, thanks for replaying but this not quiet what i wants. sorry if i was not clear.
what i wants to do, is exactly like how i would do by my keyboard. lets say for example, I wants to say the word "Hello" in the chat client. But instate of writing it by my hand. I wants to use the flash widget, To write the word "hello" for me, when i click on the button that I specifed on the flash widget..
1 person found this helpful
with almost no details about how you implement your widget/chat-client I can give only a rough suggestion:
chat.text = "HELLO";