# Context menu help

**URL:** <https://forum.kirupa.com/t/context-menu-help/213403>\
**Category:** Uncategorized\
**Created:** [January 19, 2007, 7:19am UTC](https://forum.kirupa.com/t/context-menu-help/213403 "2007-01-19T07:19:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![gkp\_gaurav1](https://avatars.discourse-cdn.com/v4/letter/g/c37758/32.png) [@gkp\_gaurav1](https://forum.kirupa.com/u/gkp_gaurav1)\
**Post date:** [January 19, 2007, 7:19am UTC](https://forum.kirupa.com/t/context-menu-help/213403/1 "2007-01-19T07:19:50Z")

</div>

hi all  
i m developing a project in flash. here i m facing a problem, need help of you experts. there is a label-movieclip (instance name= lbl1), there is a context menu for this label, in which there is option for bold font, italict, normal and “copy label”. there is another context menu for \_root, in which there is an option for “paste label”, that is inactive at start.

when the user right clicks on the label and choose “bold” or “italic” the font(‘render text as html’ is checked) becomes bold or italic as i give a value for

\_root.lbl1.font\_varName = “\<b\> label \</b\>”; …

when user right cliks on label and selects “copy label”, the context menu item “paste label” for \_root, becomes active. and by selecting this paste label option a duplicate label movieclip is generated at mouse’s \_x, \_y. and label’s menu(bold, …, copy label) is also assigned to this new duplicated movieclip.

now the problem arise. when i click “bold” in the duplicated movieclip, the parent mc’s font becomes bold… because there i hv defined **\_root.lbl1…**

\*\*“this” \*\*is not working there. is there any way to find the instance name of the movieclip on which i hv clicked recently??? can anyone help me.

pleeeez help. :hurt:
