# Problem with context menu on as1/2

**URL:** <https://forum.kirupa.com/t/problem-with-context-menu-on-as1-2/280271>\
**Category:** Uncategorized\
**Created:** [January 25, 2009, 12:50pm UTC](https://forum.kirupa.com/t/problem-with-context-menu-on-as1-2/280271 "2009-01-25T12:50:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![uni](https://avatars.discourse-cdn.com/v4/letter/u/9d8465/32.png) [@uni](https://forum.kirupa.com/u/uni)\
**Post date:** [January 25, 2009, 12:50pm UTC](https://forum.kirupa.com/t/problem-with-context-menu-on-as1-2/280271/1 "2009-01-25T12:50:31Z")

</div>

hello there,  
i’m working on flash player 6 on my minisite…  
and i have problem with my context menu cuz i’m working on flash player 6.

this is my code:

```auto
function menuChoiceTwo()
{
 getURL("http://www.psychokasher.co.il");
}
function menuChoiceThree()
{
        getURL("http://www.cubes.co.il");
}

 
NewMenu = new ContextMenu();
NewMenu.hideBuiltInItems();
NewMenu.customItems.push(new ContextMenuItem("&#1508;&#1505;&#1497;&#1499;&#1493;&#1502;&#1496;&#1512;&#1497; &#1499;&#1513;&#1512; &#1500;&#1502;&#1492;&#1491;&#1512;&#1497;&#1503;", menuChoiceTwo));
NewMenu.customItems.push(new ContextMenuItem("by cubes", menuChoiceThree)); 

this.menu = NewMenu; 

```

how i can fit this code to flash player 6?

i can’t publish my site on flash player higher i have some problems with my coding.

thanks.
