Combined Code
movieClip 101 {
}
// unknown tag 88 length 36
// unknown tag 88 length 36
// unknown tag 88 length 63
button 115 {
on (release) {
_root.direction = 's';
if (_root.animation._currentFrame == 49) {
_root.animation.gotoAndStop(1);
} else {
_root.animation.nextFrame();
}
}
}
button 116 {
on (release) {
_root.direction = 's';
if (_root.animation._currentFrame == 1) {
_root.animation.gotoAndStop(49);
} else {
_root.animation.prevFrame();
}
}
}
button 120 {
on (release) {
_root.animation.play();
}
}
button 124 {
on (release) {
_root.direction = 's';
}
}
button 129 {
on (release) {
if (_root.direction == 'f') {
_root.direction = 'r';
} else {
_root.direction = 'f';
}
}
}
movieClip 131 {
}
instance of movieClip 131 {
onClipEvent (load) {
_root.animation.stop();
var speed = 1;
var direction = 'f';
_root.direction = direction;
}
onClipEvent (enterFrame) {
if (_root.direction == 'f') {
if (_root.animation._currentFrame == 49) {
_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(49);
} else {
_root.animation.gotoAndStop(_root.animation._currentframe - speed);
}
}
}
}
}