# Having some dumb problems here

**URL:** <https://forum.kirupa.com/t/having-some-dumb-problems-here/57127>\
**Category:** Uncategorized\
**Created:** [July 10, 2004, 4:07pm UTC](https://forum.kirupa.com/t/having-some-dumb-problems-here/57127 "2004-07-10T16:07:27Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![dude9er](https://avatars.discourse-cdn.com/v4/letter/d/4af34b/32.png) [@dude9er](https://forum.kirupa.com/u/dude9er)\
**Post date:** [July 10, 2004, 4:07pm UTC](https://forum.kirupa.com/t/having-some-dumb-problems-here/57127/1 "2004-07-10T16:07:27Z")

</div>

Here goes…

My main movie loads an external swf (portfolio) into an empty MC called “emptyMC”. That portfolio.swf has buttons. When each button is pressed to load another new swf “tabletennis.swf” into the empty MC “view2”, I have a little transition, “tester” that plays in an empty MC called “view” which is called using attachMovie. Here’s the code…

```auto

on (release) {
_root.emptyMC.view.attachMovie ("tester", "window", 1);
loadMovie("tabletennis.swf", "_root.view2");

}

```

Now with each button that calls each new portfolio piece (tabletennis.swf, ball.swf, etc) I have a little bit of code to remove the “tester” MC from the “view” empty MC, which then reveals the remainder of each portfolio piece.

On the first frame of those external swf’s that are being loaded into empty mc “view2” i have the code

```auto

_root.emptyMC.view.window.removeMovieClip();

```

But that doesn’t seem to unload the “tester” attached movie located in empty MC “view”.

Anyone have any idea how to unload an attached movie that is sitting in an empty MC (view) that’s been loaded into another Empty mc (emptyMC) from the main timeline?

Hope this makes sense. Only took me 20 minutes to write it all out.

Thanks man.

---

<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, 2004, 7:03pm UTC](https://forum.kirupa.com/t/having-some-dumb-problems-here/57127/2 "2004-07-10T19:03:19Z")

</div>

```auto
_root.emptyMC.view.removeMovieClip();

```

scotty(-:

---

<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 11, 2004, 10:18pm UTC](https://forum.kirupa.com/t/having-some-dumb-problems-here/57127/3 "2004-07-11T22:18:59Z")

</div>

Hey scotty I tried your code and it doesn’t work. I made a mock up for you, can you check to see what’s going on. The ball.swf and square.swf have two scenes.

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 11, 2004, 10:58pm UTC](https://forum.kirupa.com/t/having-some-dumb-problems-here/57127/4 "2004-07-11T22:58:09Z")

</div>

Ehm, you’re right:)  
I’ve checked your files and

```auto
_root.emptyMC.view.window.removeMovieClip();

```

works for me…

scotty(-:

---

<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 12, 2004, 10:20pm UTC](https://forum.kirupa.com/t/having-some-dumb-problems-here/57127/5 "2004-07-12T22:20:56Z")

</div>

hey scotty, no man, I was right by fluke. thanks for confirming it though. it just wasn’t taking at first but it’s all working now. A lot of my AS is just guessing. thanks for looking at the files. I appreciate it.

---

<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 13, 2004, 7:58am UTC](https://forum.kirupa.com/t/having-some-dumb-problems-here/57127/6 "2004-07-13T07:58:43Z")

</div>

no problem=)
