Frame 1
this.fps = 30;
this.videoWidth = 320;
this.videoHeight = 240;
function \u0004\u0005() {
Set("\x03", (1043 % 511) * 5);
return(\x03);
}
var \x01 = (270 + \x04\x05());
// swfAction0x03 // Unknown action
if (skin == undefined) {
player.skin = skin_mc;
} else {
player.skin = skin;
}
if (preloader == undefined) {
player.preloader = preloader_mc;
} else {
player.preloader = preloader;
}
if (effectFile != undefined) {
player.effectFile = effectFile;
}
if (firstFrame != undefined) {
player.firstFrame = firstFrame;
}
if (videoFile == undefined) {
player.videoFile = "Duet.$$$.flv";
} else {
player.videoFile = videoFile;
}
if (aspectRatio == undefined) {
player.aspectRatio = 1.33333333333333;
} else {
player.aspectRatio = aspectRatio;
}
if (skinAutoHide == undefined) {
player.skinAutoHide = false;
} else {
player.skinAutoHide = skinAutoHide;
}
if (skinHideDelay == undefined) {
player.skinHideDelay = 1000;
} else {
player.skinHideDelay = skinHideDelay;
}
if (mouseAutoHide == undefined) {
player.mouseAutoHide = false;
} else {
player.mouseAutoHide = mouseAutoHide;
}
if (autoResize == undefined) {
player.autoResize = true;
} else {
player.autoResize = autoResize;
}
if (maintainAspectRatio == undefined) {
player.maintainAspectRatio = true;
} else {
player.maintainAspectRatio = maintainAspectRatio;
}
if (allowBigPlayButton == undefined) {
player.allowBigPlayButton = false;
} else {
player.allowBigPlayButton = allowBigPlayButton;
}
if (paneColor == undefined) {
player.paneColor = 536870911 /* 0x1FFFFFFF */;
} else {
player.paneColor = paneColor;
}
if (minWidth == undefined) {
player.minWidth = 1;
} else {
player.minWidth = minWidth;
}
if (minHeight == undefined) {
player.minHeight = 1;
} else {
player.minHeight = minHeight;
}
if (autoLoad == undefined) {
player.autoLoad = false;
} else {
player.autoLoad = autoLoad;
}
if (autoPlay == undefined) {
player.autoPlay = false;
} else {
player.autoPlay = autoPlay;
}
if (loopCount == undefined) {
player.loopCount = -1;
} else {
player.loopCount = loopCount;
}
if (smoothVideo == undefined) {
player.smoothVideo = true;
} else {
player.smoothVideo = smoothVideo;
}
if (bufferTime == undefined) {
player.bufferTime = 5;
} else {
player.bufferTime = bufferTime;
}
if (unloadOnStop == undefined) {
player.unloadOnStop = false;
} else {
player.unloadOnStop = unloadOnStop;
}
if (mute == undefined) {
player.mute = false;
} else {
player.mute = mute;
}
if (volume == undefined) {
player.volume = 100;
} else {
player.volume = volume;
}
if (videoLinkTarget == undefined) {
player.videoLinkTarget = "_blank";
} else {
player.videoLinkTarget = videoLinkTarget;
}
if (videoLink == undefined) {
player.videoLink = "";
} else {
player.videoLink = videoLink;
}
if (endURLTarget == undefined) {
player.endURLTarget = "_blank";
} else {
player.endURLTarget = endURLTarget;
}
if (endURL == undefined) {
player.endURL = "";
} else {
player.endURL = endURL;
}
if (onPlayURL == undefined) {
player.onPlayURL = "";
} else {
player.onPlayURL = onPlayURL;
}
if (movieId == undefined) {
player.movieId = "";
} else {
player.movieId = movieId;
}
if (eventHandler == undefined) {
player.eventHandler = "";
} else {
player.eventHandler = eventHandler;
}
Symbol 60 MovieClip [__Packages.SkinInfo] Frame 0
class SkinInfo
{
var _items, _minWidth, _minHeight, _allowSkinAutoHide;
function SkinInfo (profiles) {
_items = profiles[0].skinItems;
_minWidth = profiles[0].minWidth;
_minHeight = profiles[0].minHeight;
_allowSkinAutoHide = profiles[0].allowSkinAutoHide;
if (_minWidth == undefined) {
_minWidth = 0;
}
if (_minHeight == undefined) {
_minHeight = 0;
}
if ((_allowSkinAutoHide = undefined)) {
_allowSkinAutoHide = true;
}
flash.external.ExternalInterface.addCallback("GetSkinInfo", this, GetSkinInfo);
}
function GetSkinInfo(w, h) {
var _local2 = calcVideoRect(w + 1024, h + 1024);
if (_local2 == undefined) {
_local2 = new Object();
_local2.x = 0;
_local2.y = 0;
_local2.width = w;
_local2.height = h;
_local2.frameWidth = w;
_local2.frameHeight = hl;
} else {
if (_local2.width > w) {
_local2.frameWidth = (w + 1024) - (_local2.width - w);
} else {
_local2.frameWidth = w;
}
if (_local2.height > h) {
_local2.frameHeight = (h + 1024) - (_local2.height - h);
} else {
_local2.frameHeight = h;
}
w = _local2.frameWidth;
h = _local2.frameHeight;
_local2 = calcVideoRect(w, h);
_local2.frameWidth = w;
_local2.frameHeight = h;
}
_local2.minWidth = _minWidth;
_local2.minHeight = _minHeight;
_local2.frameWidth = Math.max(_local2.frameWidth, _minWidth);
_local2.frameHeight = Math.max(_local2.frameHeight, _minHeight);
_local2.allowSkinAutoHide = _allowSkinAutoHide;
return(_local2);
}
function calcVideoRect(w, h) {
var _local13;
var _local12;
var _local5;
var _local4;
_local13 = 0;
_local12 = 0;
_local5 = 0;
_local4 = 0;
var _local3 = new Array();
var _local2;
var _local9 = "";
_local2 = 0;
while (_local2 < _items.length) {
if (_items[_local2].itemType == "screen") {
_local3.push(_items[_local2]);
break;
}
_local2++;
}
if (_local3.length == 0) {
return(undefined);
}
var _local6 = 0;
do {
if (!((_local3[_local6].parent != undefined) && (_local3[_local6].parent != "root"))) {
break;
}
_local9 = _local3[_local6].parent;
_local2 = 0;
while (_local2 < _items.length) {
if (_items[_local2].name == _local9) {
_local6++;
_local3[_local6] = _items[_local2];
break;
}
_local2++;
}
} while (_local2 != _items.length);
_local2 = _local6;
while (_local2 >= 0) {
if (_local3[_local2].xAlign == 1) {
_local5 = _local3[_local2].x + (w / 2);
_local13 = _local13 + _local5;
} else if (_local3[_local2].xAlign == 2) {
_local5 = _local3[_local2].x + w;
_local13 = _local13 + _local5;
} else {
_local5 = _local3[_local2].x;
_local13 = _local13 + _local5;
}
if (_local3[_local2].yAlign == 1) {
_local4 = _local3[_local2].y + (h / 2);
_local12 = _local12 + _local4;
} else if (_local3[_local2].yAlign == 2) {
_local4 = _local3[_local2].y + h;
_local12 = _local12 + _local4;
} else {
_local4 = _local3[_local2].y;
_local12 = _local12 + _local4;
}
if (_local3[_local2].rightSpace != undefined) {
w = (w - _local3[_local2].rightSpace) - _local5;
} else {
w = _local3[_local2].width;
}
if (_local3[_local2].bottomSpace != undefined) {
h = (h - _local3[_local2].bottomSpace) - _local4;
} else {
h = _local3[_local2].height;
}
_local2--;
}
return({x:_local13, y:_local12, width:w, height:h});
}
}
Symbol 2 MovieClip Frame 1
var profiles = new Array();
var skinItems0 = new Array();
var iIndex = 0;
skinItems0[iIndex++] = {itemType:"screen", skin:screen_mc, x:0, y:0, xAlign:0, width:200, height:200, rightSpace:0, bottomSpace:15};
skinItems0[iIndex++] = {itemType:"pane", name:"pane", x:0, y:-15, xAlign:0, yAlign:2, width:200, height:15, rightSpace:0};
skinItems0[iIndex++] = {itemType:"other", parent:"pane", skin:background_left, x:0, y:0, width:5, height:15, bottomSpace:0};
skinItems0[iIndex++] = {itemType:"other", parent:"pane", skin:background_mc, x:5, y:0, width:0, height:15, rightSpace:5, bottomSpace:0};
skinItems0[iIndex++] = {itemType:"other", parent:"pane", skin:background_right, x:-5, y:0, xAlign:2, width:5, height:15, bottomSpace:0};
skinItems0[iIndex++] = {itemType:"play", parent:"pane", skinOnState:play_mc, skinOffState:pause_mc, x:0, y:-15, yAlign:2, width:16, height:15};
skinItems0[iIndex++] = {itemType:"stop", parent:"pane", skin:stop_mc, x:16, y:-15, yAlign:2, width:16, height:15};
skinItems0[iIndex++] = {itemType:"proc_control", parent:"pane", name:"proc1", x:35, y:-12, yAlign:2, width:0, height:5.5, rightSpace:58, bottomSpace:0, skinBaseTrack:proc_base_track, skinLeftTrack:proc_left_track, skinLoadTrack:proc_load_track, skinBaseTrackLSC:proc_base_trackLSC, skinLeftTrackLSC:proc_left_trackLSC, skinLoadTrackLSC:proc_load_trackLSC, skinBaseTrackRSC:proc_base_trackRSC, skinLeftTrackRSC:proc_left_trackRSC, skinLoadTrackRSC:proc_load_trackRSC, skinThumb:proc_thumb_mc, thumbWidth:11, thumbHeight:11, trackSCWidth:1.3, trackHeight:5.5, loadHeight:5.5, x:0, y:0, width:200, height:4};
skinItems0[iIndex++] = {itemType:"vol_control", parent:"pane", skinBaseTrack:vol_track_mc, skinHLTrack:vol_trackhl_mc, skinHLTrackMask:vol_trackhl_mask, skinThumb:vol_thumb_mc, thumbWidth:7.5, thumbHeight:12.6, x:-34, y:-13, xAlign:2, yAlign:2, width:31.9, height:9.3};
skinItems0[iIndex++] = {itemType:"mute", parent:"pane", skinOnState:sound_mc, skinOffState:mute_mc, muteType:"hottrack", x:-55, y:-15, xAlign:2, yAlign:2, width:17, height:15};
skinItems0[iIndex++] = {itemType:"big_play", skin:big_play_mc, x:-65, y:-95, xAlign:1, yAlign:1, width:130, height:130};
profiles[0] = {name:"normal", skinItems:skinItems0, minWidth:260, minHeight:30, allowSkinAutoHide:false};
var skinItems1 = new Array();
iIndex = 0;
skinItems1[iIndex++] = {itemType:"screen", skin:screen_mc, x:0, y:0, xAlign:0, width:200, height:200, rightSpace:0, bottomSpace:0};
profiles[1] = {name:"fullscreen", skinItems:skinItems1};
var skinObj = new SkinInfo(profiles);
Symbol 66 MovieClip [__Packages.MPlayer] Frame 0
#initclip
function \u0004\u0005() {
Set("\x03", (2403 % 511) * 5);
return(\x03);
}
var \x01 = (-1660 + \x04\x05());
// swfAction0x03 // Unknown action
#endinitclip
Symbol 67 MovieClip [__Packages.SkinManager] Frame 0
#initclip
function \u0004\u0005() {
Set("\x03", (717 % 511) * 5);
return(\x03);
}
var \x01 = (-96 + \x04\x05());
// swfAction0x03 // Unknown action
#endinitclip
Symbol 68 MovieClip [__Packages.SkinElm] Frame 0
#initclip
function \u0004\u0005() {
Set("\x03", (2241 % 511) * 5);
return(\x03);
}
var \x01 = (-826 + \x04\x05());
// swfAction0x03 // Unknown action
#endinitclip
Symbol 69 MovieClip [__Packages.MXPlayerUtils] Frame 0
#initclip
function \u0004\u0005() {
Set("\x03", (1866 % 511) * 5);
return(\x03);
}
var \x01 = (-953 + \x04\x05());
// swfAction0x03 // Unknown action
#endinitclip
Symbol 70 MovieClip [__Packages.mx.utils.Delegate] Frame 0
#initclip
function \u0004\u0005() {
Set("\x03", (1660 % 511) * 5);
return(\x03);
}
var \x01 = (254 + \x04\x05());
// swfAction0x03 // Unknown action
#endinitclip
Symbol 71 MovieClip [__Packages.ProcessControl] Frame 0
!!!ERROR
Symbol 72 MovieClip [__Packages.DualStateButton] Frame 0
!!!ERROR
Symbol 73 MovieClip [__Packages.MuteControl] Frame 0
!!!ERROR
Symbol 74 MovieClip [__Packages.VolumeControl] Frame 0
!!!ERROR
Symbol 75 MovieClip [__Packages.MaskControl] Frame 0
!!!ERROR
Symbol 76 MovieClip [__Packages.TimeControl] Frame 0
!!!ERROR
Symbol 77 MovieClip [__Packages.SoundEx] Frame 0
!!!ERROR
Symbol 78 MovieClip [__Packages.EventPassThru] Frame 0
!!!ERROR
Symbol 79 MovieClip [__Packages.MFLVPlayback] Frame 0
!!!ERROR
Symbol 80 MovieClip [__Packages.MEFLVPlayback] Frame 0
!!!ERROR
Symbol 87 MovieClip Frame 1
pause = false;
Symbol 87 MovieClip Frame 116
gotoAndPlay (1);
Symbol 87 MovieClip Frame 117
pause = true;
stop();
Symbol 82 MovieClip Frame 1
function InstallPreloader() {
_parent.player.addListener(this);
}
function PercentText(p, n) {
if (isNaN(p)) {
return("N/A");
}
var _local1 = "";
var _local2;
if (int(p) == 0) {
_local1 = "0";
} else {
_local1 = _local1 + int(p).toString();
while (_local1.length < 2) {
_local1 = "0" + _local1;
}
}
if ((n != 0) && (n != undefined)) {
_local2 = (p - int(p)).toString();
_local2 = _local2.slice(2);
while (_local2.length < n) {
_local2 = _local2 + "0";
}
_local2 = _local2.substr(0, n);
_local1 = _local1 + ("." + _local2);
}
return(_local1 + "%");
}
function updateProgress() {
if (!_preloaderInstalled) {
InstallPreloader();
_preloaderInstalled = true;
onSizeChanged();
}
var _local2 = _parent.player.MGetVideoInfo();
preloader_bar.percent.text = PercentText((100 * _local2.bytesLoaded) / _local2.bytesTotal);
if ((_local2.bytesLoaded != undefined) && (_local2.bytesLoaded >= _local2.bytesTotal)) {
if (!preloader_bar.loading.pause) {
preloader_bar.loading.gotoAndStop("finished");
}
} else if (preloader_bar.loading.pause) {
preloader_bar.loading.gotoAndPlay("loading");
}
}
var _preloaderInstalled = false;
var oXscale = preloader_bar._xscale;
var oYscale = preloader_bar._yscale;
var fullBarWidth = preloader_bar._width;
var fullBarHeight = preloader_bar._height;
var HMargin = 40;
var VMargin = 40;
this._xscale = 100;
this._yscale = 100;
onSizeChanged = function () {
var _local2 = _parent.player.MGetPlayerInfo();
preloader_bar._x = _local2.width / 2;
preloader_bar._y = _local2.height / 2;
preloader_bar._xscale = oXscale;
preloader_bar._yscale = oYscale;
var _local3 = false;
if (_local2.width < (fullBarWidth + (2 * HMargin))) {
preloader_bar._width = Math.max(_local2.width - (2 * HMargin), 0);
preloader_bar._height = (preloader_bar._width * fullBarHeight) / fullBarWidth;
if (preloader_bar._height > (_local2.height - (2 * VMargin))) {
_local3 = true;
}
}
if (_local3 || (_local2.height < (fullBarHeight + (2 * VMargin)))) {
preloader_bar._height = Math.max(_local2.height - (2 * VMargin), 0);
preloader_bar._width = (preloader_bar._height * fullBarWidth) / fullBarHeight;
}
UpdateProgress();
};
this.onEnterFrame = updateProgress;