I want to make an interface that can be controlled by the mouse or by the arrow keys - the only simlat to what I’m trying to achieve is the game Colin McRae.
Lets say I have 3 buttons. If I move my mouse on any of them it gets an mouse over effect.
What I want to do is to combine this with the arrow keys that should be able to jump between the buttons - and the one selected is in the “over” state - to select it I press return.
How on earth is this achieved?
Would be more than grateful on any tips or hints!
Also posted on actionscript.org without any luck…
is there any site that does what you are looking for ???
I think rather than using the on(MouseOver) you should use a hitTest, because it doesnt screw up as much ( i think)
otherwise im sorry i dont really understand what you are looking for
Lets say I have an interface with 2 buttons.
on the stage they are invisible, but when I make a rollover the turn green.
So long everything is fine!
Now I want to be able to navigate in this interface with the arrow keys aswell. If I for example press down arrow button 1 turns green - press again and button 2 turns green( not button 1)
If I want to select it I press return.
So Is there a way to do this…or make buttons go to there over state by actionscripting??