# Cross movieclip navigation

**URL:** https://forum.kirupa.com/t/cross-movieclip-navigation/42339
**Category:** flash
**Created:** [February 8, 2004, 1:49am UTC](https://forum.kirupa.com/t/cross-movieclip-navigation/42339 "2004-02-08T01:49:23Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![kill\_robot\_kill](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/kill_robot_kill/32/359_2.png) [@kill\_robot\_kill](https://forum.kirupa.com/u/kill_robot_kill)
#### Post date: [February 8, 2004, 1:49am UTC](https://forum.kirupa.com/t/cross-movieclip-navigation/42339/1 "2004-02-08T01:49:23Z")

</div>

Here is how my movie is set up.  
Frame one -\> MovieClip #1  
Frame two -\> MovieClip #2  
within each movieclip there are 10-15 frames.

Here’s the problem.  
I want to be able to go from frame one in MovieClip#2 to the last frame in MovieClip#1,  
via a button click.

any Ideas?

---

<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: [February 8, 2004, 2:13am UTC](https://forum.kirupa.com/t/cross-movieclip-navigation/42339/2 "2004-02-08T02:13:10Z")

</div>

Something like this:

```auto

on (release){
	_root.MC1.gotoAndStop(15);
}

```

on your button in MC2 should work. But I’m sure you’d know that, so I must be misunderstanding your question.

Adam

---

<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: [February 8, 2004, 8:29am UTC](https://forum.kirupa.com/t/cross-movieclip-navigation/42339/3 "2004-02-08T08:29:33Z")

</div>

well the problem is that “MC1” doesn’t exist on that frame, so you have to go back one frame to have MC1 even there.

---

<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: [February 8, 2004, 4:48pm UTC](https://forum.kirupa.com/t/cross-movieclip-navigation/42339/4 "2004-02-08T16:48:27Z")

</div>

can you have MC1 on frame 2 but make MC1.\_visible=0?, and then when you want to have it’s 15th frame appear, make it visible again?

---

<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: [February 8, 2004, 10:16pm UTC](https://forum.kirupa.com/t/cross-movieclip-navigation/42339/5 "2004-02-08T22:16:16Z")

</div>

I thought of that, but it didn’t seem like it was going to work.  
What i did end up doing was this I put a var in the \_root level and when I clicked on the button(in MC2) it made that variable true, and made the movie go back a frame (which holds MC1), then in the first frame of MC1 I just threw an if statement in there checking to see if the variable I just wrote was true or not, if it was, it shot it to the last frame in the MC1, if not, it didn’t do anything.

it works, so I am pleased.

---

<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: [February 8, 2004, 10:20pm UTC](https://forum.kirupa.com/t/cross-movieclip-navigation/42339/6 "2004-02-08T22:20:56Z")

</div>

Cool! Glad you got it fixed 🙂
