Hello,
in my chat application, after adding the smiley feature.. i was perfectly able to use smiley from mouse.
now, i tried to add the focus back to the textInput , i faced problem
the below code is of smiley button :
_root.smiley._visible = false; // ( BIG LIST OF SMILEY will be closed ,as user has clicked on a particular smiley)
_root.chatInput.text += " (:-& "; // ( now adding the smiley code to the textInput component, named chatInput
_level0.chatInput.setFocus(); // ( now setting the focus on textInput again). Here is the problem
above lines works perfectly, but the whole smiley codes gets selected automatically in chatInput field.. i do not want it to be selected automatically, why its happening.
Please help