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).
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]
thanks LIB
No problem