# The hideBuiltInItems() not working?

**URL:** <https://forum.kirupa.com/t/the-hidebuiltinitems-not-working/224082>\
**Category:** Uncategorized\
**Created:** [April 28, 2007, 12:05pm UTC](https://forum.kirupa.com/t/the-hidebuiltinitems-not-working/224082 "2007-04-28T12:05:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![awflasher](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/awflasher/32/3562_2.png) [@awflasher](https://forum.kirupa.com/u/awflasher)\
**Post date:** [April 28, 2007, 12:05pm UTC](https://forum.kirupa.com/t/the-hidebuiltinitems-not-working/224082/1 "2007-04-28T12:05:43Z")

</div>

What’s the matter :

This is my document class:

```
    public function UploadDoc ()
    {
        myContextMenu = new ContextMenu();
        myContextMenu.hideBuiltInItems();
        init ();
    }

```

I can see the context menu in both IDE and HTML. The AS2-old-style works well in both IDE and HTML ~  
What’s the matter ?
