capture the key event for 'ctrl' and 'V' , and return if this event code occurs,try this it might help
On Wed, Feb 27, 2013 at 2:25 PM, Malek S <[email protected]> wrote: > Hi Azeem, > Thanks for replying... But even TextOperationChanging event is not > cancelable. > > regards > maleksf > > On Mon, Feb 25, 2013 at 11:22 AM, mohammed azeem < > [email protected]> wrote: > >> use TextOperationChanging event or similar to this event , use your logic >> to prevent default >> >> On Fri, Feb 22, 2013 at 2:49 PM, Malek S <[email protected]> wrote: >> >>> >>> >>> On Thu, Feb 21, 2013 at 2:37 PM, Malek S <[email protected]> wrote: >>> >>>> Hi, >>>> Is there any machanism in spark textinput where i can prevent cntrl+V >>>> (paste opertion ) when password filed is encountered >>>> >>>> here i am doing something >>>> >>>> * >>>> >>>> private >>>> * >>>> >>>> *function* handlePaste(event:TextOperationEvent) { >>>> >>>> *if*(event.operation *is* PasteOperation) { >>>> >>>> *if*(event.currentTarget.displayAsPassword == *true*) { >>>> >>>> event.preventDefault(); >>>> >>>> } >>>> >>>> } >>>> >>>> } >>>> >>>> >>>> >>>> But this doesnt work >>>> >>>> >>>> >>>> any suggestions and ideas are most welcome. >>>> >>>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "Flex India Community" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> To post to this group, send email to [email protected]. >>> Visit this group at http://groups.google.com/group/flex_india?hl=en. >>> For more options, visit https://groups.google.com/groups/opt_out. >>> >>> >>> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Flex India Community" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To post to this group, send email to [email protected]. >> Visit this group at http://groups.google.com/group/flex_india?hl=en. >> For more options, visit https://groups.google.com/groups/opt_out. >> >> >> > > -- > You received this message because you are subscribed to the Google Groups > "Flex India Community" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/flex_india?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- You received this message because you are subscribed to the Google Groups "Flex India Community" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/flex_india?hl=en. For more options, visit https://groups.google.com/groups/opt_out.

