PDA

View Full Version : btn and keyboard probelm


flashdudette
10-11-2002, 07:37 PM
I have this code on a button
on (release, keyPress "<Right>") {
nextFrame();

}

should not my movie go to the next frame when I hit the right arrow on the keyboard automatically? I have to click on the screen first for it to work (it's like the focus is not in the browser).After I click once on the screen (or on the next button), it works.

tg
10-11-2002, 07:59 PM
when the browser opens, it holds/controls the focus... your flash movie won't get focus until you click somewhere inside the movie.

flashdudette
10-11-2002, 08:55 PM
How can I get Flash to have the focus in AS? Is there a way? I've been trying to do just that.