Frame 1
var someListener = new Object();
someListener.onMouseMove = function () {
};
Mouse.addListener(someListener);
if ((_root._ymouse >= 550) && (CredMC.inMiddle != 1)) {
CredMC.play();
} else if ((_root._ymouse < 550) && (CredMC.inMiddle == 1)) {
CredMC.play();
}
while (_root.getBytesLoaded() != _root.getBytesTotal()) {
}
if (Run != 1) {
Run = 1;
this.createEmptyMovieClip("RainyClip", 1);
_RainySound = new Sound("RainyClip");
_RainySound.attachSound("rainyMood");
_RainySound.setVolume(18);
_RainySound.start(0, 99);
this.createEmptyMovieClip("FireClip", 2);
_FireSound = new Sound("FireClip");
_FireSound.attachSound("firePlace");
_FireSound.setVolume(70);
_FireSound.start(0, 99);
}
_FireSound.setVolume(FireSlider.volCalc2);
_RainySound.setVolume(WaterSlider.volCalc2);
Instance of Symbol 29 MovieClip "FireSlider" in Frame 1
onClipEvent (load) {
this._y = (_root.vbase._y + (_root.vbase._height / 2)) - (this._height / 2);
left = this._x;
top = this._y + (_root.vbase._height / 2);
right = this._x;
bottom = this._y - (_root.vbase._height / 2);
volCalc = _y + (_root.vbase._height / 2);
}
onClipEvent (enterFrame) {
volCalc2 = (_y - volCalc) * (-100 / _root.vbase._height);
this.onPress = function () {
startDrag (this, false, left, top, right, bottom);
};
this.onRelease = function () {
this.stopDrag();
};
this.onReleaseOutside = function () {
this.stopDrag();
};
}
Instance of Symbol 29 MovieClip "WaterSlider" in Frame 1
onClipEvent (load) {
this._y = (_root.xbase._y + (_root.xbase._height / 2)) - (this._height / 2);
left = this._x;
top = this._y + (_root.xbase._height / 2);
right = this._x;
bottom = this._y - (_root.xbase._height / 2);
volCalc = _y + (_root.xbase._height / 2);
}
onClipEvent (enterFrame) {
volCalc2 = (_y - volCalc) * (-100 / _root.xbase._height);
this.onPress = function () {
startDrag (this, false, left, top, right, bottom);
};
this.onRelease = function () {
this.stopDrag();
};
this.onReleaseOutside = function () {
this.stopDrag();
};
}
Symbol 25 MovieClip Frame 1
this.inMiddle = 0;
stop();
Symbol 25 MovieClip Frame 6
this.inMiddle = 1;
stop();
Symbol 25 MovieClip Frame 21
this.inMiddle = 0;
Symbol 29 MovieClip Frame 1
this.ratio = 0;
dragger.onPress = function () {
this.startDrag(true, 0, 0, line._width, 0);
this.onEnterFrame = function () {
ratio = Math.round((this._x * 100) / line._width);
};
};
dragger.onRelease = (dragger.onReleaseOutside = stopDrag);