This isn’t working:
function MOUSEUP(evt:MouseEvent):void {
trace('=)');
}
var test:MovieClip = new MovieClip();
test.graphics.beginFill(0xFF0000);
test.graphics.drawRect(0, 0, 300, 300);
test.addEventListener(MouseEvent.CLICK, MOUSEUP);
addChild(test);
And it’s on the main stage. Am I missing something?