Hi,
I’ve two problems as follows: a movie plays until there is a text input, where a user have to enter a password. If the password is 1234, than the movie goes on. I want to focus the input box, so the cursor blinks when the movie stops, so the user knows where to type the code. I’ve tried with Selection.setFocus(_root.inputboks) with no luck
Other problem is that keyPress <“Enter”> is ignored. It ony will work with mouseclick…?
Here is my code from the button.
on(release, keyPress “<Enter>”)
{
if(inputboks.text == “1234”)
{
gotoAndPlay(18);
video_movie.gotoAndPlay(4);
}
else
{
wrongcode.text = “Wrong password…”;
}
}
Regards
Luxo