Frame 1
function trim(trimmed) {
var _local1 = trimmed.length;
lfound = false;
while (!lfound) {
_local1 = _local1 - 1;
if (trimmed.charAt(_local1) != " ") {
lfound = true;
}
}
return(trimmed.slice(0, _local1 + 1));
}
setting = trim("-2,1,3,25.00,720,576,1,1,1,1,1,1,1,1,1,1,0,000000,0,7a7a7a,ff4d00,ffffff,ff8700,3,,0 ");
temp = setting.split(",");
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", "bbackward", "brewind", "bfscreen", "bbigplay", "preloader", "startfscr");
var i = 0;
while (i < 11) {
this["v_" + tname[i]] = temp[i + 6] == "1";
i++;
}
v_color = "0x" + temp[17];
v_center = temp[18] == "1";
tname = new Array("col1", "col2", "col3", "col4");
var i = 0;
while (i < 4) {
if (temp[i + 19] != "") {
this["v_" + tname[i]] = "0x" + temp[i + 19];
}
i++;
}
v_mUrlWindow = Number(temp[23]);
v_mUrl = temp[24];
v_preview = temp[25] == "1";
delete tname;
delete temp;
_quality = "BEST";
version = 3;
temp = Stage.scaleMode;
Stage.scaleMode = "showAll";
var sw = Stage.width;
var sh = Stage.height;
Stage.scaleMode = temp;
delete temp;
if (_framesloaded >= _totalframes) {
gotoAndPlay (2);
} else {
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.sw / 2);
_y = (p.sh / 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 < 3)) {
isOn = true;
_alpha = 100;
twait = twait + (p.v_fps * 2);
} else if (p._framesloaded > 2) {
p.gotoAndPlay(2);
}
}
}
Frame 2
function fv_getTime() {
return((_currentframe - 3) / v_fps);
}
function fv_setEnd() {
if (v_endAction == 2) {
fv_rewind();
fv_play(true);
} else {
fv_play(false);
if (v_endAction == 3) {
loadURL(v_url, v_urlWindow);
}
}
}
function loadURL(pURL, pWin) {
var _local1 = "_self";
if (pWin == 2) {
_local1 = "_blank";
} else if (pWin == 3) {
_local1 = "_parent";
} else if (pWin == 4) {
_local1 = "_top";
}
getURL (pURL, _local1);
}
function jumpFrame(pf) {
v_stat = 2;
if (pf >= ftotal) {
pf = ftotal;
if (v_playstat) {
pf = pf - 1;
}
} else if (pf < 1) {
pf = 1;
}
pf = pf + 3;
if (v_playstat && (!v_buffing)) {
gotoAndPlay(pf);
} else {
gotoAndStop(pf);
}
}
function fv_rewind() {
jumpFrame(1);
}
function fv_forward() {
jumpFrame(v_cueframe * (Math.floor((_currentframe - 3) / v_cueframe) + 1));
}
function fv_backward() {
jumpFrame(v_cueframe * Math.floor((_currentframe - 4) / v_cueframe));
}
function fv_play(pflag) {
if (pflag == null) {
pflag = !v_playstat;
}
if (pflag && (v_stat == 3)) {
fv_rewind();
}
v_playstat = pflag;
if (v_playstat && (!v_buffing)) {
play();
} else {
stop();
}
}
function fv_jump(psec) {
if (!v_preload) {
if ((getTimer() - d0) >= dseek) {
d0 = getTimer();
jumpFrame(Math.round(psec * v_fps));
}
}
}
function fv_mute(pflag) {
if (pflag == null) {
pflag = !v_mute;
}
v_mute = pflag;
if (v_mute) {
v_sound.setVolume(0);
} else {
v_sound.setVolume(v_vol);
}
}
function fv_volume(pvol) {
v_vol = pvol;
if (!v_mute) {
v_sound.setVolume(v_vol);
}
}
function fv_initPosition(tobj) {
if (!v_center) {
subs_mc._x = tobj.m_left + ((vw - v_width) / 2);
subs_mc._y = tobj.m_top + ((vh - v_height) / 2);
}
}
function fv_fullScreen(cond) {
if (cond == null) {
cond = !v_fscreen;
}
if (v_fscreen != cond) {
v_fscreen = cond;
if (cond) {
Stage.fullScreenSourceRect = new flash.geom.Rectangle(0, 0, sw, sh);
Stage.displayState = "fullScreen";
} else {
Stage.displayState = "normal";
}
}
}
function loadURL(pURL, pWin) {
var _local1 = "_self";
if (pWin == 2) {
_local1 = "_blank";
} else if (pWin == 3) {
_local1 = "_parent";
} else if (pWin == 4) {
_local1 = "_top";
}
getURL (pURL, _local1);
}
function cm_handler(obj, menu) {
ci_play.caption = (v_playstat ? "Pause Movie" : "Play Movie");
ci_fscreen.caption = (v_fscreen ? "Normal Screen" : "Full Screen");
}
function cf_play(pobj, pitem) {
fv_play();
}
function cf_fscreen() {
fv_fullScreen();
}
v_title = trim(" ");
v_url = trim(" ");
eventpar = trim(" ");
subs = trim(" ");
chapter = trim(" ");
swfset = trim("75`~,100 ");
v_mcount = 1;
var temp = swfset.split("`~,");
delete swfset;
v_bframe = Number(temp[0]);
v_cueframe = Number(temp[1]);
if (temp.length > 2) {
var v_evtime = new Array();
var v_evname = new Array();
var temp2;
var i = 2;
while (i < temp.length) {
temp2 = temp[i].split(",");
v_evtime[i - 2] = Number(temp2[0]);
v_evname[i - 2] = temp2.slice(1).join("");
i++;
}
}
delete temp;
if (chapter != "") {
var v_chapnow = 0;
var temp = chapter.split("`|~");
var v_chapter = new Array(temp.length);
var i = 0;
while (i < temp.length) {
v_chapter[i] = new Object();
v_chapter[i].time = Number(temp[i].split(",", 1)[0]);
v_chapter[i].name = temp[i].substr(temp[i].indexOf(",", 0) + 1);
i++;
}
delete temp;
}
delete chapter;
ftotal = _totalframes - 3;
v_timetotal = ftotal / v_fps;
var v_playstat = true;
var v_loading = true;
var v_buffing = true;
var v_preload = false;
var v_loadpct = 0;
var v_buff = 0;
var v_stat = 0;
var d0 = getTimer();
var dseek = (1000 / v_fps);
var v_sound = new Sound(this);
var v_vol = v_sound.getVolume();
var v_mute = false;
vw = v_width;
vh = v_height;
if (subs != "") {
subs_mc.swapDepths(9);
subs_mc._x = (v_center ? ((-vw) / 2) : ((sw - vw) / 2));
subs_mc._y = (v_center ? ((-vh) / 2) : ((sh - vh) / 2));
}
control_mc.swapDepths(11);
var fnow = 0;
gotoAndStop (3);
var v_fscreen = false;
fv_fullScreen(v_startfscr);
var cm_menu = new ContextMenu();
var ci_play = new ContextMenuItem("Pause Movie", cf_play);
var ci_rewind = new ContextMenuItem("Rewind Movie", fv_rewind);
var ci_next = new ContextMenuItem("Next", fv_forward);
var ci_prev = new ContextMenuItem("Previous", fv_backward);
var ci_fscreen = new ContextMenuItem("Full Screen", cf_fscreen, true);
cm_menu.customItems.push(ci_play, ci_rewind, ci_prev, ci_next, ci_fscreen);
cm_menu.onSelect = cm_handler;
cm_menu.hideBuiltInItems();
cm_menu.builtInItems.zoom = true;
cm_menu.builtInItems.quality = true;
this.menu = cm_menu;
Frame 3
if ((v_mUrl != "") && (v_mUrl != undefined)) {
attachMovie("vc_area", "area_mc", 8);
area_mc._width = vw;
area_mc._height = vh;
area_mc._x = (v_center ? ((-vw) / 2) : (control_mc.m_left));
area_mc._y = (v_center ? ((-vh) / 2) : (control_mc.m_top));
area_mc.onRelease = function () {
loadURL(v_mUrl, v_mUrlWindow);
};
}
var evlast = -1;
if (eventpar != "") {
this.createEmptyMovieClip("clip_mc", 10);
clip_mc._x = (v_center ? ((-v_width) / 2) : (control_mc.m_left + ((vw - v_width) / 2)));
clip_mc._y = (v_center ? ((-v_height) / 2) : (control_mc.m_top + ((vh - v_height) / 2)));
v_event = eventpar.split("`,");
evFunc = _parent != undefined;
evlast = 0;
}
delete eventpar;
v_stat = 0;
var fcheck;
var fadd = v_bframe;
var ft = 0;
var ftwait = (v_fps * 3);
if (v_startFlag == 0) {
v_playstat = false;
} else if (v_startFlag == -1) {
} else {
v_preload = true;
fadd = ((v_startFlag > 0) ? (v_startFlag * v_fps) : (ftotal));
}
fadd = Math.min(fadd, ftotal);
this.createEmptyMovieClip("play_mc", 5);
play_mc.onEnterFrame = function () {
if (v_stat == 0) {
if (_currentframe > 3) {
v_stat = 2;
v_loading = _framesloaded < _totalframes;
if ((!v_loading) || (_framesloaded >= (3 + fadd))) {
v_preload = false;
v_buffing = false;
if (v_playstat) {
play();
} else {
stop();
}
} else {
stop();
}
}
} else {
if (v_loading) {
if (v_buffing) {
ft++;
if (((_framesloaded - _currentframe) > fadd) && (ft > ftwait)) {
v_buffing = false;
v_preload = false;
ft = 0;
if (v_playstat) {
play();
}
}
} else if (v_playstat) {
fcheck = _currentframe + 2;
if (fcheck > _totalframes) {
fcheck = _totalframes;
}
if (_framesloaded < fcheck) {
fadd = Math.min(v_bframe, _totalframes - _currentframe);
v_buffing = true;
}
}
v_loadpct = ((_framesloaded - 3) / ftotal) * 100;
v_buff = Math.min(99, ((_framesloaded - _currentframe) / fadd) * 100);
if (_framesloaded >= _totalframes) {
v_preload = (v_buffing = (v_loading = false));
}
}
if (fnow != (_currentframe - 3)) {
fnow = _currentframe - 3;
if (evlast > -1) {
var _local6 = -1;
var _local8 = 0;
if (fnow > v_evtime[evlast]) {
_local8 = evlast + 1;
}
var _local4 = _local8;
while (_local4 < v_evtime.length) {
if (fnow <= v_evtime[_local4]) {
if (fnow == v_evtime[_local4]) {
_local6 = _local4;
}
break;
}
_local4++;
}
if (_local6 > -1) {
evlast = _local6;
if (v_event[_local6] != "") {
var _local9 = Math.round(fv_getTime() * 100) / 100;
if (evFunc) {
_parent.onFVSEvent(_local9, v_evname[_local6]);
} else {
fscommand ("FVSEvent", (_local9 + ",") + v_evname[_local6]);
}
var _local7 = v_event[_local6].split(",");
_local4 = 1;
while (_local4 < _local7.length) {
var _local2 = _local7[_local4].split("~");
if (_local2[0] == "1") {
var _local5 = (_local6 + "_") + _local4;
var _local3;
if (clip_mc[_local5] == undefined) {
_local3 = clip_mc.createEmptyMovieClip(_local5, clip_mc.getNextHighestDepth());
} else {
_local3 = clip_mc[_local5];
}
_local3.loadMovie(_local2.slice(5).join(""));
_local3._lockroot = true;
_local3._x = Number(_local2[1]);
_local3._y = Number(_local2[2]);
_local3._xscale = Number(_local2[3]);
_local3._yscale = Number(_local2[4]);
} else if (_local2[0] == "2") {
loadURL(_local2.slice(2).join(""), Number(_local2[1]));
}
_local4++;
}
if (_local7[0] == "1") {
v_event[_local6] = "";
}
}
}
}
if ((vstat != 3) && (fnow >= ftotal)) {
v_stat = 3;
if (v_playstat) {
fv_setEnd();
}
}
if ((!v_playstat) || (v_buffing)) {
stop();
}
} else if (v_playstat && (!v_buffing)) {
play();
}
}
};
gotoAndPlay (4);
Instance of Symbol 4 MovieClip "bar" in Symbol 5 MovieClip Frame 1
onClipEvent (load) {
_rotation = 180;
}
Symbol 9 MovieClip Frame 1
p = _parent;
hasSub = p.subs != "";
if (hasSub) {
var temp = p.subs.split("|@`");
delete p.subs;
var temp2 = temp[0].split(",");
var fmt = new TextFormat();
fmt.font = temp2[0];
if (temp2[1] == "0") {
fmt.align = "left";
} else if (temp2[1] == "2") {
fmt.align = "right";
} else if (temp2[1] == "3") {
fmt.align = "justify";
} else {
fmt.align = "center";
}
fmt.size = Number(temp2[2]);
fmt.color = Number("0x" + temp2[3]);
fmt.bold = temp2[4] == "1";
fmt.italic = temp2[5] == "1";
fmt.underline = temp2[6] == "1";
var shadOn = (temp2[7] == "1");
if (shadOn) {
var shadFil = (new flash.filters.DropShadowFilter());
if (temp2[8] != "") {
var temp3 = temp2[8].split("~");
shadFil.distance = Number(temp3[0]);
shadFil.angle = Number(temp3[1]);
shadFil.color = Number("0x" + temp3[2]);
shadFil.alpha = Number(temp3[3]) / 100;
shadFil.blurX = Number(temp3[4]);
shadFil.blurY = Number(temp3[5]);
shadFil.strength = Number(temp3[6]);
shadFil.quality = Number(temp3[7]);
delete temp3;
}
var txtFil = new Array(shadFil);
}
var chnlnow = Number(temp2[9]);
var channel = temp2.slice(10);
delete temp2;
var temp1 = temp[1].split(",");
var temp2 = temp[2].split(",");
var starts = new Array(temp1.length);
var ends = new Array(temp1.length);
var i = 0;
while (i < temp2.length) {
starts[i] = Number(temp1[i]);
ends[i] = Number(temp2[i]);
i++;
}
delete temp1;
delete temp2;
var temp2 = temp[3].split("`|~");
var i = 0;
while (i < temp2.length) {
this["channel" + i] = temp2[i].split("`^~");
i++;
}
delete temp2;
delete temp;
}
function callSub(n) {
subnow = n;
this.createTextField("sub_txt", 1, 0, 0, w, h);
sub_txt.multiline = true;
sub_txt.wordWrap = true;
sub_txt.selectable = false;
sub_txt.setNewTextFormat(fmt);
sub_txt.text = this["channel" + chnlnow][ts];
sub_txt._y = h - (sub_txt.textHeight + 10);
if (shadOn) {
sub_txt.filters = txtFil;
}
}
function changeChannel(n) {
chnlnow = n;
if (sub_txt) {
if (n < 0) {
sub_txt.removeTextField();
} else {
sub_txt.text = this["channel" + chnlnow][subnow];
}
}
}
w = p.v_width;
h = p.v_height;
ts = (subnow = 0);
tend = ends[ends.length - 1];
this.createEmptyMovieClip("timer", 2);
timer.onEnterFrame = function () {
var _local1 = p.fnow;
if (sub_txt) {
if (((_local1 < starts[subnow]) || (_local1 > ends[subnow])) || (chnlnow < 0)) {
sub_txt.removeTextField();
}
} else if (chnlnow > -1) {
if ((_local1 > starts[0]) && (_local1 < tend)) {
if (_local1 < starts[ts]) {
ts = 0;
}
while ((ends[ts] < _local1) && (ts < starts.length)) {
ts++;
}
if ((_local1 >= starts[ts]) && (_local1 < ends[ts])) {
callSub(ts);
}
}
}
};
Symbol 17 MovieClip Frame 1
p = _parent;
ikon = _parent.icon_mc;
new Color(base_mc).setRGB(p.p.colBase);
new Color(light_mc).setRGB(p.p.colLight);
new Color(ikon).setRGB(p.p.colText);
ikon._alpha = 65;
this.onPress = function () {
btn_mc._yscale = -100;
ikon._alpha = 45;
light_mc._alpha = 40;
};
this.onRollOver = function () {
btn_mc._yscale = 100;
ikon._alpha = 75;
light_mc._alpha = 100;
};
this.onRelease = function () {
btn_mc._yscale = 100;
ikon._alpha = 75;
light_mc._alpha = 100;
p.clicked();
};
this.onReleaseOutside = (this.onRollOut = (this.onDragOut = function () {
btn_mc._yscale = 100;
ikon._alpha = 65;
light_mc._alpha = 0;
}));
Symbol 20 MovieClip Frame 1
function clicked() {
p.p.fv_play(true);
}
p = _parent;
stop();
Symbol 23 MovieClip Frame 1
new Color(base).setRGB(_parent._parent.colBase);
Symbol 26 MovieClip Frame 1
function setOut() {
tf._alpha = 80;
base._alpha = 0;
}
function setRoll() {
tf._alpha = 100;
base._alpha = 75;
}
function setPress() {
tf._alpha = 70;
base._alpha = 50;
}
function setOff() {
active = false;
tf._alpha = 50;
base._alpha = 50;
}
function setOn() {
setOut();
active = true;
}
new Color(base).setRGB(_parent.col1);
fmt = tf.getTextFormat();
fmt.color = _parent.col0;
if (_parent.align) {
fmt.align = _parent.align;
}
tf.setTextFormat(fmt);
base._xscale = (tf._width = _parent.w);
setOut();
Symbol 27 MovieClip Frame 1
list = list0;
var i = 0;
while (i < lists.length) {
if (i > 0) {
list = list0.duplicateMovieClip("list" + i, i + 1);
}
list.teks = lists[i];
list._y = hl * i;
list.id = i;
list.active = true;
list.onPress = function () {
if (this.active) {
this.setPress();
}
};
list.onRollOver = function () {
if (this.active) {
this.setRoll();
}
};
list.onRelease = function () {
if (this.active) {
this.setRoll();
p.listClick(this.id);
}
};
list.onRollOut = (list.onDragOut = (list.onReleaseOutside = function () {
if (this.active) {
this.setOut();
}
}));
i++;
}
Symbol 32 MovieClip Frame 1
function setScrollValue(noease) {
if (prev_y != scrollThumb._y) {
var _local2 = scrollThumb._y / hmax;
var _local1 = int(y0 - (_local2 * scrollMax));
if (noease) {
obj._y = _local1;
} else {
easeScrolling(_local1, 5);
}
}
prev_y = scrollThumb._y;
}
function easeScrolling(ty, speed) {
var oldY = obj._y;
var newY;
var scroller = obj;
delete onEnterFrame;
var movement;
var diff;
this.onEnterFrame = function () {
diff = Math.abs(scroller._y - ty);
movement = (ty - oldY) / speed;
if ((movement < 0) and (movement > -1)) {
movement = -1;
}
if ((movement > 0) and (movement < 1)) {
movement = 1;
}
newY = oldY + movement;
oldY = newY;
scroller._y = int(newY);
delete movement;
updateAfterEvent();
if (diff < 1) {
scroller._y = ty;
delete diff;
delete onEnterFrame;
}
};
}
if (obj != undefined) {
var hthumb = Math.max(5, Math.min(h0, Math.floor((h0 * h0) / hh)));
scrollThumb._height = hthumb;
scrollTrack._height = h0;
var hmax = (h0 - hthumb);
scrollThumb._y = 0;
var scrollMax = (hh - h0);
setScrollValue(true);
var startY = ((prevY = 0));
scrollThumb.onRollOver = function () {
scrollThumb._alpha = 50;
};
scrollThumb.onPress = function () {
var startY = _ymouse;
var prevY = this._y;
scrollThumb._alpha = 75;
this.onMouseMove = function () {
var _local2 = prevY + (_ymouse - startY);
if (_local2 < 0) {
_local2 = 0;
}
if (_local2 > hmax) {
_local2 = hmax;
}
this._y = _local2;
setScrollValue();
};
};
scrollThumb.onRelease = function () {
scrollThumb._alpha = 50;
delete this.onMouseMove;
};
scrollThumb.onReleaseOutside = function () {
scrollThumb._alpha = 40;
delete this.onMouseMove;
};
scrollThumb.onRollOut = function () {
scrollThumb._alpha = 40;
};
}
Symbol 33 MovieClip Frame 1
function listClick(n) {
pp.p.fv_jump(pp.p.v_chapter[n].time);
p.setOff();
}
pp = _parent._parent;
p = _parent;
w = Math.max(120, Math.floor(pp.pwidth / 3));
hl = 15;
hltot = (pp.p.v_chapter ? (hl * pp.p.v_chapter.length) : 0);
h = Math.min(pp.p.v_height, hltot + 2);
hlist = h - 2;
p.initBase(w, h);
top_cover._visible = (bot_cover._visible = (scroll_mc._visible = false));
if (hltot > 0) {
list_mc.col0 = pp.colText;
list_mc.col1 = pp.colLight;
list_mc._x = (-w) + 1;
list_mc._y = (-h) + 2;
list_mc.w = ((hltot > hlist) ? (w - 9) : (w - 2));
list_mc.hl = hl;
list_mc.lists = new Array(pp.p.v_chapter.length);
list_mc.p = this;
var i = 0;
while (i < pp.p.v_chapter.length) {
list_mc.lists[i] = pp.p.v_chapter[i].name;
i++;
}
if (hltot > hlist) {
top_cover._visible = (bot_cover._visible = true);
top_cover._y = -h;
top_cover._xscale = (bot_cover._xscale = w);
top_cover._yscale = (bot_cover._yscale = (hltot - hlist) + 10);
top_cover.useHandCursor = (bot_cover.useHandCursor = false);
top_cover.onRollOver = (bot_cover.onRollOver = function () {
});
scroll_mc._visible = true;
new Color(scroll_mc).setRGB(pp.colText);
scroll_mc.obj = list_mc;
scroll_mc._y = (scroll_mc.y0 = (-h) + 2);
scroll_mc.h0 = h - 6;
scroll_mc.hh = hltot;
}
}
Symbol 34 MovieClip Frame 1
function listClick(n) {
pp.p.fv_openMovie(n);
p.setOff();
}
pp = _parent._parent;
p = _parent;
w = Math.max(120, Math.floor(pp.pwidth / 3));
hl = 15;
hltot = hl * pp.p.v_mcount;
h = Math.min(pp.p.v_height, hltot + 2);
hlist = h - 2;
p.initBase(w, h);
top_cover._visible = (bot_cover._visible = (scroll_mc._visible = false));
if (hltot > 0) {
list_mc.col0 = pp.colText;
list_mc.col1 = pp.colLight;
list_mc._x = (-w) + 1;
list_mc._y = (-h) + 2;
list_mc.w = ((hltot > hlist) ? (w - 9) : (w - 2));
list_mc.hl = hl;
list_mc.lists = new Array(pp.p.v_mcount);
list_mc.p = this;
listnow = -1;
var i = 0;
while (i < pp.p.v_mcount) {
list_mc.lists[i] = pp.p.v_list[i].title;
i++;
}
if (hltot > hlist) {
top_cover._visible = (bot_cover._visible = true);
top_cover._y = -h;
top_cover._xscale = (bot_cover._xscale = w);
top_cover._yscale = (bot_cover._yscale = (hltot - hlist) + 10);
top_cover.useHandCursor = (bot_cover.useHandCursor = false);
top_cover.onRollOver = (bot_cover.onRollOver = function () {
});
scroll_mc._visible = true;
new Color(scroll_mc).setRGB(pp.colText);
scroll_mc.obj = list_mc;
scroll_mc._y = (scroll_mc.y0 = (-h) + 2);
scroll_mc.h0 = h - 4;
scroll_mc.hh = hltot;
}
this.onEnterFrame = function () {
if (pp.p.v_mnow != listnow) {
list_mc["list" + listnow].setOn();
listnow = pp.p.v_mnow;
pp.b_slider.initGauge();
pp.t_time.initTime();
list = list_mc["list" + listnow].setOff();
}
};
} else {
top_cover._visible = false;
bot_cover._visible = false;
}
Symbol 35 MovieClip Frame 1
function initBase(a, b) {
base._width = (mask._width = a);
base._height = (mask._height = b + hadd);
h = b;
base._y = h + hadd;
}
function setOff() {
isOn = false;
bt.setOff();
}
function setOn() {
if (!_parent.t_channel.isDown) {
isOn = true;
onOut = false;
bt.setOn();
_parent.t_channel.setOff();
}
}
if (_parent.b_list._visible) {
vt = 8.4 / _parent.p.v_fps;
tmax = (Math.PI/2);
theta = tmax;
isOn = false;
content_mc._visible = false;
h = 100;
hadd = 0;
bt = _parent.b_list.base;
pt = new Object();
delay = 4000;
d0 = getTimer();
isDown = false;
wdelay = 2000;
onOut = false;
this.onMouseMove = function () {
d0 = getTimer();
};
this.onMouseDown = function () {
if (!onOut) {
isDown = isOn;
}
};
this.onMouseUp = function () {
isDown = false;
};
this.onEnterFrame = function () {
pt.x = _xmouse;
pt.y = _ymouse;
this.localToGlobal(pt);
if (isOn) {
onOut = !(bt.hitTest(pt.x, pt.y) || (base.hitTest(pt.x, pt.y)));
if (!onOut) {
w0 = getTimer();
}
if ((!isDown) && (((getTimer() - w0) > wdelay) || ((getTimer() - d0) > delay))) {
setOff();
}
} else if (bt.hitTest(pt.x, pt.y) && ((getTimer() - d0) < delay)) {
setOn();
}
if (isOn) {
if (theta > 0) {
theta = theta - vt;
base._y = hadd + (h * Math.sin(theta));
if (theta <= 0) {
base._y = hadd;
theta = 0;
content_mc._visible = true;
}
}
} else if (theta < tmax) {
content_mc._visible = false;
theta = theta + vt;
base._y = hadd + (h * Math.sin(theta));
if (theta >= tmax) {
base._y = h + hadd;
theta = tmax;
}
}
};
if (_parent.p.v_mcount > 1) {
gotoAndStop (2);
} else {
stop();
}
} else {
_visible = false;
}
Symbol 35 MovieClip Frame 2
content_mc._visible = false;
Symbol 36 MovieClip Frame 1
function listClick(n) {
subs.changeChannel(n - 1);
setOff();
}
function setOff() {
isOn = false;
bt.setOff();
}
function setOn() {
if (!p.t_list.isDown) {
isOn = true;
onOut = false;
bt.setOn();
p.t_list.setOff();
}
}
p = _parent;
subs = p.p.subs_mc;
if (subs.hasSub && (subs.channel.length > 0)) {
w = 50;
hl = 15;
hadd = 0;
h = (hl * (subs.channel.length + 1)) + 2;
base._height = (mask._height = h + hadd);
base._width = (mask._width = w);
base._y = h + hadd;
vt = 12 / _parent.p.v_fps;
tmax = (Math.PI/2);
theta = tmax;
isOn = false;
list_mc._visible = false;
chnow = -1;
bt = _parent.b_channel.base;
pt = new Object();
delay = 4000;
d0 = getTimer();
isDown = false;
wdelay = 2000;
onOut = false;
this.onMouseMove = function () {
d0 = getTimer();
};
this.onMouseDown = function () {
if (!onOut) {
isDown = isOn;
}
};
this.onMouseUp = function () {
isDown = false;
};
this.onEnterFrame = function () {
pt.x = _xmouse;
pt.y = _ymouse;
this.localToGlobal(pt);
if (isOn) {
onOut = !(bt.hitTest(pt.x, pt.y) || (base.hitTest(pt.x, pt.y)));
if (!onOut) {
w0 = getTimer();
}
if ((!isDown) && (((getTimer() - w0) > wdelay) || ((getTimer() - d0) > delay))) {
setOff();
}
} else if (bt.hitTest(pt.x, pt.y) && ((getTimer() - d0) < delay)) {
setOn();
}
if (isOn) {
if (theta > 0) {
theta = theta - vt;
base._y = hadd + (h * Math.sin(theta));
if (theta <= 0) {
base._y = hadd;
theta = 0;
list_mc._visible = true;
}
}
} else if (theta < tmax) {
list_mc._visible = false;
theta = theta + vt;
base._y = hadd + (h * Math.sin(theta));
if (theta >= tmax) {
base._y = hadd + h;
theta = tmax;
}
}
if (subs.chnlnow != (chnow - 1)) {
list_mc["list" + chnow].setOn();
chnow = subs.chnlnow + 1;
list_mc["list" + chnow].setOff();
}
};
list_mc.col0 = p.colText;
list_mc.col1 = p.colLight;
list_mc._x = (-w) + 1;
list_mc._y = (-h) + 2;
list_mc.w = w - 2;
list_mc.hl = hl;
list_mc.lists = new Array(subs.channel.length + 1);
list_mc.p = this;
list_mc.align = "center";
var i = 0;
while (i < (subs.channel.length + 1)) {
list_mc.lists[i] = ((i == 0) ? "SUB OFF" : (subs.channel[i - 1]));
i++;
}
} else {
_visible = false;
}
Symbol 37 MovieClip Frame 1
w = _parent.pwidth;
h = 36;
r = 10;
col = Number(_parent.colBase);
this.createEmptyMovieClip("rounded", 1);
with (rounded) {
lineStyle(1, 0, 20);
beginFill(col, 100);
moveTo(0, 0);
lineTo(w, 0);
lineTo(w, h - r);
curveTo(w, h, w - r, h);
lineTo(r, h);
curveTo(0, h, 0, h - r);
lineTo(0, 0);
}
var filter = (new flash.filters.DropShadowFilter(2, 90, 0, 0.4, 0, 6, 1, 3, false, false, false));
var filterArray = new Array();
filterArray.push(filter);
rounded.filters = filterArray;
delete w;
Symbol 42 MovieClip Frame 1
new Color(color_mc).setRGB(_parent._parent.colGauge);
Symbol 46 MovieClip Frame 1
stop();
Symbol 49 MovieClip Frame 1
mask_mc._width = _parent.barWidth;
stop();
Instance of Symbol 48 MovieClip "roll1" in Symbol 49 MovieClip Frame 3
onClipEvent (load) {
v = 36 / _parent._parent.p.v_fps;
fol = _parent.roll2;
fol._x = _x + 2000;
}
onClipEvent (enterFrame) {
_x = (_x - v);
fol._x = fol._x - v;
if (_x < -2000) {
_x = (fol._x + 2000);
}
if (fol._x < -2000) {
fol._x = _x + 2000;
}
}
Symbol 50 MovieClip Frame 1
function go(pos) {
if (pos < 0) {
pos = 0;
} else if (pos > gauge_mc._width) {
pos = gauge_mc._width;
}
n = (pos / barWidth) * totaltime;
p.fv_jump(n);
}
function setSlider() {
var _local1 = (p.fv_getTime() / totaltime) * barWidth;
if (!btn_mc.active) {
btn_mc._x = _local1;
}
}
function setGauge(ppct) {
gauge_mc._width = (ppct / 100) * barWidth;
}
function setBuff() {
if (!buffOn) {
buff_mc.gotoAndStop("buff");
buffOn = true;
}
}
function closeBuff() {
if (buffOn) {
buff_mc.gotoAndStop("boff");
buffOn = false;
}
}
function initGauge() {
gauge_mc._width = 0;
totaltime = p.v_timetotal;
isLoad = true;
closeBuff();
btn_mc._x = 0;
}
var p = _parent.p;
buffOn = false;
initGauge();
if (_visible) {
new Color(btn_mc).setRGB(_parent.colText);
new Color(buff_mc).setRGB(_parent.colText);
this.createEmptyMovieClip("outline", 1);
with (outline) {
beginFill(0, 35);
moveTo(-1, -1);
lineTo(barWidth + 1, -1);
lineTo(barWidth, 0);
lineTo(0, 0);
lineTo(0, 7);
lineTo(-1, 8);
beginFill(16777215, 20);
moveTo(-1, 8);
lineTo(barWidth + 1, 8);
lineTo(barWidth + 1, -1);
lineTo(barWidth, 0);
lineTo(barWidth, 7);
lineTo(0, 7);
beginFill(0, 8);
moveTo(0, 0);
lineTo(barWidth, 0);
lineTo(barWidth, 7);
lineTo(0, 7);
endFill();
_y = -3;
}
gauge_mc.swapDepths(2);
btn_mc.swapDepths(4);
buff_mc.swapDepths(3);
}
Instance of Symbol 42 MovieClip "gauge_mc" in Symbol 50 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 46 MovieClip "btn_mc" in Symbol 50 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 53 MovieClip Frame 1
function setTime() {
t = p.fv_getTime();
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);
}
function initTime() {
total = p.v_timetotal;
stotal = (((getS(total / 3600) + ":") + getS((total % 3600) / 60)) + ":") + getS(total % 60);
time = "00:00:00/" + stotal;
}
p = _parent.p;
initTime();
stop();
Symbol 56 MovieClip Frame 1
function initText(t) {
if (t != teks) {
teks = t;
wt = Math.max(w, t1.textWidth + 20);
t1._width = (t2._width = wt);
t1._x = 0;
t2._x = t1._x + wt;
r_cover._xscale = ((2 * wt) - w) + 10;
l_cover._xscale = wt + 10;
}
}
p = _parent;
r_cover._x = w;
wt = w;
teks = "";
vs = 24 / p.p.v_fps;
_visible = (_visible && (w > 10));
if (_visible) {
this.createEmptyMovieClip("run_mc", 1);
run_mc.onEnterFrame = function () {
initText(p.p.v_title);
t1._x = t1._x - vs;
if (t1._x < (-wt)) {
t1._x = t1._x + (2 * wt);
}
t2._x = t2._x - vs;
if (t2._x < (-wt)) {
t2._x = t2._x + (2 * wt);
}
};
}
Symbol 62 MovieClip Frame 1
p = _parent;
ikon = _parent.icon_mc;
new Color(light_mc).setRGB(p.p.colLight);
new Color(ikon).setRGB(p.p.colText);
ikon._alpha = 65;
this.onPress = function () {
btn_mc._yscale = -100;
ikon._alpha = 45;
light_mc._alpha = 40;
};
this.onRollOver = function () {
btn_mc._yscale = 100;
ikon._alpha = 75;
light_mc._alpha = 100;
};
this.onRelease = function () {
btn_mc._yscale = 100;
ikon._alpha = 75;
light_mc._alpha = 100;
p.clicked();
};
this.onReleaseOutside = (this.onRollOut = (this.onDragOut = function () {
btn_mc._yscale = 100;
ikon._alpha = 65;
light_mc._alpha = 0;
}));
Symbol 65 MovieClip Frame 1
function clicked() {
p.p.fv_rewind();
}
p = _parent;
stop();
Symbol 68 MovieClip Frame 1
function clicked() {
p.p.fv_forward();
}
p = _parent;
stop();
Symbol 74 MovieClip Frame 1
p = _parent;
ikon = _parent.icon_mc;
new Color(light_mc).setRGB(p.p.colLight);
new Color(ikon).setRGB(p.p.colText);
ikon._alpha = 65;
this.onPress = function () {
btn_mc._yscale = -100;
ikon._alpha = 45;
light_mc._alpha = 40;
};
this.onRollOver = function () {
btn_mc._yscale = 100;
ikon._alpha = 75;
light_mc._alpha = 100;
};
this.onRelease = function () {
btn_mc._yscale = 100;
ikon._alpha = 75;
light_mc._alpha = 100;
p.clicked();
};
this.onReleaseOutside = (this.onRollOut = (this.onDragOut = function () {
btn_mc._yscale = 100;
ikon._alpha = 65;
light_mc._alpha = 0;
}));
Symbol 77 MovieClip Frame 1
function clicked() {
p.p.fv_play(false);
}
p = _parent._parent;
stop();
Symbol 80 MovieClip Frame 1
function clicked() {
p.p.fv_play(true);
}
p = _parent._parent;
stop();
Instance of Symbol 77 MovieClip "b_play" in Symbol 81 MovieClip Frame 1
/* no clip actions */
Symbol 84 MovieClip Frame 1
function clicked() {
p.p.fv_mute(true);
}
p = _parent._parent;
stop();
Symbol 87 MovieClip Frame 1
function clicked() {
p.p.fv_mute(false);
}
p = _parent._parent;
stop();
Symbol 88 MovieClip Frame 1
stop();
Instance of Symbol 87 MovieClip "b_play" in Symbol 88 MovieClip Frame 3
/* no clip actions */
Symbol 93 MovieClip Frame 1
function setSlider(x) {
bar_mc._width = x;
}
function setVol(x) {
if (x < 0) {
x = 0;
} else if (x > 50) {
x = 50;
}
vol = 2 * x;
setSlider(x);
p.fv_volume(vol);
}
if (_visible) {
var p = _parent.p;
var vol = p.v_vol;
setVol(vol * 0.5);
this.onEnterFrame = function () {
if (p.v_vol != vol) {
setVol(p.v_vol * 0.5);
}
};
}
Instance of Symbol 91 MovieClip "base_mc" in Symbol 93 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 91 MovieClip "base_mc" in Symbol 93 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;
}
Symbol 94 MovieClip Frame 1
function clicked() {
p.p.fv_backward();
}
p = _parent;
stop();
Symbol 97 MovieClip Frame 1
function clicked() {
p.p.fv_fullScreen(true);
}
p = _parent._parent;
stop();
Symbol 100 MovieClip Frame 1
function clicked() {
p.p.fv_fullScreen(false);
}
p = _parent._parent;
stop();
Symbol 101 MovieClip Frame 1
stop();
Instance of Symbol 100 MovieClip "b_play" in Symbol 101 MovieClip Frame 3
/* no clip actions */
Symbol 102 MovieClip Frame 1
function setOn() {
ikon._alpha = 100;
new Color(ikon).setRGB(p.p.colLight);
}
function setOff() {
ikon._alpha = 75;
new Color(ikon).setRGB(p.p.colText);
}
p = _parent;
ikon = p.icon_mc;
setOff();
Symbol 105 MovieClip Frame 1
p = _parent;
stop();
Symbol 108 MovieClip Frame 1
p = _parent;
stop();
Symbol 109 MovieClip Frame 1
function c_main() {
t_time.setTime();
if (p.v_mute) {
b_mute.gotoAndStop("mute");
} else {
b_mute.gotoAndStop("play");
}
b_big._visible = p.v_bbigplay && (!p.v_playstat);
if (p.v_playstat) {
b_play.gotoAndStop("play");
} else {
b_play.gotoAndStop("pause");
}
if (p.v_fscreen) {
b_screen.gotoAndStop("full");
} else {
b_screen.gotoAndStop("normal");
}
if (p.v_loading && (p.v_buffing)) {
b_slider.setBuff();
} else {
b_slider.closeBuff();
}
b_slider.setSlider();
if (b_slider.isLoad) {
b_slider.setGauge(p.v_loadpct);
if (!p.v_loading) {
b_slider.setGauge(100);
b_slider.isLoad = false;
}
}
}
var p = _parent;
var m_left = 0;
var m_top = 0;
var m_bottom = 36;
var m_right = 0;
p.vw = Math.max(200, p.v_width);
p.vh = p.v_height;
var twidth = ((p.vw + m_left) + m_right);
var theight = ((p.vh + m_top) + m_bottom);
p.fv_initPosition(this);
_x = 0;
_y = (m_top + p.vh);
if (p.v_center) {
_x = ((-p.vw) / 2);
_y = (_y - (p.v_height / 2));
}
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_backward._visible = p.v_bbackward;
b_forward._visible = p.v_bforward;
b_rewind._visible = p.v_brewind;
b_screen._visible = p.v_bfscreen;
b_list._visible = (p.v_mcount > 1) || (p.v_chapter != undefined);
b_channel._visible = p.subs_mc.hasSub;
b_big._visible = false;
b_big._x = p.vw / 2;
b_big._y = (-p.vh) / 2;
var pwidth = p.vw;
var pos = (pwidth - 3);
if (b_list._visible) {
pos = pos - 5;
b_list._x = pos;
t_list._x = pwidth;
pos = pos - 6;
}
if (b_channel._visible) {
pos = pos - 5;
b_channel._x = pos;
t_channel._x = pwidth;
pos = pos - 6;
}
t_time._x = pos - 2;
tbar = pos - 7;
if (t_time._visible) {
tbar = tbar - 82;
}
t_title.w = tbar;
(pos = 25);
(posy = 23);
if ((((p.v_title == "") && (!p.v_btiming)) && (!b_list._visible)) && (!b_channel._visible)) {
posy = 18;
}
b_play._y = posy;
pos = pos + 23;
if (b_rewind._visible) {
pos = pos + 12;
b_rewind._x = pos;
pos = pos + 13;
b_rewind._y = posy;
}
if (b_backward._visible) {
pos = pos + 12;
b_backward._x = pos;
b_backward._y = posy;
pos = pos + 13;
}
if (b_forward._visible) {
pos = pos + 12;
b_forward._x = pos;
b_forward._y = posy;
pos = pos + 13;
}
b_slider._x = pos + 4;
b_slider._y = posy - 1;
pos = pwidth - 3;
if (b_screen._visible) {
pos = pos - 12;
b_screen._x = pos;
pos = pos - 13;
}
if (b_mute._visible) {
pos = pos - 12;
b_mute._x = pos;
b_mute._y = posy;
pos = pos - 13;
}
pos = pos - 2;
tbar = (pos - b_slider._x) - 4;
if (b_volume._visible) {
if (b_slider._visible) {
tw = Math.min(52, Math.floor(tbar / 2));
tbar = tbar - tw;
} else {
tw = Math.min(52, Math.floor(tbar));
}
b_volume._xscale = (tw - 2) * 2;
b_volume._x = pos - tw;
if (b_mute._visible) {
b_mute._x = b_volume._x + 12;
b_volume._x = b_volume._x + 27;
}
b_volume._y = posy - 4;
}
b_slider.barWidth = tbar;
delete tbar;
delete tw;
colBase = _parent.v_col1;
colLight = _parent.v_col2;
colText = _parent.v_col3;
colGauge = _parent.v_col4;
new Color(t_time).setRGB(colText);
new Color(t_title).setRGB(colText);
if (c_id != null) {
clearInterval(c_id);
}
c_id = setInterval(c_main, 1000 / p.v_fps);