Thanks man I have tried that class (flash.ui.Keyboard) and there is capsLock public Property but I can't force capsLock press.Here is my code:
import flash.ui.Keyboard; var test:Keyboard = new Keyboard(); test.capsLock = true; I'm getting error:Access to possibly undefined property capsLock if You see any error or You can give me any instruction that will be nice --- In [email protected], "camlinaeizerous" <[EMAIL PROTECTED]> wrote: > > To set the left and right margins you can use the paddingLeft and > paddingRight properties. For the capslock question you can use > keyboardEvents to detect certain key but i'm not sure how to force an > emulated keypress, there is a flash.ui.Keyboard class that may be able > to do what you want but I havn't played with it at all. > > --- In [email protected], "brankosli" <brankosli@> wrote: > > > > I will be more that thankful if someone could solve my problem.I'm > > working with textArea component and I have 2 questions: > > > > I need to know if there is any possibility to fix left and right margin > > in textArea component? > > And also I need to know if there is possibility to turn on and off > > capsLock by coding not by pressing keyboard? > > > -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) <*> To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

