Disable user from keying enter or , or . keys

does anyone know how to disable user from using keys like enter , and . or also zoom in ands out function

pls help me need to disable them thanks

the enter button will only do something if you put in actionscript to define what will happen if enter is pressed. So if you don’t have any actionscript that does something when enter is pressed then nothing will happen at all.

I think what you’re looking for is this:

in the html where you embed the swf, insert this:


<param name="menu" value="false" />

so it will look like this (for example) :


<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="600" height="450" id="puzzle" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="puzzle.swf" />
<param name="menu" value="false" />
<param name="quality" value="high" />
<param name="bgcolor" value="#999999" />
<embed src="puzzle.swf" menu="false" quality="high" bgcolor="#999999" width="600" height="450" name="puzzle" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>

this will disable the right-click menu.