# Stop a tween in the middle of the process

**URL:** https://forum.kirupa.com/t/stop-a-tween-in-the-middle-of-the-process/226941
**Category:** Uncategorized
**Created:** [May 25, 2007, 6:22am UTC](https://forum.kirupa.com/t/stop-a-tween-in-the-middle-of-the-process/226941 "2007-05-25T06:22:13Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Dennis\_gull](https://avatars.discourse-cdn.com/v4/letter/d/e274bd/32.png) [@Dennis\_gull](https://forum.kirupa.com/u/Dennis_gull)
#### Post date: [May 25, 2007, 6:22am UTC](https://forum.kirupa.com/t/stop-a-tween-in-the-middle-of-the-process/226941/1 "2007-05-25T06:22:13Z")

</div>

Hello, I have some problems to stop a tween in the middle of the process, for example if someone start another tween that effects the first tween.

I use alpha tween when Im about to show a new content and then if they change content the first content will alpha down to 0 right away.

example:  
lets say i have two tabs, “contact us” and “about us” and a person click the “about us” tab they will then trigger this code:  
\<function to alpha down all other contents\>  
var tw:Tween = new Tween(aboutc,"\_alpha",Strong.easeOut,0,100,1,true);

and if they then click on the “contact us” tab within 1 second they will alpha down the “about us” content but because the tween time isnt up it will come back again. So I need a way to remove the other tween.

I found this code “\<tween name\>.stop();” but It doesn’t work.
