Frame 1 (374 B)
function scrollTo(x) {
scrollPosition = x * (_totalframes - 0.66);
}
function update() {
scrollSpring = scrollSpring + ((scrollPosition - scrollSpring) / 2);
gotoAndStop(Math.floor(scrollSpring + 1));
image._x = -((scrollSpring % 1) * 1600);
image2._x = 1600 - ((scrollSpring % 1) * 1600);
loadBar.update();
}
scrollSpring = -1;
_highquality = 2;
stop();
Symbol 3 Button (94 B)
on (release, releaseOutside) {
endScroll();
}
on (press) {
startScroll();
updateScroll();
}
Symbol 6 Button (32 B)
on (release) {
scrollRight();
}
Symbol 9 Button (31 B)
on (release) {
scrollLeft();
}
Symbol 12 MovieClip Frame 1 (485 B)
function startScroll() {
scrolling = true;
}
function endScroll() {
scrolling = false;
}
function isScrolling() {
return(scrolling);
}
function updateScroll() {
scrollTo(_xmouse / 600);
}
function scrollTo(x) {
if (x < 0) {
x = 0;
}
if (1 < x) {
x = 1;
}
_root.scrollTo(x);
ball._x = x * 600;
}
function scrollLeft() {
scrollTo((ball._x / 600) - 0.01);
}
function scrollRight() {
scrollTo((ball._x / 600) + 0.01);
}
scrolling = false;
Instance of Symbol 11 MovieClip "ball" in Symbol 12 MovieClip Frame 1 (86 B)
onClipEvent (mouseMove) {
if (_parent.isScrolling()) {
_parent.updateScroll();
}
}
Symbol 14 MovieClip Frame 1 (18 B)
_parent.update();
Symbol 14 MovieClip Frame 2 (17 B)
gotoAndPlay (1);
Symbol 18 MovieClip Frame 1 (168 B)
function update() {
bar._width = (_root._framesloaded / _root._totalframes) * 600;
if (_root._framesloaded == _root._totalframes) {
bar._visible = false;
}
}