Hi, I have code such as the following in my flash file
search_btn.onRelease = function () {
found = false;
searchForWord();
}
what this does is it allows for text to be typed in a text bar and then searched with the search_btn. It works great however can anyone help me please on how to add in this code to also accept keypress of Enter. So that the user can click the button or just press enter.
Thanks in advance
search_btn.onRelease = function () {
found = false;
searchForWord();
}
what this does is it allows for text to be typed in a text bar and then searched with the search_btn. It works great however can anyone help me please on how to add in this code to also accept keypress of Enter. So that the user can click the button or just press enter.
Thanks in advance