А зачем вам этот isToggled ?
По Key.DOWN у вас однозначно определяется, что было нажатие.
Обрабатываете это событие и всё.

Код:
public static isToggled(code:Number) : Boolean
Returns true if the Caps Lock or Num Lock key is activated (toggled to an active state); false otherwise.
Although the term toggled usually means that something is switched between two options,
the method Key.isToggled() will only return true if the key is toggled to an active state.
On the Macintosh, the key code values for the Caps Lock and Num Lock keys are identical.
Зачем вам Капслок и Нумлок обрабатывать?