martedì 14 dicembre 2010

Flash NextFrame e PrevFrame bottoni in loop

Action script 2
Come creare bottoni NEXT e PREVIOUS in LOOP
NEXT BUTTON:

on (release) {
if (_currentframe == 10) {
gotoAndStop(1);
} else {
nextFrame();
}
}

PREVIOUS BUTTON

on (release) {
if (_currentframe == 1) {
gotoAndStop(10);
} else {
prevFrame();
}
}

Nessun commento:

Posta un commento