Frame 1
function changeHero(section, sub) {
var _local1 = (((pathToImages + "s-") + section) + (sub ? ("-" + sub) : "")) + ".swf";
hero_mc.loadMovie(_local1);
}
function setButton(mc) {
var _local1 = mc;
_local1.onRollOver = $onRollOver;
_local1.onRollOut = (prop.onReleaseOutside = $onRollOut);
_local1.onPress = $onPress;
_local1.onRelease = $onRelease;
if (section == _local1.id) {
select(_local1);
}
}
function $onRollOver() {
this.gotoAndPlay(((state && (section == this.id)) ? "over2" : "over"));
}
function $onRollOut() {
this.gotoAndPlay(((state && (section == this.id)) ? "out2" : "out"));
}
function $onPress() {
}
function $onRelease() {
var _local1 = this;
$asb_mc.enabled = true;
$asb_mc.gotoAndStop(1);
$asb_mc = _local1;
getURL (urls[_local1.id], "_self");
_local1.enabled = false;
_local1.gotoAndPlay("selected");
}
function select(mc) {
var _local1 = mc;
$asb_mc = _local1;
if (!state) {
_local1.enabled = false;
}
_local1.gotoAndStop(_local1._totalframes);
_root.changeHero(section, sub);
}
var urls = new Array();
urls[1] = "http://www.bbk-karaoke.ru/site/main.php";
urls[2] = "http://www.bbk-karaoke.ru/bank/";
urls[3] = "http://www.bbk-karaoke.ru/play/";
urls[4] = "http://www.bbk-karaoke.ru/fanclub/";
urls[5] = "http://www.bbk-karaoke.ru/dvd/";
urls[6] = "http://www.bbk-karaoke.ru/talk/";
var pathToImages = "/images/site/";
onEnterFrame = function () {
var _local3 = _root;
var _local2 = _local3.getBytesLoaded();
var _local1 = _local3.getBytesTotal();
if ((_local2 == _local1) && (_local1 > 0)) {
gotoAndStop(_local3._totalframes);
delete onEnterFrame;
}
};
var section = ((section == undefined) ? 1 : (section));
var state = ((state == undefined) ? 1 : (state));
var sub = ((sub == undefined) ? 0 : (sub));
Instance of Symbol 7 MovieClip in Frame 1
onClipEvent (load) {
id = 2;
_parent.setButton(this);
}
Instance of Symbol 10 MovieClip in Frame 1
onClipEvent (load) {
id = 1;
_parent.setButton(this);
}
Instance of Symbol 13 MovieClip in Frame 1
onClipEvent (load) {
id = 3;
_parent.setButton(this);
}
Instance of Symbol 16 MovieClip in Frame 1
onClipEvent (load) {
id = 4;
_parent.setButton(this);
}
Instance of Symbol 19 MovieClip in Frame 1
onClipEvent (load) {
id = 5;
_parent.setButton(this);
}
Instance of Symbol 22 MovieClip in Frame 1
onClipEvent (load) {
id = 6;
_parent.setButton(this);
}
Frame 13
stop();
Symbol 7 MovieClip Frame 1
stop();
Symbol 7 MovieClip Frame 4
stop();
Symbol 7 MovieClip Frame 7
stop();
Symbol 7 MovieClip Frame 9
stop();
Symbol 10 MovieClip Frame 1
stop();
Symbol 10 MovieClip Frame 4
stop();
Symbol 10 MovieClip Frame 7
stop();
Symbol 10 MovieClip Frame 9
stop();
Symbol 10 MovieClip Frame 12
stop();
Symbol 10 MovieClip Frame 15
stop();
Symbol 13 MovieClip Frame 1
stop();
Symbol 13 MovieClip Frame 4
stop();
Symbol 13 MovieClip Frame 7
stop();
Symbol 13 MovieClip Frame 9
stop();
Symbol 16 MovieClip Frame 1
stop();
Symbol 16 MovieClip Frame 4
stop();
Symbol 16 MovieClip Frame 7
stop();
Symbol 16 MovieClip Frame 9
stop();
Symbol 19 MovieClip Frame 1
stop();
Symbol 19 MovieClip Frame 4
stop();
Symbol 19 MovieClip Frame 7
stop();
Symbol 19 MovieClip Frame 9
stop();
Symbol 22 MovieClip Frame 1
stop();
Symbol 22 MovieClip Frame 4
stop();
Symbol 22 MovieClip Frame 7
stop();
Symbol 22 MovieClip Frame 9
stop();
Symbol 26 MovieClip Frame 1
stop();
Symbol 28 Button
on (release) {
getURL ("http://www.bbk.ru", "_blank");
}
Symbol 33 MovieClip Frame 55
stop();
_parent.b_mc.play();
Symbol 35 MovieClip Frame 1
stop();
Symbol 35 MovieClip Frame 50
_parent.t_mc.play();
Symbol 37 MovieClip Frame 1
if (f) {
stop();
}
f = true;
Symbol 37 MovieClip Frame 20
_parent.startNote();
Symbol 39 MovieClip Frame 1
stop();
Symbol 39 MovieClip Frame 20
_parent.startNote();
Symbol 41 MovieClip Frame 1
stop();
Symbol 41 MovieClip Frame 20
_parent.startNote();
Symbol 43 MovieClip Frame 1
stop();
Symbol 43 MovieClip Frame 20
_parent.startNote();
Symbol 45 MovieClip Frame 1
stop();
Symbol 45 MovieClip Frame 45
_parent.startW();
Symbol 47 MovieClip Frame 1
stop();
Symbol 47 MovieClip Frame 45
_parent.startW();
Symbol 49 MovieClip Frame 1
stop();
Symbol 49 MovieClip Frame 45
_parent.startW();
Symbol 51 MovieClip Frame 1
stop();
Symbol 51 MovieClip Frame 45
_parent.startW();
Symbol 52 MovieClip Frame 1
function startNote() {
var _local1 = ("n" + Math.randomBetween(1, 4)) + "_mc";
this[_local1].play();
}
function startW() {
var _local1 = ("w" + Math.randomBetween(1, 4)) + "_mc";
this[_local1].play();
}
Math.randomBetween = function (minVal, maxVal) {
return(minVal + Math.floor(Math.random() * ((maxVal + 1) - minVal)));
};
Instance of Symbol 37 MovieClip "w2_mc" in Symbol 52 MovieClip Frame 1
/* no clip actions */