# Can't remove movie clip?

**URL:** <https://forum.kirupa.com/t/cant-remove-movie-clip/168621>\
**Category:** Uncategorized\
**Created:** [November 8, 2005, 8:09pm UTC](https://forum.kirupa.com/t/cant-remove-movie-clip/168621 "2005-11-08T20:09:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dragonfly](https://avatars.discourse-cdn.com/v4/letter/d/8e8cbc/32.png) [@dragonfly](https://forum.kirupa.com/u/dragonfly)\
**Post date:** [November 8, 2005, 8:09pm UTC](https://forum.kirupa.com/t/cant-remove-movie-clip/168621/1 "2005-11-08T20:09:32Z")

</div>

Me oh my this is irritating… I can’t seem to remove the movie clip referenced by “ghost”. I’ve verified that I’m targeting things correctly because i can change the alpha of ghost with the “onMouseUp” event, but I can’t remove it?!

```auto
 _root.compareTable.bizDragger0.onPress = function() {
        ghost = _root.attachMovie("bizTypeDragger", "bizDraggerGhost", _root.getNextHighestDepth());
        startDrag(ghost);
        with (ghost) {
            _alpha = 40;
            _x = _xmouse-(ghost._width/2);
            _y = _ymouse-(ghost._height/2);
        }
    };
    _root.onMouseUp = function() {
        stopDrag();
        ghost._alpha = 5;
        ghost.removeMovieClip(); // THIS ISN'T WORKING?
    };

```
