Why do mouse events trigger twice?

I have some simple script:

[AS]Mouse.addListener(_root);

_root.onMouseDown = function(){
trace(“bangarang”);
}[/AS]

I debug, and when I press the mouse, it traces TWICE! Why is this? (Does the same thing for onMouseUp).

You don’t need to add a mouse listener for this action.

[AS]_root.onMouseDown = function() {
trace(“bangarang”);
};[/AS]

:slight_smile: thanks LIB

No problem :slight_smile: