Hello guys,
I came to a problem that I thought would be one of the easiest things. I have a menu. It consists of a background sprite on a locked background layer and an other sprite with 3 frames, each has one of the menu buttons highlighted. This sprite is on the top layer. I would like to make it work like this: when I press the down button, it jumps to the next frame on the sprite with the button highlights, when I press the up button it jumps to the previous.
It doesn't work. I use events like on the picture below. My background sprite is animated, but the one that has the highlighted menu button frames is not. I've added the keyboard to the project. I thought the problem could be because I haven't set which animation to choose, but that sprite only has one.
<img src="https://lh3.googleusercontent.com/-Gd4TTmG8QYA/UnlP7-lO4HI/AAAAAAAANlc/ok_MZYbI4jI/w549-h65-no/main_menu_events.PNG" border="0" />