# How to go to next frame when transition is finished?

**URL:** <https://forum.kirupa.com/t/how-to-go-to-next-frame-when-transition-is-finished/314115>\
**Category:** flash\
**Created:** [September 18, 2010, 4:13pm UTC](https://forum.kirupa.com/t/how-to-go-to-next-frame-when-transition-is-finished/314115 "2010-09-18T16:13:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Frosteh](https://avatars.discourse-cdn.com/v4/letter/f/c0e974/32.png) [@Frosteh](https://forum.kirupa.com/u/Frosteh)\
**Post date:** [September 18, 2010, 4:13pm UTC](https://forum.kirupa.com/t/how-to-go-to-next-frame-when-transition-is-finished/314115/1 "2010-09-18T16:13:20Z")

</div>

So I’ve got some script in which I fade in a couple movie clips using the transition manager class. These mc’s are buttons but I want it to finish the transition before it enables the button features. Here is my code so far:

```auto

stop();

import fl.transitions.*;
import fl.transitions.easing.*;

TransitionManager.start(designselectorbtn_mc, {type:Fade, direction:Transition.IN, duration:2});
TransitionManager.start(airsoftselectorbtn_mc, {type:Fade, direction:Transition.IN, duration:2});

```

I just don’t know how to have the movie wait to move to the next frame until the transition is finished.
