# How to stop the process while moving to another section?

**URL:** <https://forum.kirupa.com/t/how-to-stop-the-process-while-moving-to-another-section/325623>\
**Category:** flash\
**Created:** [October 26, 2011, 3:35pm UTC](https://forum.kirupa.com/t/how-to-stop-the-process-while-moving-to-another-section/325623 "2011-10-26T15:35:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![learner\_7n](https://avatars.discourse-cdn.com/v4/letter/l/b2d939/32.png) [@learner\_7n](https://forum.kirupa.com/u/learner_7n)\
**Post date:** [October 26, 2011, 3:35pm UTC](https://forum.kirupa.com/t/how-to-stop-the-process-while-moving-to-another-section/325623/1 "2011-10-26T15:35:02Z")

</div>

Hi,

I have the following code on Home Page which contains some tween animations. When I move to About page and immediately come back to Home page again (before all the animations on Home Page done animation), I see some animations are still in the middle of completion. Actually I should see the animation from starting when I go to Home page from any section.

```auto
var timeline3:TimelineMax = new TimelineMax();
timeline3.append(TweenMax.fromTo(Home_mc, 1, {x:1000, y:0, alpha:.8}, {x:0, y:0, alpha:1, delay:.5, ease:Elastic.easeOut}));

timeline3.append(TweenMax.fromTo(Home_mc.Character_mc, .5, {x:435, y:-600, alpha:.8}, {x:435, y:200, alpha:1, delay:0, ease:Regular.easeOut}));
timeline3.append(TweenMax.fromTo(Home_mc.Birds_mc, .5, {x:660, y:600, alpha:.8}, {x:660, y:200, alpha:1, delay:0, ease:Regular.easeOut}));

```

How to solve this problem?

Please help.
