# External mcs

**URL:** <https://forum.kirupa.com/t/external-mcs/15854>\
**Category:** Uncategorized\
**Created:** [March 18, 2003, 8:06pm UTC](https://forum.kirupa.com/t/external-mcs/15854 "2003-03-18T20:06:22Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Melissa\_Anne](https://avatars.discourse-cdn.com/v4/letter/m/49beb7/32.png) [@Melissa\_Anne](https://forum.kirupa.com/u/Melissa_Anne)\
**Post date:** [March 18, 2003, 8:06pm UTC](https://forum.kirupa.com/t/external-mcs/15854/1 "2003-03-18T20:06:22Z")

</div>

Hi, my problem is the following:

I have 2 scenes in my main.swf movie,  
in the first scene I load an external swf( test.swf)  
In that test.swf I have a mc where I want to have a script , on the last frame, that sends it back to the second scene of my main.swf movie.

Can anyone help?

Thx

Mel\*

---

<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:** [March 18, 2003, 8:20pm UTC](https://forum.kirupa.com/t/external-mcs/15854/2 "2003-03-18T20:20:12Z")

</div>

First create a frame label called “blah” for example in your second scene then apply this action to the MC in your test.swf:[AS]on (release) {  
\_root.gotoAndPlay(“blah”);  
}[/AS]

---

<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:** [March 18, 2003, 8:25pm UTC](https://forum.kirupa.com/t/external-mcs/15854/3 "2003-03-18T20:25:31Z")

</div>

Mel,

I just recently had a problem that stemmed from something that might actually help you.

Some one esle can correct me if I’m wrong, but I believe if you put:

\_root.gotoAndPlay(…

you should be okay even though you are refering to it in a separate swf.

The logic, I believe, is that the \_root gets ref’ed because the main.swf is the \_root running the test.swf inside itself.

I discovered this because I had copied a preloader from another project to place in my “test.swf” and it kept going to my main.swf frame 3 cause I had forgotten to change the \_root to a this!

Let me know if you need more help.

AC

---

<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:** [March 18, 2003, 8:35pm UTC](https://forum.kirupa.com/t/external-mcs/15854/4 "2003-03-18T20:35:34Z")

</div>

Thank you very much foor your help !

I am sorry .i realised that it was a bit of a stupid 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:** [March 18, 2003, 8:35pm UTC](https://forum.kirupa.com/t/external-mcs/15854/5 "2003-03-18T20:35:56Z")

</div>

No question is stupid here…did my method work for you?

---

<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:** [March 18, 2003, 8:54pm UTC](https://forum.kirupa.com/t/external-mcs/15854/6 "2003-03-18T20:54:45Z")

</div>

\_root.gotoAndPlay(“blah”);

yes that worked fine!
