Показать сообщение отдельно
Старый 09.02.2015, 15:07
dark256 вне форума Посмотреть профиль Отправить личное сообщение для dark256 Посетить домашнюю страницу dark256 Найти все сообщения от dark256
  № 2  
Ответить с цитированием
dark256
 
Аватар для dark256

блогер
Регистрация: Apr 2008
Адрес: SPb
Сообщений: 3,718
Записей в блоге: 5
Отправить сообщение для dark256 с помощью ICQ Отправить сообщение для dark256 с помощью Skype™
А зачем вам этот 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.
Зачем вам Капслок и Нумлок обрабатывать?
__________________
FLASHER.MAP SOUNDSTAGE / CS3 / AS2