# Control loaded movie!

**URL:** <https://forum.kirupa.com/t/control-loaded-movie/6468>\
**Category:** Uncategorized\
**Created:** [October 8, 2002, 7:22am UTC](https://forum.kirupa.com/t/control-loaded-movie/6468 "2002-10-08T07:22:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jerry](https://avatars.discourse-cdn.com/v4/letter/j/5daacb/32.png) [@jerry](https://forum.kirupa.com/u/jerry)\
**Post date:** [October 8, 2002, 7:22am UTC](https://forum.kirupa.com/t/control-loaded-movie/6468/1 "2002-10-08T07:22:46Z")

</div>

hey!

I’m having trouble controling my loaded movie! I’m using the following code to load my movie:

```auto
	_root.createEmptyMovieClip("container", 1);
	loadMovie("loader.swf", "container");
	container._x = 10 ;
	container._y = 6 ;

```

inside the loader.swf there is a MC with an instance name of “cool” - thats the movieclip I wan’t to control with a button from inside my main movie!

I have the following button inside my main movie:

```auto
on (release) {
	_parent.cool.gotoAndPlay("next");
}

```

…but it wont play the movie, whats worng with the button code!?

---

<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 8, 2002, 8:09am UTC](https://forum.kirupa.com/t/control-loaded-movie/6468/2 "2002-10-08T08:09:15Z")

</div>

nevermind, I got it!

```auto
on (release) {
	_root.container.glow01.gotoAndPlay("next");
}

```
