# Calling mc from a swf

**URL:** <https://forum.kirupa.com/t/calling-mc-from-a-swf/34057>\
**Category:** Uncategorized\
**Created:** [October 27, 2003, 5:25pm UTC](https://forum.kirupa.com/t/calling-mc-from-a-swf/34057 "2003-10-27T17:25:27Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![artist1204](https://avatars.discourse-cdn.com/v4/letter/a/d6d6ee/32.png) [@artist1204](https://forum.kirupa.com/u/artist1204)\
**Post date:** [October 27, 2003, 5:25pm UTC](https://forum.kirupa.com/t/calling-mc-from-a-swf/34057/1 "2003-10-27T17:25:27Z")

</div>

hi all,

new to forums.

Can you call from a button a movie clip inside a swf file.  
I made a menu system that animates and I want to return to the visible state of that menu. not too savy with as, any help is greatly appreciated…

Thank you all for your guidance in these forums and the tutorials.  
You have been of great service…

---

<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:** [October 27, 2003, 5:30pm UTC](https://forum.kirupa.com/t/calling-mc-from-a-swf/34057/2 "2003-10-27T17:30:57Z")

</div>

welcome 🙂

where is the button located? in the swf, or are you calling from  
an external swf to another?

---

<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:** [October 27, 2003, 11:37pm UTC](https://forum.kirupa.com/t/calling-mc-from-a-swf/34057/3 "2003-10-27T23:37:47Z")

</div>

i load one swf and then from a button within that swf I want to load an mc located within another swf. i hope that is clear, ty for your response…

bob

---

<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:** [October 28, 2003, 4:36am UTC](https://forum.kirupa.com/t/calling-mc-from-a-swf/34057/4 "2003-10-28T04:36:11Z")

</div>

how come you don’t just make the second swf part of the first as  
it’s own mc? then this would be a lot easier. 😉

if you are trying to load a clip (ex. via attachMovie()) from the  
2nd .swf, that is not possible. But if you are trying to _play_ a  
clip within the other .swf file that is on the stage, and has an  
instance name, then yes it is possible.

what you need to do is target the movieclip symbol within the swf  
you loaded, then target the mc you want to play.

[SIZE=1]\*credit to lostinbeta for his consult [/SIZE] =)

---

<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:** [October 29, 2003, 1:10am UTC](https://forum.kirupa.com/t/calling-mc-from-a-swf/34057/5 "2003-10-29T01:10:10Z")

</div>

thanks for the push, I figured it out.  
I put an empty mc and an onclipevent to get the mc i wanted to run when the swf loaded…  
you guys are great I am amazed by your talent

best regards  
bob
