here is the code
Continue30.addEventListener(MouseEvent.MOUSE_DOWN, ChangeTo35);
function ChangeTo35(e:MouseEvent):void {
while (stage.numChildren > 0) {
stage.removeChildAt(stage.numChildren-1);
if (stage == null) {
break;
}
}
gotoAndStop(35);
}
i want to remove the children on the stage and jump to another frame where there is more children that come on the stage. however, when using this code, I lose all the children on both screens. Does anyone know how to fix that?:bu: