Frame 1
stop();
Instance of Symbol 6 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (_root._framesloaded == _root._totalframes) {
_root.play();
} else {
_root.stop();
}
}
Frame 2
stop();
Instance of Symbol 11 MovieClip in Frame 2
onClipEvent (load) {
music = 1;
_root.music1 = new Sound();
_root.music1.attachSound("one");
_root.music2 = new Sound();
_root.music2.attachSound("two");
_root.music3 = new Sound();
_root.music3.attachSound("three");
_root.music1.start(0, 5000);
}
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
this.play();
if (music == 3) {
music = 0;
_root.music3.stop();
} else if (music == 2) {
music = 3;
_root.music2.stop();
_root.music3.start(0, 5000);
} else if (music == 1) {
music = 2;
_root.music1.stop();
_root.music2.start(0, 5000);
} else if (music == 0) {
music = 1;
_root.music1.start(0, 5000);
}
}
}
Instance of Symbol 16 MovieClip in Frame 2
onClipEvent (load) {
xvel = 0;
yvel = 0;
g = 0.8;
buffer = -1;
}
onClipEvent (enterFrame) {
buffer--;
if (buffer == 0) {
g = 0.8;
yvel = _root._ymouse - lasty;
xvel = _root._xmouse - lastx;
buffer = -1;
}
if (wasdown == 1) {
_y = _root._ymouse;
_x = _root._xmouse;
lastx = _root._xmouse;
lasty = _root._ymouse;
}
if (_x >= 295) {
_x = 294;
xvel = xvel * -0.8;
}
if (5 >= _x) {
_x = 6;
xvel = xvel * -0.8;
}
yvel = yvel + g;
if (_y >= 295) {
_y = 294;
yvel = yvel * -0.8;
}
if (5 >= _y) {
_y = 6;
yvel = yvel * -1.1;
}
_x = (_x + xvel);
_y = (_y + yvel);
}
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
yvel = 0;
xvel = 0;
g = 0;
wasdown = 1;
}
}
onClipEvent (mouseUp) {
if (wasdown == 1) {
wasdown = 0;
buffer = 2;
}
}
Instance of Symbol 19 MovieClip in Frame 2
onClipEvent (load) {
Mouse.hide();
}
onClipEvent (enterFrame) {
_x = _root._xmouse;
_y = _root._ymouse;
}
onClipEvent (mouseDown) {
this.gotoAndStop(2);
}
onClipEvent (mouseUp) {
this.gotoAndStop(1);
}
Symbol 11 MovieClip Frame 1
stop();
Symbol 16 MovieClip Frame 1
stop();
Symbol 19 MovieClip Frame 1
stop();
Symbol 19 MovieClip Frame 2
stop();