Hello,
I have a textbox and a button in flash. I send data to java server by entering data into the textbox. Firsttime the number of characters i am receiving are correct, from the second time onwards there is an extra character. i.e if i type 1 character it is showing 2. Can someone tell me how do i remove it.
below is the code,
function msgGO() {
if (inputMsg.htmlText != “”) {
mySocket.send(inputMsg.htmlText+"
");
inputMsg.htmlText = “”;
}
}
pushMsg.onRelease = function() {
msgGO();
};
Thanks.