# \_root mc access via external swf?

**URL:** <https://forum.kirupa.com/t/-root-mc-access-via-external-swf/57693>\
**Category:** flash\
**Created:** [July 15, 2004, 11:26am UTC](https://forum.kirupa.com/t/-root-mc-access-via-external-swf/57693 "2004-07-15T11:26:09Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![sky\_vault](https://avatars.discourse-cdn.com/v4/letter/s/e79b87/32.png) [@sky\_vault](https://forum.kirupa.com/u/sky_vault)\
**Post date:** [July 15, 2004, 11:26am UTC](https://forum.kirupa.com/t/-root-mc-access-via-external-swf/57693/1 "2004-07-15T11:26:09Z")

</div>

i have an external swf loaded into a empty mc on the main timeline  
and i am needing to target a specific frame of another mc on the main timeline  
from a specific frame in the external swf.  
current code:

\_root.list.gotoAndStop(31);

list being the instance of the other mc on the main timeline …  
what am i doing wrong …?  
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 15, 2004, 5:28pm UTC](https://forum.kirupa.com/t/-root-mc-access-via-external-swf/57693/2 "2004-07-15T17:28:25Z")

</div>

I don’t think there is a problem with the code, it looks correct. I’d start looking for a different problem. I’ll take a look if you want to post the .fla file.

---

<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 15, 2004, 5:45pm UTC](https://forum.kirupa.com/t/-root-mc-access-via-external-swf/57693/3 "2004-07-15T17:45:38Z")

</div>

your missing the instance name of the empty movieclip thats why its not working it should look something like this

\_root.instancenamehere.list.gotoAndStop(31);

---

<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 15, 2004, 7:37pm UTC](https://forum.kirupa.com/t/-root-mc-access-via-external-swf/57693/4 "2004-07-15T19:37:14Z")

</div>

I thought ‘list’ was the instance name of the Empty MC, and he already has that in the code. Maybe I’m not understanding. Did grim Death’s advice work sky\_vault?

---

<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 15, 2004, 8:15pm UTC](https://forum.kirupa.com/t/-root-mc-access-via-external-swf/57693/5 "2004-07-15T20:15:45Z")

</div>

copy and paste your code so we can see what instance name your defining for the emptymovieclip

---

<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 15, 2004, 8:28pm UTC](https://forum.kirupa.com/t/-root-mc-access-via-external-swf/57693/6 "2004-07-15T20:28:38Z")

</div>

let me clarify a bit what im trying to do here  
on the main timeline sits a mc instance of list  
i am loading external swfs into a container clip into the maintimeline  
and with each different loaded swf i am trying to access a specific frame  
in the list mc that is already on the maintimeline  
so i hope that clears it up some

this action is just sitting in a early frame of each external swf to move the list mc  
to correct frame and i have played with the \_root and \_parent var with no success

---

<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 15, 2004, 8:34pm UTC](https://forum.kirupa.com/t/-root-mc-access-via-external-swf/57693/7 "2004-07-15T20:34:55Z")

</div>

the instance of the empty clip is container  
the instance of the mc im trying to access is list

---

<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, 2004, 7:37am UTC](https://forum.kirupa.com/t/-root-mc-access-via-external-swf/57693/8 "2004-07-16T07:37:05Z")

</div>

thanks for the effort boys but it is not working …  
and the material in the project is release date sensitive stuff or i would  
post up the fla’s. thanks again it looks like im on my own on this one.
