# Controlling external .swf

**URL:** https://forum.kirupa.com/t/controlling-external-swf/228557
**Category:** Uncategorized
**Created:** [June 8, 2007, 9:21pm UTC](https://forum.kirupa.com/t/controlling-external-swf/228557 "2007-06-08T21:21:58Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![AgentFitz](https://avatars.discourse-cdn.com/v4/letter/a/f17d59/32.png) [@AgentFitz](https://forum.kirupa.com/u/AgentFitz)
#### Post date: [June 8, 2007, 9:21pm UTC](https://forum.kirupa.com/t/controlling-external-swf/228557/1 "2007-06-08T21:21:58Z")

</div>

Is there a way to control the playback of an externally loaded .swf?

I’m using the MovieClipLoader class to bring an external .swf into my “main nav” .swf, and I would like to allow the user to pause and resume playback of the external .swf.

How might I accomplish this?

here’s what I have so far:

```auto
 
this.createEmptyMovieClip("mcHolder", this.getNextHighestDepth());
var mclLoader:MovieClipLoader = new MovieClipLoader();
var oListener:Object = new Object();
oListener.onLoadComplete = function(bSuccess:Boolean):Void {
  if(bSuccess){
      // something really cool.
  }
};
mclLoader.loadClip("myexternalmovie.swf", mcHolder);
mclLoader.addListener(oListener);
 
mcPauseButton.onRelease = function():Void {
    // someway to pause "myexternalswf.swf"
};
mcPlayButton.onRelease = function():Void {
    // someway to play "myexternalswf.swf"
};

```

Thanks in advance for any insight!!
