# How to REMOVE the previous page and upload the new page

**URL:** <https://forum.kirupa.com/t/how-to-remove-the-previous-page-and-upload-the-new-page/227855>\
**Category:** Uncategorized\
**Created:** [June 3, 2007, 3:29am UTC](https://forum.kirupa.com/t/how-to-remove-the-previous-page-and-upload-the-new-page/227855 "2007-06-03T03:29:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![nwglow](https://avatars.discourse-cdn.com/v4/letter/n/f1d935/32.png) [@nwglow](https://forum.kirupa.com/u/nwglow)\
**Post date:** [June 3, 2007, 3:29am UTC](https://forum.kirupa.com/t/how-to-remove-the-previous-page-and-upload-the-new-page/227855/1 "2007-06-03T03:29:00Z")

</div>

When I click on a horizontal navigation button, it uploads the new page on top of another instead of REM **O** VE the previous page and upload the new page. How do I fix it? Both this.myLoader.removeMovieClip(); and this.removeMovieClip(); don’t work.

* * *

var myLoader:MovieClipLoader = new MovieClipLoader();

function clearPage(){  
this.myLoader.removeMovieClip();  
}

homeMC.onRelease = function() {  
clearPage();  
myLoader.loadClip(“home.swf”, mcHolder);  
}

designMC.onRelease = function() {  
clearPage();  
myLoader.loadClip("design.swf ", mcHolder);  
}

developMC.onRelease = function() {  
clearPage();  
myLoader.loadClip(“develop.swf”, mcHolder);  
}
