io farei cosi' con un AS

metti un mc vuoto con l'AS:

onClipEvent (enterFrame) {
prevFrame();
if (_currentframe == 1) {
gotoAndStop(_totalframes);
}
}