Combined Code
movieClip 3 {
}
movieClip 8 {
}
button 9 {
on (release) {
getURL('http://www.newgrounds.com', '_blank');
}
}
button 17 {
on (release) {
_root.play();
}
}
movieClip 18 {
frame 1 {
_root.stop();
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (PercentLoaded != 100) {
bar._xscale = PercentLoaded;
} else {
gotoAndStop('loaded');
}
}
frame 2 {
gotoAndPlay(1);
}
}
frame 2 {
stop();
}
movieClip 40 {
frame 1 {
stop();
}
}
// unknown tag 88 length 138
button 48 {
on (release, keyPress '<Left>') {
_parent.updateFrame(-1);
}
on (keyPress '<Up>') {
_root.gotoAndStop(1);
_parent.updateFrame();
}
}
movieClip 50 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
button 52 {
on (release, keyPress '<Right>') {
_parent.updateFrame(1);
}
on (keyPress '<Down>') {
_root.gotoAndStop(_root._totalFrames);
_parent.updateFrame();
}
}
movieClip 54 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
button 60 {
on (release) {
_parent.autoplayInit();
_parent.autoplayStatus = 1;
nextFrame();
}
}
button 64 {
on (release) {
_parent.updateFrame();
_parent.autoplayStatus = 0;
_parent.indicator.gotoAndStop(1);
prevFrame();
}
}
movieClip 65 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
button 70 {
on (press) {
startDrag(this, false, 0, 23, 495, 407);
}
on (release) {
stopDrag();
}
}
movieClip 71 {
frame 1 {
function updateFrame(inc) {
newFrame = _root._currentFrame + inc;
_root.gotoAndStop(newFrame);
updateStatus();
if (_root._currentFrame == 1) {
prevBtn.gotoAndStop(2);
} else {
prevBtn.gotoAndStop(1);
}
if (_root._currentFrame == _root._totalFrames) {
nextBtn.gotoAndStop(2);
} else {
nextBtn.gotoAndStop(1);
}
}
function updateStatus() {
_root.statusField = _root._currentFrame + ' of ' + _root._totalFrames;
}
function autoplayInit() {
startTime = getTimer();
hideControls();
updateStatus();
}
function autoplay() {
if (autoplayStatus != 0) {
curTime = getTimer();
elapsedTime = curTime - startTime;
indicatorFrame = int(4 / (delay / (elapsedTime / 1000)));
indicator.gotoAndStop(indicatorFrame + 1);
if (elapsedTime >= delay * 1000) {
if (_root._currentframe == _root._totalframes) {
_root.gotoAndStop(1);
} else {
_root.nextFrame();
}
autoplayInit();
}
}
}
function hideControls() {
nextBtn.gotoAndStop(2);
prevBtn.gotoAndStop(2);
}
updateFrame();
autoplayStatus = 0;
}
instance autoplay of movieClip 65 {
onClipEvent (enterFrame) {
_parent.autoplay();
}
}
}
instance of movieClip 71 {
onClipEvent (construct) {
delay = 4;
}
}
// unknown tag 88 length 143