# Movie Clip Question

**URL:** <https://forum.kirupa.com/t/movie-clip-question/25815>\
**Category:** Uncategorized\
**Created:** [July 16, 2003, 7:40pm UTC](https://forum.kirupa.com/t/movie-clip-question/25815 "2003-07-16T19:40:24Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![dynastyjp](https://avatars.discourse-cdn.com/v4/letter/d/34f0e0/32.png) [@dynastyjp](https://forum.kirupa.com/u/dynastyjp)\
**Post date:** [July 16, 2003, 7:40pm UTC](https://forum.kirupa.com/t/movie-clip-question/25815/1 "2003-07-16T19:40:24Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 16, 2003, 7:46pm UTC](https://forum.kirupa.com/t/movie-clip-question/25815/2 "2003-07-16T19:46:07Z")

</div>

Read this thread, it might help.

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

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 16, 2003, 7:57pm UTC](https://forum.kirupa.com/t/movie-clip-question/25815/3 "2003-07-16T19:57:07Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 16, 2003, 9:03pm UTC](https://forum.kirupa.com/t/movie-clip-question/25815/4 "2003-07-16T21:03:50Z")

</div>

Come on, I know someone can answer my question.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 16, 2003, 9:18pm UTC](https://forum.kirupa.com/t/movie-clip-question/25815/5 "2003-07-16T21:18:06Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 16, 2003, 10:41pm UTC](https://forum.kirupa.com/t/movie-clip-question/25815/6 "2003-07-16T22:41:14Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 16, 2003, 10:52pm UTC](https://forum.kirupa.com/t/movie-clip-question/25815/7 "2003-07-16T22:52:22Z")

</div>

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

Liz

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 17, 2003, 12:13am UTC](https://forum.kirupa.com/t/movie-clip-question/25815/8 "2003-07-17T00:13:07Z")

</div>

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