# Controlling a loaded swf

**URL:** https://forum.kirupa.com/t/controlling-a-loaded-swf/231364
**Category:** Uncategorized
**Created:** [July 4, 2007, 2:41am UTC](https://forum.kirupa.com/t/controlling-a-loaded-swf/231364 "2007-07-04T02:41:49Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![lightscience](https://avatars.discourse-cdn.com/v4/letter/l/a88e57/32.png) [@lightscience](https://forum.kirupa.com/u/lightscience)
#### Post date: [July 4, 2007, 2:41am UTC](https://forum.kirupa.com/t/controlling-a-loaded-swf/231364/1 "2007-07-04T02:41:49Z")

</div>

:te:

hi everyone!

well, i have this loaded swf, which i got into a specific layer by loading it right into a movieclip, and it’s a voice guided tutorial movie. what i’m finding is that when i navigate to another part of the flash website i’m creating, i’ve still got the audio narrative from that laoded swf playing.

so pretty much i just want to make it so that when you click the button to go to another part of the website, it makes the movie either completely disappear or stop playing. i guess disappear would be prefferable, although it would be good to understand either.

i’ve been just reading and reading :book: :book: :book: and it’s so silly : i just can’t find anything that explains how to actually communicate to your loaded swf from the main timeline.

so here’s my loader code :

```auto
var loadRequest:URLRequest = new URLRequest("GaiaCraft.swf");
var swfLoader:Loader = new Loader();
swfLoader.load(loadRequest);
load_mc.addChild(swfLoader);

```

and here’s something i tried off the top of my head to make it work (inside the navigation button function on the main timeline) :

```auto

load_mc.swfLoader.stop();

```

also set up a completely blank swf file and tried :

```auto

load_mc.swfLoader.source = "blank.swf";

```

also tried :

```auto

load_mc.removeChild(swfLoader);

```

it just seems like it should be so simple, but maybe it’s not?
