# Difficulty passing calls alongto a class object

**URL:** <https://forum.kirupa.com/t/difficulty-passing-calls-alongto-a-class-object/176329>\
**Category:** flash\
**Created:** [January 22, 2006, 11:24pm UTC](https://forum.kirupa.com/t/difficulty-passing-calls-alongto-a-class-object/176329 "2006-01-22T23:24:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![nih](https://avatars.discourse-cdn.com/v4/letter/n/4af34b/32.png) [@nih](https://forum.kirupa.com/u/nih)\
**Post date:** [January 22, 2006, 11:24pm UTC](https://forum.kirupa.com/t/difficulty-passing-calls-alongto-a-class-object/176329/1 "2006-01-22T23:24:49Z")

</div>

Sorry, I wrote about the wrong bug initially. This thread is now titled “can’t remove a movie clip”.

```auto
public function set_up_level() {
  trace('control: setting up level');
  unloadMovie(_root['level_failed']);
  unloadMovie(_root['level_passed']);
  unloadMovie(_root['marble2']);
  unloadMovie(_root['current_level']);
  _root.attachMovie('level_' + this.level, 'current_level', 100, {_x: 400, _y: 400});
  this.stop_level();
    }

```

This function is being triggered, but it’s not unloading the movies above. I also tried removeMovieClip();

I’ve been unable to remove movies period. What am I doing wrong?
