Align center in actionscript

Hey,
I’m very new to actionscript and I’m wondering if anyone can help me out.
I’m creating a menu like this one http://actionscriptnotes.com/showcase/macmenu/Main.html

However I only have 5 icons so I need to align them center and also make the box behind smaller.

I attached the actionscript file (that came with the tutorial) and this is the actionscript from the fla file where I have my icons:

this.dockActions = function(label) {
switch(label) {
case ‘Preferences’:
trace(‘This is how you open a URL in a new window.’);
getURL(‘http://aftonbladet.se/’, ‘_blank’);
break;
case ‘Blog’:
trace(‘This is how you open a URL in a new window.’);
getURL(‘http://expressen.se/’, ‘_blank’);
break;
case ‘Forum’:
trace(‘This is how you open a URL in a new window.’);
getURL(‘http://webmind.se/’, ‘_blank’);
break;
case ‘Shop’:
trace(‘This is how you open a URL in a new window.’);
getURL(‘http://minaformer.se/’, ‘_blank’);
break;

default:
trace(‘This is how you open a URL in a new window.’);
getURL(‘http://google.com/’, ‘_blank’);
}
}
// Dock description
var dockTemplate = {
layout: 0, /* top | right | bottom | left | rotation */
icon_size: 156,
icon_min: 80,
icon_max: 156,
icon_spacing: 8,
items: [
{ id: ‘settings’, label: ‘Preferences’},
{ id: ‘blog’, label: ‘Blog’ },
{ id: ‘forum’,label: ‘Forum’ },
{ id: ‘shop’, label: ‘Shop’ },
{ id: ‘support’, label: ‘support’ },
{ id: ‘search’, label: ‘Search Archives’ },
{ id: ‘contact’, label: ‘Contact Us’ },
{ id: ‘trash’, label: ‘Trash’ }
],
span: null,
amplitude: null,
callback: this.dockActions
}
this.attachMovie(‘Dock’, ‘menu_mc’, 1, dockTemplate);
this.menu_mc._x = Stage.width / 2;
this.menu_mc._y = 232;

I appriciate all answers I can get.

Thanks