# Controlling SWFs

**URL:** <https://forum.kirupa.com/t/controlling-swfs/225>\
**Category:** flash\
**Created:** [July 10, 2002, 4:28pm UTC](https://forum.kirupa.com/t/controlling-swfs/225 "2002-07-10T16:28:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![oize](https://avatars.discourse-cdn.com/v4/letter/o/59ef9b/32.png) [@oize](https://forum.kirupa.com/u/oize)\
**Post date:** [July 10, 2002, 4:28pm UTC](https://forum.kirupa.com/t/controlling-swfs/225/1 "2002-07-10T16:28:30Z")

</div>

Should be simple but…I can’t figure this out!  
I am attaching an external SWF to a movie clip instance with loadMovie but I can’t control it. The SWF plays fine on its own so that’s not the issue. It starts playing as soon as it is loaded. I am using myInstance.gotoAndStop() but it won’t stop. Is there anway to control the SWF? I can manipulate the movie clip instance but it doesn’t seem to affect the SWF.  
Please help before I lose more hair.  
Thanks.

---

<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 10, 2002, 5:38pm UTC](https://forum.kirupa.com/t/controlling-swfs/225/2 "2002-07-10T17:38:26Z")

</div>

You have to navigate through the amin movie too!  
Like if you have the swf loaded into an mc:  
\_root.movie.mc [**mc**]  
and in the loaded movie you would put it  
\_root.cumbaya.gotoAndStop(55);  
then you’ll just have to make it like this in the main movie:  
\_root.movie.mc.cumbaya.gotoAndStop(55);  
That was just an example…  
I hope you got it right 🙂

---

<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 10, 2002, 5:56pm UTC](https://forum.kirupa.com/t/controlling-swfs/225/3 "2002-07-10T17:56:24Z")

</div>

Thanks for the reply.  
Sorry but I couldn’t follow your examples.  
Does the mc instance have to be as many frames in length as the SWF that is attached to it?  
Can I not stop() the main timeline and just run the instance of the SWF?
