Frame 1
ext_name = "http://ams01.egihosting.com:5302/;listen.pls";
autoStart = 1;
b1.bcaption.gotoAndStop(1);
b2.bcaption.gotoAndStop(2);
b3.bcaption.gotoAndStop(3);
b4.bcaption.gotoAndStop(4);
b1.Action = 1;
b2.Action = 2;
b3.Action = 3;
b4.Action = 4;
function SoundComplete() {
startAndWatch(ext_name);
}
function succ() {
snd.setVolume(Volume);
paused = false;
stopped = false;
}
function startAndWatch(sndPath) {
snd = new Sound();
snd.onLoad = function (success) {
if (!success) {
SoundComplete();
}
};
snd.onSoundComplete = SoundComplete;
snd.loadSound(sndPath, true);
CONFIG.onEnterFrame = function () {
if ((snd.getBytesTotal() != undefined) && (snd.duration > 0)) {
succ();
delete this.onEnterFrame;
}
};
}
function MakeAction(action) {
switch (action) {
case 1 :
if ((!paused) || (stopped)) {
startAndWatch(ext_name);
} else {
paused = false;
snd.start(cpos / 1000);
}
return;
case 2 :
if (!stopped) {
paused = !paused;
if (paused) {
snd.stop();
cpos = snd.position;
} else {
snd.start(cpos / 1000);
}
}
return;
case 3 :
stopped = true;
snd.stop();
return;
case 4 :
if (snd.duration == undefined) {
break;
}
Volume = Volume + 25;
if (Volume > 100) {
Volume = 0;
}
snd.setVolume(Volume);
}
}
var autoStart;
var ext_name;
var snd = new Sound();
var paused = false;
var stopped = (!autoStart);
var Volume = 100;
var cpos = 0;
if (autoStart) {
startAndWatch(ext_name);
}
Instance of Symbol 10 MovieClip "mc" in Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(Math.round((_root.snd.position / _root.snd.duration) * 100));
}
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse, false)) {
MousePos = this._xmouse - 5;
if (MousePos > 0) {
_root.snd.stop();
_root.snd.start(((_root.snd.duration * MousePos) / (this._width - 10)) / 1000, 0);
_root.paused = false;
}
}
}
Symbol 10 MovieClip Frame 1
stop();
Symbol 31 MovieClip Frame 1
var POS;
var NUM;
Symbol 32 MovieClip Frame 1
i = 0;
while (i <= 18) {
duplicateMovieClip (etal, "jpr" add i, i);
obj = eval ("jpr" add i);
obj._x = obj._x + (i * (etal._width + 1));
i++;
}
Instance of Symbol 31 MovieClip "etal" in Symbol 32 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.POS != _root.snd.position) {
if (this._currentframe >= this.NUM) {
this.NUM = Math.round(Math.random() * 12) + 3;
this.gotoAndPlay(this.NUM - 2);
}
} else {
this.NUM = 1;
this.gotoAndStop(1);
}
this.POS = _root.snd.position;
}
Symbol 43 MovieClip Frame 1
stop();
Symbol 46 Button
on (rollOver) {
gotoAndPlay (2);
}
on (rollOut) {
gotoAndPlay (16);
}
on (releaseOutside) {
gotoAndPlay (16);
}
on (release) {
_root.MakeAction(Action);
}
Symbol 47 MovieClip Frame 1
var Action;
stop();
Symbol 47 MovieClip Frame 15
stop();
Symbol 47 MovieClip Frame 30
stop();