# Tween, unexpected end

**URL:** <https://forum.kirupa.com/t/tween-unexpected-end/269939>\
**Category:** flash\
**Created:** [September 3, 2008, 11:04am UTC](https://forum.kirupa.com/t/tween-unexpected-end/269939 "2008-09-03T11:04:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![gykz](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/gykz/32/909_2.png) [@gykz](https://forum.kirupa.com/u/gykz)\
**Post date:** [September 3, 2008, 11:04am UTC](https://forum.kirupa.com/t/tween-unexpected-end/269939/1 "2008-09-03T11:04:38Z")

</div>

Hi,  
I’m trying to simulate ocean waves for a presentation. In order to make it look random I’ve added 2 waves with a coded tween each. Once a tween is over it gets recalculated and moves to the other edge. And so and so.  
The problem here is sometimes this tweens comes interrupted with no reason and neither a TweenEvent is dispatched. So… why does my tween end unexpectedly or how can I detect it in order to make it run again?

Thanks a lot
