Frame 1
function trim(trimmed) {
var n = trimmed.length;
lfound = false;
while (!lfound) {
n = n - 1;
if (trimmed.charAt(n) != " ") {
lfound = true;
}
}
return(trimmed.slice(0, n + 1));
}
setting = trim("-1,1,3,15.00,320,240,1,1,1,1,1,1,1,e3f0ff,0,ffffff,2592ff,404040,000000, ");
v_title = trim("Internet is for Porn ");
v_url = trim(" ");
temp = setting.split(",", 19);
delete setting;
tname = new Array("startFlag", "endAction", "urlWindow", "fps", "width", "height");
var i = 0;
while (i < 6) {
this["v_" + tname[i]] = Number(temp[i]);
i++;
}
tname = new Array("bslider", "bvolume", "bmute", "btiming", "bforward", "brewind", "preloader");
var i = 0;
while (i < 7) {
this["v_" + tname[i]] = temp[i + 6] == "1";
i++;
}
v_color = "0x" + temp[13];
v_center = temp[14] == "1";
tname = new Array("col1", "col2", "col3", "col4");
var i = 0;
while (i < 4) {
if (temp[i + 15] != undefined) {
this["v_" + tname[i]] = "0x" + temp[i + 15];
}
i++;
}
delete temp;
delete tname;
_quality = "BEST";
vw = v_width;
if (vw < 210) {
vw = 210;
}
var v_mleft = 0;
var v_mtop = 0;
var v_mbottom = 46;
var v_mright = 0;
var v_twidth = ((vw + v_mleft) + v_mright);
var v_theight = ((v_height + v_mtop) + v_mbottom);
stop();
Instance of Symbol 6 MovieClip "loading_mc" in Frame 1
onClipEvent (load) {
var p = _parent;
var t = 0;
var twait = (0.5 * p.v_fps);
var v = (120 / p.v_fps);
var isOn = false;
var r = 180;
var vr = (72 / p.v_fps);
if (!p.v_center) {
_x = (p.v_twidth / 2);
_y = (p.v_theight / 2);
}
}
onClipEvent (enterFrame) {
t++;
if (isOn) {
_rotation = (_rotation - v);
if (r > 0) {
r = r - vr;
top.bar._rotation = r;
bottom.bar._rotation = r;
}
if ((p._framesloaded > 2) && (t > twait)) {
p.gotoAndPlay(2);
}
} else if (t > twait) {
if (p.v_preloader && (p._framesloaded < 2)) {
isOn = true;
_alpha = 100;
twait = twait + (p.v_fps * 2);
} else {
p.gotoAndPlay(2);
}
}
}
Frame 2
function fv_check() {
if (v_loading) {
t++;
fv_setGauge();
if (v_buffstat) {
fv_setBuff();
if ((_framesloaded > fwait) && (t > twait)) {
fv_endBuff();
}
} else {
fcheck = _currentframe + v_fps;
if (fcheck > _totalframes) {
fcheck = _totalframes;
}
if (_framesloaded < fcheck) {
fwait = _currentframe + fadd;
if (fwait > _totalframes) {
fwait = _totalframes;
}
fv_initBuff();
}
}
if (_framesloaded >= _totalframes) {
fplay = _totalframes;
v_loading = false;
fv_endBuff();
}
}
if (v_playstat) {
if (_currentframe >= _totalframes) {
if (v_endAction == 2) {
gotoAndPlay (4);
} else {
fv_rewind();
if (v_endAction == 3) {
var window;
if (v_urlWindow == 1) {
window = "_self";
} else if (v_urlWindow == 2) {
window = "_blank";
} else if (v_urlWindow == 3) {
window = "_parent";
} else {
window = "_top";
}
getURL (v_url, window);
}
}
}
}
}
function fv_initBuff() {
v_buffstat = true;
t = 0;
fbuff0 = _currentframe;
fv_setBuff();
stop();
}
function fv_setBuff() {
p = (_framesloaded - fbuff0) / (fwait - fbuff0);
if (p >= 0.99) {
p = 0.99;
}
c_stat.setBuff(p);
}
function fv_endBuff() {
v_buffstat = false;
if (v_playstat) {
c_stat.setPlay();
play();
} else {
c_stat.setStop();
}
}
function fv_setGauge() {
f = _framesloaded;
if (f < _totalframes) {
f = Math.max(_currentframe, f - fadd);
}
fplay = Math.max(f, fplay);
c_gauge.setGauge(fplay);
}
function fv_rewind() {
gotoAndStop (4);
fv_play(false);
}
function fv_forward() {
gotoAndStop(fplay);
fv_play(false);
}
function fv_play(cond) {
v_playstat = cond;
c_play.setButton(cond);
if (cond) {
c_stat.setPlay();
if (!v_buffstat) {
play();
}
} else {
c_stat.setStop();
stop();
}
}
function fv_jump(f) {
f = f + 3;
if (f < 4) {
f = 4;
} else if (f > fplay) {
f = fplay;
}
gotoAndStop(f);
fv_play(false);
}
function fv_mute(cond) {
v_mute = cond;
c_mute.setButton(cond);
if (cond) {
v_sound.setVolume(0);
} else {
v_sound.setVolume(v_vol);
}
}
function fv_volume(vol) {
v_vol = vol;
if (!v_mute) {
v_sound.setVolume(v_vol);
}
}
var v_playstat = true;
var v_buffstat = true;
var v_loading = true;
var fwait;
var fbuff0;
var fadd = (v_fps * 5);
var fplay = 3;
var t = 0;
var twait = (v_fps * 3);
if (v_startFlag == 0) {
fwait = 3 + fadd;
v_playstat = false;
} else if (v_startFlag == -1) {
fwait = 3 + fadd;
} else if (v_startFlag == -2) {
fwait = _totalframes;
} else {
fwait = 3 + (v_startFlag * v_fps);
}
fv_initBuff();
v_sound = new Sound(this);
var v_vol = v_sound.getVolume();
var v_mute = false;
gotoAndStop (3);
Frame 3
attachMovie("vc_control", "control_mc", 10);
control_mc._y = v_mtop + v_height;
if (v_center) {
control_mc._x = (-vw) / 2;
control_mc._y = control_mc._y - (v_height / 2);
}
setInterval(fv_check, 1000 / v_fps);
gotoAndStop (4);
Instance of Symbol 4 MovieClip "bar" in Symbol 5 MovieClip Frame 1
onClipEvent (load) {
_rotation = 180;
}
Symbol 10 MovieClip Frame 1
new Color(color_mc).setRGB(_parent.colBase);
Symbol 14 MovieClip Frame 1
new Color(color_mc).setRGB(_parent.colBase);
Symbol 22 MovieClip Frame 1
new Color(color_mc).setRGB(_parent._parent.colLight);
Symbol 29 MovieClip Frame 1
w = _parent.barWidth;
if (w > 200) {
bar_mc._width = w - 16;
right_mc._x = w - 8;
}
Symbol 33 MovieClip Frame 1
stop();
Symbol 34 MovieClip Frame 1
function go(pos) {
if (pos < 0) {
pos = 0;
} else if (pos > gauge_mc._width) {
pos = gauge_mc._width;
}
n = Math.ceil((pos / barWidth) * frames);
p.fv_jump(n);
}
function setSlider() {
var pos = (((p._currentframe - 3) / frames) * barWidth);
if (!btn_mc.active) {
btn_mc._x = pos;
}
line_mc._x = pos;
}
function setGauge(f) {
gauge_mc._width = ((f - 3) / frames) * barWidth;
}
var barWidth = (_parent.pwidth - 10);
var p = _parent._parent;
var frames = (p._totalframes - 3);
gauge_mc.setMask(gauge_mask);
line_mc.setMask(line_mask);
if (barWidth > 200) {
bbar_mc._width = barWidth - 16;
bright_mc._x = barWidth - 8;
}
new Color(btn_mc).setRGB(_parent.colText);
new Color(line_mc).setRGB(_parent.colLight);
Instance of Symbol 22 MovieClip "gauge_mc" in Symbol 34 MovieClip Frame 1
onClipEvent (load) {
var p = _parent;
var active = false;
}
onClipEvent (enterFrame) {
if (active) {
p.go(p._xmouse);
}
}
on (press) {
active = true;
p.go(p._xmouse);
}
on (release, releaseOutside) {
active = false;
}
Instance of Symbol 24 MovieClip "line_mc" in Symbol 34 MovieClip Frame 1
onClipEvent (load) {
this.setMask(_parent.line_mask);
}
Instance of Symbol 33 MovieClip "btn_mc" in Symbol 34 MovieClip Frame 1
onClipEvent (load) {
p = _parent;
var right = p.barWidth;
var active = false;
}
onClipEvent (enterFrame) {
if (active) {
p.go(_x);
}
}
on (press) {
startDrag (this, true, 0, 0, right, 0);
active = true;
gotoAndStop (2);
}
on (release, releaseOutside) {
stopDrag();
active = false;
gotoAndStop (1);
p.go(_x);
}
Symbol 41 MovieClip Frame 1
new Color(light_mc).setRGB(_parent.colLight);
new Color(icon_mc).setRGB(_parent.colText);
light_mc._visible = false;
stop();
Symbol 42 MovieClip Frame 1
new Color(light_mc).setRGB(_parent.colLight);
new Color(icon_mc).setRGB(_parent.colText);
light_mc._visible = false;
stop();
Symbol 45 MovieClip Frame 1
col1 = _parent._parent.colLight;
col2 = _parent._parent.colText;
new Color(light_mc).setRGB(col1);
new Color(icon_mc).setRGB(col2);
light_mc._visible = false;
stop();
Symbol 46 MovieClip Frame 1
col1 = _parent._parent.colLight;
col2 = _parent._parent.colText;
new Color(light_mc).setRGB(col1);
new Color(icon_mc).setRGB(col2);
light_mc._visible = false;
stop();
Symbol 47 MovieClip Frame 1
function setButton(cond) {
if (cond) {
gotoAndStop (2);
} else {
gotoAndStop (3);
}
}
setButton(_parent._parent.v_playstat);
stop();
Instance of Symbol 45 MovieClip "b_play" in Symbol 47 MovieClip Frame 1
on (press) {
new Color(icon_mc).setRGB(col2);
icon_mc._xscale = (icon_mc._yscale = 95);
light_mc._alpha = 100;
}
on (release, rollOver) {
new Color(icon_mc).setRGB(col1);
icon_mc._xscale = (icon_mc._yscale = 100);
light_mc._visible = true;
light_mc._alpha = 70;
}
on (releaseOutside, rollOut, dragOut) {
new Color(icon_mc).setRGB(col2);
icon_mc._xscale = (icon_mc._yscale = 100);
light_mc._visible = false;
}
on (release) {
_parent._parent._parent.fv_play(false);
}
Instance of Symbol 46 MovieClip "b_play" in Symbol 47 MovieClip Frame 3
on (press) {
new Color(icon_mc).setRGB(col2);
icon_mc._xscale = (icon_mc._yscale = 100);
light_mc._alpha = 100;
}
on (release, rollOver) {
new Color(icon_mc).setRGB(col1);
icon_mc._xscale = (icon_mc._yscale = 110);
light_mc._visible = true;
light_mc._alpha = 70;
}
on (releaseOutside, rollOut, dragOut) {
new Color(icon_mc).setRGB(col2);
icon_mc._xscale = (icon_mc._yscale = 110);
light_mc._visible = false;
}
on (release) {
_parent._parent._parent.fv_play(true);
}
Symbol 53 MovieClip Frame 1
new Color(light_mc).setRGB(_parent._parent.colLight);
new Color(icon_mc).setRGB(_parent._parent.colText);
light_mc._visible = false;
stop();
Symbol 57 MovieClip Frame 1
new Color(light_mc).setRGB(_parent._parent.colLight);
new Color(icon_mc).setRGB(_parent._parent.colText);
light_mc._visible = false;
stop();
Symbol 58 MovieClip Frame 1
function setButton(cond) {
if (cond) {
gotoAndStop (3);
} else {
gotoAndStop (2);
}
}
stop();
Instance of Symbol 53 MovieClip "b_play" in Symbol 58 MovieClip Frame 1
on (press) {
icon_mc._xscale = (icon_mc._yscale = 95);
icon_mc.sign_mc._alpha = 0;
light_mc._alpha = 100;
}
on (release, rollOver) {
icon_mc._xscale = (icon_mc._yscale = 100);
icon_mc.sign_mc._alpha = 50;
light_mc._visible = true;
light_mc._alpha = 70;
}
on (releaseOutside, rollOut, dragOut) {
icon_mc._xscale = (icon_mc._yscale = 100);
icon_mc.sign_mc._alpha = 100;
light_mc._visible = false;
}
on (release) {
_parent._parent._parent.fv_mute(true);
}
Instance of Symbol 57 MovieClip "b_play" in Symbol 58 MovieClip Frame 3
on (press) {
icon_mc._xscale = (icon_mc._yscale = 95);
icon_mc.sign_mc._alpha = 0;
light_mc._alpha = 100;
}
on (release, rollOver) {
icon_mc._xscale = (icon_mc._yscale = 100);
icon_mc.sign_mc._alpha = 50;
light_mc._visible = true;
light_mc._alpha = 70;
}
on (releaseOutside, rollOut, dragOut) {
icon_mc._xscale = (icon_mc._yscale = 100);
icon_mc.sign_mc._alpha = 100;
light_mc._visible = false;
}
on (release) {
_parent._parent._parent.fv_mute(false);
}
Symbol 67 MovieClip Frame 1
new Color(color_mc).setRGB(_parent._parent.colBase);
stop();
Symbol 68 MovieClip Frame 1
function setSlider(x) {
bar_mc._width = x;
if (!slider_mc.active) {
slider_mc._x = x;
}
}
function setVol(x) {
if (x < 0) {
x = 0;
} else if (x > 50) {
x = 50;
}
vol = 2 * x;
setSlider(x);
p.fv_volume(vol);
}
var p = _parent._parent;
var vol = p.v_vol;
new Color(bar_mc).setRGB(_parent.colLight);
setVol(vol / 2);
Instance of Symbol 62 MovieClip "base_mc" in Symbol 68 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 62 MovieClip "base_mc" in Symbol 68 MovieClip Frame 1
onClipEvent (load) {
var p = _parent;
var active = false;
}
onClipEvent (enterFrame) {
if (active) {
p.setVol(p._xmouse);
}
}
on (press) {
active = true;
p.setVol(p._xmouse);
}
on (release, releaseOutside) {
active = false;
}
Instance of Symbol 67 MovieClip "slider_mc" in Symbol 68 MovieClip Frame 1
onClipEvent (load) {
active = false;
p = _parent;
}
onClipEvent (enterFrame) {
if (active) {
p.setVol(_x);
}
}
on (press) {
gotoAndStop (2);
startDrag (this, true, 0, 0, 50, 0);
active = true;
}
on (release, releaseOutside) {
gotoAndStop (1);
p.setVol(_x);
active = false;
stopDrag();
}
Symbol 73 MovieClip Frame 1
function setPlay() {
gotoAndStop (3);
}
function setStop() {
gotoAndStop (1);
}
function setBuff(p) {
perc = ("(" + Math.round(p * 100)) + "%)";
gotoAndStop (2);
}
var perc;
var isPlay;
stop();
Symbol 75 MovieClip Frame 1
function setTime() {
t = Math.round((p._currentframe - 3) / fps);
time = (((((getS(t / 3600) + ":") + getS((t % 3600) / 60)) + ":") + getS(t % 60)) + " / ") + stotal;
}
function getS(t) {
t = Math.floor(t);
if (t < 10) {
temp = "0" + t;
} else {
temp = String(t);
}
return(temp);
}
var p = _parent._parent;
var fps = p.v_fps;
var total = Math.round((p._totalframes - 3) / fps);
var stotal = ((((getS(total / 3600) + ":") + getS((total % 3600) / 60)) + ":") + getS(total % 60));
var time = stotal;
setTime();
stop();
Symbol 77 MovieClip Frame 1
var title = _parent._parent.v_title;
tfield._width = (_parent.pos - _x) - 5;
stop();
Symbol 78 MovieClip [vc_control] Frame 1
var p = _parent;
b_slider._visible = p.v_bslider;
b_volume._visible = p.v_bvolume;
b_mute._visible = p.v_bmute;
t_time._visible = p.v_btiming;
b_forward._visible = p.v_bforward;
b_rewind._visible = p.v_brewind;
var pwidth = p.v_width;
pbar._width = pwidth - 20;
pright._x = pwidth;
t_time._x = pwidth - 7;
var pos;
pos = 12;
if (b_rewind._visible) {
pos = pos + 18;
}
b_play._x = pos;
if (b_forward._visible) {
pos = pos + 18;
b_forward._x = pos;
}
pos = pos + 12;
t_title._x = pos;
pos = pwidth - 2;
if (b_mute._visible) {
pos = pos - 10;
b_mute._x = pos;
pos = pos - 10;
}
if (b_volume._visible) {
pos = pos - 55;
b_volume._x = pos;
}
p.c_stat = t_stat;
p.c_gauge = b_slider;
p.c_play = b_play;
p.c_mute = b_mute;
colBase = _parent.v_col1;
colLight = _parent.v_col2;
colText = _parent.v_col3;
new Color(t_stat).setRGB(colText);
new Color(t_time).setRGB(colText);
new Color(t_title).setRGB(colText);
Instance of Symbol 34 MovieClip "b_slider" in Symbol 78 MovieClip [vc_control] Frame 1
onClipEvent (enterFrame) {
setSlider();
}
Instance of Symbol 41 MovieClip "b_rewind" in Symbol 78 MovieClip [vc_control] Frame 1
on (press) {
icon_mc._xscale = (icon_mc._yscale = 95);
light_mc._alpha = 100;
}
on (release, rollOver) {
icon_mc._xscale = (icon_mc._yscale = 100);
light_mc._visible = true;
light_mc._alpha = 70;
}
on (releaseOutside, rollOut, dragOut) {
icon_mc._xscale = (icon_mc._yscale = 100);
light_mc._visible = false;
}
on (release) {
_parent._parent.fv_rewind();
}
Instance of Symbol 42 MovieClip "b_forward" in Symbol 78 MovieClip [vc_control] Frame 1
on (press) {
icon_mc._xscale = (icon_mc._yscale = 95);
light_mc._alpha = 100;
}
on (release, rollOver) {
icon_mc._xscale = (icon_mc._yscale = 100);
light_mc._visible = true;
light_mc._alpha = 70;
}
on (releaseOutside, rollOut, dragOut) {
icon_mc._xscale = (icon_mc._yscale = 100);
light_mc._visible = false;
}
on (release) {
_parent._parent.fv_forward();
}
Instance of Symbol 75 MovieClip "t_time" in Symbol 78 MovieClip [vc_control] Frame 1
onClipEvent (enterFrame) {
setTime();
}