I have an RDA with a HUD at the bottom of the interface. The navigation on the buttons themselves and the next and previous buttons works fine. However there are two different conditions in how the content should animate in and out.

From the initial layout the content (MC) on a button click should fade in, as it does. When the content is navigated to in the lower HUD, if the content is already present on the screen, it should slide to the next or previous content MC. I've made MovieClips containing the transition animations that are located in the library and export in the first frame. I'd like when the HUD buttons are released for the container to switch over to the slide transitions. I hope it all makes sense.

Here's an example of the code I'm trying to accomplish:
code:
Nav_Right.onRelease = function() {
if ((_root.preEnroll_MC._currentFrame == 2) && (_root.frontTimeline.select_MC._x=49.4)) {
_root.preEnroll_MC.mailer_MC.attachMovie('MailToPo stcard','MailToPostcardTrans',depth);
_root.preEnroll_MC.nextFrame();
} else if (_root.preEnroll_MC._currentFrame == 9) {
gotoAndStop('middle', "MiddleInitiate");
} else {
_root.preEnroll_MC.nextFrame();
}
};



Here is a copy of the button code without the condition:
code:
//Next Button//
Nav_Right.onRelease = function() {
if (_root.preEnroll_MC._currentFrame == 9) {
gotoAndStop('middle', "MiddleInitiate");
} else {
_root.preEnroll_MC.nextFrame();
}
};



Has anyone ran into this issue before? Multi-conditional button and Movie Clip communications? If you'd like or need more information to help out let me know.