What's wrong in this code:
code:
function mouseUp(event:MouseEvent):void {
event.target.stopDrag();
event.updateAfterEvent();
if (event.currentTarget == sym01_id) {
trace(event.currentTarget);
}
}
sym01_id is a library item. The event listener in the other function is newSymbol.addEventListener(MouseEvent.MOUSE_UP, mouseUp); It doesn't output anything. Can anyone help me?
