Make the code shorter?

Hello everyone^^
It’s my first post here, and my english is not very good, so I’m a bit stressed ^^. I hope I post in the good section.

Well. It’s not really about a problem that I ask, it’s just that I ask me some questions about how to mak some actionscripts shorter and more smart maybe.

I wonder if tere is a way to write shorter:

Mc.onRollOver = function() {
blahblahblah...}
Mc.onRollOut = function() {
nanananananana....}
titleMc.onPress = function() {
lalalalalalalala....}

btw: I discovered a few time ago,

that if(....){
blahblahblah...}

could be written a shorter way, but I can’t find the syntax no more :wink:

Hope you can help me growing as a lil coder… ^^

~H~