
Originally Posted by
mfadjuko
Hi, we've got a problem with flash lite 2.1. When we make a on(keyPress "<Right>"){} -method that does something (even thought just print something) we can't move focus to the next item on right, like we usually can. We thought that it can be consequence with overwriting, but we don't know how to solve it.
We'll be very thankful if you are able to help us.

Originally Posted by
mfadjuko
Hi, we've got a problem with flash lite 2.1. When we make a on(keyPress "<Right>"){} -method that does something (even thought just print something) we can't move focus to the next item on right, like we usually can. We thought that it can be consequence with overwriting, but we don't know how to solve it.
We'll be very thankful if you are able to help us.
Umm..what i gt about ur problem is that when u capture the right arrow key using "on (keyPress "<Right>")" then u r not able to move ur focus. One of the easiest way to solve this issue is by using key listener. Just put this script in ur movie's 1st frame .
Code:
var myListener:Object = new Object();
myListener.onKeyDown = function() {
if (Key.getCode() == Key.RIGHT) {
trace("right arrow key pressed"); //here u can write your right arrow key pressed code
}
};
Key.addListener(myListener);
and now u can use the focus and right key pressed function at a time. For more details about key listner check out :
Key Listener
IF Problem exists, please ask again. Hope it helps u..
Best Regards,
SajiSoft