How to initiate an action when movie clips finish playing

Hi

I am a user of Flash 8 and I have a problem and I hope someone can help me with this.

I have a main movie called home.fla. In this movie I only have one frame and I have place 5 different movie clips (not SWF) on this frame at different positions but on the same layer. These five movie clips are named mc_main1, c_main2 …

Each of these movie clips contains 5 frames, with a button on each frame. Each of these buttons also has a movie clip inside them (mc_sub1… mc_sub5). You can only go from frame 1 to frame 2 of each clip (main1, main2 etc.) my clicking on the button on frame1.

The user can go to any of the ‘main’ movie clips in whichever sequence they want. For example, they can choose to go to clip main3 and click on it twice (this will take the user till frame 3 of main3 and play the movie clip that is inside frame3) and then they can decide to click on main1 once and then main4 three times until they have visited all the parts of (all the 25 mc_sub) all the movie clips (main1… main5).

Once the user has visited all the 25 mc_sub i.e. once they have finished going thru all the 5 main movie clips completely, I want to display an animation (mc_animation) on the frame1 or any other frame of the home.fla movie.

Is there away to determine if the user has finished watching all the 25 mc_sub i.e. if the user has gone thru each and every frame of each of the mc_main movieclips.

I think the problem is that since the user can select any of the mc_main clips in any sequence, I am finding it difficult to determine when they have finished going through everything. If it was all in a sequence then I know I could have calculated if the current frame is equal to total frames and then I would have displayed the animation if the above was true; but that is not the case here.

I know that this is vvveerrryyyy long and a little difficult to explain but I rreeaallllyyyy hope someone can help me. If someone has some good idea but finding it difficult to understand the whole layout, then I can even forward them the home.fla file.

Much appreciated :slight_smile: