Combined Code
movieClip 125 {
}
// unknown tag 88 length 36
// unknown tag 88 length 36
button 138 {
on (release) {
_root.direction = 's';
if (_root.animation._currentFrame == 59) {
_root.animation.gotoAndStop(1);
} else {
_root.animation.nextFrame();
}
}
}
button 139 {
on (release) {
_root.direction = 's';
if (_root.animation._currentFrame == 1) {
_root.animation.gotoAndStop(59);
} else {
_root.animation.prevFrame();
}
}
}
button 143 {
on (release) {
_root.animation.play();
}
}
button 147 {
on (release) {
_root.animation.gotoAndStop(_root.animation._currentFrame);
}
}
button 152 {
on (release) {
if (_root.direction == 'f') {
_root.direction = 'r';
} else {
_root.direction = 'f';
}
}
}
movieClip 154 {
}
instance of movieClip 154 {
onClipEvent (load) {
_root.animation.stop();
var speed = 1;
var direction = 'f';
_root.direction = direction;
}
onClipEvent (enterFrame) {
if (_root.direction == 'f') {
if (_root.animation._currentFrame == 59) {
_root.animation.gotoAndStop(1);
} else {
_root.animation.gotoAndStop(_root.animation._currentframe + speed);
}
} else {
if (_root.direction == 'r') {
if (_root.animation._currentFrame == 1) {
_root.animation.gotoAndStop(59);
} else {
_root.animation.gotoAndStop(_root.animation._currentframe - speed);
}
}
}
}
}