# Evt.target property

**URL:** <https://forum.kirupa.com/t/evt-target-property/276693>\
**Category:** Uncategorized\
**Created:** [December 2, 2008, 8:11pm UTC](https://forum.kirupa.com/t/evt-target-property/276693 "2008-12-02T20:11:52Z")\
**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 2, 2008, 8:11pm UTC](https://forum.kirupa.com/t/evt-target-property/276693/1 "2008-12-02T20:11:52Z")

</div>

i have a clip with some animation inside. in the main timeline i add a listener, so when i click at the clip i want it to go to a certain frame and play. so i write

addEventListener(MouseEvent.CLICK,playAnimation);  
function playAnimation(evt:MouseEvent):void  
{evt.target.gotoAndPlay(“down”);}

however this doesn’t work, i get an error message that it can’t find the frame. then i tried this:

[evt.target]gotoAndPlay(“down”);

but nothing , either.  
what’s the problem here? why can’t i acces that method?  
if you can help me i’d really appreciate it.
