Sorry, I wrote about the wrong bug initially. This thread is now titled “can’t remove a movie clip”.
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?