How to simplify Movieclip Events in AS3?

Example:


AS2
test_mc.onRollover = function(){
        trace("test");
}

AS3
??????
}