Movie Clip Question

Aren’t movie clips supposed to close when another is clicked? I thought it was an automatic thing? Or is there some type of script that I need to type for the movie clip to be closed when another is open? Does it have anything to do with having a stop action at the end of the animation in my movie clip? Thanks in advance.

Read this thread, it might help.

http://www.kirupaforum.com/forums/showthread.php?s=&threadid=28419

on (release) {
_root.movieclip1.gotoAndPlay(“open”);
_root.movieclip2.gotoAndPlay(“close”);
}

What if my current script looks like this…
"on(release) {
_root.Story.play(2);

}"

How would I format it to fit the script above? Thanks in advance.

Come on, I know someone can answer my question.

Well, I’ll give it a shot.

“open” and “close” are frame labels and 2 is your frame number so you need to use the frame number where the matching stuff from their “close” frame is in your movie.
_root.Story1.play(x); Where x is the appropriate frame number.

If you loaded a movie clip and are trying to replace that movie clip with another then I think you just need to load the new movie clip at the same level as the one you want to get rid of.

Liz

on(release) {
_root.Trailer.gotoAndPlay(“close”);
_root.Story.play(2);

}

This is my script, the close animation works fine it just isnt working when I want it too. Let’s say I place this on the “story” button…then I click on the trailer button…shouldnt the animation that occured when the Trailer button was clicked close when I click the story button since thats where the AS above is placed? Because it isnt working or am I looking at it the wrong waY?

Maybe your trailer movie clip is restarting, does the final frame have stop(); in it?

Liz

Yea I do I’ll figure it out, if I still can’t get it…I’ll ask again tommorow. Thanks!