I have 2 sprite, A sprite and B sprite, A sprite can listen to KeyboardEvent, when I click an button on A sprite, B sprite will jump on top of A sprite, when I close B sprite in which A sprite at the bottom will be seen
but now A sprite can no more accept keyboard except i use my mouse to click on A sprite then only the A sprite can accept back the keyboard event…
can any one tell me what to do so that i do not need to click on A to receive keyboard event after i close B sprite?
ps: the keyboardEvent is point to stage -> stage.addEventListener…