Ciao a tutti, ecco un problema da flash guru.
Come faccio a produrre un bottone con animazione on rollover una on rollout e azione su on release?
Ecco lo script che ho utilizzato:
this.onEnterFrame = function() {
if (rewind == true) {
prevFrame();
}
};
this.onRollOver = function() {
rewind = false;
play();
};
this.onRollOut = function() {
rewind = true;
};
this.onPress = function() {
gotoAndPlay(scene2);
};