MX: Trigger an MC, then wait, then trigger another?

Hello to you all :slight_smile:

Once again, I kind of managed to already summarize the problem in the headline… and once again, I will probably write way too much about the details in the message :smiley:

I have an application done in flash- on the main Scene Level, everything has only one frame but I have MCs and the like that are triggered by actionscript.

There are quite a few nested functions on the main actions layer as well as an “onEnterFrame” function that reloads XML data in the background, etc… but that is not the problem.

The problem is, that at one point, I am calling a few MCs that kind of close up a section of the page like blinds- and then I want a text to appear ontop of that now closed area… but if I just write…

_root.TimelineFader.BlendeT1.gotoAndPlay(2);
_root.TimelineFader.BlendeT2.gotoAndPlay(2);
_root.TextAboveTimeline.theMessage_txt._visible = true;

…it all happens simultaneously, of course.

I guess I could check for “BlendeT1”'s (or T2’s) current frame (since it’s an MC)… but how do I wait while that MC runs / until it reached a certain frame? How can I keep the rest of the actionscript in the main function from continuing? Is there a way? I’m lost. :crying:

Any and all help is appreciated. Thanks in advance!
~Marcel