entonces seria con
currentFrameLabel Código PHP:
function delMcFrameLabel(event:Event):void{
if(event.currentTarget.currentFrameLabel == event.currentTarget.frameLabelEnd){
event.currentTarget.parent.removeChild(event.currentTarget)
}
}
ejemplo
Código PHP:
this.frameLabelEnd='Miframe'
this.addEventListener(Event.ENTER_FRAME,delMcFrameLabel)
function delMcFrameLabel(event:Event):void{
if(event.currentTarget.currentFrameLabel == event.currentTarget.frameLabelEnd){
event.currentTarget.parent.removeChild(event.currentTarget)
}
}