Groups | Blog | Home
all groups > macromedia flash flash remoting > august 2004 >

macromedia flash flash remoting : Disable F3 & F5 Function keys in IE browser


vrk17
8/5/2004 4:33:13 PM
Hi All,

I was trying to disable the F5 and F3 key in Internet Explorer whenever it
loads an htm page. Somehow I worked it out with a javascript code, but
this code does not work in the same page when there is a flash (swf) object in
the page and the focus is on it. If the focus is out of swf, it works, but
when is on, it does not work. It seens that the swf object sends
information to the browser and then it refreshs.

Please let me know if anyone has solution of above problem.

Regads,

Vijay
database_monkey
8/5/2004 6:13:42 PM
vrk17
8/5/2004 6:20:15 PM
I have written following code to catch the Key Up and Down events.

keyListener = new Object();
keyListener.onKeyDown = function() {
//getURL("javascript:alert('"+Key.getCode()+"')");
trace (Key.getCode());
if (Key.getCode()>111 && Key.getCode()<=123) {
trace (Key.getCode());
return false;
}
};
keyListener.onKeyUp = function() {
//getURL("javascript:alert('"+Key.getCode()+"')");
if (Key.getCode()>111 && Key.getCode()<=123) {
trace (Key.getCode());
return false;
}
};
Key.addListener(keyListener);


vrk17
8/6/2004 7:47:33 PM
Comeon all !! Flash genius !!

This message is posted since more than 2 days now. No one has solution for
above mentioned problem.

I suspect if this problem can be solved or Macromedia has to come up with some
solution in their next release.
myjob02 NO[at]SPAM mail.ru
9/11/2004 3:04:20 PM
Hi
I have the same problem as you
I just want to know may ba you have found a solution for this problem.
If so please contact me myjob02@mail.ru or gmm81@ukr.net

Thanks.

AddThis Social Bookmark Button