Clear screen help

I have a project i’m doing for school making a game with a tile back ground and duplicate movie clips for the dudes. and when i go to a new empty fram the crap is still on there i need it off i know the remove movie clip thing but the back ground it is made like
stop();
mvWdth = 578;
mvHght = 578;
tileWdth = 34;
tileHght = 34;

map1 = [[29,29,28,29,28,29,32,0,30,20,23,21,23,22,23,31,0],
[2,0,0,0,0,0,0,1,30,25,26,20,24,20,20,31,0],
[0,0,1,0,0,0,0,0,30,20,21,21,22,22,27,31,0],
[0,0,0,0,0,0,0,0,30,23,20,23,22,23,23,31,0],
[0,0,0,0,1,0,0,0,30,20,24,22,23,24,23,31,0],
[0,0,0,0,0,0,0,0,30,21,23,21,27,23,23,31,0],
[0,0,0,0,0,0,0,0,30,25,22,23,26,23,26,31,0],
[0,0,0,0,0,0,0,0,30,22,23,23,23,21,23,31,0],
[0,0,3,0,0,0,0,0,30,20,23,23,25,23,23,31,0],
[0,0,0,0,0,0,2,0,30,23,27,23,23,21,22,31,0],
[0,0,0,0,0,0,0,0,30,20,23,21,22,24,23,31,0],
[0,0,0,0,0,0,0,0,30,22,22,23,23,23,21,31,0],
[0,0,0,3,0,0,3,0,30,20,23,24,21,23,23,31,0],
[2,0,0,0,0,0,0,0,33,29,28,28,29,28,29,32,0],
[0,0,0,1,0,0,0,0,0,2,0,0,0,12,13,0,0],
[0,0,0,0,0,0,0,0,0,0,0,0,3,14,15,0,0],
[11,8,8,9,8,11,8,16,17,8,10,8,4,5,9,8,16]];

function MapMaker (map) {
root.attachMovie(“blank”, “tiler”, d++);
var mapWdth = map[0].length;
var mapHght = map.length;
for (var i = 0; i < mapHght; i++) {
for (var j = 0; j < mapWdth; j++) {
var name = "tile
"+j+"_"+i;
_root[name] = new _root[“tile”+map*[j]];
_root.tiler.attachMovie(“TileSet1”, name, i100+j2);

_root.tiler[name]._x = (j*_root.tileWdth)+15;
_root.tiler[name]._y = (i*_root.tileHght)+15;
_root.tiler[name].gotoAndStop(_root[name].pos);

    }
}

}

MapMaker(map1);

thanks guys