> questions are....  Why does your flash looks so much like HTML
> that the user
> is reloading the page?  How come the user is reloading at all?
> Is something
> missing from the page?

Never underestimate what stupid things users will do. Good UI only goes so
far in preventing these mishaps.

I was wondering about disabling/remapping the keyboard keys with JavaScript,
and while most say it can't be done, there was this interesting post I
found. It may not be perfect, but it could be a place to start fiddling:

This script will disable the back button from keyboard
<HTML>
<HEAD>
<script>
function checkShortcut()
{
         //alert(event.keyCode);
       if(event.keyCode==8 || event.keyCode==13)
       {
             return false;
       }
}
</script>
</HEAD>
<body onkeydown="return checkShortcut()">
Test
</HTML>

This script will disable shift+F10 button
<html>
<head>
<title>Javascript split function</title>
<script language="javascript">
function test(){
window.showModalDialog("http://www.msn.com","Dialog Arguments
Value","dialogHeight: 500px;

dialogWidth: 500px; dialogTop: 288px; dialogLeft: 209px; edge: Sunken;
center: Yes; help:

Yes; resizable: No; status: No;");
}
</script>
</head>
<body>

<form name="frm" action="" method="post">
<input type="button" name="showModalDialog" value="showModalDialog"
onclick="test()">
</form>
</body>
</html>

The script apparently needs to be placed on a popup window, which often
isn't a problem with Flash. Here's the discussion where I pulled it fom:
http://www.experts-exchange.com/Web/Web_Languages/JavaScript/Q_20287459.html


-Kevin Graeme


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

Reply via email to