Hi everyone,
I’ve just finished the navigation buttons in my flash movie which take the viewer to the different sections of the site by directing the playhead to the right frame label. I’ve used the following code to do this:
on (release) {
this.gotoAndStop(“info”);
}
I have a problem though: I’ve also created a movie clip animation where two rectangular shapes move in simultaneously from the left and right sides of the stage creating a sliding door effect. When the viewer is in a particular section (frame) and they use one of the nav buttons to go to another section, I’d like for this animation to play (giving the effect of sort of closing a particular section) and then having another movie clip where the sliding doors open up in the incoming section to reveal that section. My problem is that I don’t know what actionscript I’d use to achieve this. What code would I use on the nav button to make the first sliding door movie clip play, then have it move to the second sliding door movie clip and then finally go to the section labelled on the nav button.
I’m not sure if I’ve given enough information or whether it’s clear but if someone can help I’d be really grateful.