ContextMenu problem

Hai all,

in my flash file the context menu is not working…


function mySpin()
{
    webwasp.gotoAndPlay(2);
} // End of the function
var myContextMenu = new ContextMenu();
myContextMenu.hideBuiltInItems();
var spin = new ContextMenuItem("Spin Spin Spin!!!", mySpin);
myContextMenu.customItems.push(spin);
webwasp.menu = myContextMenu;
 

i am using this code…
is there any publishing property should i change for that?

pls help me…