Hello swagettes!
Right now, I'm programming Lucky Tower 2 in Actionscript 3 and it's the first time I use it. Almost everything is working nicely, but I have some significant problems with buttons, for example in the menu or even ingame. The problem is, that every time I click a button, I need to click inside the screen again in order to use the keyboard to navigate the hero. CRAZY LIFE!
It happens when I start the game from the menu and it also happens when I, for example, close the inventory. I always have to click somewhere on the screen again, otherwise the keyboard won't react. Overall there seems to be a new way of how Actionscript deals with buttons (you can now block buttons by placing simple movieclip on top of the button) and I'm quite puzzled by that.
Can anybody help me here? That'd be awesome!
Pikanjo
I've had that problem - I believe you need to look into the .focus property and set it to null or some such...
-Richie
molkman
Cool! I'll try that, thanks.