# Stopping a Tween

**URL:** <https://forum.kirupa.com/t/stopping-a-tween/330482>\
**Category:** flash\
**Created:** [January 28, 2013, 12:09pm UTC](https://forum.kirupa.com/t/stopping-a-tween/330482 "2013-01-28T12:09:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rudolfus](https://avatars.discourse-cdn.com/v4/letter/r/bc8723/32.png) [@Rudolfus](https://forum.kirupa.com/u/Rudolfus)\
**Post date:** [January 28, 2013, 12:09pm UTC](https://forum.kirupa.com/t/stopping-a-tween/330482/1 "2013-01-28T12:09:39Z")

</div>

Sup Dawgs

Noob here.

I’m currently working on a Whack-The-Mole kind of game with paper documents flying in and out of the screen and the player having to stamp the pieces before they exit the screen.

Here’s what I got up to now:

* * *

Mouse.hide();  
stamp\_mc.startDrag(true);

letter\_mc.addEventListener(MouseEvent.CLICK, stampclick);  
function stampclick(event:MouseEvent){  
stamp\_mc.gotoAndPlay (2);  
letter\_mc.gotoAndPlay (2);  
letter\_mc.tween.stop();

* * *

As you can see when a letter is stamped, it shifts to another frame of its instance which shows the same letter but stamped.

I’m currently having the letter move across the screen using a tween. My aim is to make the letter, once stamped, stop moving, blink a few times and vanish. This doesn’t work; instead the letter just keeps on moving and I get the following error:

[COLOR=#000000][FONT=verdana] **TypeError: Error #1010: A term is undefined and has no properties.** [/FONT][/COLOR]  
This doesn’t happen if I just let the paper pass, so I’m pretty sure it has something to do with the animation. Any help would be much appreciated.

Thanks in advance
