hi i fonud Apple style OS X Dock buttons and i don’t know how to active the buttons when i press on them.(this is the original script as i found it) here is the script :
Stage.scaleMode = ‘noScale’;
this.dockActions = function(label) {
switch(label) {
case ‘Preferences’:
trace(‘Actions here to handle Preferences.’);
break;
case ‘Blog’:
trace(‘Actions here to handle Blog.’);
break;
case ‘Forum’:
trace(‘Actions here to handle Forum.’);
break;
default:
trace(‘Default action here.’);
}
}
var dockTemplate = {
layout: 0, /* top | right | bottom | left | rotation */
icon_size: 128,
icon_min: 32,
icon_max: 128,
icon_spacing: 2,
items: [
{ id: ‘settings’, label: ‘Preferences’},
{ id: ‘blog’, label: ‘Blog’ },
{ id: ‘forum’,label: ‘Forum’ },
{ id: ‘shop’, label: ‘Store’ },
{ id: ‘support’, label: ‘Tech 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 = Stage.height;
if someone can help it will be great.