capsLock state is wrong in creationComplete


i have title window being called application.creationcomplete event popup login dialog. during creationcomplete of titlewindow test capslock state can show message whether capslock on assist users during password entry. use keyup event handle state changes.

if capslock on when creationcomplete fired keyboard.capslock returns false. if capslock off during creationcomplete, keyboard.capslock returns false (so right half time ;) after this, can succesfully detect state of capslock in test button instance.

any clues?

here paltry code:
private function loginwindowdone():void
{
if (keyboard.capslock)
capstate.text = "capslock on";
else capstate.text = "";
}

thanx.

please make small test case , file bug @ bugs.adobe.com/jira in flex project. try using calllater detect after creationcomplete


More discussions in Flex (Read Only)


adobe

Comments

Popular posts from this blog

VIDIOC_S_FMT error 16, Device or resource busy - Raspberry Pi Forums

using a laptop skeleton to build a pi laptop - Raspberry Pi Forums

Forum for Joomla? - Joomla! Forum - community, help and support