How to go to next frame when transition is finished?

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:


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.