Associated label break

will this break statement get me out of everything completely?



if (activeMainItem != "") {

    for (var i:int = 0; i < myXML.menuItem.length(); i++) {

        if (activeMainItem == myXML.menuItem*.@name) {

            _id = i;
            bd = new ButtonDisabler( mainArr, fontRollOverColor, fontColor, null, _id );

            if (myXML.menuItem*.hasComplexContent()) {//parent

                targetName = myXML.menuItem*.@name + i + "_sub";
                setMaskY(_id);
                prepareForOpen();

            }
            **break**;
        }
    }
} else {

    bd = new ButtonDisabler( mainArr, fontRollOverColor, fontColor, null, -1 );
    mainSprite.mouseChildren = true;
}

of I need to use break label?

**foo**: {

    if (activeMainItem != "") {
    
        for (var i:int = 0; i < myXML.menuItem.length(); i++) {
    
            if (activeMainItem == myXML.menuItem*.@name) {
    
                _id = i;
                bd = new ButtonDisabler( mainArr, fontRollOverColor, fontColor, null, _id );
    
                if (myXML.menuItem*.hasComplexContent()) {//parent
    
                    targetName = myXML.menuItem*.@name + i + "_sub";
                    setMaskY(_id);
                    prepareForOpen();
    
                }
                **break foo**;
            }
        }
    } else {
    
        bd = new ButtonDisabler( mainArr, fontRollOverColor, fontColor, null, -1 );
        mainSprite.mouseChildren = true;
}

}