Forum ActionScript 3.0 Weird Input Problem

Problems and discussions relating to ActionScript 3.0 here.

Weird Input Problem

Postby yetiinteractive » March 14th, 2013, 11:58 am

A new input problem arise in my game and I cannot pinpoint the reason. here are some bullet points

- This does not happen all the time
- I listen stage for keyboard KeyboardEvent.KEY_DOWN event
- Some times game doesn't fire the event, while mouse events seam to work
- When it doesn't work i do the following, and strangeness follows:
- - - Hold down the key, nothing happens, no events fired
- - - While holding down the key, click on another window, any window other than browser you are runnung game on
- - - Down event is fired! And character runs
- - - Release the key. And Up event is fired
- - - Go back an click to game to if things are ok. Aaaand, no! It still doesn't fire the keyboard event

Am i missing weird flash thingy here? This never happened to me before.

For full disclosure: I am using Stage3d with flare3d, and have ui components imported from flash cs6 as swc library
yetiinteractive
 
Posts: 3
Joined: December 7th, 2012, 5:04 pm

Return to ActionScript 3.0



cron