# Help with button

**URL:** <https://forum.kirupa.com/t/help-with-button/276625>\
**Category:** Uncategorized\
**Created:** [December 1, 2008, 8:43pm UTC](https://forum.kirupa.com/t/help-with-button/276625 "2008-12-01T20:43:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ParanoidAndroid](https://avatars.discourse-cdn.com/v4/letter/p/b19c9b/32.png) [@ParanoidAndroid](https://forum.kirupa.com/u/ParanoidAndroid)\
**Post date:** [December 1, 2008, 8:43pm UTC](https://forum.kirupa.com/t/help-with-button/276625/1 "2008-12-01T20:43:58Z")

</div>

i have a movieclip on the stage, i named it myclip on the proprty inspector.  
i made a listener and a function so this clip will trace its name when clicked:  
addEventListener(MouseEvent.CLICK,traceName);  
function traceName(evt:MouseEvent)  
{ trace(evt.target.name)}  
however it returns “instance1” in the output panel  
why doesn’t it trace “myClip”, if that’s its name??  
please help, i’m very confused
