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();
}
}
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