im using a script to load in diffrent menus on my site. They bulid up over eachother. So when u push a button, a new version of the exact same layout loads over the old one.
The problem is that the oldones dont go away, and the flash starts to run weary slow after some clicks.
Id like the old ones to be removed when the new one is finished animating.
The code im using is
on (release) {
var newMc = this.attachMovie(“megmain”,“interface”,1);
newMc._x = 0;
newMc._y = 0;