all groups > flash (macromedia) > june 2004 >
You're in the

flash (macromedia)

group:

Disable the F5 and F3 key in Internet Explorer



Disable the F5 and F3 key in Internet Explorer Alexandre
6/30/2004 8:52:11 PM
flash (macromedia): Hi!

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.

Does anybody have any idea how to deal with that?

Alexandre

Re: Disable the F5 and F3 key in Internet Explorer F5 Man
10/29/2004 7:19:53 AM
Hello.

I have the same problem as you with the F5 refresh.
Have you the solution in this moment? I dont'...

Re: Disable the F5 and F3 key in Internet Explorer Last ActionScript Hero
10/29/2004 9:58:13 AM
Hi,

There IS a way of doing this. We have done this in one of our simulation and
have been successfull. But unfortunately the code is confidential and I cant
reveal it. But I can tell you the method . You will use the normal key trapping
method in Javascript and additionally you need to define the onFocus and
onPress event to a Javascript function for Flash. Iam sorry for not able to
give you the exact solution but try searching on the web and you will definetly
find a solution.

Thanks,
Last ActionScript Hero
Web: http://www.lastashero.com
AddThis Social Bookmark Button