Hey guys, this ones got me stumped

In as2 to get keypress information you could use actionlisteners OR check the function Key.isDown(asciivalue);.
But this has been depriciated in AS3, now Im making a game and you have a ship that turns left and right, and you can furl and unfurl the sails by hitting w and s, (left and right is a and d). Now if you hold a the ship starts turning left, but you hit w to unfurl the sails and the game stops detecting that you are pressing a and while the w works the ship stops turning left (can post example if needed).

Checking for Key.isDown every frame got around this, is there a way to check if a key is down in as3? or to make the listeners work for this?

Thanks,
Ian