Ciao,
premetto che sono fermo alle as1, ormai lavoro solo con i cms in cui inserisco qualche flash, e questo è il caso. A un mio amico è piaciuto molto il menu mac_like_dock_menu (http://flash.html.it/movie/vedi/1076...lash-come-mac/) che ho modificato graficamente e inserito nel header di un sito fatto con xoops, solo che ho 2 problemi:
1. quando cambio pagina il menu scompare
2. il menu non va al link, il codice che ho inserito è:
Stage.scaleMode = 'noScale';
this.dockActions = function(label) {
switch(label) {
case 'Preferences':
trace('navigateToURL(new URLRequest("http://flash.html.it"),"_blank"');
break;
case 'Blog':
trace('navigateToURL(new URLRequest("http://flash.html.it"),"_blank"');
break;
case 'Forum':
trace('navigateToURL(new URLRequest("http://flash.html.it"),"_blank"');
break;
default:
trace('navigateToURL(new URLRequest("http://flash.html.it"),"_blank"');
}
}
var dockTemplate = {
layout: 0,
/* top | right | bottom | left | *rotation* */
icon_size: 128,
icon_min: 42,
icon_max: 128,
icon_spacing: 2,
items: [
{ id: 'settings', label: 'Preferences'},
{ id: 'blog', label: 'Blog' },
{ 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;
Qualcuno per favore mi sa dare qualche dritta?
grazie

Rispondi quotando
