# Movieclip cannot be clicked

**URL:** <https://forum.kirupa.com/t/movieclip-cannot-be-clicked/321193>\
**Category:** flash\
**Created:** [April 13, 2011, 12:44am UTC](https://forum.kirupa.com/t/movieclip-cannot-be-clicked/321193 "2011-04-13T00:44:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Macca26](https://avatars.discourse-cdn.com/v4/letter/m/13edae/32.png) [@Macca26](https://forum.kirupa.com/u/Macca26)\
**Post date:** [April 13, 2011, 12:44am UTC](https://forum.kirupa.com/t/movieclip-cannot-be-clicked/321193/1 "2011-04-13T00:44:33Z")

</div>

Ive got my target game where the target spawns on the stage at a random position. When the target spawns however, i am unable to click it to shoot it?

Ive got my event listener for the target in my actions on that frame, but its giving me the following error:

1061: Call to a possibly undefined method addeventlistener through a reference with static type class.

If i comment out the addEventListener for the Target the game runs but i cant click it, if i dont comment it out i get that error and the game wont run.

Please help!

Thanks
