Salve,
premetto che non sono conosco molto bene AS.
Ho reperito in rete il seguente codice
codice:
Stage.align = "";
Stage.scaleMode = "noScale";
Stage.showMenu = false;
Stage.onResize = false;
menuNum = 5;
//
for (i=1; i<=menuNum; i++) {
this["m"+i].onEnterFrame = function() {
if (this.active) {
this.nextFrame();
} else {
this.prevFrame();
}
};
this["m"+i].onRollOver = function() {
this.active = true;
};
this["m"+i].onRollOut = function() {
this.active = false;
};
this["m"+i].onRelease = function() {
name = this._name;
num = name.substring(1, 2);
gotoAndStop(5);
getURL(_root["urlLink"+num], _root["target"+num]);
};
}
urlLink1 = "";
urlLink2 = "";
urlLink3 = "";
urlLink4 = "";
urlLink5 = "";
target1 = "";
target2 = "";
target3 = "";
target4 = "";
target5 = "";
Funziona tutto ma vorrei apportare la seguente modifica:
al click del mouse l'animazione nel movie clip che funge da pulsante dovrebbe fermarsi e ripartire solo al rollover successivo.
Grazie