all groups > flash (macromedia) > april 2005 >
You're in the

flash (macromedia)

group:

key press on a frame



key press on a frame Div
4/30/2005 10:04:03 AM
flash (macromedia): Im sure this problem has a simple answer - but as with many of these
things, i cant find it!

I'm making a low level arcade game with simple character movements that
merely involve 7 positions in a row that can be moved between using the
left and right arrow buttons - ive got as far as finding out that these
are 37 and 39 in keycodes, but I don't know where and what to type -
ive tried things such as (in the frame code):

if (Key.isDown(Key.LEFT)) {
gotoandPlay (6)
}



- but this is clearly wrong. Please help!

Div
Re: key press on a frame Div
5/1/2005 8:15:13 AM
anyone?
AddThis Social Bookmark Button