# Disable user from keying enter or , or . keys

**URL:** <https://forum.kirupa.com/t/disable-user-from-keying-enter-or-or-keys/45328>\
**Category:** Uncategorized\
**Created:** [March 13, 2004, 4:54am UTC](https://forum.kirupa.com/t/disable-user-from-keying-enter-or-or-keys/45328 "2004-03-13T04:54:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![willson](https://avatars.discourse-cdn.com/v4/letter/w/c0e974/32.png) [@willson](https://forum.kirupa.com/u/willson)\
**Post date:** [March 13, 2004, 4:54am UTC](https://forum.kirupa.com/t/disable-user-from-keying-enter-or-or-keys/45328/1 "2004-03-13T04:54:37Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [March 13, 2004, 6:57am UTC](https://forum.kirupa.com/t/disable-user-from-keying-enter-or-or-keys/45328/2 "2004-03-13T06:57:29Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [March 13, 2004, 1:40pm UTC](https://forum.kirupa.com/t/disable-user-from-keying-enter-or-or-keys/45328/3 "2004-03-13T13:40:21Z")

</div>

I think what you’re looking for is this:

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

```auto

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

```

so it will look like this (for example) :

```auto

<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.
