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.
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
Post a Comment