Frame 1
var controlAlpha = 30;
var autoplay = 1;
var autorewind = true;
var hidecontrols = true;
var framescount = 5181;
var controls_timeout = 1;
function controlsCheckTime() {
if ((((_root._xmouse >= 10) and (_root._xmouse <= ((controls._x + controls._width) - 5))) and (_root._ymouse >= controls._y)) and (_root._ymouse <= ((controls._y + controls._height) - 10))) {
} else if (_root.controls._currentframe == 4) {
_root.controls.gotoAndPlay("hide");
}
clearInterval(_root.c_int);
}
var c_int = 0;
var over_controls = false;
this.onMouseMove = function () {
if ((_root.controls._currentframe == 1) or (_root.controls._currentframe == 7)) {
if (_root.hidecontrols) {
_root.controls.gotoAndPlay("show");
}
} else if (_root.hidecontrols) {
clearInterval(_root.c_int);
_root.c_int = setInterval(_root.controlsCheckTime, _root.controls_timeout * 1000);
}
};
isPlay = 0;
isDrag = 0;
isClick = 0;
this.display.gotoAndStop(1);
flvSound = new Sound(this.display);
prevVol = 100;
prVol = 100;
pX = (pY = 0);
lTime = 0;
dt = 0;
flvSound.setVolume(100);
Stage.scaleMode = "noScale";
obj2 = new Object();
obj2.onResize = function () {
if (_root.display._width > 320) {
_root.display._x = 0;
_root.controls._x = _root.display._x;
this.check_mouse._x = _root.display._x;
this.check_mouse._y = _root.display._y;
this.check_mouse._width = _root.display._width;
if (_root.display._height < 240) {
_root.display._y = (240 - _root.display._height) / 2;
_root.controls._y = 196;
this.check_mouse._height = 240;
} else {
_root.display._y = 0;
_root.controls._y = (_root.display._y + _root.display._height) - _root.controls.controls._height;
this.check_mouse._height = _root.display._height;
}
} else if (_root.display._height > 240) {
this.check_mouse._x = 0;
this.check_mouse._y = 0;
this.check_mouse._width = 320;
this.check_mouse._height = _root.display._height;
_root.display._x = (320 - _root.display._width) / 2;
_root.display._y = 0;
_root.controls._x = 0;
_root.controls._y = _root.display._height - 44;
} else {
this.check_mouse._x = 0;
this.check_mouse._y = 0;
this.check_mouse._width = 320;
this.check_mouse._height = 240;
_root.display._x = (320 - _root.display._width) / 2;
_root.display._y = (240 - _root.display._height) / 2;
_root.controls._x = 0;
_root.controls._y = 196;
}
};
Stage.addListener(obj2);
if (this.display._width > 320) {
_root.display._x = 0;
_root.controls._x = _root.display._x;
this.check_mouse._x = 0;
this.check_mouse._y = 0;
this.check_mouse._width = _root.display._width;
this.controls.controls.but._x = 0;
this.controls.controls.but._y = (this.controls.controls.pr_line._y + this.controls.controls.pr_line._height) + 15;
this.controls.controls.volume_all._x = display._width - this.controls.controls.volume_all._width;
this.controls.controls.volume_all._y = (this.controls.controls.pr_line._y + this.controls.controls.pr_line._height) + 19;
this.controls.controls.mute._x = (this.controls.controls.volume_all._x - this.controls.controls.mute._width) - 10;
this.controls.controls.mute._y = (this.controls.controls.pr_line._y + this.controls.controls.pr_line._height) + 15;
this.controls.controls.pr_line.right._x = display._width - this.controls.controls.pr_line.right._width;
this.controls.controls.pr_line.pr_line._width = display._width - (this.controls.controls.pr_line.right._width * 2);
if (_root.display._height < 240) {
_root.display._y = (240 - _root.display._height) / 2;
_root.controls._y = 196;
this.check_mouse._height = 240;
} else {
_root.display._y = 0;
_root.controls._y = (_root.display._y + _root.display._height) - _root.controls.controls._height;
this.check_mouse._height = _root.display._height;
}
} else if (_root.display._height > 240) {
this.check_mouse._x = 0;
this.check_mouse._y = 0;
this.check_mouse._width = 320;
this.check_mouse._height = _root.display._height;
_root.display._x = (320 - _root.display._width) / 2;
_root.display._y = 0;
_root.controls._x = 0;
_root.controls._y = _root.display._height - 44;
} else {
this.check_mouse._x = 0;
this.check_mouse._y = 0;
this.check_mouse._width = 320;
this.check_mouse._height = 240;
_root.display._x = (320 - _root.display._width) / 2;
_root.display._y = (240 - _root.display._height) / 2;
_root.controls._x = 0;
_root.controls._y = 196;
}
_root.display.onEnterFrame = function () {
if ((this._currentframe == this._totalframes) and (_root.autorewind == false)) {
this.gotoAndStop(this._totalframes);
}
};
Instance of Symbol 4 MovieClip "check_mouse" in Frame 1
on (rollOver) {
this.useHandCursor = false;
if ((_root.controls._currentframe == 1) or ((_root.controls._currentframe == 7) and _root.hidecontrols)) {
_root.controls.gotoAndPlay("show");
}
}
on (rollOut) {
this.useHandCursor = false;
if ((_root.controls._currentframe == 4) and _root.hidecontrols) {
if ((((_root._xmouse >= 10) and (_root._xmouse <= ((this._parent.controls._x + this._parent.controls._width) - 5))) and (_root._ymouse >= this._parent.controls._y)) and (_root._ymouse <= ((this._parent.controls._y + this._parent.controls._height) - 10))) {
over_controls = true;
} else {
over_controls = false;
_root.controls.gotoAndPlay("hide");
}
}
}
Symbol 2 MovieClip Frame 5181
gotoAndPlay (2);
Symbol 10 MovieClip Frame 1
this._alpha = ((_root.controlAlpha * 70) / 100) + 30;
Symbol 20 MovieClip Frame 1
isDrag = 0;
Instance of Symbol 13 MovieClip "volume_reg" in Symbol 20 MovieClip Frame 1
onClipEvent (load) {
this._x = 0;
top = 0;
bottom = 0;
left = this._x;
right = this._parent._width - 3;
len = this._parent._width - 3;
}
onClipEvent (enterFrame) {
if (_parent.isDrag == 1) {
perc = Math.round(((this._x + 3) * 100) / len);
if (_parent._parent.isMute == 1) {
_root.prVol = perc;
this._parent._parent.mute_button.gotoAndStop(1);
} else {
_root.flvSound.setVolume(perc);
}
_parent.shad._width = this._x;
}
}
on (press) {
_parent.isDrag = 1;
startDrag ("", false, left, top, right, bottom);
}
on (release, releaseOutside, rollOut) {
_parent.isDrag = 0;
stopDrag();
}
Instance of Symbol 16 MovieClip in Symbol 20 MovieClip Frame 1
onClipEvent (enterFrame) {
this._width = this._parent.volume_reg._x;
}
Instance of Symbol 19 MovieClip in Symbol 20 MovieClip Frame 1
onClipEvent (mouseDown) {
if ((((_parent._xmouse >= this._x) and (_parent._xmouse <= (this._x + this._width))) and (_parent._ymouse >= this._y)) and (_parent._ymouse <= (this._y + this._height))) {
_parent.isDrag = 1;
_parent.volume_reg._x = _parent._xmouse;
}
}
Instance of Symbol 26 MovieClip "prog_reg" in Symbol 27 MovieClip Frame 1
onClipEvent (load) {
this._x = 0;
top = 0;
bottom = 0;
left = this._x;
right = this._parent._width - 4;
len = this._parent._width - 4;
}
onClipEvent (enterFrame) {
if (_root.isDrag == 1) {
perc = ((this._x + 3) * 100) / len;
cFr = Math.round((_root.framescount / 100) * perc);
if (cFr == 0) {
cFr = 1;
}
_root.display.gotoAndStop(cFr);
} else if (_root.isClick == 1) {
perc = ((this._x + 3) * 100) / len;
cFr = Math.round((_root.framescount / 100) * perc);
if (cFr == 0) {
cFr = 1;
}
if (_root.isPlay == 1) {
_root.display.gotoAndPlay(cFr);
} else {
_root.display.gotoAndStop(cFr);
}
_root.isClick = 0;
} else {
perc = (_root.display._currentframe * 100) / _root.framescount;
if (_root.display._currentframe == 1) {
perc = 0;
}
cFr = (len * perc) / 100;
this._x = cFr;
}
_parent.shad._width = this._x;
}
on (rollOver) {
this.gotoAndStop(2);
}
on (press) {
_root.isDrag = 1;
_root.display.stop();
startDrag ("", false, left, top, right, bottom);
this.gotoAndStop(3);
}
on (release, releaseOutside, rollOut) {
_root.isDrag = 0;
if (_root.isPlay == 1) {
_root.display.play();
}
stopDrag();
this.gotoAndStop(1);
}
Instance of Symbol 19 MovieClip "cover" in Symbol 27 MovieClip Frame 1
onClipEvent (mouseDown) {
if ((((_parent._xmouse >= this._x) and (_parent._xmouse <= (this._x + this._width))) and (_parent._ymouse >= this._y)) and (_parent._ymouse <= (this._y + this._height))) {
_root.isClick = 1;
_parent.prog_reg._x = _parent._xmouse - 3;
}
}
Symbol 35 Button
on (press) {
gotoAndStop (3);
}
on (rollOver, release) {
gotoAndStop (2);
}
on (rollOut, releaseOutside) {
gotoAndStop (1);
}
on (release, releaseOutside) {
if (_root.display._currentframe < _root.display._totalframes) {
tf = _root.display._currentframe + Math.round(_root.framescount / 10);
if (tf > _root.framescount) {
tf = _root.framescount;
}
if (_root.isPlay == 0) {
_root.display.gotoAndStop(tf);
} else {
_root.display.gotoAndPlay(tf);
}
}
}
Symbol 43 MovieClip Frame 1
stop();
Symbol 43 MovieClip Frame 2
stop();
Symbol 43 MovieClip Frame 3
stop();
Symbol 43 MovieClip Frame 4
stop();
Symbol 44 Button
on (press) {
gotoAndStop (3);
}
on (rollOver, release) {
gotoAndStop (2);
}
on (rollOut, releaseOutside) {
gotoAndStop (1);
}
on (release, releaseOutside) {
if (_root.display._currentframe > 1) {
tf = _root.display._currentframe - Math.round(_root.framescount / 10);
if (tf < 1) {
tf = 1;
}
if (_root.isPlay == 0) {
_root.display.gotoAndStop(tf);
} else {
_root.display.gotoAndPlay(tf);
}
}
}
Symbol 45 MovieClip Frame 1
stop();
Symbol 45 MovieClip Frame 2
stop();
Symbol 45 MovieClip Frame 3
stop();
Symbol 45 MovieClip Frame 4
stop();
Symbol 52 MovieClip Frame 1
stop();
Symbol 52 MovieClip Frame 2
stop();
Symbol 53 Button
on (press) {
gotoAndStop (3);
}
on (rollOver) {
gotoAndStop (2);
}
on (rollOut, releaseOutside) {
gotoAndStop (1);
}
on (release) {
if (this.icon_mc._currentframe == 1) {
this.icon_mc.gotoAndStop(2);
_root.isPlay = 1;
_root.display.play();
} else {
this.icon_mc.gotoAndStop(1);
_root.isPlay = 0;
_root.display.stop();
}
gotoAndStop (2);
}
Symbol 61 MovieClip Frame 1
stop();
Symbol 61 MovieClip Frame 2
stop();
Symbol 61 MovieClip Frame 3
stop();
Symbol 61 MovieClip Frame 4
stop();
Symbol 67 Button
on (press) {
gotoAndStop (3);
}
on (rollOver) {
gotoAndStop (2);
}
on (rollOut, releaseOutside) {
gotoAndStop (1);
}
on (release) {
_parent.nextFrame();
}
Symbol 75 MovieClip Frame 1
stop();
Symbol 75 MovieClip Frame 2
stop();
Symbol 75 MovieClip Frame 3
stop();
Symbol 75 MovieClip Frame 4
stop();
Symbol 79 Button
on (press) {
gotoAndStop (3);
}
on (rollOver) {
gotoAndStop (2);
}
on (rollOut, releaseOutside) {
gotoAndStop (1);
}
on (release) {
_parent.gotoAndStop(1);
}
Symbol 83 MovieClip Frame 1
stop();
Symbol 83 MovieClip Frame 2
stop();
Symbol 83 MovieClip Frame 3
stop();
Symbol 83 MovieClip Frame 4
stop();
Symbol 84 MovieClip Frame 1
if (_root.prVol > 100) {
_root.prVol = 100;
}
_root.flvSound.setVolume(_root.prVol);
this._parent.volume_reg.volume_reg._x = Math.round((this._parent.volume_reg._width / 100) * _root.flvSound.getVolume()) - 3;
_parent.isMute = 0;
stop();
Symbol 84 MovieClip Frame 2
_root.prVol = _root.flvSound.getVolume();
if (_root.prVol > 100) {
_root.prVol = 100;
}
_root.flvSound.setVolume(0);
_parent.isMute = 1;
this._parent.volume_reg.volume_reg._x = 0;
stop();
Symbol 89 Button
on (press) {
gotoAndStop (3);
}
on (rollOver, release) {
gotoAndStop (2);
}
on (rollOut, releaseOutside) {
gotoAndStop (1);
}
on (release, releaseOutside) {
_root.display.gotoAndStop(1);
this._parent.play_n_pause.icon_mc.gotoAndStop(1);
_root.isPlay = 0;
}
Symbol 96 MovieClip Frame 1
stop();
Symbol 96 MovieClip Frame 2
stop();
Symbol 96 MovieClip Frame 3
stop();
Symbol 96 MovieClip Frame 4
stop();
Symbol 97 MovieClip Frame 1
isMute = 0;
if (_root.autoplay == 1) {
play_n_pause.icon_mc.gotoAndStop(2);
_root.isPlay = 1;
_root.display.play();
} else {
play_n_pause.icon_mc.gotoAndStop(1);
_root.isPlay = 0;
_root.display.stop();
}
Instance of Symbol 10 MovieClip "bg" in Symbol 97 MovieClip Frame 1
onClipEvent (load) {
if (_root.display._width > 320) {
bg_line._width = _root.display._width - 30;
bg_left._x = bg_line._width + bg_line._x;
_parent.volume_reg._x = this._width - 70;
_parent.mute_button._x = this._width - 97;
_parent.prog_bar.prog_line._width = this._width - 251;
_parent.prog_bar.cover._width = _parent.prog_bar._width;
_parent.prog_bar.prog_left._x = this._width - 246;
}
}
Symbol 98 MovieClip Frame 1
stop();
if (!_root.hidecontrols) {
gotoAndPlay ("show");
}
Symbol 98 MovieClip Frame 4
stop();
Symbol 98 MovieClip Frame 7
stop();