Animation question

I have a 2 frame animation.

frame 1 = picture of a guy w/ mouth closed. this is a button symbol without over, down or hit states and w/ actionscript “on keypress up arrow goto and stop frame 2”

frame 2 = picture of a guy w/ mouth open. this is a button symbol without over, down or hit states and w/ actionscript “on keypress down arrow goto and stop frame 1”

so you press up and down arrows to switch from frame to frame (it looks like the guy is talking).

the problem is, when i open the page to play the animation, i have to left click within the picture area before the arrow keys work.

This seems wrong to me? how can i get the arrow keys to work as soon as the page loads?

it’s the way it goes (as far as I know). flash content within an html page is not ‘focused’ initially.

thanks . . . is there any way to “focus” it initially?

nope. you’ve gotta click on it.

:p:

and…there is your answer. :smiley:

ok . . . sad but true . . . maybe i’ll try to find a work around . . .

alright . . . javascript is the answer . . . i found this cool tutorial for how to make this work for keyboard games . . .

http://www.artifactinteractive.com.au/dev/focus.html

hondo311