Hi, You can restrict in FireFox, Chorme etc .But in IE you can't because IE displays Flex Application as ActiveX control and F5 key is not passed to ActiveX control. IE handles it first and there is no way to stop that. Read about COM and DOM event flows. This will be very helpful. You can restrict by using Javascript onbodyunload or some thing like that. I haven't tried that.
On Thu, Oct 29, 2009 at 10:54 PM, OnlyMe <[email protected]> wrote: > > I am trying to capture the F5 and Control+R keyboard events in Flex. > This is refreshing the page instead of doing what I need. I understood > that the Internet Explorer window event is fired first. This is not > letting the application event to be fired. > > Is there a workaround where I can write my own functionality for Ctrl > +A / F5 / Ctrl+R, etc. > > Any help is hight appreciated. Thanks in advance. > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/flex_india?hl=en -~----------~----~----~----~------~----~------~--~---

