Frame 1
function MakeTwo(nummer) {
nummer = ("" + nummer) + "";
if (nummer.length > 2) {
return(nummer);
}
return(("" + "00".substring(0, 2 - nummer.length)) + nummer);
}
function ToggleStop() {
if (Stopped == 1) {
play();
Stopped = 0;
} else {
stop();
Stopped = 1;
}
}
stop();
moviefps = 15;
q1 = "candlejack_full.swf";
q2 = "MackanZoor";
q3 = "10/9 -2007";
if (SND == undefined) {
SND = new Sound();
}
Stopped = 1;
spola = 1;
barfeadedelay = 5;
sndfeadedelay = 5;
loadedfeadedelay = 5;
kontrfeadedelay = 5;
unDo = 0;
andrarVolym = 0;
spolaBak = 0;
spolaFram = 0;
Instance of Symbol 9 MovieClip "kontroller" in Frame 1
onClipEvent (load) {
this._alpha = 100;
_root.rullover4 = 0;
VTIMER = 0;
HTIMER = 0;
}
onClipEvent (enterFrame) {
if (_root.spolaBak == 1) {
if (VTIMER == 0) {
if (_root.thebar._alpha != 100) {
_root.thebar._alpha = 55;
_root.barfeadedelay = Math.ceil(_root.moviefps * 0.65);
}
targeted = (_root._currentframe = _root._currentframe - Math.round(_root._totalframes * 0.05));
if (targeted < 1) {
targeted = 1;
}
_root.gotoAndStop(targeted);
VTIMER = Math.ceil(_root.moviefps / 20) + 1;
}
VTIMER--;
}
if (_root.spolaFram == 1) {
if (HTIMER == 0) {
if (_root.thebar._alpha != 100) {
_root.thebar._alpha = 55;
_root.barfeadedelay = Math.ceil(_root.moviefps * 0.65);
}
targeted = (_root._currentframe = _root._currentframe + Math.round(_root._totalframes * 0.05));
if (targeted >= _root._framesloaded) {
targeted = _root._framesloaded;
}
_root.gotoAndStop(targeted);
HTIMER = Math.ceil(_root.moviefps / 20) + 1;
}
HTIMER--;
}
if (_root.rullover4 == 0) {
if (_root.kontrfeadedelay == 0) {
if (this._alpha > 1) {
this._alpha = this._alpha / 2;
} else {
this._alpha = 0;
}
} else {
_root.kontrfeadedelay--;
}
}
}
Instance of Symbol 15 MovieClip "Loaded" in Frame 1
onClipEvent (load) {
this._alpha = 100;
_root.rullover3 = 0;
}
onClipEvent (enterFrame) {
if (_root.rullover3 == 0) {
if (_root.loadedfeadedelay == 0) {
if (this._alpha > 1) {
this._alpha = this._alpha / 2;
} else {
this._alpha = 0;
}
} else {
_root.loadedfeadedelay--;
}
}
}
Instance of Symbol 25 MovieClip "thebar" in Frame 1
onClipEvent (load) {
this._alpha = 100;
_root.rullover2 = 0;
}
onClipEvent (enterFrame) {
if (_root.rullover2 == 0) {
if (_root.barfeadedelay == 0) {
if (this._alpha > 1) {
this._alpha = this._alpha / 2;
} else {
this._alpha = 0;
}
} else {
_root.barfeadedelay--;
}
}
}
Instance of Symbol 40 MovieClip "snd" in Frame 1
onClipEvent (load) {
this._alpha = 100;
_root.rullover = 0;
LTIMER = 0;
}
onClipEvent (enterFrame) {
if (_root.andrarVolym == 1) {
if (LTIMER == 0) {
this.nextFrame();
LTIMER = Math.ceil(_root.moviefps / 20) + 1;
}
LTIMER--;
}
if (_root.rullover == 0) {
if (_root.sndfeadedelay == 0) {
if (this._alpha > 1) {
this._alpha = this._alpha / 2;
} else {
this._alpha = 0;
}
} else {
_root.sndfeadedelay--;
}
}
}
Frame 8604
stop();
Stopped = 1;
Symbol 2 Button
on (press) {
kontroller.HTIMER = 0;
_root.spolaFram = 1;
if (_root.Stopped == 0) {
_root.stop();
didStop = 1;
} else {
didStop = 0;
}
}
on (release, releaseOutside) {
_root.spolaFram = 0;
if (didStop == 1) {
_root.play();
}
}
on (rollOver) {
kontroller._alpha = 100;
_root.rullover4 = 1;
}
on (rollOut) {
_root.rullover4 = 0;
}
Symbol 3 Button
on (press) {
ToggleStop();
}
on (rollOver) {
kontroller._alpha = 100;
_root.rullover4 = 1;
}
on (rollOut) {
_root.rullover4 = 0;
}
Symbol 4 Button
on (press) {
kontroller.VTIMER = 0;
_root.spolaBak = 1;
if (_root.Stopped == 0) {
_root.stop();
didStop = 1;
} else {
didStop = 0;
}
}
on (release, releaseOutside) {
_root.spolaBak = 0;
if (didStop == 1) {
_root.play();
}
}
on (rollOver) {
kontroller._alpha = 100;
_root.rullover4 = 1;
}
on (rollOut) {
_root.rullover4 = 0;
}
Symbol 7 MovieClip Frame 1
stop();
Symbol 9 MovieClip Frame 1
if (_root.Stopped == 1) {
youcan.gotoAndStop(1);
} else {
youcan.gotoAndStop(2);
}
Symbol 9 MovieClip Frame 2
gotoAndPlay (1);
Symbol 10 Button
on (press) {
ToggleStop();
}
on (rollOver) {
Loaded._alpha = 100;
_root.rullover3 = 1;
}
on (rollOut) {
_root.rullover3 = 0;
}
Symbol 14 MovieClip Frame 1
stop();
Symbol 15 MovieClip Frame 1
if (_root.Stopped == 1) {
if ((_root._currentframe == 1) || (_root._currentframe == _root._totalframes)) {
symbols.gotoAndStop(1);
} else {
symbols.gotoAndStop(3);
}
} else {
symbols.gotoAndStop(2);
}
if (this._alpha == 100) {
bytesLaddade = _root.getBytesLoaded();
laddNrTrue = Math.floor(((bytesLaddade / _root.getBytesTotal()) * 100) * 10) / 10;
if (laddNrTrue != 100) {
if (TIMER == undefined) {
TIMER = _root.moviefps;
efterText = "";
comparing = bytesLaddade;
} else if (TIMER == 0) {
mellan = bytesLaddade - comparing;
if (mellan >= 1000000) {
anv = (mellan / 1024) / 1024;
anvExt = "MiB";
} else if (mellan >= 1000) {
anv = mellan / 1024;
anvExt = "KiB";
} else {
anv = mellan;
anvExt = "B";
}
if (anvExt != "B") {
anv = Math.round(anv * 10) / 10;
if (anv == Math.round(anv)) {
anv = anv + ".0";
}
}
efterText = ((("(" + anv) + " ") + anvExt) + "/s)";
comparing = bytesLaddade;
TIMER = _root.moviefps;
}
TIMER--;
if (Math.round(laddNrTrue) == laddNrTrue) {
laddat.text = (laddNrTrue + ".0% ") + efterText;
} else {
laddat.text = (laddNrTrue + "% ") + efterText;
}
} else {
laddat.text = "100%";
}
} else {
laddat.text = "";
}
Symbol 15 MovieClip Frame 2
gotoAndPlay (1);
Symbol 16 Button
on (rollOver) {
thebar._alpha = 100;
_root.rullover2 = 1;
}
on (rollOut) {
_root.rullover2 = 0;
}
Symbol 25 MovieClip Frame 1
laddbar._width = barwidth._width * (_root._framesloaded / _root._totalframes);
progress._width = barwidth._width * (_root._currentframe / _root._totalframes);
if (this._alpha == 100) {
timer.text = (((((_root.MakeTwo(Math.floor(Math.ceil((_root._currentframe / _root.moviefps) - 1) / 60)) + ":") + _root.MakeTwo(Math.floor(Math.ceil((_root._currentframe / _root.moviefps) - 1) % 60))) + "/") + _root.MakeTwo(Math.floor(Math.ceil((_root._totalframes / _root.moviefps) - 1) / 60))) + ":") + _root.MakeTwo(Math.floor((Math.ceil(_root._totalframes / _root.moviefps) - 1) % 60));
} else {
timer.text = "";
}
Instance of Symbol 24 MovieClip "barwidth" in Symbol 25 MovieClip Frame 1
onClipEvent (load) {
slider = 0;
}
onClipEvent (mouseDown) {
volymenvar = _root.SND.getVolume();
volymandrad = 0;
slider = 1;
}
onClipEvent (mouseUp) {
slider = -1;
if (volymandrad == 1) {
_root.SND.setVolume(volymenvar);
}
}
onClipEvent (enterFrame) {
if (slider != 0) {
if ((((this._xmouse >= this._x) && (this._xmouse <= (this._x + this._width))) && (this._ymouse >= this._y)) && (this._ymouse <= (this._y + this._height))) {
if (slider == 1) {
result = Math.floor(_root._totalframes * (this._xmouse / this._width));
if (result <= _root._framesloaded) {
_root.SND.setVolume(0);
volymandrad = 1;
if (_root.Stopped == 1) {
_root.gotoAndStop(result);
} else {
_root.gotoAndPlay(result);
}
}
}
} else if (slider == -1) {
_root.rullover2 = 0;
}
if (slider == -1) {
slider = 0;
}
}
}
Symbol 25 MovieClip Frame 2
gotoAndPlay (1);
Symbol 29 Button
on (press) {
snd.LTIMER = 0;
_root.andrarVolym = 1;
}
on (release, releaseOutside) {
_root.andrarVolym = 0;
}
on (rollOver) {
snd._alpha = 100;
_root.rullover = 1;
}
on (rollOut) {
_root.rullover = 0;
}
Symbol 40 MovieClip Frame 1
stop();
_root.SND.setVolume(100);
Symbol 40 MovieClip Frame 2
_root.SND.setVolume(0);
Symbol 40 MovieClip Frame 3
_root.SND.setVolume(3);
Symbol 40 MovieClip Frame 4
_root.SND.setVolume(8);
Symbol 40 MovieClip Frame 5
_root.SND.setVolume(19);
Symbol 40 MovieClip Frame 6
_root.SND.setVolume(30);
Symbol 40 MovieClip Frame 7
_root.SND.setVolume(40);
Symbol 40 MovieClip Frame 8
_root.SND.setVolume(50);
Symbol 40 MovieClip Frame 9
_root.SND.setVolume(66);
Symbol 40 MovieClip Frame 10
_root.SND.setVolume(83);
Symbol 40 MovieClip Frame 11
gotoAndStop (1);
Symbol 41 MovieClip Frame 1
stop();
_parent.spola = 1;
Symbol 42 MovieClip Frame 1
if (_root.Stopped == 1) {
_root.thebar._alpha = 100;
_root.snd._alpha = 100;
_root.Loaded._alpha = 100;
_root.kontroller._alpha = 100;
_root.barfeadedelay = Math.ceil(_root.moviefps / 2);
_root.sndfeadedelay = Math.ceil(_root.moviefps / 2);
_root.loadedfeadedelay = Math.ceil(_root.moviefps / 2);
_root.kontrfeadedelay = Math.ceil(_root.moviefps / 2);
Mouse.show();
MTIMER = _root.moviefps / 2;
mousecheckx = _root._xmouse;
mousechecky = _root._ymouse;
wasPaused = 1;
} else if ((wasPaused == 0) && ((((_root.snd._alpha == 100) || (_root.thebar._alpha == 100)) || (_root.Loaded._alpha == 100)) || (_root.kontroller._alpha == 100))) {
MTIMER = _root.moviefps * 2;
Mouse.show();
} else {
if ((mousecheckx != _root._xmouse) || (mousechecky != _root._ymouse)) {
MTIMER = Math.ceil(_root.moviefps * 0.65);
Mouse.show();
}
if (MTIMER == 0) {
if ((((_root.snd._alpha != 100) && (_root.thebar._alpha != 100)) && (_root.Loaded._alpha != 100)) && (_root.kontroller._alpha != 100)) {
Mouse.hide();
} else {
MTIMER = 2;
}
wasPaused = 0;
}
MTIMER--;
mousecheckx = _root._xmouse;
mousechecky = _root._ymouse;
}
if (_root.unDo != 0) {
if (_root.unDo == 1) {
_root.play();
}
_root.unDo--;
}
Symbol 42 MovieClip Frame 2
gotoAndPlay (1);
Symbol 43 Button
on (press, keyPress "<Space>") {
_root.ToggleStop();
}
on (keyPress "<Left>") {
if (_root.Stopped == 0) {
_root.unDo = 2;
_root.stop();
}
if (_root.thebar._alpha != 100) {
_root.thebar._alpha = 55;
_root.barfeadedelay = Math.ceil(_root.moviefps * 0.65);
}
nasta = _currentframe - (1 * spola);
spolaa.gotoAndPlay(2);
spola++;
if ((nasta < 0) || (nasta > _totalframes)) {
nasta = 1;
}
gotoAndStop(nasta);
}
on (keyPress "<Right>") {
if (_root.Stopped == 0) {
_root.unDo = 2;
_root.stop();
}
if (_root.thebar._alpha != 100) {
_root.thebar._alpha = 55;
_root.barfeadedelay = Math.ceil(_root.moviefps * 0.65);
}
nasta = _currentframe + (1 * spola);
spolaa.gotoAndPlay(2);
spola++;
gotoAndStop(nasta);
}
on (keyPress "<Up>") {
if (snd._alpha != 100) {
snd._alpha = 55;
sndfeadedelay = Math.ceil(_root.moviefps * 0.65);
}
if (snd._currentframe != 1) {
snd.nextFrame();
}
}
on (keyPress "<Down>") {
if (snd._alpha != 100) {
snd._alpha = 55;
sndfeadedelay = Math.ceil(_root.moviefps * 0.65);
}
if (snd._currentframe == 1) {
snd.gotoAndStop(10);
} else if (snd._currentframe != 2) {
snd.prevFrame();
}
}
Symbol 48 MovieClip Frame 2
if (_parent._currentframe == 1) {
gotoAndPlay (1);
}
Symbol 48 MovieClip Frame 9
if (_parent._currentframe != 1) {
gotoAndPlay (8);
}