STORY   LOOP   FURRY   PORN   GAMES
• C •   SERVICES [?] [R] RND   POPULAR
Archived flashes:
229428
/disc/ · /res/     /show/ · /fap/ · /gg/ · /swf/P0001 · P2574 · P5147

<div style="position:absolute;top:-99px;left:-99px;"><img src="http://swfchan.com:57475/62474114?noj=FRM62474114-31DC" width="1" height="1"></div>

The Walls - Part Three.swf

This is the info page for
Flash #40958

(Click the ID number above for more basic data on this flash file.)


ActionScript [AS1/AS2]
Combined Code
movieClip 3 { } movieClip 5 VideoPlayer { #initclip Object.registerClass('VideoPlayer', mx.video.VideoPlayer); #endinitclip } movieClip 8 Icon { } movieClip 9 FLVPlayback { #initclip Object.registerClass('FLVPlayback', mx.video.FLVPlayback); #endinitclip frame 1 { stop(); } } frame 1 { _root.kongregateServices.connect(); } movieClip 21 { } movieClip 25 { } button 26 { on (release) { getURL('http://www.newgrounds.com', '_blank'); } } button 31 { on (release) { _root.play(); } } movieClip 32 { frame 1 { _root.stop(); PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100; if (PercentLoaded != 100) { bar._xscale = PercentLoaded; } else { gotoAndStop('loaded'); } } frame 2 { gotoAndPlay(1); } } movieClip 1 __Packages.mx.video.FLVPlayback { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.video) { _global.mx.video = new Object(); } if (!_global.mx.video.FLVPlayback) { var v1 = function () { super(); mx.events.EventDispatcher.initialize(this); if (this._autoPlay == undefined) { this._autoPlay = true; } if (this._autoRewind == undefined) { this._autoRewind = true; } if (this._autoSize == undefined) { this._autoSize = false; } if (this._bufferTime == undefined) { this._bufferTime = 0.1; } if (this._contentPath == undefined) { this._contentPath = ''; } if (this._cuePoints == undefined) { this._cuePoints = null; } if (this._idleTimeout == undefined) { this._idleTimeout = mx.video.VideoPlayer.DEFAULT_IDLE_TIMEOUT_INTERVAL; } if (this._isLive == undefined) { this._isLive = false; } if (this._aspectRatio == undefined) { this._aspectRatio = true; } if (this._seekToPrevOffset == undefined) { this._seekToPrevOffset = mx.video.FLVPlayback.SEEK_TO_PREV_OFFSET_DEFAULT; } if (this._playheadUpdateInterval == undefined) { this._playheadUpdateInterval = mx.video.VideoPlayer.DEFAULT_UPDATE_PROGRESS_INTERVAL; } if (this._progressInterval == undefined) { this._progressInterval = mx.video.VideoPlayer.DEFAULT_UPDATE_TIME_INTERVAL; } if (this._totalTime == undefined) { this._totalTime = 0; } if (this._transform == undefined) { this._transform = null; } if (this._volume == undefined) { this._volume = 100; } if (this._skinAutoHide == undefined) { this._skinAutoHide = false; } if (this._bufferingBarHides == undefined) { this._bufferingBarHides = false; } this.__height = this._height; this._prevHeight = this.__height; this._origHeight = this.__height; this.__width = this._width; this._prevWidth = this.__width; this._origWidth = this.__width; this._scaleX = 100; this._scaleY = 100; this._xscale = 100; this._yscale = 100; this._preSeekTime = -1; this._firstStreamReady = false; this._firstStreamShown = false; this.createUIManager(); this._activeVP = 0; this._visibleVP = 0; this._topVP = 0; this._vp = new Array(); this._vpState = new Array(); this._cpMgr = new Array(); this.createVideoPlayer(0); this._vp[0].visible = false; this._vp[0].volume = 0; this.boundingBox_mc._visible = false; this.boundingBox_mc.unloadMovie(); delete this.boundingBox_mc; if (_global.isLivePreview) { this.createLivePreviewMovieClip(); this.setSize(this.__width, this.__height); } this._cpMgr[0].processCuePointsProperty(this._cuePoints); delete this._cuePoints; this._cuePoints = null; }; mx.video.FLVPlayback = v1; mx.video.FLVPlayback extends MovieClip; var v2 = v1.prototype; v2.setSize = function (w, h) { if (_global.isLivePreview) { if (this.preview_mc == undefined) { this.createLivePreviewMovieClip(); } this.preview_mc.box_mc._width = w; this.preview_mc.box_mc._height = h; if (this.preview_mc.box_mc._width < this.preview_mc.icon_mc._width || this.preview_mc.box_mc._height < this.preview_mc.icon_mc._height) { this.preview_mc.icon_mc._visible = false; } else { this.preview_mc.icon_mc._visible = true; this.preview_mc.icon_mc._x = (this.preview_mc.box_mc._width - this.preview_mc.icon_mc._width) / 2; this.preview_mc.icon_mc._y = (this.preview_mc.box_mc._height - this.preview_mc.icon_mc._height) / 2; } } if (w == this.__get__width() && h == this.__get__height()) { return undefined; } this.__width = w; this._prevWidth = this.__width; this.__height = h; this._prevHeight = this.__height; var v3 = 0; while (v3 < this._vp.length) { if (this._vp[v3] != undefined) { this._vp[v3].setSize(w, h); } ++v3; } this.dispatchEvent({'type': 'resize', 'x': this.__get__x(), 'y': this.__get__y(), 'width': w, 'height': h}); }; v2.setScale = function (xs, ys) { if (xs == this.__get__scaleX() && ys == this.__get__scaleY()) { return undefined; } this._scaleX = xs; this._scaleY = ys; var v2 = 0; while (v2 < this._vp.length) { if (this._vp[v2] != undefined) { this._vp[v2].setSize(this._origWidth * xs / 100, this._origHeight * ys / 100); } ++v2; } this.dispatchEvent({'type': 'resize', 'x': this.__get__x(), 'y': this.__get__y(), 'width': this.__get__width(), 'height': this.__get__height()}); }; v2.handleEvent = function (e) { var v3 = e.state; if (e.state != undefined && e.target._name == this._visibleVP && this.__get__scrubbing()) { v3 = mx.video.FLVPlayback.SEEKING; } if (e.type == 'metadataReceived') { this._cpMgr[e.target._name].processFLVCuePoints(e.info.cuePoints); this.dispatchEvent({'type': e.type, 'info': e.info, 'vp': e.target._name}); } else { if (e.type == 'cuePoint') { if (this._cpMgr[e.target._name].isFLVCuePointEnabled(e.info)) { this.dispatchEvent({'type': e.type, 'info': e.info, 'vp': e.target._name}); } } else { if (e.type == 'rewind') { this.dispatchEvent({'type': e.type, 'auto': true, 'state': v3, 'playheadTime': e.playheadTime, 'vp': e.target._name}); this._cpMgr[e.target._name].resetASCuePointIndex(e.playheadTime); } else { if (e.type == 'resize') { this.dispatchEvent({'type': e.type, 'x': this.__get__x(), 'y': this.__get__y(), 'width': this.__get__width(), 'height': this.__get__height(), 'auto': true, 'vp': e.target._name}); this._prevWidth = this.__width; this._prevHeight = this.__height; } else { if (e.type == 'playheadUpdate') { this.dispatchEvent({'type': e.type, 'state': v3, 'playheadTime': e.playheadTime, 'vp': e.target._name}); if (this._preSeekTime >= 0 && e.target.state != mx.video.FLVPlayback.SEEKING) { var v5 = this._preSeekTime; this._preSeekTime = -1; this._cpMgr[e.target._name].resetASCuePointIndex(e.playheadTime); this.dispatchEvent({'type': 'seek', 'state': v3, 'playheadTime': e.playheadTime, 'vp': e.target._name}); if (v5 < e.playheadTime) { this.dispatchEvent({'type': 'fastForward', 'state': v3, 'playheadTime': e.playheadTime, 'vp': e.target._name}); } else { if (v5 > e.playheadTime) { this.dispatchEvent({'type': 'rewind', 'auto': false, 'state': v3, 'playheadTime': e.playheadTime, 'vp': e.target._name}); } } } this._cpMgr[e.target._name].dispatchASCuePoints(); } else { if (e.type == 'stateChange') { var v4 = e.target._name; if (v4 == this._visibleVP && this.__get__scrubbing()) { return undefined; } if (e.state == mx.video.VideoPlayer.RESIZING) { return undefined; } if (this._vpState[v4].prevState == mx.video.FLVPlayback.LOADING && this._vpState[v4].autoPlay && e.state == mx.video.FLVPlayback.STOPPED) { return undefined; } this._vpState[v4].prevState = e.state; this.dispatchEvent({'type': e.type, 'state': v3, 'playheadTime': e.playheadTime, 'vp': e.target._name}); if (this._vp[e.target._name].state != v3) { return undefined; } switch (v3) { case mx.video.FLVPlayback.BUFFERING: this.dispatchEvent({'type': 'buffering', 'state': v3, 'playheadTime': e.playheadTime, 'vp': e.target._name}); break; case mx.video.FLVPlayback.PAUSED: this.dispatchEvent({'type': 'paused', 'state': v3, 'playheadTime': e.playheadTime, 'vp': e.target._name}); break; case mx.video.FLVPlayback.PLAYING: this.dispatchEvent({'type': 'playing', 'state': v3, 'playheadTime': e.playheadTime, 'vp': e.target._name}); break; case mx.video.FLVPlayback.STOPPED: this.dispatchEvent({'type': 'stopped', 'state': v3, 'playheadTime': e.playheadTime, 'vp': e.target._name}); } } else { if (e.type == 'progress') { this.dispatchEvent({'type': e.type, 'bytesLoaded': e.bytesLoaded, 'bytesTotal': e.bytesTotal, 'vp': e.target._name}); } else { if (e.type == 'ready') { var v4 = e.target._name; if (!this._firstStreamReady) { if (v4 == this._visibleVP) { this._firstStreamReady = true; if (this._uiMgr.__get__skinReady() && !this._firstStreamShown) { this._uiMgr.__set__visible(true); this.showFirstStream(); } } } else { if (this._firstStreamShown && v3 == mx.video.FLVPlayback.STOPPED && this._vpState[v4].autoPlay) { this._vp[v4].play(); } } this.dispatchEvent({'type': e.type, 'state': v3, 'playheadTime': e.playheadTime, 'vp': e.target._name}); } else { if (e.type == 'close' || e.type == 'complete') { this.dispatchEvent({'type': e.type, 'state': v3, 'playheadTime': e.playheadTime, 'vp': e.target._name}); } } } } } } } } } }; v2.load = function (contentPath, totalTime, isLive) { if (this._vp[this._activeVP] == undefined) { return undefined; } if (contentPath == undefined || contentPath == null || contentPath == '') { return undefined; } this.__set__autoPlay(false); if (totalTime != undefined) { this.__set__totalTime(totalTime); } if (isLive != undefined) { this.__set__isLive(isLive); } this.__set__contentPath(contentPath); }; v2.play = function (contentPath, totalTime, isLive) { if (this._vp[this._activeVP] == undefined) { return undefined; } if (contentPath == undefined) { this._vp[this._activeVP].play(); } else { this.__set__autoPlay(true); if (totalTime != undefined) { this.__set__totalTime(totalTime); } if (isLive != undefined) { this.__set__isLive(isLive); } this.__set__contentPath(contentPath); } }; v2.pause = function () { if (this._vp[this._activeVP] == undefined) { return undefined; } this._vp[this._activeVP].pause(); }; v2.stop = function () { if (this._vp[this._activeVP] == undefined) { return undefined; } this._vp[this._activeVP].stop(); }; v2.seek = function (time) { if (this._vp[this._activeVP] == undefined) { return undefined; } this._preSeekTime = this.playheadTime; this._vp[this._activeVP].seek(time); }; v2.seekSeconds = function (time) { this.seek(time); }; v2.seekPercent = function (percent) { if (this._vp[this._activeVP] == undefined) { return undefined; } if (percent < 0 || percent > 100 || this._vp[this._activeVP].totalTime == undefined || this._vp[this._activeVP].totalTime == null || this._vp[this._activeVP].totalTime <= 0) { throw new mx.video.VideoError(mx.video.VideoError.INVALID_SEEK); } this.seek(this._vp[this._activeVP].totalTime * percent / 100); }; v2.__get__playheadPercentage = function () { if (this._vp[this._activeVP].totalTime == undefined || this._vp[this._activeVP].totalTime == null || this._vp[this._activeVP].totalTime <= 0) { return undefined; } return (this._vp[this._activeVP].playheadTime / this._vp[this._activeVP].totalTime) * 100; }; v2.__set__playheadPercentage = function (percent) { this.seekPercent(percent); return this.__get__playheadPercentage(); }; v2.seekToNavCuePoint = function (timeNameOrCuePoint) { var v3; switch (typeof timeNameOrCuePoint) { case 'string': v3 = {'name': timeNameOrCuePoint}; break; case 'number': v3 = {'time': timeNameOrCuePoint}; break; case 'object': v3 = timeNameOrCuePoint; } if (v3.name == null || v3.name == undefined || typeof v3.name != 'string') { this.seekToNextNavCuePoint(v3.time); return undefined; } if (isNaN(v3.time)) { v3.time = 0; } var v2 = this.findNearestCuePoint(timeNameOrCuePoint, mx.video.FLVPlayback.NAVIGATION); for (;;) { if (!(v2 != null && (v2.time < v3.time || !this.isFLVCuePointEnabled(v2)))) break; v2 = this.findNextCuePointWithName(v2); } if (v2 == null) { throw new mx.video.VideoError(mx.video.VideoError.INVALID_SEEK); } this.seek(v2.time); }; v2.seekToNextNavCuePoint = function (time) { if (this._vp[this._activeVP] == undefined) { return undefined; } if (isNaN(time) || time < 0) { time = this._vp[this._activeVP].playheadTime + 0.001; } var v3; v3 = this.findNearestCuePoint(time, mx.video.FLVPlayback.NAVIGATION); if (v3 == null) { this.seek(this._vp[this._activeVP].totalTime); return undefined; } var v2 = v3.index; if (v3.time < time) { ++v2; } for (;;) { if (!(v2 < v3.array.length && !this.isFLVCuePointEnabled(v3.array[v2]))) break; ++v2; } if (v2 >= v3.array.length) { var v5 = this._vp[this._activeVP].totalTime; if (v3.array[v3.array.length - 1].time > v5) { v5 = v3.array[v3.array.length - 1]; } this.seek(v5); } else { this.seek(v3.array[v2].time); } }; v2.seekToPrevNavCuePoint = function (time) { if (this._vp[this._activeVP] == undefined) { return undefined; } if (isNaN(time) || time < 0) { time = this._vp[this._activeVP].playheadTime; } var v3 = this.findNearestCuePoint(time, mx.video.FLVPlayback.NAVIGATION); if (v3 == null) { this.seek(0); return undefined; } var v2 = v3.index; for (;;) { if (!(v2 >= 0 && (!this.isFLVCuePointEnabled(v3.array[v2]) || v3.array[v2].time >= time - this._seekToPrevOffset))) break; --v2; } if (v2 < 0) { this.seek(0); } else { this.seek(v3.array[v2].time); } }; v2.addASCuePoint = function (timeOrCuePoint, name, parameters) { return this._cpMgr[this._activeVP].addASCuePoint(timeOrCuePoint, name, parameters); }; v2.removeASCuePoint = function (timeNameOrCuePoint) { return this._cpMgr[this._activeVP].removeASCuePoint(timeNameOrCuePoint); }; v2.findCuePoint = function (timeNameOrCuePoint, type) { switch (type) { return this._cpMgr[this._activeVP].getCuePoint(this._cpMgr[this._activeVP].allCuePoints, false, timeNameOrCuePoint); case 'event': return this._cpMgr[this._activeVP].getCuePoint(this._cpMgr[this._activeVP].eventCuePoints, false, timeNameOrCuePoint); case 'navigation': return this._cpMgr[this._activeVP].getCuePoint(this._cpMgr[this._activeVP].navCuePoints, false, timeNameOrCuePoint); case 'flv': return this._cpMgr[this._activeVP].getCuePoint(this._cpMgr[this._activeVP].flvCuePoints, false, timeNameOrCuePoint); case 'actionscript': return this._cpMgr[this._activeVP].getCuePoint(this._cpMgr[this._activeVP].asCuePoints, false, timeNameOrCuePoint); case 'all': } return this._cpMgr[this._activeVP].getCuePoint(this._cpMgr[this._activeVP].allCuePoints, false, timeNameOrCuePoint); }; v2.findNearestCuePoint = function (timeNameOrCuePoint, type) { switch (type) { return this._cpMgr[this._activeVP].getCuePoint(this._cpMgr[this._activeVP].allCuePoints, true, timeNameOrCuePoint); case 'event': return this._cpMgr[this._activeVP].getCuePoint(this._cpMgr[this._activeVP].eventCuePoints, true, timeNameOrCuePoint); case 'navigation': return this._cpMgr[this._activeVP].getCuePoint(this._cpMgr[this._activeVP].navCuePoints, true, timeNameOrCuePoint); case 'flv': return this._cpMgr[this._activeVP].getCuePoint(this._cpMgr[this._activeVP].flvCuePoints, true, timeNameOrCuePoint); case 'actionscript': return this._cpMgr[this._activeVP].getCuePoint(this._cpMgr[this._activeVP].asCuePoints, true, timeNameOrCuePoint); case 'all': } return this._cpMgr[this._activeVP].getCuePoint(this._cpMgr[this._activeVP].allCuePoints, true, timeNameOrCuePoint); }; v2.findNextCuePointWithName = function (cuePoint) { return this._cpMgr[this._activeVP].getNextCuePointWithName(cuePoint); }; v2.setFLVCuePointEnabled = function (enabled, timeNameOrCuePoint) { return this._cpMgr[this._activeVP].setFLVCuePointEnabled(enabled, timeNameOrCuePoint); }; v2.isFLVCuePointEnabled = function (timeNameOrCuePoint) { return this._cpMgr[this._activeVP].isFLVCuePointEnabled(timeNameOrCuePoint); }; v2.getNextHighestDepth = function () { var v2 = super.getNextHighestDepth(); return v2 < 1000 ? 1000 : v2; }; v2.bringVideoPlayerToFront = function (index) { if (index == this._topVP || this._vp[index] == undefined) { return undefined; } this._vp[this._topVP].swapDepths(this._vp[index].getDepth()); this._topVP = index; }; v2.getVideoPlayer = function (index) { return this._vp[index]; }; v2.closeVideoPlayer = function (index) { if (this._vp[index] == undefined) { return undefined; } if (index == 0) { throw new mx.video.VideoError(mx.video.VideoError.DELETE_DEFAULT_PLAYER); } if (this._visibleVP == index) { this.__set__visibleVideoPlayerIndex(0); } if (this._activeVP == index) { this.__set__activeVideoPlayerIndex(0); } this._vp[index].close(); this._vp[index].unloadMovie(); delete this._vp[index]; this._vp[index] = undefined; }; v2.__get__activeVideoPlayerIndex = function () { return this._activeVP; }; v2.__set__activeVideoPlayerIndex = function (i) { if (this._activeVP == i) { return undefined; } if (this._vp[this._activeVP].onEnterFrame != undefined) { this.doContentPathConnect(); } this._activeVP = i; if (this._vp[this._activeVP] == undefined) { this.createVideoPlayer(this._activeVP); this._vp[this._activeVP].visible = false; this._vp[this._activeVP].volume = 0; } return this.__get__activeVideoPlayerIndex(); }; v2.__get__autoPlay = function () { if (this._vpState[this._activeVP] == undefined) { return this._autoPlay; } return this._vpState[this._activeVP].autoPlay; }; v2.__set__autoPlay = function (flag) { if (this._activeVP == 0 || this._activeVP == undefined) { this._autoPlay = flag; } this._vpState[this._activeVP].autoPlay = flag; return this.__get__autoPlay(); }; v2.__get__autoRewind = function () { if (this._vp[this._activeVP] == undefined) { return this._autoRewind; } return this._vp[this._activeVP].autoRewind; }; v2.__set__autoRewind = function (flag) { if (this._activeVP == 0 || this._activeVP == undefined) { this._autoRewind = flag; } this._vp[this._activeVP].autoRewind = flag; return this.__get__autoRewind(); }; v2.__get__autoSize = function () { if (this._vp[this._activeVP] == undefined) { return this._autoSize; } return this._vp[this._activeVP].autoSize; }; v2.__set__autoSize = function (flag) { if (this._activeVP == 0 || this._activeVP == undefined) { this._autoSize = flag; } this._vp[this._activeVP].autoSize = flag; return this.__get__autoSize(); }; v2.__get__bitrate = function () { return (this.__get__ncMgr()).getBitrate(); }; v2.__set__bitrate = function (b) { (this.__get__ncMgr()).setBitrate(b); return this.__get__bitrate(); }; v2.__get__buffering = function () { if (this._vp[this._activeVP] == undefined) { return false; } return this._vp[this._activeVP].state == mx.video.FLVPlayback.BUFFERING; }; v2.__get__bufferingBar = function () { if (this._uiMgr != null && this._uiMgr != undefined) { this._bufferingBar = this._uiMgr.getControl(mx.video.UIManager.BUFFERING_BAR); } return this._bufferingBar; }; v2.__set__bufferingBar = function (s) { this._bufferingBar = s; if (this._uiMgr != null && this._uiMgr != undefined) { this._uiMgr.setControl(mx.video.UIManager.BUFFERING_BAR, s); } return this.__get__bufferingBar(); }; v2.__get__bufferingBarHidesAndDisablesOthers = function () { if (this._uiMgr != null && this._uiMgr != undefined) { this._bufferingBarHides = this._uiMgr.bufferingBarHidesAndDisablesOthers; } return this._bufferingBarHides; }; v2.__set__bufferingBarHidesAndDisablesOthers = function (b) { this._bufferingBarHides = b; if (this._uiMgr != null && this._uiMgr != undefined) { this._uiMgr.__set__bufferingBarHidesAndDisablesOthers(b); } return this.__get__bufferingBarHidesAndDisablesOthers(); }; v2.__get__backButton = function () { if (this._uiMgr != null && this._uiMgr != undefined) { this._backButton = this._uiMgr.getControl(mx.video.UIManager.BACK_BUTTON); } return this._backButton; }; v2.__set__backButton = function (s) { this._backButton = s; if (this._uiMgr != null && this._uiMgr != undefined) { this._uiMgr.setControl(mx.video.UIManager.BACK_BUTTON, s); } return this.__get__backButton(); }; v2.__get__bufferTime = function () { if (this._vp[this._activeVP] == undefined) { return this._bufferTime; } return this._vp[this._activeVP].bufferTime; }; v2.__set__bufferTime = function (aTime) { if (this._activeVP == 0 || this._activeVP == undefined) { this._bufferTime = aTime; } this._vp[this._activeVP].bufferTime = aTime; return this.__get__bufferTime(); }; v2.__get__bytesLoaded = function () { return this._vp[this._activeVP].bytesLoaded; }; v2.__get__bytesTotal = function () { return this._vp[this._activeVP].bytesTotal; }; v2.__get__contentPath = function () { if (this._vp[this._activeVP] == undefined || this._vp[this._activeVP].onEnterFrame != undefined) { return this._contentPath; } return this._vp[this._activeVP].url; }; v2.__set__contentPath = function (url) { if (_global.isLivePreview) { return undefined; } if (this._vp[this._activeVP] == undefined) { if (url == this._contentPath) { return undefined; } this._contentPath = url; } else { if (this._vp[this._activeVP].url == url) { return undefined; } this._vpState[this._activeVP].minProgressPercent = undefined; if (this._vp[this._activeVP].onEnterFrame != undefined) { delete this._vp[this._activeVP].onEnterFrame; this._vp[this._activeVP].onEnterFrame = undefined; } this._cpMgr[this._activeVP].reset(); if (this._vpState[this._activeVP].autoPlay && this._firstStreamShown) { this._vp[this._activeVP].play(url, this._vpState[this._activeVP].isLive, this._vpState[this._activeVP].totalTime); } else { this._vp[this._activeVP].load(url, this._vpState[this._activeVP].isLive, this._vpState[this._activeVP].totalTime); } this._vpState[this._activeVP].isLiveSet = false; this._vpState[this._activeVP].totalTimeSet = false; } return this.__get__contentPath(); }; v2.__set__cuePoints = function (cp) { if (this._cuePoints != undefined) { return undefined; } this._cuePoints = cp; return this.__get__cuePoints(); }; v2.__get__forwardButton = function () { if (this._uiMgr != null && this._uiMgr != undefined) { this._forwardButton = this._uiMgr.getControl(mx.video.UIManager.FORWARD_BUTTON); } return this._forwardButton; }; v2.__set__forwardButton = function (s) { this._forwardButton = s; if (this._uiMgr != null && this._uiMgr != undefined) { this._uiMgr.setControl(mx.video.UIManager.FORWARD_BUTTON, s); } return this.__get__forwardButton(); }; v2.__get__height = function () { if (_global.isLivePreview) { return this.__height; } if (this._vp[this._visibleVP] != undefined) { this.__height = this._vp[this._visibleVP].height; } return this.__height; }; v2.__set__height = function (h) { this.setSize(this.__get__width(), h); return this.__get__height(); }; v2.__get__idleTimeout = function () { if (this._vp[this._activeVP] == undefined) { return this._idleTimeout; } return this._vp[this._activeVP].idleTimeout; }; v2.__set__idleTimeout = function (aTime) { if (this._activeVP == 0 || this._activeVP == undefined) { this._idleTimeout = aTime; } this._vp[this._activeVP].idleTimeout = aTime; return this.__get__idleTimeout(); }; v2.__get__isRTMP = function () { if (_global.isLivePreview) { return true; } if (this._vp[this._activeVP] == undefined) { return undefined; } return this._vp[this._activeVP].isRTMP; }; v2.__get__isLive = function () { if (this._vp[this._activeVP] == undefined) { return this._isLive; } else { if (this._vpState[this._activeVP].isLiveSet) { return this._vpState[this._activeVP].isLive; } else { return this._vp[this._activeVP].isLive; } } }; v2.__set__isLive = function (flag) { if (this._activeVP == 0 || this._activeVP == undefined) { this._isLive = flag; } this._vpState[this._activeVP].isLive = flag; this._vpState[this._activeVP].isLiveSet = true; return this.__get__isLive(); }; v2.__get__maintainAspectRatio = function () { if (this._vp[this._activeVP] == undefined) { return this._aspectRatio; } return this._vp[this._activeVP].maintainAspectRatio; }; v2.__set__maintainAspectRatio = function (flag) { if (this._activeVP == 0 || this._activeVP == undefined) { this._aspectRatio = flag; } this._vp[this._activeVP].maintainAspectRatio = flag; return this.__get__maintainAspectRatio(); }; v2.__get__metadata = function () { if (this._vp[this._activeVP] == undefined) { return null; } return this._vp[this._activeVP].metadata; }; v2.__get__metadataLoaded = function () { if (this._vp[this._activeVP] == undefined) { return false; } return this._cpMgr[this._activeVP].metadataLoaded; }; v2.__get__muteButton = function () { if (this._uiMgr != null && this._uiMgr != undefined) { this._muteButton = this._uiMgr.getControl(mx.video.UIManager.MUTE_BUTTON); } return this._muteButton; }; v2.__set__muteButton = function (s) { this._muteButton = s; if (this._uiMgr != null && this._uiMgr != undefined) { this._uiMgr.setControl(mx.video.UIManager.MUTE_BUTTON, s); } return this.__get__muteButton(); }; v2.__get__ncMgr = function () { if (this._vp[this._activeVP] == undefined) { return null; } return this._vp[this._activeVP].ncMgr; }; v2.__get__pauseButton = function () { if (this._uiMgr != null && this._uiMgr != undefined) { this._pauseButton = this._uiMgr.getControl(mx.video.UIManager.PAUSE_BUTTON); } return this._pauseButton; }; v2.__set__pauseButton = function (s) { this._pauseButton = s; if (this._uiMgr != null && this._uiMgr != undefined) { this._uiMgr.setControl(mx.video.UIManager.PAUSE_BUTTON, s); } return this.__get__pauseButton(); }; v2.__get__paused = function () { if (this._vp[this._activeVP] == undefined) { return false; } return this._vp[this._activeVP].state == mx.video.FLVPlayback.PAUSED; }; v2.__get__playButton = function () { if (this._uiMgr != null && this._uiMgr != undefined) { this._playButton = this._uiMgr.getControl(mx.video.UIManager.PLAY_BUTTON); } return this._playButton; }; v2.__set__playButton = function (s) { this._playButton = s; if (this._uiMgr != null && this._uiMgr != undefined) { this._uiMgr.setControl(mx.video.UIManager.PLAY_BUTTON, s); } return this.__get__playButton(); }; v2.__get__playheadTime = function () { if (this._vp[this._activeVP] == undefined) { return 0; } return this._vp[this._activeVP].playheadTime; }; v2.__set__playheadTime = function (position) { this.seek(position); return this.__get__playheadTime(); }; v2.__get__playheadUpdateInterval = function () { if (this._vp[this._activeVP] == undefined) { return this._playheadUpdateInterval; } return this._vp[this._activeVP].playheadUpdateInterval; }; v2.__set__playheadUpdateInterval = function (aTime) { if (this._activeVP == 0 || this._activeVP == undefined) { this._playheadUpdateInterval = aTime; } this._cpMgr[this._activeVP].playheadUpdateInterval = aTime; this._vp[this._activeVP].playheadUpdateInterval = aTime; return this.__get__playheadUpdateInterval(); }; v2.__get__playing = function () { if (this._vp[this._activeVP] == undefined) { return false; } return this._vp[this._activeVP].state == mx.video.FLVPlayback.PLAYING; }; v2.__get__playPauseButton = function () { if (this._uiMgr != null && this._uiMgr != undefined) { this._playPauseButton = this._uiMgr.getControl(mx.video.UIManager.PLAY_PAUSE_BUTTON); } return this._playPauseButton; }; v2.__set__playPauseButton = function (s) { this._playPauseButton = s; if (this._uiMgr != null && this._uiMgr != undefined) { this._uiMgr.setControl(mx.video.UIManager.PLAY_PAUSE_BUTTON, s); } return this.__get__playPauseButton(); }; v2.__get__preferredHeight = function () { if (this._vp[this._activeVP] == undefined) { return 0; } return this._vp[this._activeVP].videoHeight; }; v2.__get__preferredWidth = function () { if (this._vp[this._activeVP] == undefined) { return 0; } return this._vp[this._activeVP].videoWidth; }; v2.__get__progressInterval = function () { if (this._vp[this._activeVP] == undefined) { return this._progressInterval; } return this._vp[this._activeVP].progressInterval; }; v2.__set__progressInterval = function (aTime) { if (this._activeVP == 0 || this._activeVP == undefined) { this._progressInterval = aTime; } this._vp[this._activeVP].progressInterval = aTime; return this.__get__progressInterval(); }; v2.__get__scaleX = function () { if (this._vp[this._visibleVP] != undefined) { this._scaleX = (this._vp[this._visibleVP].width / this._origWidth) * 100; } return this._scaleX; }; v2.__set__scaleX = function (xs) { this.setScale(xs, this.__get__scaleY()); return this.__get__scaleX(); }; v2.__get__scaleY = function () { if (this._vp[this._visibleVP] != undefined) { this._scaleY = (this._vp[this._visibleVP].height / this._origHeight) * 100; } return this._scaleY; }; v2.__set__scaleY = function (ys) { this.setScale(this.__get__scaleX(), ys); return this.__get__scaleY(); }; v2.__get__scrubbing = function () { var v2 = this.__get__seekBar(); if (v2 == undefined || v2.isDragging == undefined) { return false; } return v2.isDragging; }; v2.__get__seekBar = function () { if (this._uiMgr != null && this._uiMgr != undefined) { this._seekBar = this._uiMgr.getControl(mx.video.UIManager.SEEK_BAR); } return this._seekBar; }; v2.__set__seekBar = function (s) { this._seekBar = s; if (this._uiMgr != null && this._uiMgr != undefined) { this._uiMgr.setControl(mx.video.UIManager.SEEK_BAR, s); } return this.__get__seekBar(); }; v2.__get__seekBarInterval = function () { if (this._uiMgr != null && this._uiMgr != undefined) { this._seekBarInterval = this._uiMgr.seekBarInterval; } return this._seekBarInterval; }; v2.__set__seekBarInterval = function (s) { this._seekBarInterval = s; if (this._uiMgr != null && this._uiMgr != undefined) { this._uiMgr.__set__seekBarInterval(this._seekBarInterval); } return this.__get__seekBarInterval(); }; v2.__get__seekBarScrubTolerance = function () { if (this._uiMgr != null && this._uiMgr != undefined) { this._seekBarScrubTolerance = this._uiMgr.seekBarScrubTolerance; } return this._seekBarScrubTolerance; }; v2.__set__seekBarScrubTolerance = function (s) { this._seekBarScrubTolerance = s; if (this._uiMgr != null && this._uiMgr != undefined) { this._uiMgr.__set__seekBarScrubTolerance(this._seekBarScrubTolerance); } return this.__get__seekBarScrubTolerance(); }; v2.__get__seekToPrevOffset = function () { return this._seekToPrevOffset; }; v2.__set__seekToPrevOffset = function (s) { this._seekToPrevOffset = s; return this.__get__seekToPrevOffset(); }; v2.__get__skin = function () { if (this._uiMgr != null && this._uiMgr != undefined) { this._skin = this._uiMgr.skin; } return this._skin; }; v2.__set__skin = function (s) { this._skin = s; if (this._uiMgr != null && this._uiMgr != undefined) { this._uiMgr.__set__skin(s); } return this.__get__skin(); }; v2.__get__skinAutoHide = function () { if (this._uiMgr != null && this._uiMgr != undefined) { this._skinAutoHide = this._uiMgr.skinAutoHide; } return this._skinAutoHide; }; v2.__set__skinAutoHide = function (b) { if (_global.isLivePreview) { return undefined; } this._skinAutoHide = b; if (this._uiMgr != null && this._uiMgr != undefined) { this._uiMgr.__set__skinAutoHide(b); } return this.__get__skinAutoHide(); }; v2.__get__transform = function () { return this._transform; }; v2.__set__transform = function (s) { this._transform = s; if (this._vp[this._activeVP] != undefined) { this._vp[this._activeVP].transform = this._transform; } return this.__get__transform(); }; v2.__get__state = function () { if (_global.isLivePreview) { return mx.video.FLVPlayback.STOPPED; } if (this._vp[this._activeVP] == undefined) { return mx.video.FLVPlayback.DISCONNECTED; } if (this._activeVP == this._visibleVP && this.__get__scrubbing()) { return mx.video.FLVPlayback.SEEKING; } var v3 = this._vp[this._activeVP].state; if (v3 == mx.video.VideoPlayer.RESIZING) { return mx.video.FLVPlayback.LOADING; } if (this._vpState[this._activeVP].prevState == mx.video.FLVPlayback.LOADING && this._vpState[this._activeVP].autoPlay && v3 == mx.video.FLVPlayback.STOPPED) { return mx.video.FLVPlayback.LOADING; } return v3; }; v2.__get__stateResponsive = function () { if (this._vp[this._activeVP] == undefined) { return false; } return this._vp[this._activeVP].stateResponsive; }; v2.__get__stopButton = function () { if (this._uiMgr != null && this._uiMgr != undefined) { this._stopButton = this._uiMgr.getControl(mx.video.UIManager.STOP_BUTTON); } return this._stopButton; }; v2.__set__stopButton = function (s) { this._stopButton = s; if (this._uiMgr != null && this._uiMgr != undefined) { this._uiMgr.setControl(mx.video.UIManager.STOP_BUTTON, s); } return this.__get__stopButton(); }; v2.__get__stopped = function () { if (this._vp[this._activeVP] == undefined) { return false; } return this._vp[this._activeVP].state == mx.video.FLVPlayback.STOPPED; }; v2.__get__totalTime = function () { if (_global.isLivePreview) { return 1; } if (this._vp[this._activeVP] == undefined) { return this._totalTime; } else { if (this._vpState[this._activeVP].totalTimeSet) { return this._vpState[this._activeVP].totalTime; } else { return this._vp[this._activeVP].totalTime; } } }; v2.__set__totalTime = function (aTime) { if (this._activeVP == 0 || this._activeVP == undefined) { this._totalTime = aTime; } this._vpState[this._activeVP].totalTime = aTime; this._vpState[this._activeVP].totalTimeSet = true; return this.__get__totalTime(); }; v2.__get__visible = function () { return this._visible; }; v2.__set__visible = function (v) { this._visible = v; return this.__get__visible(); }; v2.__get__visibleVideoPlayerIndex = function () { return this._visibleVP; }; v2.__set__visibleVideoPlayerIndex = function (i) { if (this._visibleVP == i) { return undefined; } var v2 = this._visibleVP; if (this._vp[i] == undefined) { this.createVideoPlayer(i); } var v5 = this._vp[i].height != this._vp[this._visibleVP].height || this._vp[i].width != this._vp[this._visibleVP].width; this._vp[this._visibleVP].visible = false; this._vp[this._visibleVP].volume = 0; this._visibleVP = i; if (this._firstStreamShown) { this._uiMgr.setupSkinAutoHide(v2); this._vp[this._visibleVP].visible = true; if (!this.__get__scrubbing()) { this._vp[this._visibleVP].volume = this._volume; } } else { if (this._vp[this._visibleVP].stateResponsive && this._vp[this._visibleVP].state != mx.video.FLVPlayback.DISCONNECTED && this._uiMgr.__get__skinReady()) { this._uiMgr.__set__visible(true); this._uiMgr.setupSkinAutoHide(v2); this._firstStreamReady = true; this.showFirstStream(); } } if (this._vp[v2].height != this._vp[this._visibleVP].height || this._vp[v2].width != this._vp[this._visibleVP].width) { this.dispatchEvent({'type': 'resize', 'x': this.__get__x(), 'y': this.__get__y(), 'width': this.__get__width(), 'height': this.__get__height(), 'auto': false, 'vp': this._visibleVP}); } this._uiMgr.handleEvent({'type': 'stateChange', 'state': this._vp[this._visibleVP].state, 'vp': this._visibleVP}); this._uiMgr.handleEvent({'type': 'playheadUpdate', 'playheadTime': this._vp[this._visibleVP].playheadTime, 'vp': this._visibleVP}); if (this._vp[this._visibleVP].isRTMP) { this._uiMgr.handleEvent({'type': 'ready', 'vp': this._visibleVP}); } else { this._uiMgr.handleEvent({'type': 'progress', 'bytesLoaded': this._vp[this._visibleVP].bytesLoaded, 'bytesTotal': this._vp[this._visibleVP].bytesTotal, 'vp': this._visibleVP}); } return this.__get__visibleVideoPlayerIndex(); }; v2.__get__volume = function () { return this._volume; }; v2.__set__volume = function (aVol) { if (this._volume == aVol) { return undefined; } this._volume = aVol; if (!this.__get__scrubbing()) { this._vp[this._visibleVP].volume = this._volume; } this.dispatchEvent({'type': 'volumeUpdate', 'volume': aVol}); return this.__get__volume(); }; v2.__get__volumeBar = function () { if (this._uiMgr != null && this._uiMgr != undefined) { this._volumeBar = this._uiMgr.getControl(mx.video.UIManager.VOLUME_BAR); } return this._volumeBar; }; v2.__set__volumeBar = function (s) { this._volumeBar = s; if (this._uiMgr != null && this._uiMgr != undefined) { this._uiMgr.setControl(mx.video.UIManager.VOLUME_BAR, s); } return this.__get__volumeBar(); }; v2.__get__volumeBarInterval = function () { if (this._uiMgr != null && this._uiMgr != undefined) { this._volumeBarInterval = this._uiMgr.volumeBarInterval; } return this._volumeBarInterval; }; v2.__set__volumeBarInterval = function (s) { this._volumeBarInterval = s; if (this._uiMgr != null && this._uiMgr != undefined) { this._uiMgr.__set__volumeBarInterval(this._volumeBarInterval); } return this.__get__volumeBarInterval(); }; v2.__get__volumeBarScrubTolerance = function () { if (this._uiMgr != null && this._uiMgr != undefined) { this._volumeBarScrubTolerance = this._uiMgr.volumeBarScrubTolerance; } return this._volumeBarScrubTolerance; }; v2.__set__volumeBarScrubTolerance = function (s) { this._volumeBarScrubTolerance = s; if (this._uiMgr != null && this._uiMgr != undefined) { this._uiMgr.__set__volumeBarScrubTolerance(this._volumeBarScrubTolerance); } return this.__get__volumeBarScrubTolerance(); }; v2.__get__width = function () { if (_global.isLivePreview) { return this.__width; } if (this._vp[this._visibleVP] != undefined) { this.__width = this._vp[this._visibleVP].width; } return this.__width; }; v2.__set__width = function (w) { this.setSize(w, this.__get__height()); return this.__get__width(); }; v2.__get__x = function () { return this._x; }; v2.__set__x = function (xpos) { this._x = xpos; return this.__get__x(); }; v2.__get__y = function () { return this._y; }; v2.__set__y = function (ypos) { this._y = ypos; return this.__get__y(); }; v2.createVideoPlayer = function (index) { if (_global.isLivePreview) { return undefined; } var v4 = this.__get__width(); var v5 = this.__get__height(); this._vp[index] = mx.video.VideoPlayer(this.attachMovie('VideoPlayer', String(index), mx.video.FLVPlayback.VP_DEPTH_OFFSET + index)); this._vp[index].setSize(v4, v5); this._topVP = index; this._vp[index].autoRewind = this._autoRewind; this._vp[index].autoSize = this._autoSize; this._vp[index].bufferTime = this._bufferTime; this._vp[index].idleTimeout = this._idleTimeout; this._vp[index].maintainAspectRatio = this._aspectRatio; this._vp[index].playheadUpdateInterval = this._playheadUpdateInterval; this._vp[index].progressInterval = this._progressInterval; this._vp[index].transform = this._transform; this._vp[index].volume = this._volume; if (index == 0) { this._vpState[index] = {'id': index, 'isLive': this._isLive, 'isLiveSet': true, 'totalTime': this._totalTime, 'totalTimeSet': true, 'autoPlay': this._autoPlay}; if (this._contentPath != null && this._contentPath != undefined && this._contentPath != '') { this._vp[index].onEnterFrame = mx.utils.Delegate.create(this, this.doContentPathConnect); } } else { this._vpState[index] = {'id': index, 'isLive': false, 'isLiveSet': true, 'totalTime': 0, 'totalTimeSet': true, 'autoPlay': false}; } this._vp[index].addEventListener('resize', this); this._vp[index].addEventListener('close', this); this._vp[index].addEventListener('complete', this); this._vp[index].addEventListener('cuePoint', this); this._vp[index].addEventListener('playheadUpdate', this); this._vp[index].addEventListener('progress', this); this._vp[index].addEventListener('metadataReceived', this); this._vp[index].addEventListener('stateChange', this); this._vp[index].addEventListener('ready', this); this._vp[index].addEventListener('rewind', this); this._cpMgr[index] = new mx.video.CuePointManager(this, index); this._cpMgr[index].playheadUpdateInterval = this._playheadUpdateInterval; }; v2.createUIManager = function () { this._uiMgr = new mx.video.UIManager(this); this._uiMgr.__set__visible(false); if (this._backButton != undefined && this._backButton != null) { this._uiMgr.setControl(mx.video.UIManager.BACK_BUTTON, this._backButton); } if (this._bufferingBar != undefined && this._bufferingBar != null) { this._uiMgr.setControl(mx.video.UIManager.BUFFERING_BAR, this._bufferingBar); } this._uiMgr.__set__bufferingBarHidesAndDisablesOthers(this._bufferingBarHides); if (this._forwardButton != undefined && this._forwardButton != null) { this._uiMgr.setControl(mx.video.UIManager.FORWARD_BUTTON, this._forwardButton); } if (this._pauseButton != undefined && this._pauseButton != null) { this._uiMgr.setControl(mx.video.UIManager.PAUSE_BUTTON, this._pauseButton); } if (this._playButton != undefined && this._playButton != null) { this._uiMgr.setControl(mx.video.UIManager.PLAY_BUTTON, this._playButton); } if (this._playPauseButton != undefined && this._playPauseButton != null) { this._uiMgr.setControl(mx.video.UIManager.PLAY_PAUSE_BUTTON, this._playPauseButton); } if (this._stopButton != undefined && this._stopButton != null) { this._uiMgr.setControl(mx.video.UIManager.STOP_BUTTON, this._stopButton); } if (this._seekBar != undefined && this._seekBar != null) { this._uiMgr.setControl(mx.video.UIManager.SEEK_BAR, this._seekBar); } if (this._seekBarInterval != undefined && this._seekBarInterval != null) { this._uiMgr.__set__seekBarInterval(this._seekBarInterval); } if (this._seekBarScrubTolerance != undefined && this._seekBarScrubTolerance != null) { this._uiMgr.__set__seekBarScrubTolerance(this._seekBarScrubTolerance); } if (this._skin != undefined && this._skin != null) { this._uiMgr.__set__skin(this._skin); } if (this._skinAutoHide != undefined && this._skinAutoHide != null) { this._uiMgr.__set__skinAutoHide(this._skinAutoHide); } if (this._muteButton != undefined && this._muteButton != null) { this._uiMgr.setControl(mx.video.UIManager.MUTE_BUTTON, this._muteButton); } if (this._volumeBar != undefined && this._volumeBar != null) { this._uiMgr.setControl(mx.video.UIManager.VOLUME_BAR, this._volumeBar); } if (this._volumeBarInterval != undefined && this._volumeBarInterval != null) { this._uiMgr.__set__volumeBarInterval(this._volumeBarInterval); } if (this._volumeBarScrubTolerance != undefined && this._volumeBarScrubTolerance != null) { this._uiMgr.__set__volumeBarScrubTolerance(this._volumeBarScrubTolerance); } }; v2.createLivePreviewMovieClip = function () { this.preview_mc = this.createEmptyMovieClip('preview_mc', 10); this.preview_mc.createEmptyMovieClip('box_mc', 10); this.preview_mc.box_mc.beginFill(0); this.preview_mc.box_mc.moveTo(0, 0); this.preview_mc.box_mc.lineTo(0, 100); this.preview_mc.box_mc.lineTo(100, 100); this.preview_mc.box_mc.lineTo(100, 0); this.preview_mc.box_mc.lineTo(0, 0); this.preview_mc.box_mc.endFill(); this.preview_mc.attachMovie('Icon', 'icon_mc', 20); }; v2.doContentPathConnect = function () { delete this._vp[0].onEnterFrame; this._vp[0].onEnterFrame = undefined; if (_global.isLivePreview) { return undefined; } if (this._vpState[0].autoPlay && this._firstStreamShown) { this._vp[0].play(this._contentPath, this._isLive, this._totalTime); } else { this._vp[0].load(this._contentPath, this._isLive, this._totalTime); } this._vpState[0].isLiveSet = false; this._vpState[0].totalTimeSet = false; }; v2.showFirstStream = function () { this._firstStreamShown = true; this._vp[this._visibleVP].visible = true; if (!this.__get__scrubbing()) { this._vp[this._visibleVP].volume = this._volume; } var v2 = 0; while (v2 < this._vp.length) { if (this._vp[v2] != undefined && this._vp[v2].state == mx.video.FLVPlayback.STOPPED && this._vpState[v2].autoPlay) { this._vp[v2].play(); } ++v2; } }; v2._scrubStart = function () { var v2 = this.__get__playheadTime(); this._vp[this._visibleVP].volume = 0; this.dispatchEvent({'type': 'stateChange', 'state': mx.video.FLVPlayback.SEEKING, 'playheadTime': v2, 'vp': this._visibleVP}); this.dispatchEvent({'type': 'scrubStart', 'state': mx.video.FLVPlayback.SEEKING, 'playheadTime': v2}); }; v2._scrubFinish = function () { var v3 = this.__get__playheadTime(); var v2 = this.__get__state(); this._vp[this._visibleVP].volume = this._volume; if (v2 != mx.video.FLVPlayback.SEEKING) { this.dispatchEvent({'type': 'stateChange', 'state': v2, 'playheadTime': v3, 'vp': this._visibleVP}); } this.dispatchEvent({'type': 'scrubFinish', 'state': v2, 'playheadTime': v3}); }; v2.skinError = function (message) { if (this._firstStreamReady && !this._firstStreamShown) { this.showFirstStream(); } this.dispatchEvent({'type': 'skinError', 'message': message}); }; v2.skinLoaded = function () { if (this._firstStreamReady) { this._uiMgr.__set__visible(true); if (!this._firstStreamShown) { this.showFirstStream(); } } else { if (this._contentPath == undefined || this._contentPath == null || this._contentPath == '') { this._uiMgr.__set__visible(true); } } this.dispatchEvent({'type': 'skinLoaded'}); }; v1.version = '1.0.0.103'; v1.DISCONNECTED = 'disconnected'; v1.STOPPED = 'stopped'; v1.PLAYING = 'playing'; v1.PAUSED = 'paused'; v1.BUFFERING = 'buffering'; v1.LOADING = 'loading'; v1.CONNECTION_ERROR = 'connectionError'; v1.REWINDING = 'rewinding'; v1.SEEKING = 'seeking'; v1.ALL = 'all'; v1.EVENT = 'event'; v1.NAVIGATION = 'navigation'; v1.FLV = 'flv'; v1.ACTIONSCRIPT = 'actionscript'; v1.VP_DEPTH_OFFSET = 100; v1.SEEK_TO_PREV_OFFSET_DEFAULT = 1; v2.addProperty('activeVideoPlayerIndex', v2.__get__activeVideoPlayerIndex, v2.__set__activeVideoPlayerIndex); v2.addProperty('autoPlay', v2.__get__autoPlay, v2.__set__autoPlay); v2.addProperty('autoRewind', v2.__get__autoRewind, v2.__set__autoRewind); v2.addProperty('autoSize', v2.__get__autoSize, v2.__set__autoSize); v2.addProperty('backButton', v2.__get__backButton, v2.__set__backButton); v2.addProperty('bitrate', v2.__get__bitrate, v2.__set__bitrate); v2.addProperty('bufferTime', v2.__get__bufferTime, v2.__set__bufferTime); v2.addProperty('buffering', v2.__get__buffering, function () {}); v2.addProperty('bufferingBar', v2.__get__bufferingBar, v2.__set__bufferingBar); v2.addProperty('bufferingBarHidesAndDisablesOthers', v2.__get__bufferingBarHidesAndDisablesOthers, v2.__set__bufferingBarHidesAndDisablesOthers); v2.addProperty('bytesLoaded', v2.__get__bytesLoaded, function () {}); v2.addProperty('bytesTotal', v2.__get__bytesTotal, function () {}); v2.addProperty('contentPath', v2.__get__contentPath, v2.__set__contentPath); v2.addProperty('cuePoints', function () {}, v2.__set__cuePoints); v2.addProperty('forwardButton', v2.__get__forwardButton, v2.__set__forwardButton); v2.addProperty('height', v2.__get__height, v2.__set__height); v2.addProperty('idleTimeout', v2.__get__idleTimeout, v2.__set__idleTimeout); v2.addProperty('isLive', v2.__get__isLive, v2.__set__isLive); v2.addProperty('isRTMP', v2.__get__isRTMP, function () {}); v2.addProperty('maintainAspectRatio', v2.__get__maintainAspectRatio, v2.__set__maintainAspectRatio); v2.addProperty('metadata', v2.__get__metadata, function () {}); v2.addProperty('metadataLoaded', v2.__get__metadataLoaded, function () {}); v2.addProperty('muteButton', v2.__get__muteButton, v2.__set__muteButton); v2.addProperty('ncMgr', v2.__get__ncMgr, function () {}); v2.addProperty('pauseButton', v2.__get__pauseButton, v2.__set__pauseButton); v2.addProperty('paused', v2.__get__paused, function () {}); v2.addProperty('playButton', v2.__get__playButton, v2.__set__playButton); v2.addProperty('playPauseButton', v2.__get__playPauseButton, v2.__set__playPauseButton); v2.addProperty('playheadPercentage', v2.__get__playheadPercentage, v2.__set__playheadPercentage); v2.addProperty('playheadTime', v2.__get__playheadTime, v2.__set__playheadTime); v2.addProperty('playheadUpdateInterval', v2.__get__playheadUpdateInterval, v2.__set__playheadUpdateInterval); v2.addProperty('playing', v2.__get__playing, function () {}); v2.addProperty('preferredHeight', v2.__get__preferredHeight, function () {}); v2.addProperty('preferredWidth', v2.__get__preferredWidth, function () {}); v2.addProperty('progressInterval', v2.__get__progressInterval, v2.__set__progressInterval); v2.addProperty('scaleX', v2.__get__scaleX, v2.__set__scaleX); v2.addProperty('scaleY', v2.__get__scaleY, v2.__set__scaleY); v2.addProperty('scrubbing', v2.__get__scrubbing, function () {}); v2.addProperty('seekBar', v2.__get__seekBar, v2.__set__seekBar); v2.addProperty('seekBarInterval', v2.__get__seekBarInterval, v2.__set__seekBarInterval); v2.addProperty('seekBarScrubTolerance', v2.__get__seekBarScrubTolerance, v2.__set__seekBarScrubTolerance); v2.addProperty('seekToPrevOffset', v2.__get__seekToPrevOffset, v2.__set__seekToPrevOffset); v2.addProperty('skin', v2.__get__skin, v2.__set__skin); v2.addProperty('skinAutoHide', v2.__get__skinAutoHide, v2.__set__skinAutoHide); v2.addProperty('state', v2.__get__state, function () {}); v2.addProperty('stateResponsive', v2.__get__stateResponsive, function () {}); v2.addProperty('stopButton', v2.__get__stopButton, v2.__set__stopButton); v2.addProperty('stopped', v2.__get__stopped, function () {}); v2.addProperty('totalTime', v2.__get__totalTime, v2.__set__totalTime); v2.addProperty('transform', v2.__get__transform, v2.__set__transform); v2.addProperty('visible', v2.__get__visible, v2.__set__visible); v2.addProperty('visibleVideoPlayerIndex', v2.__get__visibleVideoPlayerIndex, v2.__set__visibleVideoPlayerIndex); v2.addProperty('volume', v2.__get__volume, v2.__set__volume); v2.addProperty('volumeBar', v2.__get__volumeBar, v2.__set__volumeBar); v2.addProperty('volumeBarInterval', v2.__get__volumeBarInterval, v2.__set__volumeBarInterval); v2.addProperty('volumeBarScrubTolerance', v2.__get__volumeBarScrubTolerance, v2.__set__volumeBarScrubTolerance); v2.addProperty('width', v2.__get__width, v2.__set__width); v2.addProperty('x', v2.__get__x, v2.__set__x); v2.addProperty('y', v2.__get__y, v2.__set__y); ASSetPropFlags(mx.video.FLVPlayback.prototype, null, 1); } #endinitclip } movieClip 10 __Packages.mx.video.VideoPlayer { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.video) { _global.mx.video = new Object(); } if (!_global.mx.video.VideoPlayer) { var v1 = function () { super(); mx.events.EventDispatcher.initialize(this); this._state = mx.video.VideoPlayer.DISCONNECTED; this._cachedState = this._state; this._bufferState = mx.video.VideoPlayer.BUFFER_EMPTY; this._cachedPlayheadTime = 0; this._metadata = null; this._startingPlay = false; this._invalidSeekTime = false; this._invalidSeekRecovery = false; this._currentPos = 0; this._atEnd = false; this._cmdQueue = new Array(); this._readyDispatched = false; this._autoResizeDone = false; this._lastUpdateTime = -1; this._sawSeekNotify = false; this._updateTimeIntervalID = 0; this._updateTimeInterval = mx.video.VideoPlayer.DEFAULT_UPDATE_TIME_INTERVAL; this._updateProgressIntervalID = 0; this._updateProgressInterval = mx.video.VideoPlayer.DEFAULT_UPDATE_PROGRESS_INTERVAL; this._idleTimeoutIntervalID = 0; this._idleTimeoutInterval = mx.video.VideoPlayer.DEFAULT_IDLE_TIMEOUT_INTERVAL; this._autoResizeIntervalID = 0; this._rtmpDoStopAtEndIntervalID = 0; this._rtmpDoSeekIntervalID = 0; this._httpDoSeekIntervalID = 0; this._httpDoSeekCount = 0; this._finishAutoResizeIntervalID = 0; this._delayedBufferingIntervalID = 0; this._delayedBufferingInterval = mx.video.VideoPlayer.HTTP_DELAYED_BUFFERING_INTERVAL; if (this._isLive == undefined) { this._isLive = false; } if (this._autoSize == undefined) { this._autoSize = false; } if (this._aspectRatio == undefined) { this._aspectRatio = true; } if (this._autoPlay == undefined) { this._autoPlay = true; } if (this._autoRewind == undefined) { this._autoRewind = true; } if (this._bufferTime == undefined) { this._bufferTime = 0.1; } if (this._volume == undefined) { this._volume = 100; } this._sound = new Sound(this); this._sound.setVolume(this._volume); this.__visible = true; this._hiddenForResize = false; this._hiddenForResizeMetadataDelay = 0; this._contentPath = ''; }; mx.video.VideoPlayer = v1; mx.video.VideoPlayer extends MovieClip; var v2 = v1.prototype; v2.setSize = function (w, h) { if (w == this._video._width && h == this._video._height || this._autoSize) { return undefined; } this._video._width = w; this._video._height = h; if (this._aspectRatio) { this.startAutoResize(); } }; v2.setScale = function (xs, ys) { if (xs == this._video._xscale && ys == this._video._yscale || this._autoSize) { return undefined; } this._video._xscale = xs; this._video._yscale = ys; if (this._aspectRatio) { this.startAutoResize(); } }; v2.play = function (url, isLive, totalTime) { if (url != null && url != undefined) { if (this._state == mx.video.VideoPlayer.EXEC_QUEUED_CMD) { this._state = this._cachedState; } else { if (!this.__get__stateResponsive()) { this.queueCmd(mx.video.VideoPlayer.PLAY, url, isLive, totalTime); return undefined; } else { this.execQueuedCmds(); } } this._autoPlay = true; this._load(url, isLive, totalTime); return undefined; } if (!this.isXnOK()) { if (this._state == mx.video.VideoPlayer.CONNECTION_ERROR || this._ncMgr == null || this._ncMgr == undefined || this._ncMgr.getNetConnection() == null || this._ncMgr.getNetConnection() == undefined) { throw new mx.video.VideoError(mx.video.VideoError.NO_CONNECTION); } else { this.flushQueuedCmds(); this.queueCmd(mx.video.VideoPlayer.PLAY); this.setState(mx.video.VideoPlayer.LOADING); this._cachedState = mx.video.VideoPlayer.LOADING; this._ncMgr.reconnect(); return undefined; } } else { if (this._state == mx.video.VideoPlayer.EXEC_QUEUED_CMD) { this._state = this._cachedState; } else { if (!this.__get__stateResponsive()) { this.queueCmd(mx.video.VideoPlayer.PLAY); return undefined; } else { this.execQueuedCmds(); } } } if (this._ns == null || this._ns == undefined) { this._createStream(); this._video.attachVideo(this._ns); this.attachAudio(this._ns); } switch (this._state) { case mx.video.VideoPlayer.BUFFERING: if (this._ncMgr.isRTMP()) { this._play(0); if (this._atEnd) { this._atEnd = false; this._currentPos = 0; this.setState(mx.video.VideoPlayer.REWINDING); } else { if (this._currentPos > 0) { this._seek(this._currentPos); this._currentPos = 0; } } } case mx.video.VideoPlayer.PLAYING: return undefined; case mx.video.VideoPlayer.STOPPED: if (this._ncMgr.isRTMP()) { if (this._isLive) { this._play(-1); this.setState(mx.video.VideoPlayer.BUFFERING); } else { this._play(0); if (this._atEnd) { this._atEnd = false; this._currentPos = 0; this._state = mx.video.VideoPlayer.BUFFERING; this.setState(mx.video.VideoPlayer.REWINDING); } else { if (this._currentPos > 0) { this._seek(this._currentPos); this._currentPos = 0; this.setState(mx.video.VideoPlayer.BUFFERING); } else { this.setState(mx.video.VideoPlayer.BUFFERING); } } } } else { this._pause(false); if (this._atEnd) { this._atEnd = false; this._seek(0); this._state = mx.video.VideoPlayer.BUFFERING; this.setState(mx.video.VideoPlayer.REWINDING); } else { if (this._bufferState == mx.video.VideoPlayer.BUFFER_EMPTY) { this.setState(mx.video.VideoPlayer.BUFFERING); } else { this.setState(mx.video.VideoPlayer.PLAYING); } } } break; case mx.video.VideoPlayer.PAUSED: this._pause(false); if (!this._ncMgr.isRTMP()) { if (this._bufferState == mx.video.VideoPlayer.BUFFER_EMPTY) { this.setState(mx.video.VideoPlayer.BUFFERING); } else { this.setState(mx.video.VideoPlayer.PLAYING); } } else { this.setState(mx.video.VideoPlayer.BUFFERING); } } }; v2.load = function (url, isLive, totalTime) { if (url == null || url == undefined) { throw new Error('null url sent to VideoPlayer.load'); } if (this._state == mx.video.VideoPlayer.EXEC_QUEUED_CMD) { this._state = this._cachedState; } else { if (!this.__get__stateResponsive()) { this.queueCmd(mx.video.VideoPlayer.LOAD, url, isLive, totalTime); return undefined; } else { this.execQueuedCmds(); } } this._autoPlay = false; this._load(url, isLive, totalTime); }; v2._load = function (url, isLive, totalTime) { this._prevVideoWidth = this.videoWidth; if (this._prevVideoWidth == undefined) { this._prevVideoWidth = this._video.width; if (this._prevVideoWidth == undefined) { this._prevVideoWidth = 0; } } this._prevVideoHeight = this.videoHeight; if (this._prevVideoHeight == undefined) { this._prevVideoHeight = this._video.height; if (this._prevVideoHeight == undefined) { this._prevVideoHeight = 0; } } this._autoResizeDone = false; this._cachedPlayheadTime = 0; this._bufferState = mx.video.VideoPlayer.BUFFER_EMPTY; this._metadata = null; this._startingPlay = false; this._invalidSeekTime = false; this._invalidSeekRecovery = false; this._isLive = (isLive == undefined) ? false : isLive; this._contentPath = url; this._currentPos = 0; this._streamLength = totalTime; this._atEnd = false; this._videoWidth = undefined; this._videoHeight = undefined; this._readyDispatched = false; this._lastUpdateTime = -1; this._sawSeekNotify = false; clearInterval(this._updateTimeIntervalID); this._updateTimeIntervalID = 0; clearInterval(this._updateProgressIntervalID); this._updateProgressIntervalID = 0; clearInterval(this._idleTimeoutIntervalID); this._idleTimeoutIntervalID = 0; clearInterval(this._autoResizeIntervalID); this._autoResizeIntervalID = 0; clearInterval(this._rtmpDoStopAtEndIntervalID); this._rtmpDoStopAtEndIntervalID = 0; clearInterval(this._rtmpDoSeekIntervalID); this._rtmpDoSeekIntervalID = 0; clearInterval(this._httpDoSeekIntervalID); this._httpDoSeekIntervalID = 0; clearInterval(this._finishAutoResizeIntervalID); this._finishAutoResizeIntervalID = 0; clearInterval(this._delayedBufferingIntervalID); this._delayedBufferingIntervalID = 0; this.closeNS(false); if (this._ncMgr == null || this._ncMgr == undefined) { this.createINCManager(); } var v2 = this._ncMgr.connectToURL(this._contentPath); this.setState(mx.video.VideoPlayer.LOADING); this._cachedState = mx.video.VideoPlayer.LOADING; if (v2) { this._createStream(); this._setUpStream(); } if (!this._ncMgr.isRTMP()) { clearInterval(this._updateProgressIntervalID); this._updateProgressIntervalID = setInterval(this, 'doUpdateProgress', this._updateProgressInterval); } }; v2.pause = function () { if (!this.isXnOK()) { if (this._state == mx.video.VideoPlayer.CONNECTION_ERROR || this._ncMgr == null || this._ncMgr == undefined || this._ncMgr.getNetConnection() == null || this._ncMgr.getNetConnection() == undefined) { throw new mx.video.VideoError(mx.video.VideoError.NO_CONNECTION); } else { return undefined; } } else { if (this._state == mx.video.VideoPlayer.EXEC_QUEUED_CMD) { this._state = this._cachedState; } else { if (!this.__get__stateResponsive()) { this.queueCmd(mx.video.VideoPlayer.PAUSE); return undefined; } else { this.execQueuedCmds(); } } } if (this._state == mx.video.VideoPlayer.PAUSED || this._state == mx.video.VideoPlayer.STOPPED || this._ns == null || this._ns == undefined) { return undefined; } this._pause(true); this.setState(mx.video.VideoPlayer.PAUSED); }; v2.stop = function () { if (!this.isXnOK()) { if (this._state == mx.video.VideoPlayer.CONNECTION_ERROR || this._ncMgr == null || this._ncMgr == undefined || this._ncMgr.getNetConnection() == null || this._ncMgr.getNetConnection() == undefined) { throw new mx.video.VideoError(mx.video.VideoError.NO_CONNECTION); } else { return undefined; } } else { if (this._state == mx.video.VideoPlayer.EXEC_QUEUED_CMD) { this._state = this._cachedState; } else { if (!this.__get__stateResponsive()) { this.queueCmd(mx.video.VideoPlayer.STOP); return undefined; } else { this.execQueuedCmds(); } } } if (this._state == mx.video.VideoPlayer.STOPPED || this._ns == null || this._ns == undefined) { return undefined; } if (this._ncMgr.isRTMP()) { if (this._autoRewind && !this._isLive) { this._currentPos = 0; this._play(0, 0); this._state = mx.video.VideoPlayer.STOPPED; this.setState(mx.video.VideoPlayer.REWINDING); } else { this.closeNS(true); this.setState(mx.video.VideoPlayer.STOPPED); } } else { this._pause(true); if (this._autoRewind) { this._seek(0); this._state = mx.video.VideoPlayer.STOPPED; this.setState(mx.video.VideoPlayer.REWINDING); } else { this.setState(mx.video.VideoPlayer.STOPPED); } } }; v2.seek = function (time) { if (this._invalidSeekTime) { return undefined; } if (isNaN(time) || time < 0) { throw new mx.video.VideoError(mx.video.VideoError.INVALID_SEEK); } if (!this.isXnOK()) { if (this._state == mx.video.VideoPlayer.CONNECTION_ERROR || this._ncMgr == null || this._ncMgr == undefined || this._ncMgr.getNetConnection() == null || this._ncMgr.getNetConnection() == undefined) { throw new mx.video.VideoError(mx.video.VideoError.NO_CONNECTION); } else { this.flushQueuedCmds(); this.queueCmd(mx.video.VideoPlayer.SEEK, null, false, time); this.setState(mx.video.VideoPlayer.LOADING); this._cachedState = mx.video.VideoPlayer.LOADING; this._ncMgr.reconnect(); return undefined; } } else { if (this._state == mx.video.VideoPlayer.EXEC_QUEUED_CMD) { this._state = this._cachedState; } else { if (!this.__get__stateResponsive()) { this.queueCmd(mx.video.VideoPlayer.SEEK, null, false, time); return undefined; } else { this.execQueuedCmds(); } } } if (this._ns == null || this._ns == undefined) { this._createStream(); this._video.attachVideo(this._ns); this.attachAudio(this._ns); } if (this._atEnd && time < this.__get__playheadTime()) { this._atEnd = false; } switch (this._state) { case mx.video.VideoPlayer.PLAYING: this._state = mx.video.VideoPlayer.BUFFERING; case mx.video.VideoPlayer.BUFFERING: case mx.video.VideoPlayer.PAUSED: this._seek(time); this.setState(mx.video.VideoPlayer.SEEKING); break; case mx.video.VideoPlayer.STOPPED: if (this._ncMgr.isRTMP()) { this._play(0); this._pause(true); } this._seek(time); this._state = mx.video.VideoPlayer.PAUSED; this.setState(mx.video.VideoPlayer.SEEKING); } }; v2.close = function () { this.closeNS(true); if (this._ncMgr != null && this._ncMgr != undefined && this._ncMgr.isRTMP()) { this._ncMgr.close(); } this.setState(mx.video.VideoPlayer.DISCONNECTED); this.dispatchEvent({'type': 'close', 'state': this._state, 'playheadTime': this.__get__playheadTime()}); }; v2.__get__x = function () { return this._x; }; v2.__set__x = function (xpos) { this._x = xpos; return this.__get__x(); }; v2.__get__y = function () { return this._y; }; v2.__set__y = function (ypos) { this._y = ypos; return this.__get__y(); }; v2.__get__scaleX = function () { return this._video._xscale; }; v2.__set__scaleX = function (xs) { this.setScale(xs, this.__get__scaleY()); return this.__get__scaleX(); }; v2.__get__scaleY = function () { return this._video._yscale; }; v2.__set__scaleY = function (ys) { this.setScale(this.__get__scaleX(), ys); return this.__get__scaleY(); }; v2.__get__width = function () { return this._video._width; }; v2.__set__width = function (w) { this.setSize(w, this._video._height); return this.__get__width(); }; v2.__get__height = function () { return this._video._height; }; v2.__set__height = function (h) { this.setSize(this._video._width, h); return this.__get__height(); }; v2.__get__videoWidth = function () { if (this._readyDispatched) { this._videoWidth = this._video.width; } return this._videoWidth; }; v2.__get__videoHeight = function () { if (this._readyDispatched) { this._videoHeight = this._video.height; } return this._videoHeight; }; v2.__get__visible = function () { if (!this._hiddenForResize) { this.__visible = this._visible; } return this.__visible; }; v2.__set__visible = function (v) { this.__visible = v; if (!this._hiddenForResize) { this._visible = this.__visible; } return this.__get__visible(); }; v2.__get__autoSize = function () { return this._autoSize; }; v2.__set__autoSize = function (flag) { if (this._autoSize != flag) { this._autoSize = flag; if (this._autoSize) { this.startAutoResize(); } } return this.__get__autoSize(); }; v2.__get__maintainAspectRatio = function () { return this._aspectRatio; }; v2.__set__maintainAspectRatio = function (flag) { if (this._aspectRatio != flag) { this._aspectRatio = flag; if (this._aspectRatio && !this._autoSize) { this.startAutoResize(); } } return this.__get__maintainAspectRatio(); }; v2.__get__autoRewind = function () { return this._autoRewind; }; v2.__set__autoRewind = function (flag) { this._autoRewind = flag; return this.__get__autoRewind(); }; v2.__get__playheadTime = function () { var v2 = (this._ns == null || this._ns == undefined) ? this._currentPos : this._ns.time; if (this._metadata.audiodelay != undefined) { v2 -= this._metadata.audiodelay; if (v2 < 0) { v2 = 0; } } return v2; }; v2.__set__playheadTime = function (position) { this.seek(position); return this.__get__playheadTime(); }; v2.__get__url = function () { return this._contentPath; }; v2.__get__volume = function () { return this._volume; }; v2.__set__volume = function (aVol) { this._volume = aVol; if (!this._hiddenForResize) { this._sound.setVolume(this._volume); } return this.__get__volume(); }; v2.__get__transform = function () { return this._sound.getTransform(); }; v2.__set__transform = function (s) { this._sound.setTransform(s); return this.__get__transform(); }; v2.__get__isRTMP = function () { if (this._ncMgr == null || this._ncMgr == undefined) { return undefined; } return this._ncMgr.isRTMP(); }; v2.__get__isLive = function () { return this._isLive; }; v2.__get__state = function () { return this._state; }; v2.__get__stateResponsive = function () { switch (this._state) { return false; case mx.video.VideoPlayer.DISCONNECTED: case mx.video.VideoPlayer.STOPPED: case mx.video.VideoPlayer.PLAYING: case mx.video.VideoPlayer.PAUSED: case mx.video.VideoPlayer.BUFFERING: return true; } return false; }; v2.__get__bytesLoaded = function () { if (this._ns == null || this._ns == undefined || this._ncMgr.isRTMP()) { return -1; } return this._ns.bytesLoaded; }; v2.__get__bytesTotal = function () { if (this._ns == null || this._ns == undefined || this._ncMgr.isRTMP()) { return -1; } return this._ns.bytesTotal; }; v2.__get__totalTime = function () { return this._streamLength; }; v2.__get__bufferTime = function () { return this._bufferTime; }; v2.__set__bufferTime = function (aTime) { this._bufferTime = aTime; if (this._ns != null && this._ns != undefined) { this._ns.setBufferTime(this._bufferTime); } return this.__get__bufferTime(); }; v2.__get__idleTimeout = function () { return this._idleTimeoutInterval; }; v2.__set__idleTimeout = function (aTime) { this._idleTimeoutInterval = aTime; if (this._idleTimeoutIntervalID > 0) { clearInterval(this._idleTimeoutIntervalID); this._idleTimeoutIntervalID = setInterval(this, 'doIdleTimeout', this._idleTimeoutInterval); } return this.__get__idleTimeout(); }; v2.__get__playheadUpdateInterval = function () { return this._updateTimeInterval; }; v2.__set__playheadUpdateInterval = function (aTime) { this._updateTimeInterval = aTime; if (this._updateTimeIntervalID > 0) { clearInterval(this._updateTimeIntervalID); this._updateTimeIntervalID = setInterval(this, 'doUpdateTime', this._updateTimeInterval); } return this.__get__playheadUpdateInterval(); }; v2.__get__progressInterval = function () { return this._updateProgressInterval; }; v2.__set__progressInterval = function (aTime) { this._updateProgressInterval = aTime; if (this._updateProgressIntervalID > 0) { clearInterval(this._updateProgressIntervalID); this._updateProgressIntervalID = setInterval(this, 'doUpdateProgress', this._updateProgressInterval); } return this.__get__progressInterval(); }; v2.__get__ncMgr = function () { if (this._ncMgr == null || this._ncMgr == undefined) { this.createINCManager(); } return this._ncMgr; }; v2.__get__metadata = function () { return this._metadata; }; v2.doUpdateTime = function () { var v2 = this.__get__playheadTime(); switch (this._state) { if (this._state !== mx.video.VideoPlayer.CONNECTION_ERROR) { } else { case mx.video.VideoPlayer.STOPPED: case mx.video.VideoPlayer.PAUSED: case mx.video.VideoPlayer.DISCONNECTED: clearInterval(this._updateTimeIntervalID); this._updateTimeIntervalID = 0; } } if (this._lastUpdateTime != v2) { this.dispatchEvent({'type': 'playheadUpdate', 'state': this._state, 'playheadTime': v2}); this._lastUpdateTime = v2; } }; v2.doUpdateProgress = function () { if (this._ns == null || this._ns == undefined) { return undefined; } if (this._ns.bytesTotal >= 0) { this.dispatchEvent({'type': 'progress', 'bytesLoaded': this._ns.bytesLoaded, 'bytesTotal': this._ns.bytesTotal}); } if (this._state == mx.video.VideoPlayer.DISCONNECTED || this._state == mx.video.VideoPlayer.CONNECTION_ERROR || this._ns.bytesLoaded == this._ns.bytesTotal) { clearInterval(this._updateProgressIntervalID); this._updateProgressIntervalID = 0; } }; v2.rtmpOnStatus = function (info) { if (this._state == mx.video.VideoPlayer.CONNECTION_ERROR) { return undefined; } switch (info.code) { case 'NetStream.Play.Stop': if (this._startingPlay) { return undefined; } switch (this._state) { case mx.video.VideoPlayer.RESIZING: if (this._hiddenForResize) { this.finishAutoResize(); } break; case mx.video.VideoPlayer.LOADING: case mx.video.VideoPlayer.STOPPED: break; case mx.video.VideoPlayer.PAUSED: default: if (this._bufferState == mx.video.VideoPlayer.BUFFER_EMPTY || this._bufferTime <= 0.1) { this._cachedPlayheadTime = this.playheadTime; clearInterval(this._rtmpDoStopAtEndIntervalID); this._rtmpDoStopAtEndIntervalID = setInterval(this, 'rtmpDoStopAtEnd', mx.video.VideoPlayer.RTMP_DO_STOP_AT_END_INTERVAL); } else { if (this._bufferState == mx.video.VideoPlayer.BUFFER_FULL) { this._bufferState = mx.video.VideoPlayer.BUFFER_FULL_SAW_PLAY_STOP; } else {} } } break; case 'NetStream.Buffer.Empty': switch (this._bufferState) { case mx.video.VideoPlayer.BUFFER_FULL_SAW_PLAY_STOP: this.rtmpDoStopAtEnd(true); break; case mx.video.VideoPlayer.BUFFER_FULL: if (this._state == mx.video.VideoPlayer.PLAYING) { this.setState(mx.video.VideoPlayer.BUFFERING); } break; default: } this._bufferState = mx.video.VideoPlayer.BUFFER_EMPTY; break; case 'NetStream.Buffer.Flush': case 'NetStream.Buffer.Full': if (this._sawSeekNotify && this._state == mx.video.VideoPlayer.SEEKING) { this._bufferState = mx.video.VideoPlayer.BUFFER_EMPTY; this.setStateFromCachedState(); this.doUpdateTime(); } switch (this._bufferState) { case mx.video.VideoPlayer.BUFFER_EMPTY: if (!this._hiddenForResize) { if (this._state == mx.video.VideoPlayer.LOADING && this._cachedState == mx.video.VideoPlayer.PLAYING || this._state == mx.video.VideoPlayer.BUFFERING) { this.setState(mx.video.VideoPlayer.PLAYING); } else { if (this._cachedState == mx.video.VideoPlayer.BUFFERING) { this._cachedState = mx.video.VideoPlayer.PLAYING; } } } this._bufferState = mx.video.VideoPlayer.BUFFER_FULL; break; default: } break; case 'NetStream.Pause.Notify': if (this._state == mx.video.VideoPlayer.RESIZING && this._hiddenForResize) { this.finishAutoResize(); } break; case 'NetStream.Play.Start': clearInterval(this._rtmpDoStopAtEndIntervalID); this._rtmpDoStopAtEndIntervalID = 0; this._bufferState = mx.video.VideoPlayer.BUFFER_EMPTY; if (this._startingPlay) { this._startingPlay = false; this._cachedPlayheadTime = this.playheadTime; } else { if (this._state == mx.video.VideoPlayer.PLAYING) { this.setState(mx.video.VideoPlayer.BUFFERING); } } break; case 'NetStream.Play.Reset': clearInterval(this._rtmpDoStopAtEndIntervalID); this._rtmpDoStopAtEndIntervalID = 0; if (this._state == mx.video.VideoPlayer.REWINDING) { clearInterval(this._rtmpDoSeekIntervalID); this._rtmpDoSeekIntervalID = 0; if (this.__get__playheadTime() == 0 || this.__get__playheadTime() < this._cachedPlayheadTime) { this.setStateFromCachedState(); } else { this._cachedPlayheadTime = this.playheadTime; this._rtmpDoSeekIntervalID = setInterval(this, 'rtmpDoSeek', mx.video.VideoPlayer.RTMP_DO_SEEK_INTERVAL); } } break; case 'NetStream.Seek.Notify': if (this.__get__playheadTime() != this._cachedPlayheadTime) { this.setStateFromCachedState(); this.doUpdateTime(); } else { this._sawSeekNotify = true; if (this._rtmpDoSeekIntervalID == 0) { this._rtmpDoSeekIntervalID = setInterval(this, 'rtmpDoSeek', mx.video.VideoPlayer.RTMP_DO_SEEK_INTERVAL); } } break; break; case 'Netstream.Play.UnpublishNotify': break; case 'Netstream.Play.PublishNotify': case 'NetStream.Play.StreamNotFound': if (!this._ncMgr.connectAgain()) { this.setState(mx.video.VideoPlayer.CONNECTION_ERROR); } break; case 'NetStream.Play.Failed': case 'NetStream.Failed': this.setState(mx.video.VideoPlayer.CONNECTION_ERROR); } }; v2.httpOnStatus = function (info) { switch (info.code) { case 'NetStream.Play.Stop': clearInterval(this._delayedBufferingIntervalID); this._delayedBufferingIntervalID = 0; if (this._invalidSeekTime) { this._invalidSeekTime = false; this._invalidSeekRecovery = true; this.setState(this._cachedState); this.seek(this.__get__playheadTime()); } else { switch (this._state) { if (this._state !== mx.video.VideoPlayer.SEEKING) { } else { case mx.video.VideoPlayer.PLAYING: case mx.video.VideoPlayer.BUFFERING: this.httpDoStopAtEnd(); } } } break; case 'NetStream.Seek.InvalidTime': if (this._invalidSeekRecovery) { this._invalidSeekTime = false; this._invalidSeekRecovery = false; this.setState(this._cachedState); this.seek(0); } else { this._invalidSeekTime = true; } break; case 'NetStream.Buffer.Empty': this._bufferState = mx.video.VideoPlayer.BUFFER_EMPTY; if (this._state == mx.video.VideoPlayer.PLAYING) { clearInterval(this._delayedBufferingIntervalID); this._delayedBufferingIntervalID = setInterval(this, 'doDelayedBuffering', this._delayedBufferingInterval); } break; case 'NetStream.Buffer.Full': case 'NetStream.Buffer.Flush': clearInterval(this._delayedBufferingIntervalID); this._delayedBufferingIntervalID = 0; this._bufferState = mx.video.VideoPlayer.BUFFER_FULL; if (!this._hiddenForResize) { if (this._state == mx.video.VideoPlayer.LOADING && this._cachedState == mx.video.VideoPlayer.PLAYING || this._state == mx.video.VideoPlayer.BUFFERING) { this.setState(mx.video.VideoPlayer.PLAYING); } else { if (this._cachedState == mx.video.VideoPlayer.BUFFERING) { this._cachedState = mx.video.VideoPlayer.PLAYING; } } } break; case 'NetStream.Seek.Notify': this._invalidSeekRecovery = false; switch (this._state) { if (this._state !== mx.video.VideoPlayer.REWINDING) { } else { case mx.video.VideoPlayer.SEEKING: if (this._httpDoSeekIntervalID == 0) { this._httpDoSeekCount = 0; this._httpDoSeekIntervalID = setInterval(this, 'httpDoSeek', mx.video.VideoPlayer.HTTP_DO_SEEK_INTERVAL); } } } break; case 'NetStream.Play.StreamNotFound': this.setState(mx.video.VideoPlayer.CONNECTION_ERROR); } }; v2.ncConnected = function () { if (this._ncMgr == null || this._ncMgr == undefined || this._ncMgr.getNetConnection() == null || this._ncMgr.getNetConnection() == undefined) { this.setState(mx.video.VideoPlayer.CONNECTION_ERROR); } else { this._createStream(); this._setUpStream(); } }; v2.ncReconnected = function () { if (this._ncMgr == null || this._ncMgr == undefined || this._ncMgr.getNetConnection() == null || this._ncMgr.getNetConnection() == undefined) { this.setState(mx.video.VideoPlayer.CONNECTION_ERROR); } else { this._ns = null; this._state = mx.video.VideoPlayer.STOPPED; this.execQueuedCmds(); } }; v2.onMetaData = function (info) { if (this._metadata != null) { return undefined; } this._metadata = info; if (this._streamLength == undefined || this._streamLength == null || this._streamLength <= 0) { this._streamLength = info.duration; } if (isNaN(this._videoWidth) || this._videoWidth <= 0) { this._videoWidth = info.width; } if (isNaN(this._videoHeight) || this._videoHeight <= 0) { this._videoHeight = info.height; } this.dispatchEvent({'type': 'metadataReceived', 'info': info}); }; v2.onCuePoint = function (info) { if (!this._hiddenForResize || !isNaN(this._hiddenRewindPlayheadTime) && this.__get__playheadTime() < this._hiddenRewindPlayheadTime) { this.dispatchEvent({'type': 'cuePoint', 'info': info}); } }; v2.setState = function (s) { if (s == this._state) { return undefined; } this._hiddenRewindPlayheadTime = undefined; this._cachedState = this._state; this._cachedPlayheadTime = this.playheadTime; this._state = s; var v2 = this._state; this.dispatchEvent({'type': 'stateChange', 'state': v2, 'playheadTime': this.__get__playheadTime()}); if (!this._readyDispatched) { switch (v2) { if (v2 !== mx.video.VideoPlayer.BUFFERING) { } else { case mx.video.VideoPlayer.STOPPED: case mx.video.VideoPlayer.PLAYING: case mx.video.VideoPlayer.PAUSED: this._readyDispatched = true; this.dispatchEvent({'type': 'ready', 'state': v2, 'playheadTime': this.__get__playheadTime()}); } } } if (this._cachedState !== mx.video.VideoPlayer.REWINDING) { } else { this.dispatchEvent({'type': 'rewind', 'state': v2, 'playheadTime': this.__get__playheadTime()}); if (this._ncMgr.isRTMP() && v2 == mx.video.VideoPlayer.STOPPED) { this.closeNS(); } } switch (v2) { case mx.video.VideoPlayer.STOPPED: case mx.video.VideoPlayer.PAUSED: if (this._ncMgr.isRTMP() && this._idleTimeoutIntervalID == 0) { this._idleTimeoutIntervalID = setInterval(this, 'doIdleTimeout', this._idleTimeoutInterval); } break; case mx.video.VideoPlayer.SEEKING: case mx.video.VideoPlayer.REWINDING: this._bufferState = mx.video.VideoPlayer.BUFFER_EMPTY; case mx.video.VideoPlayer.PLAYING: case mx.video.VideoPlayer.BUFFERING: if (this._updateTimeIntervalID == 0) { this._updateTimeIntervalID = setInterval(this, 'doUpdateTime', this._updateTimeInterval); } case mx.video.VideoPlayer.LOADING: case mx.video.VideoPlayer.RESIZING: clearInterval(this._idleTimeoutIntervalID); this._idleTimeoutIntervalID = 0; } this.execQueuedCmds(); }; v2.setStateFromCachedState = function () { switch (this._cachedState) { case mx.video.VideoPlayer.PLAYING: case mx.video.VideoPlayer.PAUSED: this.setState(this._cachedState); break; case mx.video.VideoPlayer.BUFFERING: if (this._bufferState == mx.video.VideoPlayer.BUFFER_EMPTY) { this.setState(mx.video.VideoPlayer.BUFFERING); } else { this.setState(this._cachedState); } break; default: this.setState(mx.video.VideoPlayer.STOPPED); } }; v2.createINCManager = function () { if (this.ncMgrClassName == null || this.ncMgrClassName == undefined) { this.ncMgrClassName = mx.video.VideoPlayer.DEFAULT_INCMANAGER; } var ncMgrConstructor = eval(this.ncMgrClassName); this._ncMgr = new ncMgrConstructor(); this._ncMgr.setVideoPlayer(this); }; v2.rtmpDoStopAtEnd = function (force) { if (this._rtmpDoStopAtEndIntervalID > 0) { switch (this._state) { if (this._state !== mx.video.VideoPlayer.CONNECTION_ERROR) { } else { case mx.video.VideoPlayer.DISCONNECTED: clearInterval(this._rtmpDoStopAtEndIntervalID); this._rtmpDoStopAtEndIntervalID = 0; return undefined; } } if (force || this._cachedPlayheadTime == this.__get__playheadTime()) { clearInterval(this._rtmpDoStopAtEndIntervalID); this._rtmpDoStopAtEndIntervalID = 0; } else { this._cachedPlayheadTime = this.playheadTime; return undefined; } } this._bufferState = mx.video.VideoPlayer.BUFFER_EMPTY; this._atEnd = true; this.setState(mx.video.VideoPlayer.STOPPED); if (this._state != mx.video.VideoPlayer.STOPPED) { return undefined; } this.doUpdateTime(); if (this._state != mx.video.VideoPlayer.STOPPED) { return undefined; } this.dispatchEvent({'type': 'complete', 'state': this._state, 'playheadTime': this.__get__playheadTime()}); if (this._state != mx.video.VideoPlayer.STOPPED) { return undefined; } if (this._autoRewind && !this._isLive && this.__get__playheadTime() != 0) { this._atEnd = false; this._currentPos = 0; this._play(0, 0); this.setState(mx.video.VideoPlayer.REWINDING); } else { this.closeNS(); } }; v2.rtmpDoSeek = function () { if (this._state != mx.video.VideoPlayer.REWINDING && this._state != mx.video.VideoPlayer.SEEKING) { clearInterval(this._rtmpDoSeekIntervalID); this._rtmpDoSeekIntervalID = 0; this._sawSeekNotify = false; } else { if (this.__get__playheadTime() != this._cachedPlayheadTime) { clearInterval(this._rtmpDoSeekIntervalID); this._rtmpDoSeekIntervalID = 0; this._sawSeekNotify = false; this.setStateFromCachedState(); this.doUpdateTime(); } } }; v2.httpDoStopAtEnd = function () { this._atEnd = true; if (this._streamLength == undefined || this._streamLength == null || this._streamLength <= 0) { this._streamLength = this._ns.time; } this._pause(true); this.setState(mx.video.VideoPlayer.STOPPED); if (this._state != mx.video.VideoPlayer.STOPPED) { return undefined; } this.doUpdateTime(); if (this._state != mx.video.VideoPlayer.STOPPED) { return undefined; } this.dispatchEvent({'type': 'complete', 'state': this._state, 'playheadTime': this.__get__playheadTime()}); if (this._state != mx.video.VideoPlayer.STOPPED) { return undefined; } if (this._autoRewind) { this._atEnd = false; this._pause(true); this._seek(0); this.setState(mx.video.VideoPlayer.REWINDING); } }; v2.httpDoSeek = function () { var v2 = this._state == mx.video.VideoPlayer.REWINDING || this._state == mx.video.VideoPlayer.SEEKING; if (v2 && this._httpDoSeekCount < mx.video.VideoPlayer.HTTP_DO_SEEK_MAX_COUNT && (this._cachedPlayheadTime == this.__get__playheadTime() || this._invalidSeekTime)) { ++this._httpDoSeekCount; return undefined; } this._httpDoSeekCount = 0; clearInterval(this._httpDoSeekIntervalID); this._httpDoSeekIntervalID = 0; if (!v2) { return undefined; } this.setStateFromCachedState(); if (this._invalidSeekTime) { this._invalidSeekTime = false; this._invalidSeekRecovery = true; this.seek(this.__get__playheadTime()); } else { this.doUpdateTime(); } }; v2.closeNS = function (updateCurrentPos) { if (this._ns != null && this._ns != undefined) { if (updateCurrentPos) { clearInterval(this._updateTimeIntervalID); this._updateTimeIntervalID = 0; this.doUpdateTime(); this._currentPos = this._ns.time; } delete this._ns.onStatus; this._ns.onStatus = null; this._ns.close(); this._ns = null; } }; v2.doDelayedBuffering = function () { switch (this._state) { case mx.video.VideoPlayer.LOADING: break; case mx.video.VideoPlayer.RESIZING: case mx.video.VideoPlayer.PLAYING: clearInterval(this._delayedBufferingIntervalID); this._delayedBufferingIntervalID = 0; this.setState(mx.video.VideoPlayer.BUFFERING); break; default: clearInterval(this._delayedBufferingIntervalID); this._delayedBufferingIntervalID = 0; } }; v2._pause = function (doPause) { this._ns.pause(doPause); }; v2._play = function () { this._startingPlay = true; switch (arguments.length) { case 0: this._ns.play(this._ncMgr.getStreamName(), this._isLive ? -1 : 0, -1); break; case 1: this._ns.play(this._ncMgr.getStreamName(), this._isLive ? -1 : arguments[0], -1); break; case 2: this._ns.play(this._ncMgr.getStreamName(), this._isLive ? -1 : arguments[0], arguments[1]); break; default: throw new Error('bad args to _play'); } }; v2._seek = function (time) { if (this._metadata.audiodelay != undefined && time + this._metadata.audiodelay < this._streamLength) { time += this._metadata.audiodelay; } this._ns.seek(time); this._invalidSeekTime = false; this._bufferState = mx.video.VideoPlayer.BUFFER_EMPTY; this._sawSeekNotify = false; }; v2.isXnOK = function () { if (this._state == mx.video.VideoPlayer.LOADING) { return true; } if (this._state == mx.video.VideoPlayer.CONNECTION_ERROR) { return false; } if (this._state != mx.video.VideoPlayer.DISCONNECTED) { if (this._ncMgr == null || this._ncMgr == undefined || this._ncMgr.getNetConnection() == null || this._ncMgr.getNetConnection() == undefined || !(this._ncMgr.getNetConnection()).isConnected) { this.setState(mx.video.VideoPlayer.DISCONNECTED); return false; } return true; } return false; }; v2.startAutoResize = function () { switch (this._state) { if (this._state !== mx.video.VideoPlayer.CONNECTION_ERROR) { } else { case mx.video.VideoPlayer.DISCONNECTED: return undefined; } } this._autoResizeDone = false; if (this.__get__stateResponsive() && this._videoWidth != undefined && this._videoHeight != undefined) { this.doAutoResize(); } else { clearInterval(this._autoResizeIntervalID); this._autoResizeIntervalID = setInterval(this, 'doAutoResize', mx.video.VideoPlayer.AUTO_RESIZE_INTERVAL); } }; v2.doAutoResize = function () { if (this._autoResizeIntervalID > 0) { switch (this._state) { case mx.video.VideoPlayer.RESIZING: break; case mx.video.VideoPlayer.LOADING: case mx.video.VideoPlayer.DISCONNECTED: case mx.video.VideoPlayer.CONNECTION_ERROR: clearInterval(this._autoResizeIntervalID); this._autoResizeIntervalID = 0; return undefined; default: if (this.__get__stateResponsive()) break; return undefined; } if (this._video.width != this._prevVideoWidth || this._video.height != this._prevVideoHeight || this._bufferState >= mx.video.VideoPlayer.BUFFER_FULL || this._ns.time > mx.video.VideoPlayer.AUTO_RESIZE_PLAYHEAD_TIMEOUT) { if (this._hiddenForResize && this._metadata == null && this._hiddenForResizeMetadataDelay < mx.video.VideoPlayer.AUTO_RESIZE_METADATA_DELAY_MAX) { ++this._hiddenForResizeMetadataDelay; return undefined; } this._videoWidth = this._video.width; this._videoHeight = this._video.height; clearInterval(this._autoResizeIntervalID); this._autoResizeIntervalID = 0; } else { return undefined; } } if (!this._autoSize && !this._aspectRatio || this._autoResizeDone) { this.setState(this._cachedState); return undefined; } this._autoResizeDone = true; if (this._autoSize) { this._video._width = this._videoWidth; this._video._height = this._videoHeight; } else { if (this._aspectRatio) { var v3 = this._videoWidth * this.__get__height() / this._videoHeight; var v2 = this._videoHeight * this.__get__width() / this._videoWidth; if (v2 < this.__get__height()) { this._video._height = v2; } else { if (v3 < this.__get__width()) { this._video._width = v3; } } } } if (this._hiddenForResize) { this._hiddenRewindPlayheadTime = this.playheadTime; if (this._state == mx.video.VideoPlayer.LOADING) { this._cachedState = mx.video.VideoPlayer.PLAYING; } if (!this._ncMgr.isRTMP()) { this._pause(true); this._seek(0); clearInterval(this._finishAutoResizeIntervalID); this._finishAutoResizeIntervalID = setInterval(this, 'finishAutoResize', mx.video.VideoPlayer.FINISH_AUTO_RESIZE_INTERVAL); } else { if (!this._isLive) { this._currentPos = 0; this._play(0, 0); this.setState(mx.video.VideoPlayer.RESIZING); } else { if (this._autoPlay) { clearInterval(this._finishAutoResizeIntervalID); this._finishAutoResizeIntervalID = setInterval(this, 'finishAutoResize', mx.video.VideoPlayer.FINISH_AUTO_RESIZE_INTERVAL); } else { this.finishAutoResize(); } } } } else { this.dispatchEvent({'type': 'resize', 'x': this._x, 'y': this._y, 'width': this._width, 'height': this._height}); } }; v2.finishAutoResize = function () { clearInterval(this._finishAutoResizeIntervalID); this._finishAutoResizeIntervalID = 0; if (this.__get__stateResponsive()) { return undefined; } this._visible = this.__visible; this._sound.setVolume(this._volume); this._hiddenForResize = false; this.dispatchEvent({'type': 'resize', 'x': this._x, 'y': this._y, 'width': this._width, 'height': this._height}); if (this._autoPlay) { if (this._ncMgr.isRTMP()) { if (!this._isLive) { this._currentPos = 0; this._play(0); } if (this._state == mx.video.VideoPlayer.RESIZING) { this.setState(mx.video.VideoPlayer.LOADING); this._cachedState = mx.video.VideoPlayer.PLAYING; } } else { this._pause(false); this._cachedState = mx.video.VideoPlayer.PLAYING; } } else { this.setState(mx.video.VideoPlayer.STOPPED); } }; v2._createStream = function () { this._ns = new NetStream(this._ncMgr.getNetConnection()); this._ns.mc = this; if (this._ncMgr.isRTMP()) { this._ns.onStatus = function (info) { this.mc.rtmpOnStatus(info); }; } else { this._ns.onStatus = function (info) { this.mc.httpOnStatus(info); }; } this._ns.onMetaData = function (info) { this.mc.onMetaData(info); }; this._ns.onCuePoint = function (info) { this.mc.onCuePoint(info); }; this._ns.setBufferTime(this._bufferTime); }; v2._setUpStream = function () { this._video.attachVideo(this._ns); this.attachAudio(this._ns); if (!isNaN(this._ncMgr.getStreamLength()) && this._ncMgr.getStreamLength() >= 0) { this._streamLength = this._ncMgr.getStreamLength(); } if (!isNaN(this._ncMgr.getStreamWidth()) && this._ncMgr.getStreamWidth() >= 0) { this._videoWidth = this._ncMgr.getStreamWidth(); } else { this._videoWidth = undefined; } if (!isNaN(this._ncMgr.getStreamHeight()) && this._ncMgr.getStreamHeight() >= 0) { this._videoHeight = this._ncMgr.getStreamHeight(); } else { this._videoHeight = undefined; } if ((this._autoSize || this._aspectRatio) && this._videoWidth != undefined && this._videoHeight != undefined) { this._prevVideoWidth = undefined; this._prevVideoHeight = undefined; this.doAutoResize(); } if (!this._autoSize && !this._aspectRatio || this._videoWidth != undefined && this._videoHeight != undefined) { if (this._autoPlay) { if (!this._ncMgr.isRTMP()) { this._cachedState = mx.video.VideoPlayer.BUFFERING; this._play(); } else { if (this._isLive) { this._cachedState = mx.video.VideoPlayer.BUFFERING; this._play(-1); } else { this._cachedState = mx.video.VideoPlayer.BUFFERING; this._play(0); } } } else { this._cachedState = mx.video.VideoPlayer.STOPPED; if (this._ncMgr.isRTMP()) { this._play(0, 0); } else { this._play(); this._pause(true); this._seek(0); } } } else { this._hiddenForResize = true; this._hiddenForResizeMetadataDelay = 0; this.__visible = this._visible; this._visible = false; this._volume = this._sound.getVolume(); this._sound.setVolume(0); this._play(0); if (this._currentPos > 0) { this._seek(this._currentPos); this._currentPos = 0; } } clearInterval(this._autoResizeIntervalID); this._autoResizeIntervalID = setInterval(this, 'doAutoResize', mx.video.VideoPlayer.AUTO_RESIZE_INTERVAL); }; v2.doIdleTimeout = function () { clearInterval(this._idleTimeoutIntervalID); this._idleTimeoutIntervalID = 0; this.close(); }; v2.flushQueuedCmds = function () { while (this._cmdQueue.length > 0) { this._cmdQueue.pop(); } }; v2.execQueuedCmds = function () { for (;;) { if (!(this._cmdQueue.length > 0 && (this.__get__stateResponsive() || this._state == mx.video.VideoPlayer.CONNECTION_ERROR) && (this._cmdQueue[0].url != null && this._cmdQueue[0].url != undefined || this._state != mx.video.VideoPlayer.DISCONNECTED && this._state != mx.video.VideoPlayer.CONNECTION_ERROR))) break; var v2 = this._cmdQueue.shift(); this._cachedState = this._state; this._state = mx.video.VideoPlayer.EXEC_QUEUED_CMD; switch (v2.type) { case mx.video.VideoPlayer.PLAY: this.play(v2.url, v2.isLive, v2.time); break; case mx.video.VideoPlayer.LOAD: this.load(v2.url, v2.isLive, v2.time); break; case mx.video.VideoPlayer.PAUSE: this.pause(); break; case mx.video.VideoPlayer.STOP: this.stop(); break; case mx.video.VideoPlayer.SEEK: this.seek(v2.time); continue; } } }; v2.queueCmd = function (type, url, isLive, time) { this._cmdQueue.push({'type': type, 'url': url, 'isLive': false, 'time': time}); }; v1.version = '1.0.0.103'; v1.DISCONNECTED = 'disconnected'; v1.STOPPED = 'stopped'; v1.PLAYING = 'playing'; v1.PAUSED = 'paused'; v1.BUFFERING = 'buffering'; v1.LOADING = 'loading'; v1.CONNECTION_ERROR = 'connectionError'; v1.REWINDING = 'rewinding'; v1.SEEKING = 'seeking'; v1.RESIZING = 'resizing'; v1.EXEC_QUEUED_CMD = 'execQueuedCmd'; v1.BUFFER_EMPTY = 'bufferEmpty'; v1.BUFFER_FULL = 'bufferFull'; v1.BUFFER_FULL_SAW_PLAY_STOP = 'bufferFullSawPlayStop'; v1.DEFAULT_INCMANAGER = 'mx.video.NCManager'; v1.DEFAULT_UPDATE_TIME_INTERVAL = 250; v1.DEFAULT_UPDATE_PROGRESS_INTERVAL = 250; v1.DEFAULT_IDLE_TIMEOUT_INTERVAL = 300000; v1.AUTO_RESIZE_INTERVAL = 100; v1.AUTO_RESIZE_PLAYHEAD_TIMEOUT = 0.5; v1.AUTO_RESIZE_METADATA_DELAY_MAX = 5; v1.FINISH_AUTO_RESIZE_INTERVAL = 250; v1.RTMP_DO_STOP_AT_END_INTERVAL = 500; v1.RTMP_DO_SEEK_INTERVAL = 100; v1.HTTP_DO_SEEK_INTERVAL = 250; v1.HTTP_DO_SEEK_MAX_COUNT = 4; v1.CLOSE_NS_INTERVAL = 0.25; v1.HTTP_DELAYED_BUFFERING_INTERVAL = 100; v1.PLAY = 0; v1.LOAD = 1; v1.PAUSE = 2; v1.STOP = 3; v1.SEEK = 4; v2.addProperty('autoRewind', v2.__get__autoRewind, v2.__set__autoRewind); v2.addProperty('autoSize', v2.__get__autoSize, v2.__set__autoSize); v2.addProperty('bufferTime', v2.__get__bufferTime, v2.__set__bufferTime); v2.addProperty('bytesLoaded', v2.__get__bytesLoaded, function () {}); v2.addProperty('bytesTotal', v2.__get__bytesTotal, function () {}); v2.addProperty('height', v2.__get__height, v2.__set__height); v2.addProperty('idleTimeout', v2.__get__idleTimeout, v2.__set__idleTimeout); v2.addProperty('isLive', v2.__get__isLive, function () {}); v2.addProperty('isRTMP', v2.__get__isRTMP, function () {}); v2.addProperty('maintainAspectRatio', v2.__get__maintainAspectRatio, v2.__set__maintainAspectRatio); v2.addProperty('metadata', v2.__get__metadata, function () {}); v2.addProperty('ncMgr', v2.__get__ncMgr, function () {}); v2.addProperty('playheadTime', v2.__get__playheadTime, v2.__set__playheadTime); v2.addProperty('playheadUpdateInterval', v2.__get__playheadUpdateInterval, v2.__set__playheadUpdateInterval); v2.addProperty('progressInterval', v2.__get__progressInterval, v2.__set__progressInterval); v2.addProperty('scaleX', v2.__get__scaleX, v2.__set__scaleX); v2.addProperty('scaleY', v2.__get__scaleY, v2.__set__scaleY); v2.addProperty('state', v2.__get__state, function () {}); v2.addProperty('stateResponsive', v2.__get__stateResponsive, function () {}); v2.addProperty('totalTime', v2.__get__totalTime, function () {}); v2.addProperty('transform', v2.__get__transform, v2.__set__transform); v2.addProperty('url', v2.__get__url, function () {}); v2.addProperty('videoHeight', v2.__get__videoHeight, function () {}); v2.addProperty('videoWidth', v2.__get__videoWidth, function () {}); v2.addProperty('visible', v2.__get__visible, v2.__set__visible); v2.addProperty('volume', v2.__get__volume, v2.__set__volume); v2.addProperty('width', v2.__get__width, v2.__set__width); v2.addProperty('x', v2.__get__x, v2.__set__x); v2.addProperty('y', v2.__get__y, v2.__set__y); ASSetPropFlags(mx.video.VideoPlayer.prototype, null, 1); } #endinitclip } movieClip 11 __Packages.mx.video.INCManager { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.video) { _global.mx.video = new Object(); } if (!_global.mx.video.INCManager) { _global.mx.video.INCManager = function () {}; } #endinitclip } movieClip 12 __Packages.mx.events.EventDispatcher { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.events) { _global.mx.events = new Object(); } if (!_global.mx.events.EventDispatcher) { var v1 = function () {}; mx.events.EventDispatcher = v1; var v2 = v1.prototype; v1._removeEventListener = function (queue, event, handler) { if (queue != undefined) { var v4 = queue.length; var v1; v1 = 0; while (v1 < v4) { var v2 = queue[v1]; if (v2 == handler) { queue.splice(v1, 1); return undefined; } ++v1; } } }; v1.initialize = function (object) { if (mx.events.EventDispatcher._fEventDispatcher == undefined) { mx.events.EventDispatcher._fEventDispatcher = new mx.events.EventDispatcher(); } object.addEventListener = mx.events.EventDispatcher._fEventDispatcher.addEventListener; object.removeEventListener = mx.events.EventDispatcher._fEventDispatcher.removeEventListener; object.dispatchEvent = mx.events.EventDispatcher._fEventDispatcher.dispatchEvent; object.dispatchQueue = mx.events.EventDispatcher._fEventDispatcher.dispatchQueue; }; v2.dispatchQueue = function (queueObj, eventObj) { var v7 = '__q_' + eventObj.type; var v4 = queueObj[v7]; if (v4 != undefined) { var v5; for (v5 in v4) { var v1 = v4[v5]; var v3 = typeof v1; if (v3 == 'object' || v3 == 'movieclip') { if (v1.handleEvent != undefined) { v1.handleEvent(eventObj); } if (v1[eventObj.type] != undefined) { if (mx.events.EventDispatcher.exceptions[eventObj.type] == undefined) { v1[eventObj.type](eventObj); } } } else { v1.apply(queueObj, [eventObj]); } } } }; v2.dispatchEvent = function (eventObj) { if (eventObj.target == undefined) { eventObj.target = this; } this[eventObj.type + 'Handler'](eventObj); this.dispatchQueue(this, eventObj); }; v2.addEventListener = function (event, handler) { var v3 = '__q_' + event; if (this[v3] == undefined) { this[v3] = new Array(); } _global.ASSetPropFlags(this, v3, 1); mx.events.EventDispatcher._removeEventListener(this[v3], event, handler); this[v3].push(handler); }; v2.removeEventListener = function (event, handler) { var v2 = '__q_' + event; mx.events.EventDispatcher._removeEventListener(this[v2], event, handler); }; v1._fEventDispatcher = undefined; v1.exceptions = {'move': 1, 'draw': 1, 'load': 1}; ASSetPropFlags(mx.events.EventDispatcher.prototype, null, 1); } #endinitclip } movieClip 13 __Packages.mx.video.VideoError { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.video) { _global.mx.video = new Object(); } if (!_global.mx.video.VideoError) { var v1 = function (errCode, msg) { super(); this._code = errCode; this.message = '' + errCode + ': ' + mx.video.VideoError.ERROR_MSG[errCode - mx.video.VideoError.BASE_ERROR_CODE] + ((msg == undefined) ? '' : ': ' + msg); this.name = 'VideoError'; }; mx.video.VideoError = v1; mx.video.VideoError extends Error; var v2 = v1.prototype; v2.__get__code = function () { return this._code; }; v1.version = '1.0.0.103'; v1.BASE_ERROR_CODE = 1000; v1.NO_CONNECTION = 1000; v1.NO_CUE_POINT_MATCH = 1001; v1.ILLEGAL_CUE_POINT = 1002; v1.INVALID_SEEK = 1003; v1.INVALID_CONTENT_PATH = 1004; v1.INVALID_XML = 1005; v1.NO_BITRATE_MATCH = 1006; v1.DELETE_DEFAULT_PLAYER = 1007; v1.ERROR_MSG = ['Unable to make connection to server or to find FLV on server', 'No matching cue point found', 'Illegal cue point', 'Invalid seek', 'Invalid contentPath', 'Invalid xml', 'No bitrate match, must be no default flv', 'Cannot delete default VideoPlayer']; v2.addProperty('code', v2.__get__code, function () {}); ASSetPropFlags(mx.video.VideoError.prototype, null, 1); } #endinitclip } movieClip 14 __Packages.mx.video.UIManager { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.video) { _global.mx.video = new Object(); } if (!_global.mx.video.UIManager) { var v1 = function (vc) { this._vc = vc; this._skin = undefined; this._skinAutoHide = false; this._skinReady = true; this.__visible = true; this._bufferingBarHides = false; this._controlsEnabled = true; this._lastScrubPos = 0; this._lastVolumePos = 0; this.cachedSoundLevel = this._vc.volume; this._isMuted = false; this.controls = new Array(); this.customClips = undefined; this.skin_mc = undefined; this.skinLoader = undefined; this.layout_mc = undefined; this.border_mc = undefined; this._seekBarIntervalID = 0; this._seekBarInterval = mx.video.UIManager.SEEK_BAR_INTERVAL_DEFAULT; this._seekBarScrubTolerance = mx.video.UIManager.SEEK_BAR_SCRUB_TOLERANCE_DEFAULT; this._volumeBarIntervalID = 0; this._volumeBarInterval = mx.video.UIManager.VOLUME_BAR_INTERVAL_DEFAULT; this._volumeBarScrubTolerance = mx.video.UIManager.VOLUME_BAR_SCRUB_TOLERANCE_DEFAULT; this._bufferingDelayIntervalID = 0; this._bufferingDelayInterval = mx.video.UIManager.BUFFERING_DELAY_INTERVAL_DEFAULT; this._bufferingOn = false; this._skinAutoHideIntervalID = 0; this._vc.addEventListener('metadataReceived', this); this._vc.addEventListener('playheadUpdate', this); this._vc.addEventListener('progress', this); this._vc.addEventListener('stateChange', this); this._vc.addEventListener('ready', this); this._vc.addEventListener('resize', this); this._vc.addEventListener('volumeUpdate', this); }; mx.video.UIManager = v1; var v2 = v1.prototype; v2.handleEvent = function (e) { if (e.vp != undefined && e.vp != this._vc.__get__visibleVideoPlayerIndex()) { return undefined; } var v9 = this._vc.__get__activeVideoPlayerIndex(); this._vc.__set__activeVideoPlayerIndex(this._vc.visibleVideoPlayerIndex); if (e.type == 'stateChange') { if (e.state == mx.video.FLVPlayback.BUFFERING) { if (!this._bufferingOn) { clearInterval(this._bufferingDelayIntervalID); this._bufferingDelayIntervalID = setInterval(this, 'doBufferingDelay', this._bufferingDelayInterval); } } else { clearInterval(this._bufferingDelayIntervalID); this._bufferingDelayIntervalID = 0; this._bufferingOn = false; } if (e.state == mx.video.FLVPlayback.LOADING) { this._progressPercent = (this._vc.getVideoPlayer(e.vp)).__get__isRTMP() ? 100 : 0; var v2 = mx.video.UIManager.SEEK_BAR; while (v2 <= mx.video.UIManager.VOLUME_BAR) { var v4 = this.controls[v2]; if (v4.progress_mc != undefined) { this.positionBar(v4, 'progress', this._progressPercent); } ++v2; } } v2 = 0; while (v2 < mx.video.UIManager.NUM_CONTROLS) { if (this.controls[v2] == undefined) { } else { this.setEnabledAndVisibleForState(v2, e.state); if (v2 < mx.video.UIManager.NUM_BUTTONS) { this.skinButtonControl(this.controls[v2]); } } ++v2; } } else { if (e.type == 'ready' || e.type == 'metadataReceived') { var v2 = 0; while (v2 < mx.video.UIManager.NUM_CONTROLS) { if (this.controls[v2] == undefined) { } else { this.setEnabledAndVisibleForState(v2, this._vc.__get__state()); if (v2 < mx.video.UIManager.NUM_BUTTONS) { this.skinButtonControl(this.controls[v2]); } } ++v2; } if ((this._vc.getVideoPlayer(e.vp)).__get__isRTMP()) { this._progressPercent = 100; v2 = mx.video.UIManager.SEEK_BAR; while (v2 <= mx.video.UIManager.VOLUME_BAR) { var v4 = this.controls[v2]; if (v4.progress_mc != undefined) { this.positionBar(v4, 'progress', this._progressPercent); } ++v2; } } } else { if (e.type == 'resize') { this.layoutSkin(); this.setupSkinAutoHide(); } else { if (e.type == 'volumeUpdate') { if (this._isMuted && e.volume > 0) { this._isMuted = false; this.setEnabledAndVisibleForState(mx.video.UIManager.MUTE_OFF_BUTTON, mx.video.FLVPlayback.PLAYING); this.skinButtonControl(this.controls[mx.video.UIManager.MUTE_OFF_BUTTON]); this.setEnabledAndVisibleForState(mx.video.UIManager.MUTE_ON_BUTTON, mx.video.FLVPlayback.PLAYING); this.skinButtonControl(this.controls[mx.video.UIManager.MUTE_ON_BUTTON]); } var v5 = this.controls[mx.video.UIManager.VOLUME_BAR]; v5.percentage = this._isMuted ? this.cachedSoundLevel : e.volume; if (v5.percentage < 0) { v5.percentage = 0; } else { if (v5.percentage > 100) { v5.percentage = 100; } } this.positionHandle(mx.video.UIManager.VOLUME_BAR); } else { if (e.type == 'playheadUpdate' && this.controls[mx.video.UIManager.SEEK_BAR] != undefined) { if (!this._vc.__get__isLive() && this._vc.__get__totalTime() > 0) { var v6 = (e.playheadTime / this._vc.__get__totalTime()) * 100; if (v6 < 0) { v6 = 0; } else { if (v6 > 100) { v6 = 100; } } var v10 = this.controls[mx.video.UIManager.SEEK_BAR]; v10.percentage = v6; this.positionHandle(mx.video.UIManager.SEEK_BAR); } } else { if (e.type == 'progress') { this._progressPercent = e.bytesTotal <= 0 ? 100 : (e.bytesLoaded / e.bytesTotal) * 100; var v7 = this._vc._vpState[e.vp].minProgressPercent; if (!isNaN(v7) && v7 > this._progressPercent) { this._progressPercent = v7; } if (this._vc.__get__totalTime() > 0) { var v8 = (this._vc.__get__playheadTime() / this._vc.__get__totalTime()) * 100; if (v8 > this._progressPercent) { this._progressPercent = v8; this._vc._vpState[e.vp].minProgressPercent = this._progressPercent; } } var v2 = mx.video.UIManager.SEEK_BAR; while (v2 <= mx.video.UIManager.VOLUME_BAR) { var v4 = this.controls[v2]; if (v4.progress_mc != undefined) { this.positionBar(v4, 'progress', this._progressPercent); } ++v2; } } } } } } } this._vc.__set__activeVideoPlayerIndex(v9); }; v2.__get__bufferingBarHidesAndDisablesOthers = function () { return this._bufferingBarHides; }; v2.__set__bufferingBarHidesAndDisablesOthers = function (b) { this._bufferingBarHides = b; return this.__get__bufferingBarHidesAndDisablesOthers(); }; v2.__get__controlsEnabled = function () { return this._controlsEnabled; }; v2.__set__controlsEnabled = function (flag) { if (this._controlsEnabled == flag) { return undefined; } this._controlsEnabled = flag; var v2 = 0; while (v2 < mx.video.UIManager.NUM_BUTTONS) { if (this.controls[v2] == undefined) { } else { this.controls[v2].releaseCapture(); this.controls[v2].enabled = this._controlsEnabled && this.controls[v2].myEnabled; this.skinButtonControl(this.controls[v2]); } ++v2; } return this.__get__controlsEnabled(); }; v2.__get__skin = function () { return this._skin; }; v2.__set__skin = function (s) { if (s == this._skin) { return undefined; } if (this._skin != undefined) { this.removeSkin(); } this._skin = s; this._skinReady = this._skin == undefined || this._skin == null || this._skin == ''; if (!this._skinReady) { this.downloadSkin(); } return this.__get__skin(); }; v2.__get__skinAutoHide = function () { return this._skinAutoHide; }; v2.__set__skinAutoHide = function (b) { if (b == this._skinAutoHide) { return undefined; } this._skinAutoHide = b; this.setupSkinAutoHide(); return this.__get__skinAutoHide(); }; v2.__get__skinReady = function () { return this._skinReady; }; v2.__get__seekBarInterval = function () { return this._seekBarInterval; }; v2.__set__seekBarInterval = function (s) { if (this._seekBarInterval == s) { return undefined; } this._seekBarInterval = s; if (this._seekBarIntervalID > 0) { clearInterval(this._seekBarIntervalID); this._seekBarIntervalID = setInterval(this, 'seekBarListener', this._seekBarInterval, false); } return this.__get__seekBarInterval(); }; v2.__get__volumeBarInterval = function () { return this._volumeBarInterval; }; v2.__set__volumeBarInterval = function (s) { if (this._volumeBarInterval == s) { return undefined; } this._volumeBarInterval = s; if (this._volumeBarIntervalID > 0) { clearInterval(this._volumeBarIntervalID); this._volumeBarIntervalID = setInterval(this, 'volumeBarListener', this._volumeBarInterval, false); } return this.__get__volumeBarInterval(); }; v2.__get__bufferingDelayInterval = function () { return this._bufferingDelayInterval; }; v2.__set__bufferingDelayInterval = function (s) { if (this._bufferingDelayInterval == s) { return undefined; } this._bufferingDelayInterval = s; if (this._bufferingDelayIntervalID > 0) { clearInterval(this._bufferingDelayIntervalID); this._bufferingDelayIntervalID = setInterval(this, 'doBufferingDelay', this._bufferingDelayIntervalID); } return this.__get__bufferingDelayInterval(); }; v2.__get__volumeBarScrubTolerance = function () { return this._volumeBarScrubTolerance; }; v2.__set__volumeBarScrubTolerance = function (s) { this._volumeBarScrubTolerance = s; return this.__get__volumeBarScrubTolerance(); }; v2.__get__seekBarScrubTolerance = function () { return this._seekBarScrubTolerance; }; v2.__set__seekBarScrubTolerance = function (s) { this._seekBarScrubTolerance = s; return this.__get__seekBarScrubTolerance(); }; v2.__get__visible = function () { return this.__visible; }; v2.__set__visible = function (v) { if (this.__visible == v) { return undefined; } this.__visible = v; if (!this.__visible) { this.skin_mc._visible = false; } else { this.setupSkinAutoHide(); } return this.__get__visible(); }; v2.getControl = function (index) { return this.controls[index]; }; v2.setControl = function (index, s) { if (s == null) { s = undefined; } if (s == this.controls[index]) { return undefined; } switch (index) { case mx.video.UIManager.PAUSE_BUTTON: case mx.video.UIManager.PLAY_BUTTON: this.resetPlayPause(); break; case mx.video.UIManager.PLAY_PAUSE_BUTTON: if (s._parent != this.layout_mc) { this.resetPlayPause(); this.setControl(mx.video.UIManager.PAUSE_BUTTON, s.pause_mc); this.setControl(mx.video.UIManager.PLAY_BUTTON, s.play_mc); } break; case mx.video.UIManager.MUTE_BUTTON: if (s._parent != this.layout_mc) { this.setControl(mx.video.UIManager.MUTE_ON_BUTTON, s.on_mc); this.setControl(mx.video.UIManager.MUTE_OFF_BUTTON, s.off_mc); } } if (index >= mx.video.UIManager.NUM_BUTTONS) { this.controls[index] = s; switch (index) { case mx.video.UIManager.SEEK_BAR: this.addBarControl(mx.video.UIManager.SEEK_BAR); break; case mx.video.UIManager.VOLUME_BAR: this.addBarControl(mx.video.UIManager.VOLUME_BAR); this.controls[mx.video.UIManager.VOLUME_BAR].percentage = this._vc.volume; break; case mx.video.UIManager.BUFFERING_BAR: this.controls[mx.video.UIManager.BUFFERING_BAR].uiMgr = this; this.controls[mx.video.UIManager.BUFFERING_BAR].controlIndex = mx.video.UIManager.BUFFERING_BAR; if (this.controls[mx.video.UIManager.BUFFERING_BAR]._parent == this.skin_mc) { this.finishAddBufferingBar(); } else { this.controls[mx.video.UIManager.BUFFERING_BAR].onEnterFrame = function () { this.uiMgr.finishAddBufferingBar(); }; } } this.setEnabledAndVisibleForState(index, this._vc.__get__state()); } else { this.removeButtonControl(index); this.controls[index] = s; this.addButtonControl(index); } }; v2.resetPlayPause = function () { if (this.controls[mx.video.UIManager.PLAY_PAUSE_BUTTON] == undefined) { return undefined; } var v2 = mx.video.UIManager.PAUSE_BUTTON; while (v2 <= mx.video.UIManager.PLAY_BUTTON) { this.removeButtonControl(v2); ++v2; } this.controls[mx.video.UIManager.PLAY_PAUSE_BUTTON] = undefined; }; v2.addButtonControl = function (index) { var v3 = this.controls[index]; if (v3 == undefined) { return undefined; } var v5 = this._vc.__get__activeVideoPlayerIndex(); this._vc.__set__activeVideoPlayerIndex(this._vc.visibleVideoPlayerIndex); v3.id = index; v3.state = mx.video.UIManager.UP_STATE; v3.uiMgr = this; this.setEnabledAndVisibleForState(index, this._vc.__get__state()); v3.onRollOver = function () { this.state = mx.video.UIManager.OVER_STATE; this.uiMgr.skinButtonControl(this); }; v3.onRollOut = function () { this.state = mx.video.UIManager.UP_STATE; this.uiMgr.skinButtonControl(this); }; if (index == mx.video.UIManager.SEEK_BAR_HANDLE || index == mx.video.UIManager.VOLUME_BAR_HANDLE) { v3.onPress = function () { if (_root.focusManager) { this._focusrect = false; Selection.setFocus(this); } this.state = mx.video.UIManager.DOWN_STATE; this.uiMgr.dispatchMessage(this); this.uiMgr.skinButtonControl(this); }; v3.onRelease = function () { this.state = mx.video.UIManager.OVER_STATE; this.uiMgr.handleRelease(this.controlIndex); this.uiMgr.skinButtonControl(this); }; v3.onReleaseOutside = function () { this.state = mx.video.UIManager.UP_STATE; this.uiMgr.handleRelease(this.controlIndex); this.uiMgr.skinButtonControl(this); }; } else { v3.onPress = function () { if (_root.focusManager) { this._focusrect = false; Selection.setFocus(this); } this.state = mx.video.UIManager.DOWN_STATE; this.uiMgr.skinButtonControl(this); }; v3.onRelease = function () { this.state = mx.video.UIManager.OVER_STATE; this.uiMgr.dispatchMessage(this); this.uiMgr.skinButtonControl(this); }; v3.onReleaseOutside = function () { this.state = mx.video.UIManager.UP_STATE; this.uiMgr.skinButtonControl(this); }; } if (v3._parent == this.skin_mc) { this.skinButtonControl(v3); } else { v3.onEnterFrame = function () { this.uiMgr.skinButtonControl(this); }; } this._vc.__set__activeVideoPlayerIndex(v5); }; v2.removeButtonControl = function (index) { if (this.controls[index] == undefined) { return undefined; } this.controls[index].uiMgr = undefined; this.controls[index].onRollOver = undefined; this.controls[index].onRollOut = undefined; this.controls[index].onPress = undefined; this.controls[index].onRelease = undefined; this.controls[index].onReleaseOutside = undefined; this.controls[index] = undefined; }; v2.downloadSkin = function () { if (this.skinLoader == undefined) { this.skinLoader = new MovieClipLoader(); this.skinLoader.addListener(this); } if (this.skin_mc == undefined) { this.skin_mc = this._vc.createEmptyMovieClip('skin_mc', this._vc.getNextHighestDepth()); } this.skin_mc._visible = false; this.skin_mc._x = Stage.width + 100; this.skin_mc._y = Stage.height + 100; this.skinLoader.loadClip(this._skin, this.skin_mc); }; v2.onLoadError = function (target_mc, errorCode) { this._skinReady = true; this._vc.skinError('Unable to load skin swf'); }; v2.onLoadInit = function () { try { this.skin_mc._visible = false; this.skin_mc._x = 0; this.skin_mc._y = 0; this.layout_mc = this.skin_mc.layout_mc; if (this.layout_mc == undefined) { throw new Error('No layout_mc'); } this.layout_mc._visible = false; this.customClips = new Array(); this.setCustomClips('bg'); if (this.layout_mc.playpause_mc != undefined) { this.setSkin(mx.video.UIManager.PLAY_PAUSE_BUTTON, this.layout_mc.playpause_mc); } else { this.setSkin(mx.video.UIManager.PAUSE_BUTTON, this.layout_mc.pause_mc); this.setSkin(mx.video.UIManager.PLAY_BUTTON, this.layout_mc.play_mc); } this.setSkin(mx.video.UIManager.STOP_BUTTON, this.layout_mc.stop_mc); this.setSkin(mx.video.UIManager.BACK_BUTTON, this.layout_mc.back_mc); this.setSkin(mx.video.UIManager.FORWARD_BUTTON, this.layout_mc.forward_mc); this.setSkin(mx.video.UIManager.MUTE_BUTTON, this.layout_mc.volumeMute_mc); this.setSkin(mx.video.UIManager.SEEK_BAR, this.layout_mc.seekBar_mc); this.setSkin(mx.video.UIManager.VOLUME_BAR, this.layout_mc.volumeBar_mc); this.setSkin(mx.video.UIManager.BUFFERING_BAR, this.layout_mc.bufferingBar_mc); this.setCustomClips('fg'); this.layoutSkin(); this.setupSkinAutoHide(); this.skin_mc._visible = this.__visible; this._skinReady = true; this._vc.skinLoaded(); var v4 = this._vc.__get__activeVideoPlayerIndex(); this._vc.__set__activeVideoPlayerIndex(this._vc.visibleVideoPlayerIndex); var v3 = this._vc.__get__state(); var v2 = 0; while (v2 < mx.video.UIManager.NUM_CONTROLS) { if (this.controls[v2] == undefined) { } else { this.setEnabledAndVisibleForState(v2, v3); if (v2 < mx.video.UIManager.NUM_BUTTONS) { this.skinButtonControl(this.controls[v2]); } } ++v2; } this._vc.__set__activeVideoPlayerIndex(v4); } catch (v0) { if (Error(v0) != null) { var err = Error(v0); this._vc.skinError(err.message); this.removeSkin(); } else { throw v0; } } }; v2.layoutSkin = function () { if (this.layout_mc == undefined) { return undefined; } var v3 = this.layout_mc.video_mc; if (v3 == undefined) { throw new Error('No layout_mc.video_mc'); } this.placeholderLeft = v3._x; this.placeholderRight = v3._x + v3._width; this.placeholderTop = v3._y; this.placeholderBottom = v3._y + v3._height; this.videoLeft = 0; this.videoRight = this._vc.width; this.videoTop = 0; this.videoBottom = this._vc.height; if (!isNaN(this.layout_mc.minWidth) && this.layout_mc.minWidth > 0 && this.layout_mc.minWidth > this.videoRight) { this.videoLeft -= (this.layout_mc.minWidth - this.videoRight) / 2; this.videoRight = this.layout_mc.minWidth + this.videoLeft; } if (!isNaN(this.layout_mc.minHeight) && this.layout_mc.minHeight > 0 && this.layout_mc.minHeight > this.videoBottom) { this.videoTop -= (this.layout_mc.minHeight - this.videoBottom) / 2; this.videoBottom = this.layout_mc.minHeight + this.videoTop; } var v2; v2 = 0; while (v2 < this.customClips.length) { this.layoutControl(this.customClips[v2]); ++v2; } v2 = 0; while (v2 < mx.video.UIManager.NUM_CONTROLS) { this.layoutControl(this.controls[v2]); ++v2; } }; v2.layoutControl = function (ctrl) { if (ctrl == undefined) { return undefined; } if (ctrl.skin.anchorRight) { if (ctrl.skin.anchorLeft) { ctrl._x = ctrl.skin._x - this.placeholderLeft + this.videoLeft; ctrl._width = ctrl.skin._x + ctrl.skin._width - this.placeholderRight + this.videoRight - ctrl._x; if (ctrl.origWidth != undefined) { ctrl.origWidth = undefined; } } else { ctrl._x = ctrl.skin._x - this.placeholderRight + this.videoRight; } } else { ctrl._x = ctrl.skin._x - this.placeholderLeft + this.videoLeft; } if (ctrl.skin.anchorTop) { if (ctrl.skin.anchorBottom) { ctrl._y = ctrl.skin._y - this.placeholderTop + this.videoTop; ctrl._height = ctrl.skin._y + ctrl.skin._height - this.placeholderBottom + this.videoBottom - ctrl._y; if (ctrl.origHeight != undefined) { ctrl.origHeight = undefined; } } else { ctrl._y = ctrl.skin._y - this.placeholderTop + this.videoTop; } } else { ctrl._y = ctrl.skin._y - this.placeholderBottom + this.videoBottom; } switch (ctrl.controlIndex) { case mx.video.UIManager.SEEK_BAR: case mx.video.UIManager.VOLUME_BAR: if (ctrl.progress_mc != undefined) { if (this._progressPercent == undefined) { this._progressPercent = this._vc.__get__isRTMP() ? 100 : 0; } this.positionBar(ctrl, 'progress', this._progressPercent); } this.positionHandle(ctrl.controlIndex); break; case mx.video.UIManager.BUFFERING_BAR: if (ctrl.fill_mc != undefined) { this.positionMaskedFill(ctrl, ctrl.fill_mc, 100); } } if (ctrl.layoutSelf != undefined) { ctrl.layoutSelf(); } }; v2.removeSkin = function () { if (this.skin_mc != undefined) { var v2 = 0; while (v2 < mx.video.UIManager.NUM_BUTTONS) { this.removeButtonControl(v2); ++v2; } v2 = mx.video.UIManager.NUM_BUTTONS; while (v2 < mx.video.UIManager.NUM_CONTROLS) { this.controls[v2] = undefined; ++v2; } this.skin_mc.unloadMovie(); this.layout_mc = undefined; this.border_mc = undefined; } }; v2.setCustomClips = function (prefix) { var v4 = 1; while (!false) { var v2 = this.layout_mc[prefix + v4++ + '_mc']; if (v2 == undefined) { break; } var v3 = v2.mc; if (v3 == undefined) { v3 = v2._parent._parent[v2._name]; } if (v3 == undefined) { throw new Error('Bad clip in skin: ' + v2); } v3.skin = v2; this.customClips.push(v3); if (prefix == 'bg' && v4 == 2) { this.border_mc = v3; } } }; v2.setSkin = function (index, s) { if (s == undefined) { return undefined; } var v2 = s.mc; if (v2 == undefined) { v2 = s._parent._parent[s._name]; } if (v2 == undefined) { throw new Error('Bad clip in skin: ' + s); } v2.skin = s; if (index < mx.video.UIManager.NUM_BUTTONS) { this.setupSkinStates(v2); } else { switch (index) { case mx.video.UIManager.PLAY_PAUSE_BUTTON: this.setupSkinStates(v2.play_mc); this.setupSkinStates(v2.pause_mc); break; case mx.video.UIManager.MUTE_BUTTON: this.setupSkinStates(v2.on_mc); this.setupSkinStates(v2.off_mc); break; case mx.video.UIManager.SEEK_BAR: case mx.video.UIManager.VOLUME_BAR: var v4 = (index == mx.video.UIManager.SEEK_BAR) ? 'seekBar' : 'volumeBar'; if (v2.handle_mc == undefined) { v2.handle_mc = v2.skin.seekBarHandle_mc; if (v2.handle_mc == undefined) { v2.handle_mc = v2.skin._parent._parent[v4 + 'Handle_mc']; } } if (v2.progress_mc == undefined) { v2.progress_mc = v2.skin.progress_mc; if (v2.progress_mc == undefined) { v2.progress_mc = v2.skin._parent._parent[v4 + 'Progress_mc']; } } if (v2.fullness_mc == undefined) { v2.fullness_mc = v2.skin.fullness_mc; if (v2.fullness_mc == undefined) { v2.fullness_mc = v2.skin._parent._parent[v4 + 'Fullness_mc']; } } break; case mx.video.UIManager.BUFFERING_BAR: if (v2.fill_mc == undefined) { v2.fill_mc = v2.skin.fill_mc; if (v2.fill_mc == undefined) { v2.fill_mc = v2.skin._parent._parent.bufferingBarFill_mc; } } } } this.setControl(index, v2); }; v2.setupSkinStates = function (ctrl) { if (ctrl.up_mc == undefined) { ctrl.up_mc = ctrl; ctrl.over_mc = ctrl; ctrl.down_mc = ctrl; ctrl.disabled_mc = ctrl; } else { ctrl._x = 0; ctrl._y = 0; ctrl.up_mc._x = 0; ctrl.up_mc._y = 0; ctrl.up_mc._visible = true; if (ctrl.over_mc == undefined) { ctrl.over_mc = ctrl.up_mc; } else { ctrl.over_mc._x = 0; ctrl.over_mc._y = 0; ctrl.over_mc._visible = false; } if (ctrl.down_mc == undefined) { ctrl.down_mc = ctrl.up_mc; } else { ctrl.down_mc._x = 0; ctrl.down_mc._y = 0; ctrl.down_mc._visible = false; } if (ctrl.disabled_mc == undefined) { ctrl.disabled_mc_mc = ctrl.up_mc; } else { ctrl.disabled_mc._x = 0; ctrl.disabled_mc._y = 0; ctrl.disabled_mc._visible = false; } } }; v2.skinButtonControl = function (ctrl) { if (ctrl.onEnterFrame != undefined) { delete ctrl.onEnterFrame; ctrl.onEnterFrame = undefined; } if (ctrl.enabled) { switch (ctrl.state) { case mx.video.UIManager.UP_STATE: if (ctrl.up_mc == undefined) { ctrl.up_mc = ctrl.attachMovie(ctrl.upLinkageID, 'up_mc', ctrl.getNextHighestDepth()); } this.applySkinState(ctrl, ctrl.up_mc); break; case mx.video.UIManager.OVER_STATE: if (ctrl.over_mc == undefined) { if (ctrl.overLinkageID == undefined) { ctrl.over_mc = ctrl.up_mc; } else { ctrl.over_mc = ctrl.attachMovie(ctrl.overLinkageID, 'over_mc', ctrl.getNextHighestDepth()); } } this.applySkinState(ctrl, ctrl.over_mc); break; case mx.video.UIManager.DOWN_STATE: if (ctrl.down_mc == undefined) { if (ctrl.downLinkageID == undefined) { ctrl.down_mc = ctrl.up_mc; } else { ctrl.down_mc = ctrl.attachMovie(ctrl.downLinkageID, 'down_mc', ctrl.getNextHighestDepth()); } } this.applySkinState(ctrl, ctrl.down_mc); } } else { ctrl.state = mx.video.UIManager.UP_STATE; if (ctrl.disabled_mc == undefined) { if (ctrl.disabledLinkageID == undefined) { ctrl.disabled_mc = ctrl.up_mc; } else { ctrl.disabled_mc = ctrl.attachMovie(ctrl.disabledLinkageID, 'disabled_mc', ctrl.getNextHighestDepth()); } } this.applySkinState(ctrl, ctrl.disabled_mc); } if (ctrl.placeholder_mc != undefined) { ctrl.placeholder_mc.unloadMovie(); delete ctrl.placeholder_mc; ctrl.placeholder_mc = undefined; } }; v2.applySkinState = function (ctrl, state) { if (state != ctrl.currentState_mc) { if (state != undefined) { state._visible = true; } if (ctrl.currentState_mc != undefined) { ctrl.currentState_mc._visible = false; } ctrl.currentState_mc = state; } }; v2.addBarControl = function (controlIndex) { var v2 = this.controls[controlIndex]; v2.isDragging = false; v2.percentage = 0; v2.uiMgr = this; v2.controlIndex = controlIndex; if (v2._parent == this.skin_mc) { this.finishAddBarControl(controlIndex); } else { v2.onEnterFrame = function () { this.uiMgr.finishAddBarControl(this.controlIndex); }; } }; v2.finishAddBarControl = function (controlIndex) { var v2 = this.controls[controlIndex]; delete v2.onEnterFrame; v2.onEnterFrame = undefined; if (v2.addBarControl != undefined) { v2.addBarControl(); } this.calcBarMargins(v2, 'handle', true); this.calcBarMargins(v2, 'progress', false); this.calcBarMargins(v2.progress_mc, 'fill', false); this.calcBarMargins(v2.progress_mc, 'mask', false); this.calcBarMargins(v2, 'fullness', false); this.calcBarMargins(v2.fullness_mc, 'fill', false); this.calcBarMargins(v2.fullness_mc, 'mask', false); v2.origWidth = v2._width; v2.origHeight = v2._height; this.fixUpBar(v2, 'progress'); if (v2.progress_mc != undefined) { this.fixUpBar(v2, 'progressBarFill'); if (this._progressPercent == undefined) { this._progressPercent = this._vc.__get__isRTMP() ? 100 : 0; } this.positionBar(v2, 'progress', this._progressPercent); } this.fixUpBar(v2, 'fullness'); if (v2.fullness_mc != undefined) { this.fixUpBar(v2, 'fullnessBarFill'); } this.fixUpBar(v2, 'handle'); v2.handle_mc.controlIndex = controlIndex; switch (controlIndex) { case mx.video.UIManager.SEEK_BAR: this.setControl(mx.video.UIManager.SEEK_BAR_HANDLE, v2.handle_mc); break; case mx.video.UIManager.VOLUME_BAR: this.setControl(mx.video.UIManager.VOLUME_BAR_HANDLE, v2.handle_mc); } this.positionHandle(controlIndex); }; v2.fixUpBar = function (ctrl, type) { if (ctrl[type + 'LinkageID'] != undefined && ctrl[type + 'LinkageID'].length > 0) { var v1; if (ctrl[type + 'Below']) { v1 = -1; while (ctrl._parent.getInstanceAtDepth(v1) != undefined) { --v1; } } else { ctrl[type + 'Below'] = false; v1 = ctrl._parent.getNextHighestDepth(); } ctrl[type + '_mc'] = ctrl._parent.attachMovie(ctrl[type + 'LinkageID'], type + '_mc', v1); } }; v2.calcBarMargins = function (ctrl, type, symmetricMargins) { var v2 = ctrl[type + '_mc']; if (v2 == undefined) { return undefined; } if (ctrl[type + 'LeftMargin'] == undefined && v2._parent == ctrl._parent) { ctrl[type + 'LeftMargin'] = v2._x - ctrl._x; } if (ctrl[type + 'RightMargin'] == undefined) { if (symmetricMargins) { ctrl[type + 'RightMargin'] = ctrl[type + 'LeftMargin']; } else { if (v2._parent == ctrl._parent) { ctrl[type + 'RightMargin'] = ctrl._width - v2._width - v2._x + ctrl._x; } } } if (ctrl[type + 'TopMargin'] == undefined && v2._parent == ctrl._parent) { ctrl[type + 'TopMargin'] = v2._y - ctrl._y; } if (ctrl[type + 'BottomMargin'] == undefined) { if (symmetricMargins) { ctrl[type + 'BottomMargin'] = ctrl[type + 'TopMargin']; } else { if (v2._parent == ctrl._parent) { ctrl[type + 'BottomMargin'] = ctrl._height - v2._height - v2._y + ctrl._y; } } } if (ctrl[type + 'X'] == undefined) { if (v2._parent == ctrl._parent) { ctrl[type + 'X'] = v2._x - ctrl._x; } else { if (v2._parent == ctrl) { ctrl[type + 'X'] = v2._x; } } } if (ctrl[type + 'Y'] == undefined) { if (v2._parent == ctrl._parent) { ctrl[type + 'Y'] = v2._y - ctrl._y; } else { if (v2._parent == ctrl) { ctrl[type + 'Y'] = v2._y; } } } ctrl[type + 'XScale'] = v2._xscale; ctrl[type + 'YScale'] = v2._yscale; ctrl[type + 'Width'] = v2._width; ctrl[type + 'Height'] = v2._height; }; v2.finishAddBufferingBar = function () { var v2 = this.controls[mx.video.UIManager.BUFFERING_BAR]; delete v2.onEnterFrame; v2.onEnterFrame = undefined; this.calcBarMargins(v2, 'fill', true); this.fixUpBar(v2, 'fill'); if (v2.fill_mc != undefined) { this.positionMaskedFill(v2, v2.fill_mc, 100); } }; v2.positionMaskedFill = function (ctrl, fill, percent) { var v5 = fill._parent; var v3 = ctrl.mask_mc; if (v3 == undefined) { v3 = v5.createEmptyMovieClip(ctrl._name + 'Mask_mc', v5.getNextHighestDepth()); ctrl.mask_mc = v3; v3.beginFill(16777215); v3.lineTo(0, 0); v3.lineTo(1, 0); v3.lineTo(1, 1); v3.lineTo(0, 1); v3.lineTo(0, 0); v3.endFill(); fill.setMask(v3); v3._x = ctrl.fillX; v3._y = ctrl.fillY; v3._width = ctrl.fillWidth; v3._height = ctrl.fillHeight; v3._visible = false; this.calcBarMargins(ctrl, 'mask', true); } if (v5 == ctrl) { if (fill.slideReveal) { fill._x = ctrl.maskX - ctrl.fillWidth + ctrl.fillWidth * percent / 100; } else { v3._width = ctrl.fillWidth * percent / 100; } } else { if (v5 == ctrl._parent) { if (fill.slideReveal) { v3._x = ctrl._x + ctrl.maskLeftMargin; v3._y = ctrl._y + ctrl.maskTopMargin; v3._width = ctrl._width - ctrl.maskRightMargin - ctrl.maskLeftMargin; v3._height = ctrl._height - ctrl.maskTopMargin - ctrl.maskBottomMargin; fill._x = v3._x - ctrl.fillWidth + ctrl.maskWidth * percent / 100; fill._y = ctrl._y + ctrl.fillTopMargin; } else { fill._x = ctrl._x + ctrl.fillLeftMargin; fill._y = ctrl._y + ctrl.fillTopMargin; v3._x = fill._x; v3._y = fill._y; v3._width = (ctrl._width - ctrl.fillRightMargin - ctrl.fillLeftMargin) * percent / 100; v3._height = ctrl._height - ctrl.fillTopMargin - ctrl.fillBottomMargin; } } } }; v2.startHandleDrag = function (controlIndex) { var v2 = this.controls[controlIndex]; var v5 = v2.handle_mc; if (v2.startHandleDrag == undefined || !v2.startHandleDrag()) { var v3 = v2._y + v2.handleY; var v4 = (v2.origWidth == undefined) ? v2._width : v2.origWidth; v5.startDrag(false, v2._x + v2.handleLeftMargin, v3, v2._x + v4 - v2.handleRightMargin, v3); } v2.isDragging = true; }; v2.stopHandleDrag = function (controlIndex) { var v2 = this.controls[controlIndex]; var v3 = v2.handle_mc; if (v2.stopHandleDrag == undefined || !v2.stopHandleDrag()) { v3.stopDrag(); } v2.isDragging = false; }; v2.positionHandle = function (controlIndex) { var v2 = this.controls[controlIndex]; var v3 = v2.handle_mc; if (v3 == undefined) { return undefined; } if (v2.positionHandle != undefined && v2.positionHandle()) { return undefined; } var v4 = (v2.origWidth == undefined) ? v2._width : v2.origWidth; var v5 = v4 - v2.handleRightMargin - v2.handleLeftMargin; v3._x = v2._x + v2.handleLeftMargin + v5 * v2.percentage / 100; v3._y = v2._y + v2.handleY; if (v2.fullness_mc != undefined) { this.positionBar(v2, 'fullness', v2.percentage); } }; v2.positionBar = function (ctrl, type, percent) { if (ctrl.positionBar != undefined && ctrl.positionBar(type, percent)) { return undefined; } var v2 = ctrl[type + '_mc']; if (v2._parent == ctrl) { if (v2.fill_mc == undefined) { v2._xscale = ctrl[type + 'XScale'] * percent / 100; } else { this.positionMaskedFill(v2, v2.fill_mc, percent); } } else { v2._x = ctrl._x + ctrl[type + 'LeftMargin']; v2._y = ctrl._y + ctrl[type + 'Y']; if (v2.fill_mc == undefined) { v2._width = (ctrl._width - ctrl[type + 'LeftMargin'] - ctrl[type + 'RightMargin']) * percent / 100; } else { this.positionMaskedFill(v2, v2.fill_mc, percent); } } }; v2.calcPercentageFromHandle = function (controlIndex) { var v2 = this.controls[controlIndex]; var v5 = v2.handle_mc; if (v2.calcPercentageFromHandle == undefined || !v2.calcPercentageFromHandle()) { var v3 = (v2.origWidth == undefined) ? v2._width : v2.origWidth; var v6 = v3 - v2.handleRightMargin - v2.handleLeftMargin; var v4 = v5._x - (v2._x + v2.handleLeftMargin); v2.percentage = (v4 / v6) * 100; if (v2.fullness_mc != undefined) { this.positionBar(v2, 'fullness', v2.percentage); } } if (v2.percentage < 0) { v2.percentage = 0; } if (v2.percentage > 100) { v2.percentage = 100; } }; v2.handleRelease = function (controlIndex) { var v3 = this._vc.__get__activeVideoPlayerIndex(); this._vc.__set__activeVideoPlayerIndex(this._vc.visibleVideoPlayerIndex); if (controlIndex == mx.video.UIManager.SEEK_BAR) { this.seekBarListener(true); } else { if (controlIndex == mx.video.UIManager.VOLUME_BAR) { this.volumeBarListener(true); } } this.stopHandleDrag(controlIndex); this._vc.__set__activeVideoPlayerIndex(v3); if (controlIndex == mx.video.UIManager.SEEK_BAR) { this._vc._scrubFinish(); } }; v2.seekBarListener = function (finish) { var v3 = this._vc.__get__activeVideoPlayerIndex(); this._vc.__set__activeVideoPlayerIndex(this._vc.visibleVideoPlayerIndex); var v4 = this.controls[mx.video.UIManager.SEEK_BAR]; this.calcPercentageFromHandle(mx.video.UIManager.SEEK_BAR); var v2 = v4.percentage; if (finish) { clearInterval(this._seekBarIntervalID); this._seekBarIntervalID = 0; if (v2 != this._lastScrubPos) { this._vc.seekPercent(v2); } this._vc.addEventListener('playheadUpdate', this); if (this._playAfterScrub) { this._vc.play(); } } else { if ((this._vc.getVideoPlayer(this._vc.__get__visibleVideoPlayerIndex())).__get__state() == mx.video.VideoPlayer.SEEKING) { } else { if (this._seekBarScrubTolerance <= 0 || Math.abs(v2 - this._lastScrubPos) > this._seekBarScrubTolerance || v2 < this._seekBarScrubTolerance || v2 > 100 - this._seekBarScrubTolerance) { if (v2 != this._lastScrubPos) { this._lastScrubPos = v2; this._vc.seekPercent(v2); } } } } this._vc.__set__activeVideoPlayerIndex(v3); }; v2.volumeBarListener = function (finish) { var v3 = this.controls[mx.video.UIManager.VOLUME_BAR]; this.calcPercentageFromHandle(mx.video.UIManager.VOLUME_BAR); var v2 = v3.percentage; if (finish) { clearInterval(this._volumeBarIntervalID); this._volumeBarIntervalID = 0; this._vc.addEventListener('volumeUpdate', this); } if (finish || this._volumeBarScrubTolerance <= 0 || Math.abs(v2 - this._lastVolumePos) > this._volumeBarScrubTolerance || v2 < this._volumeBarScrubTolerance || v2 > 100 - this._volumeBarScrubTolerance) { if (v2 != this._lastVolumePos) { if (this._isMuted) { this.cachedSoundLevel = v2; } else { this._vc.__set__volume(v2); } } } }; v2.doBufferingDelay = function () { clearInterval(this._bufferingDelayIntervalID); this._bufferingDelayIntervalID = 0; var v2 = this._vc.__get__activeVideoPlayerIndex(); this._vc.__set__activeVideoPlayerIndex(this._vc.visibleVideoPlayerIndex); if (this._vc.__get__state() == mx.video.FLVPlayback.BUFFERING) { this._bufferingOn = true; this.handleEvent({'type': 'stateChange', 'state': mx.video.FLVPlayback.BUFFERING, 'vp': this._vc.__get__visibleVideoPlayerIndex()}); } this._vc.__set__activeVideoPlayerIndex(v2); }; v2.dispatchMessage = function (ctrl) { if (ctrl.id == mx.video.UIManager.SEEK_BAR_HANDLE) { this._vc._scrubStart(); } var v2 = this._vc.__get__activeVideoPlayerIndex(); this._vc.__set__activeVideoPlayerIndex(this._vc.visibleVideoPlayerIndex); switch (ctrl.id) { case mx.video.UIManager.PAUSE_BUTTON: this._vc.pause(); break; case mx.video.UIManager.PLAY_BUTTON: this._vc.play(); break; case mx.video.UIManager.STOP_BUTTON: this._vc.stop(); break; case mx.video.UIManager.SEEK_BAR_HANDLE: this.calcPercentageFromHandle(mx.video.UIManager.SEEK_BAR); this._lastScrubPos = this.controls[mx.video.UIManager.SEEK_BAR].percentage; this._vc.removeEventListener('playheadUpdate', this); if (this._vc.__get__playing() || this._vc.__get__buffering()) { this._playAfterScrub = true; } else { if (this._vc.__get__state() != mx.video.VideoPlayer.SEEKING) { this._playAfterScrub = false; } } this._seekBarIntervalID = setInterval(this, 'seekBarListener', this._seekBarInterval, false); this.startHandleDrag(mx.video.UIManager.SEEK_BAR, mx.video.UIManager.SEEK_BAR_HANDLE); this._vc.pause(); break; case mx.video.UIManager.VOLUME_BAR_HANDLE: this.calcPercentageFromHandle(mx.video.UIManager.VOLUME_BAR); this._lastVolumePos = this.controls[mx.video.UIManager.VOLUME_BAR].percentage; this._vc.removeEventListener('volumeUpdate', this); this._volumeBarIntervalID = setInterval(this, 'volumeBarListener', this._volumeBarInterval, false); this.startHandleDrag(mx.video.UIManager.VOLUME_BAR, mx.video.UIManager.VOLUME_BAR_HANDLE); break; case mx.video.UIManager.BACK_BUTTON: this._vc.seekToPrevNavCuePoint(); break; case mx.video.UIManager.FORWARD_BUTTON: this._vc.seekToNextNavCuePoint(); break; case mx.video.UIManager.MUTE_ON_BUTTON: case mx.video.UIManager.MUTE_OFF_BUTTON: if (!this._isMuted) { this._isMuted = true; this.cachedSoundLevel = this._vc.volume; this._vc.__set__volume(0); } else { this._isMuted = false; this._vc.__set__volume(this.cachedSoundLevel); } this.setEnabledAndVisibleForState(mx.video.UIManager.MUTE_OFF_BUTTON, mx.video.FLVPlayback.PLAYING); this.skinButtonControl(this.controls[mx.video.UIManager.MUTE_OFF_BUTTON]); this.setEnabledAndVisibleForState(mx.video.UIManager.MUTE_ON_BUTTON, mx.video.FLVPlayback.PLAYING); this.skinButtonControl(this.controls[mx.video.UIManager.MUTE_ON_BUTTON]); break; default: throw new Error('Unknown ButtonControl'); } this._vc.__set__activeVideoPlayerIndex(v2); }; v2.setEnabledAndVisibleForState = function (index, state) { var v5 = this._vc.__get__activeVideoPlayerIndex(); this._vc.__set__activeVideoPlayerIndex(this._vc.visibleVideoPlayerIndex); var v3 = state; if (v3 == mx.video.FLVPlayback.BUFFERING && !this._bufferingOn) { v3 = mx.video.FLVPlayback.PLAYING; } switch (index) { case mx.video.UIManager.VOLUME_BAR: case mx.video.UIManager.VOLUME_BAR_HANDLE: this.controls[index].myEnabled = true; this.controls[index].enabled = this._controlsEnabled; break; case mx.video.UIManager.MUTE_ON_BUTTON: this.controls[index].myEnabled = !this._isMuted; if (this.controls[mx.video.UIManager.MUTE_BUTTON] != undefined) { this.controls[index]._visible = this.controls[index].myEnabled; } break; case mx.video.UIManager.MUTE_OFF_BUTTON: this.controls[index].myEnabled = this._isMuted; if (this.controls[mx.video.UIManager.MUTE_BUTTON] != undefined) { this.controls[index]._visible = this.controls[index].myEnabled; } break; default: switch (v3) { case mx.video.FLVPlayback.LOADING: case mx.video.FLVPlayback.CONNECTION_ERROR: this.controls[index].myEnabled = false; break; case mx.video.FLVPlayback.DISCONNECTED: this.controls[index].myEnabled = this._vc.__get__contentPath() != undefined; break; case mx.video.FLVPlayback.SEEKING: break; default: this.controls[index].myEnabled = true; } } switch (index) { case mx.video.UIManager.SEEK_BAR: switch (v3) { case mx.video.FLVPlayback.STOPPED: case mx.video.FLVPlayback.PLAYING: case mx.video.FLVPlayback.PAUSED: case mx.video.FLVPlayback.REWINDING: case mx.video.FLVPlayback.SEEKING: this.controls[index].myEnabled = true; break; case mx.video.FLVPlayback.BUFFERING: this.controls[index].myEnabled = !this._bufferingBarHides || this.controls[mx.video.UIManager.BUFFERING_BAR] == undefined; break; default: this.controls[index].myEnabled = false; } if (this.controls[index].myEnabled) { this.controls[index].myEnabled = !isNaN(this._vc.__get__totalTime()) && this._vc.__get__totalTime() > 0; } this.controls[index].handle_mc.myEnabled = this.controls[index].myEnabled; this.controls[index].handle_mc.enabled = this.controls[index].handle_mc.myEnabled; this.controls[index].handle_mc._visible = this.controls[index].myEnabled; var v4 = !this._bufferingBarHides || this.controls[index].myEnabled || this.controls[mx.video.UIManager.BUFFERING_BAR] == undefined || !this.controls[mx.video.UIManager.BUFFERING_BAR]._visible; this.controls[index]._visible = v4; this.controls[index].progress_mc._visible = v4; this.controls[index].progress_mc.fill_mc._visible = v4; this.controls[index].fullness_mc._visible = v4; this.controls[index].progress_mc.fill_mc._visible = v4; break; case mx.video.UIManager.BUFFERING_BAR: switch (v3) { case mx.video.FLVPlayback.STOPPED: case mx.video.FLVPlayback.PLAYING: case mx.video.FLVPlayback.PAUSED: case mx.video.FLVPlayback.REWINDING: case mx.video.FLVPlayback.SEEKING: this.controls[index].myEnabled = false; break; default: this.controls[index].myEnabled = true; } this.controls[index]._visible = this.controls[index].myEnabled; this.controls[index].fill_mc._visible = this.controls[index].myEnabled; break; case mx.video.UIManager.PAUSE_BUTTON: switch (v3) { case mx.video.FLVPlayback.DISCONNECTED: case mx.video.FLVPlayback.STOPPED: case mx.video.FLVPlayback.PAUSED: case mx.video.FLVPlayback.REWINDING: this.controls[index].myEnabled = false; break; case mx.video.FLVPlayback.PLAYING: this.controls[index].myEnabled = true; break; case mx.video.FLVPlayback.BUFFERING: this.controls[index].myEnabled = !this._bufferingBarHides || this.controls[mx.video.UIManager.BUFFERING_BAR] == undefined; } if (this.controls[mx.video.UIManager.PLAY_PAUSE_BUTTON] != undefined) { this.controls[index]._visible = this.controls[index].myEnabled; } break; case mx.video.UIManager.PLAY_BUTTON: switch (v3) { case mx.video.FLVPlayback.PLAYING: this.controls[index].myEnabled = false; break; case mx.video.FLVPlayback.STOPPED: case mx.video.FLVPlayback.PAUSED: this.controls[index].myEnabled = true; break; case mx.video.FLVPlayback.BUFFERING: this.controls[index].myEnabled = !this._bufferingBarHides || this.controls[mx.video.UIManager.BUFFERING_BAR] == undefined; } if (this.controls[mx.video.UIManager.PLAY_PAUSE_BUTTON] != undefined) { this.controls[index]._visible = !this.controls[mx.video.UIManager.PAUSE_BUTTON]._visible; } break; case mx.video.UIManager.STOP_BUTTON: switch (v3) { case mx.video.FLVPlayback.DISCONNECTED: case mx.video.FLVPlayback.STOPPED: this.controls[index].myEnabled = false; break; case mx.video.FLVPlayback.PAUSED: case mx.video.FLVPlayback.PLAYING: case mx.video.FLVPlayback.BUFFERING: this.controls[index].myEnabled = true; } break; case mx.video.UIManager.BACK_BUTTON: case mx.video.UIManager.FORWARD_BUTTON: if (v3 !== mx.video.FLVPlayback.BUFFERING) { } else { this.controls[index].myEnabled = !this._bufferingBarHides || this.controls[mx.video.UIManager.BUFFERING_BAR] == undefined; } } this.controls[index].enabled = this._controlsEnabled && this.controls[index].myEnabled; this._vc.__set__activeVideoPlayerIndex(v5); }; v2.setupSkinAutoHide = function () { var v2 = this._vc.getVideoPlayer(this._vc.__get__visibleVideoPlayerIndex()); if (this._skinAutoHide && this.skin_mc != undefined) { this.skinAutoHideHitTest(); if (this._skinAutoHideIntervalID == 0) { this._skinAutoHideIntervalID = setInterval(this, 'skinAutoHideHitTest', mx.video.UIManager.SKIN_AUTO_HIDE_INTERVAL); } } else { this.skin_mc._visible = this.__visible; clearInterval(this._skinAutoHideIntervalID); this._skinAutoHideIntervalID = 0; } }; v2.skinAutoHideHitTest = function () { if (!this.__visible) { this.skin_mc._visible = false; } else { var v4 = this._vc.getVideoPlayer(this._vc.__get__visibleVideoPlayerIndex()); var v3 = v4.hitTest(_root._xmouse, _root._ymouse, true); if (!v3 && this.border_mc != undefined) { v3 = this.border_mc.hitTest(_root._xmouse, _root._ymouse, true); } this.skin_mc._visible = v3; } }; v1.version = '1.0.0.103'; v1.PAUSE_BUTTON = 0; v1.PLAY_BUTTON = 1; v1.STOP_BUTTON = 2; v1.SEEK_BAR_HANDLE = 3; v1.BACK_BUTTON = 4; v1.FORWARD_BUTTON = 5; v1.MUTE_ON_BUTTON = 6; v1.MUTE_OFF_BUTTON = 7; v1.VOLUME_BAR_HANDLE = 8; v1.NUM_BUTTONS = 9; v1.PLAY_PAUSE_BUTTON = 9; v1.MUTE_BUTTON = 10; v1.BUFFERING_BAR = 11; v1.SEEK_BAR = 12; v1.VOLUME_BAR = 13; v1.NUM_CONTROLS = 14; v1.UP_STATE = 0; v1.OVER_STATE = 1; v1.DOWN_STATE = 2; v1.SKIN_AUTO_HIDE_INTERVAL = 200; v1.VOLUME_BAR_INTERVAL_DEFAULT = 250; v1.VOLUME_BAR_SCRUB_TOLERANCE_DEFAULT = 0; v1.SEEK_BAR_INTERVAL_DEFAULT = 250; v1.SEEK_BAR_SCRUB_TOLERANCE_DEFAULT = 5; v1.BUFFERING_DELAY_INTERVAL_DEFAULT = 1000; v2.addProperty('bufferingBarHidesAndDisablesOthers', v2.__get__bufferingBarHidesAndDisablesOthers, v2.__set__bufferingBarHidesAndDisablesOthers); v2.addProperty('bufferingDelayInterval', v2.__get__bufferingDelayInterval, v2.__set__bufferingDelayInterval); v2.addProperty('controlsEnabled', v2.__get__controlsEnabled, v2.__set__controlsEnabled); v2.addProperty('seekBarInterval', v2.__get__seekBarInterval, v2.__set__seekBarInterval); v2.addProperty('seekBarScrubTolerance', v2.__get__seekBarScrubTolerance, v2.__set__seekBarScrubTolerance); v2.addProperty('skin', v2.__get__skin, v2.__set__skin); v2.addProperty('skinAutoHide', v2.__get__skinAutoHide, v2.__set__skinAutoHide); v2.addProperty('skinReady', v2.__get__skinReady, function () {}); v2.addProperty('visible', v2.__get__visible, v2.__set__visible); v2.addProperty('volumeBarInterval', v2.__get__volumeBarInterval, v2.__set__volumeBarInterval); v2.addProperty('volumeBarScrubTolerance', v2.__get__volumeBarScrubTolerance, v2.__set__volumeBarScrubTolerance); ASSetPropFlags(mx.video.UIManager.prototype, null, 1); } #endinitclip } movieClip 15 __Packages.mx.utils.Delegate { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.utils) { _global.mx.utils = new Object(); } if (!_global.mx.utils.Delegate) { var v1 = function (f) { super(); this.func = f; }; mx.utils.Delegate = v1; mx.utils.Delegate extends Object; var v2 = v1.prototype; v1.create = function (obj, func) { var v2 = function () { var v2 = arguments.callee.target; var v3 = arguments.callee.func; return v3.apply(v2, arguments); }; v2.target = obj; v2.func = func; return v2; }; v2.createDelegate = function (obj) { return mx.utils.Delegate.create(obj, this.func); }; ASSetPropFlags(mx.utils.Delegate.prototype, null, 1); } #endinitclip } movieClip 16 __Packages.mx.video.SMILManager { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.video) { _global.mx.video = new Object(); } if (!_global.mx.video.SMILManager) { var v1 = function (owner) { this._owner = owner; }; mx.video.SMILManager = v1; var v2 = v1.prototype; v2.connectXML = function (url) { this._url = url; this.xml = new XML(); this.xml.onLoad = mx.utils.Delegate.create(this, this.xmlOnLoad); this.xml.load(url); return false; }; v2.xmlOnLoad = function (success) { try { if (!success) { this._owner.helperDone(this, false); } else { this.baseURLAttr = new Array(); this.videoTags = new Array(); var v4 = this.xml.firstChild; if (v4.nodeName == null) { throw new mx.video.VideoError(mx.video.VideoError.INVALID_XML, 'URL: "' + this._url + '" No root node found; if file is an flv it must have .flv extension'); } else { if (v4.nodeName.toLowerCase() != 'smil') { throw new mx.video.VideoError(mx.video.VideoError.INVALID_XML, 'URL: "' + this._url + '" Root node not smil: ' + v4.nodeName); } } var v5 = false; var v3 = 0; while (v3 < v4.childNodes.length) { var v2 = v4.childNodes[v3]; if (v2.nodeType != mx.video.SMILManager.ELEMENT_NODE) { } else { if (v2.nodeName.toLowerCase() == 'head') { this.parseHead(v2); } else { if (v2.nodeName.toLowerCase() == 'body') { v5 = true; this.parseBody(v2); } else { throw new mx.video.VideoError(mx.video.VideoError.INVALID_XML, 'URL: "' + this._url + '" Tag ' + v2.nodeName + ' not supported in ' + v4.nodeName + ' tag.'); } } } ++v3; } if (!v5) { throw new mx.video.VideoError(mx.video.VideoError.INVALID_XML, 'URL: "' + this._url + '" Tag body is required.'); } this._owner.helperDone(this, true); } } catch (v0) { if (Error(v0) != null) { var err = Error(v0); this._owner.helperDone(this, false); throw err; } else { throw v0; } } }; v2.parseHead = function (parentNode) { var v4 = false; var v3 = 0; while (v3 < parentNode.childNodes.length) { var v2 = parentNode.childNodes[v3]; if (v2.nodeType != mx.video.SMILManager.ELEMENT_NODE) { } else { if (v2.nodeName.toLowerCase() == 'meta') { for (var v6 in v2.attributes) { if (v6.toLowerCase() == 'base') { this.baseURLAttr.push(v2.attributes[v6]); } else { throw new mx.video.VideoError(mx.video.VideoError.INVALID_XML, 'URL: "' + this._url + '" Attribute ' + v6 + ' not supported in ' + v2.nodeName + ' tag.'); } } } else { if (v2.nodeName.toLowerCase() == 'layout') { if (!v4) { this.parseLayout(v2); v4 = true; } else {} } else {} } } ++v3; } }; v2.parseLayout = function (parentNode) { var v3 = 0; while (v3 < parentNode.childNodes.length) { var v2 = parentNode.childNodes[v3]; if (v2.nodeType != mx.video.SMILManager.ELEMENT_NODE) { } else { if (v2.nodeName.toLowerCase() == 'root-layout') { for (var v5 in v2.attributes) { if (v5.toLowerCase() == 'width') { this.width = Number(v2.attributes[v5]); } else { if (v5.toLowerCase() == 'height') { this.height = Number(v2.attributes[v5]); } else {} } } if (isNaN(this.width) || this.width < 0 || isNaN(this.height) || this.height < 0) { throw new mx.video.VideoError(mx.video.VideoError.INVALID_XML, 'URL: "' + this._url + '" Tag ' + v2.nodeName + ' requires attributes id, width and height. Width and height must be numbers greater than or equal to 0.'); } this.width = Math.round(this.width); this.height = Math.round(this.height); return undefined; } else {} } ++v3; } }; v2.parseBody = function (parentNode) { var v6 = 0; var v3 = 0; while (v3 < parentNode.childNodes.length) { var v2 = parentNode.childNodes[v3]; if (v2.nodeType != mx.video.SMILManager.ELEMENT_NODE) { } else { if (++v6 > 1) { throw new mx.video.VideoError(mx.video.VideoError.INVALID_XML, 'URL: "' + this._url + '" Tag ' + parentNode.nodeName + ' is required to contain exactly one tag.'); } if (v2.nodeName.toLowerCase() == 'switch') { this.parseSwitch(v2); } else { if (v2.nodeName.toLowerCase() == 'video' || v2.nodeName.toLowerCase() == 'ref') { var v5 = this.parseVideo(v2); this.videoTags.push(v5); } else {} } } ++v3; } if (this.videoTags.length < 1) { throw new mx.video.VideoError(mx.video.VideoError.INVALID_XML, 'URL: "' + this._url + '" At least one video of ref tag is required.'); } }; v2.parseSwitch = function (parentNode) { var v4 = 0; while (v4 < parentNode.childNodes.length) { var v5 = parentNode.childNodes[v4]; if (v5.nodeType != mx.video.SMILManager.ELEMENT_NODE) { } else { if (v5.nodeName.toLowerCase() == 'video' || v5.nodeName.toLowerCase() == 'ref') { var v3 = this.parseVideo(v5); if (v3.bitrate == undefined) { this.videoTags.push(v3); } else { var v6 = false; var v2 = 0; while (v2 < this.videoTags.length) { if (this.videoTags[v2].bitrate == undefined || v3.bitrate < this.videoTags[v4].bitrate) { v6 = true; this.videoTags.splice(v2, 0, this.videoTags); break; } ++v2; } if (!v6) { this.videoTags.push(v3); } } } else {} } ++v4; } }; v2.parseVideo = function (node) { var v3 = new Object(); for (var v4 in node.attributes) { if (v4.toLowerCase() == 'src') { v3.src = node.attributes[v4]; } else { if (v4.toLowerCase() == 'system-bitrate') { v3.bitrate = Number(node.attributes[v4]); } else { if (v4.toLowerCase() == 'dur') { v3.dur = Number(node.attributes[v4]); } else {} } } } if (v3.src == undefined) { throw new mx.video.VideoError(mx.video.VideoError.INVALID_XML, 'URL: "' + this._url + '" Attribute src is required in ' + node.nodeName + ' tag.'); } return v3; }; v1.version = '1.0.0.103'; v1.ELEMENT_NODE = 1; ASSetPropFlags(mx.video.SMILManager.prototype, null, 1); } #endinitclip } movieClip 17 __Packages.mx.video.NCManager { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.video) { _global.mx.video = new Object(); } if (!_global.mx.video.NCManager) { var v1 = function () { this.initNCInfo(); this.initOtherInfo(); this._timeoutIntervalId = 0; this._tryNCIntervalId = 0; this._timeout = this.DEFAULT_TIMEOUT; }; mx.video.NCManager = v1; var v2 = v1.prototype; _global.mx.video.NCManager implements _global.mx.video.INCManager; v2.initNCInfo = function () { this._isRTMP = undefined; this._serverName = undefined; this._wrappedURL = undefined; this._portNumber = undefined; this._appName = undefined; }; v2.initOtherInfo = function () { this._contentPath = undefined; this._streamName = undefined; this._streamLength = undefined; this._streamWidth = undefined; this._streamHeight = undefined; this._streams = undefined; this._autoSenseBW = false; this._payload = 0; this._connTypeCounter = 0; this.cleanConns(); }; v2.getTimeout = function () { return this._timeout; }; v2.setTimeout = function (t) { this._timeout = t; if (this._timeoutIntervalId != 0) { clearInterval(this._timeoutIntervalId); this._timeoutIntervalId = setInterval(this, '_onFCSConnectTimeOut', this._timeout); } }; v2.getBitrate = function () { return this._bitrate; }; v2.setBitrate = function (b) { if (this._isRTMP == undefined || !this._isRTMP) { this._bitrate = b; } }; v2.getVideoPlayer = function () { return this._owner; }; v2.setVideoPlayer = function (v) { this._owner = v; }; v2.getNetConnection = function () { return this._nc; }; v2.getStreamName = function () { return this._streamName; }; v2.isRTMP = function () { return this._isRTMP; }; v2.getStreamLength = function () { return this._streamLength; }; v2.getStreamWidth = function () { return this._streamWidth; }; v2.getStreamHeight = function () { return this._streamHeight; }; v2.connectToURL = function (url) { this.initOtherInfo(); this._contentPath = url; if (this._contentPath == null || this._contentPath == undefined || this._contentPath == '') { throw new mx.video.VideoError(mx.video.VideoError.INVALID_CONTENT_PATH); } var v2 = this.parseURL(this._contentPath); if (v2.streamName == undefined || v2.streamName == '') { throw new mx.video.VideoError(mx.video.VideoError.INVALID_CONTENT_PATH, url); } if (v2.isRTMP) { var v3 = this.canReuseOldConnection(v2); this._isRTMP = true; this._protocol = v2.protocol; this._streamName = v2.streamName; this._serverName = v2.serverName; this._wrappedURL = v2.wrappedURL; this._portNumber = v2.portNumber; this._appName = v2.appName; if (this._appName == undefined || this._appName == '' || this._streamName == undefined || this._streamName == '') { throw new mx.video.VideoError(mx.video.VideoError.INVALID_CONTENT_PATH, url); } this._autoSenseBW = this._streamName.indexOf(',') != -1; return v3 || this.connectRTMP(); } else { if ((v2.streamName.slice(-4)).toLowerCase() == '.flv') { var v3 = this.canReuseOldConnection(v2); this._isRTMP = false; this._streamName = v2.streamName; return v3 || this.connectHTTP(); } else { this._smilMgr = new mx.video.SMILManager(this); return this._smilMgr.connectXML(v2.streamName); } } }; v2.connectAgain = function () { var v2 = this._appName.indexOf('/'); if (v2 < 0) { v2 = this._streamName.indexOf('/'); if (v2 >= 0) { this._appName += '/'; this._appName += this._streamName.slice(0, v2); this._streamName = this._streamName.slice(v2 + 1); } return false; } var v3 = this._appName.slice(v2 + 1); v3 += '/'; v3 += this._streamName; this._streamName = v3; this._appName = this._appName.slice(0, v2); this.close(); this._payload = 0; this._connTypeCounter = 0; this.cleanConns(); this.connectRTMP(); return true; }; v2.reconnect = function () { if (!this._isRTMP) { throw new Error('Cannot call reconnect on an http connection'); } this._nc.onStatus = function (info) { this.mc.reconnectOnStatus(this, info); }; this._nc.onBWDone = function () { this.mc.onReconnected(); }; this._nc.connect(this._ncUri, false); }; v2.onReconnected = function () { delete this._nc.onStatus; delete this._nc.onBWDone; this._owner.ncReconnected(); }; v2.close = function () { if (this._nc) { this._nc.close(); } }; v2.helperDone = function (helper, success) { if (helper != this._smilMgr) { return undefined; } if (!success) { this._nc = undefined; this._owner.ncConnected(); delete this._smilMgr; return undefined; } this._streamWidth = this._smilMgr.width; this._streamHeight = this._smilMgr.height; var v2; var v4 = this._smilMgr.baseURLAttr[0]; if (v4 != undefined && v4 != '') { v2 = this.parseURL(v4); this._isRTMP = v2.isRTMP; this._streamName = v2.streamName; if (this._isRTMP) { this._protocol = v2.protocol; this._serverName = v2.serverName; this._portNumber = v2.portNumber; this._wrappedURL = v2.wrappedURL; this._appName = v2.appName; if (this._appName == undefined || this._appName == '') { throw new mx.video.VideoError(mx.video.VideoError.INVALID_XML, 'Base RTMP URL must include application name: ' + v4); } if (this._smilMgr.baseURLAttr.length > 1) { v2 = this.parseURL(this._smilMgr.baseURLAttr[1]); if (v2.serverName != undefined) { this.fallbackServerName = v2.serverName; } } } } this._streams = this._smilMgr.videoTags; var v3 = 0; while (v3 < this._streams.length) { v4 = this._streams[v3].src; v2 = this.parseURL(v4); if (this._isRTMP == undefined) { this._isRTMP = v2.isRTMP; if (this._isRTMP) { this._protocol = v2.protocol; if (this._streams.length > 1) { throw new mx.video.VideoError(mx.video.VideoError.INVALID_XML, 'Cannot switch between multiple absolute RTMP URLs, must use meta tag base attribute.'); } this._serverName = v2.serverName; this._portNumber = v2.portNumber; this._wrappedURL = v2.wrappedURL; this._appName = v2.appName; if (this._appName == undefined || this._appName == '') { throw new mx.video.VideoError(mx.video.VideoError.INVALID_XML, 'Base RTMP URL must include application name: ' + v4); } } } else { if (this._streamName != undefined && this._streamName != '' && !v2.isRelative && this._streams.length > 1) { throw new mx.video.VideoError(mx.video.VideoError.INVALID_XML, 'When using meta tag base attribute, cannot use absolute URLs for video or ref tag src attributes.'); } } this._streams[v3].parseResults = v2; ++v3; } this._autoSenseBW = this._streams.length > 1; if (!this._autoSenseBW) { if (this._streamName != undefined) { this._streamName += this._streams[0].parseResults.streamName; } else { this._streamName = this._streams[0].parseResults.streamName; } this._streamLength = this._streams[0].dur; } if (this._isRTMP) { this.connectRTMP(); } else { if (this._autoSenseBW) { this.bitrateMatch(); } this.connectHTTP(); this._owner.ncConnected(); } }; v2.bitrateMatch = function () { var v3; if (isNaN(this._bitrate)) { v3 = 0; } else { var v2 = 0; while (v2 < this._streams.length) { if (isNaN(this._streams[v2].bitrate) || this._bitrate <= this._streams[v2].bitrate) { v3 = v2; break; } ++v2; } } if (isNaN(v3)) { throw new mx.video.VideoError(mx.video.VideoError.NO_BITRATE_MATCH); } if (this._streamName != undefined) { this._streamName += this._streams[v3].src; } else { this._streamName = this._streams[v3].src; } this._streamLength = this._streams[v3].dur; }; v2.parseURL = function (url) { var v2 = new Object(); var v3 = 0; var v4 = url.indexOf(':/', v3); if (v4 >= 0) { v4 += 2; v2.protocol = url.slice(v3, v4); v2.isRelative = false; } else { v2.isRelative = true; } if (v2.protocol != undefined && (v2.protocol == 'rtmp:/' || v2.protocol == 'rtmpt:/' || v2.protocol == 'rtmps:/')) { v2.isRTMP = true; v3 = v4; if (url.charAt(v3) == '/') { ++v3; var v7 = url.indexOf(':', v3); var v8 = url.indexOf('/', v3); if (v8 < 0) { if (v7 < 0) { v2.serverName = url.slice(v3); } else { v4 = v7; v2.portNumber = url.slice(v3, v4); v3 = v4 + 1; v2.serverName = url.slice(v3); } return v2; } if (v7 >= 0 && v7 < v8) { v4 = v7; v2.serverName = url.slice(v3, v4); v3 = v4 + 1; v4 = v8; v2.portNumber = url.slice(v3, v4); } else { v4 = v8; v2.serverName = url.slice(v3, v4); } v3 = v4 + 1; } if (url.charAt(v3) == '?') { var v9 = url.slice(v3 + 1); var v6 = this.parseURL(v9); if (v6.protocol == undefined || !v6.isRTMP) { throw new mx.video.VideoError(mx.video.VideoError.INVALID_CONTENT_PATH, url); } v2.wrappedURL = '?'; v2.wrappedURL += v6.protocol; if (v6.server != undefined) { v2.wrappedURL += '/'; v2.wrappedURL += v6.server; } if (v6.wrappedURL != undefined) { v2.wrappedURL += '/?'; v2.wrappedURL += v6.wrappedURL; } v2.appName = v6.appName; v2.streamName = v6.streamName; return v2; } v4 = url.indexOf('/', v3); if (v4 < 0) { v2.appName = url.slice(v3); return v2; } v2.appName = url.slice(v3, v4); v3 = v4 + 1; v4 = url.indexOf('/', v3); if (v4 < 0) { v2.streamName = url.slice(v3); return v2; } v2.appName += '/'; v2.appName += url.slice(v3, v4); v3 = v4 + 1; v2.streamName = url.slice(v3); return v2; } v2.isRTMP = false; v2.streamName = url; return v2; }; v2.canReuseOldConnection = function (parseResults) { if (this._nc == undefined || this._nc == null) { return false; } if (!parseResults.isRTMP) { if (!this._isRTMP) { return true; } this._owner.close(); this._nc = null; this.initNCInfo(); return false; } if (this._isRTMP) { if (parseResults.serverName == this._serverName && parseResults.appName == this._appName && parseResults.protocol == this._protocol && parseResults.portNumber == this._portNumber && parseResults.wrappedURL == this._wrappedURL) { return true; } this._owner.close(); this._nc = null; } this.initNCInfo(); return false; }; v2.connectHTTP = function () { this._nc = new NetConnection(); this._nc.connect(null); return true; }; v2.connectRTMP = function () { clearInterval(this._timeoutIntervalId); this._timeoutIntervalId = setInterval(this, '_onFCSConnectTimeOut', this._timeout); this._tryNC = new Array(); var v2 = 0; while (v2 < mx.video.NCManager.RTMP_CONN.length) { this._tryNC[v2] = new NetConnection(); this._tryNC[v2].mc = this; this._tryNC[v2].pending = false; this._tryNC[v2].connIndex = v2; this._tryNC[v2].onBWDone = function (p_bw) { this.mc.onConnected(this, p_bw); }; this._tryNC[v2].onBWCheck = function () { return ++this.mc._payload; }; this._tryNC[v2].onStatus = function (info) { this.mc.connectOnStatus(this, info); }; ++v2; } this.nextConnect(); return false; }; v2.nextConnect = function () { clearInterval(this._tryNCIntervalId); this._tryNCIntervalId = 0; var v4; var v3; if (this._connTypeCounter == 0) { v4 = this._protocol; if (this._portNumber != undefined) { v3 = this._portNumber; } else { var v2 = 0; while (v2 < mx.video.NCManager.RTMP_CONN.length) { if (v4 == mx.video.NCManager.RTMP_CONN[v2].protocol) { v3 = mx.video.NCManager.RTMP_CONN[v2].port; break; } ++v2; } } } else { v4 = mx.video.NCManager.RTMP_CONN[this._connTypeCounter].protocol; v3 = mx.video.NCManager.RTMP_CONN[this._connTypeCounter].port; } var v5 = v4 + ((this._serverName == undefined) ? '' : '/' + this._serverName + ':' + v3 + '/') + ((this._wrappedURL == undefined) ? '' : this._wrappedURL + '/') + this._appName; this._tryNC[this._connTypeCounter].pending = true; this._tryNC[this._connTypeCounter].connect(v5, this._autoSenseBW); if (this._connTypeCounter < mx.video.NCManager.RTMP_CONN.length - 1) { ++this._connTypeCounter; this._tryNCIntervalId = setInterval(this, 'nextConnect', 1500); } }; v2.cleanConns = function () { clearInterval(this._tryNCIntervalId); this._tryNCIntervalId = 0; if (this._tryNC != undefined) { var v2 = 0; while (v2 < this._tryNC.length) { if (this._tryNC[v2] != undefined) { delete this._tryNC[v2].onStatus; if (this._tryNC[v2].pending) { this._tryNC[v2].onStatus = function (info) { this.mc.disconnectOnStatus(this, info); }; } else { delete this._tryNC[v2].onStatus; this._tryNC[v2].close(); } } delete this._tryNC[v2]; ++v2; } delete this._tryNC; } }; v2.tryFallBack = function () { if (this._serverName == this.fallbackServerName || this.fallbackServerName == undefined || this.fallbackServerName == null) { delete this._nc; this._nc = undefined; this._owner.ncConnected(); } else { this._connTypeCounter = 0; this.cleanConns(); this._serverName = this.fallbackServerName; this.connectRTMP(); } }; v2.onConnected = function (p_nc, p_bw) { clearInterval(this._timeoutIntervalId); this._timeoutIntervalId = 0; delete p_nc.onBWDone; delete p_nc.onBWCheck; delete p_nc.onStatus; this._nc = p_nc; this._ncUri = this._nc.uri; if (this._autoSenseBW) { this._bitrate = p_bw * 1024; if (this._streams != undefined) { this.bitrateMatch(); } else { if (this._streamName.indexOf(',') != -1) { var v3 = this._streamName.split(','); var v2 = 0; while (v2 < v3.length) { var v4 = mx.video.NCManager.stripFrontAndBackWhiteSpace(v3[v2]); if (v2 + 1 < v3.length) { if (p_bw <= Number(v3[v2 + 1])) { this._streamName = v4; break; } } else { this._streamName = v4; break; } v2 += 2; } } } } if ((this._streamName.slice(-4)).toLowerCase() == '.flv') { this._streamName = this._streamName.slice(0, -4); } if (!this._owner.__get__isLive() && this._streamLength == undefined) { var v6 = new Object(); v6.mc = this; v6.onResult = function (length) { this.mc.getStreamLengthResult(length); }; this._nc.call('getStreamLength', v6, this._streamName); } else { this._owner.ncConnected(); } }; v2.connectOnStatus = function (target, info) { target.pending = false; if (info.code == 'NetConnection.Connect.Success') { this._nc = this._tryNC[target.connIndex]; this._tryNC[target.connIndex] = undefined; this.cleanConns(); } else { if ((info.code == 'NetConnection.Connect.Failed' || info.code == 'NetConnection.Connect.Rejected') && target.connIndex == mx.video.NCManager.RTMP_CONN.length - 1) { if (!this.connectAgain()) { this.tryFallBack(); } } else {} } }; v2.reconnectOnStatus = function (target, info) { if (info.code == 'NetConnection.Connect.Failed' || info.code == 'NetConnection.Connect.Rejected') { delete this._nc; this._nc = undefined; this._owner.ncReconnected(); } }; v2.disconnectOnStatus = function (target, info) { if (info.code == 'NetConnection.Connect.Success') { delete target.onStatus; target.close(); } }; v2.getStreamLengthResult = function (length) { this._streamLength = length; this._owner.ncConnected(); }; v2._onFCSConnectTimeOut = function () { this.cleanConns(); this._nc = undefined; if (!this.connectAgain()) { this._owner.ncConnected(); } }; v1.stripFrontAndBackWhiteSpace = function (p_str) { var v1; var v2 = p_str.length; var v4 = 0; var v5 = v2; v1 = 0; while (v1 < v2) { switch (p_str.charCodeAt(v1)) { if (p_str.charCodeAt(v1) !== 32) { } else { break; case 9: case 10: case 13: } default: v4 = v1; break; } ++v1; } v1 = v2; while (v1 >= 0) { switch (p_str.charCodeAt(v1)) { if (p_str.charCodeAt(v1) !== 32) { } else { case 9: case 10: break; case 13: } default: v5 = v1 + 1; break; } --v1; } if (v5 <= v4) { return ''; } return p_str.slice(v4, v5); }; v1.version = '1.0.0.103'; v2.DEFAULT_TIMEOUT = 60000; v1.RTMP_CONN = [{'protocol': 'rtmp:/', 'port': '1935'}, {'protocol': 'rtmp:/', 'port': '443'}, {'protocol': 'rtmpt:/', 'port': '80'}, {'protocol': 'rtmps:/', 'port': '443'}]; ASSetPropFlags(mx.video.NCManager.prototype, null, 1); } #endinitclip } movieClip 18 __Packages.mx.video.CuePointManager { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.video) { _global.mx.video = new Object(); } if (!_global.mx.video.CuePointManager) { var v1 = function (owner, id) { this._owner = owner; this._id = id; this.reset(); this._asCuePointTolerance = (this._owner.getVideoPlayer(this._id)).__get__playheadUpdateInterval() / 2000; this._linearSearchTolerance = mx.video.CuePointManager.DEFAULT_LINEAR_SEARCH_TOLERANCE; }; mx.video.CuePointManager = v1; var v2 = v1.prototype; v2.reset = function () { this._metadataLoaded = false; this.allCuePoints = null; this.asCuePoints = null; this._disabledCuePoints = null; this.flvCuePoints = null; this.navCuePoints = null; this.eventCuePoints = null; this._asCuePointIndex = 0; }; v2.__get__metadataLoaded = function () { return this._metadataLoaded; }; v2.__set__playheadUpdateInterval = function (aTime) { this._asCuePointTolerance = aTime / 2000; return this.__get__playheadUpdateInterval(); }; v2.__get__id = function () { return this._id; }; v2.addASCuePoint = function (timeOrCuePoint, name, parameters) { var v3; if (typeof timeOrCuePoint == 'object') { v3 = mx.video.CuePointManager.deepCopyObject(timeOrCuePoint); } else { v3 = {'time': timeOrCuePoint, 'name': name, 'parameters': mx.video.CuePointManager.deepCopyObject(parameters)}; } var v7 = isNaN(v3.time) || v3.time < 0; if (v7) { throw new mx.video.VideoError(mx.video.VideoError.ILLEGAL_CUE_POINT, 'time must be number'); } var v6 = v3.name == undefined || v3.name == null; if (v6) { throw new mx.video.VideoError(mx.video.VideoError.ILLEGAL_CUE_POINT, 'name cannot be undefined or null'); } var v2; v3.type = 'actionscript'; if (this.asCuePoints == null || this.asCuePoints == undefined || this.asCuePoints.length < 1) { v2 = 0; this.asCuePoints = new Array(); this.asCuePoints.push(v3); } else { v2 = this.getCuePointIndex(this.asCuePoints, true, v3.time); v2 = this.asCuePoints[v2].time > v3.time ? 0 : v2 + 1; this.asCuePoints.splice(v2, 0, v3); } if (this.allCuePoints == null || this.allCuePoints == undefined || this.allCuePoints.length < 1) { v2 = 0; this.allCuePoints = new Array(); this.allCuePoints.push(v3); } else { v2 = this.getCuePointIndex(this.allCuePoints, true, v3.time); v2 = this.allCuePoints[v2].time > v3.time ? 0 : v2 + 1; this.allCuePoints.splice(v2, 0, v3); } var v5 = (this._owner.getVideoPlayer(this._id)).__get__playheadTime(); if (v5 > 0) { if (this._asCuePointIndex == v2) { if (v5 > this.asCuePoints[v2].time) { ++this._asCuePointIndex; } } else { if (this._asCuePointIndex > v2) { ++this._asCuePointIndex; } } var v4 = mx.video.CuePointManager.deepCopyObject(this.asCuePoints[v2]); v4.array = this.asCuePoints; v4.index = v2; return v4; } this._asCuePointIndex = 0; var v4 = mx.video.CuePointManager.deepCopyObject(this.asCuePoints[v2]); v4.array = this.asCuePoints; v4.index = v2; return v4; }; v2.removeASCuePoint = function (timeNameOrCuePoint) { if (this.asCuePoints == null || this.asCuePoints == undefined || this.asCuePoints.length < 1) { return null; } var v3; switch (typeof timeNameOrCuePoint) { case 'string': v3 = {'name': timeNameOrCuePoint}; break; case 'number': v3 = {'time': timeNameOrCuePoint}; break; case 'object': v3 = timeNameOrCuePoint; } var v2 = this.getCuePointIndex(this.asCuePoints, false, v3.time, v3.name); if (v2 < 0) { return null; } v3 = this.asCuePoints[v2]; this.asCuePoints.splice(v2, 1); v2 = this.getCuePointIndex(this.allCuePoints, false, v3.time, v3.name); if (v2 > 0) { this.allCuePoints.splice(v2, 1); } if ((this._owner.getVideoPlayer(this._id)).__get__playheadTime() > 0) { if (this._asCuePointIndex > v2) { --this._asCuePointIndex; } return v3; } this._asCuePointIndex = 0; return v3; }; v2.setFLVCuePointEnabled = function (enabled, timeNameOrCuePoint) { var v4; switch (typeof timeNameOrCuePoint) { case 'string': v4 = {'name': timeNameOrCuePoint}; break; case 'number': v4 = {'time': timeNameOrCuePoint}; break; case 'object': v4 = timeNameOrCuePoint; } var v12 = isNaN(v4.time) || v4.time < 0; var v11 = v4.name == undefined || v4.name == null; if (v12 && v11) { throw new mx.video.VideoError(mx.video.VideoError.ILLEGAL_CUE_POINT, 'time must be number and/or name must not be undefined or null'); } var v6 = 0; var v2; var v5; if (v12) { if (!this._metadataLoaded) { if (this._disabledCuePointsByNameOnly[v4.name] == undefined) { if (!enabled) { if (this._disabledCuePointsByNameOnly == null || this._disabledCuePointsByNameOnly == undefined || this._disabledCuePointsByNameOnly.length < 0) { this._disabledCuePointsByNameOnly = new Object(); } this._disabledCuePointsByNameOnly[v4.name] = new Array(); } } else { if (enabled) { this._disabledCuePointsByNameOnly[v4.name] = undefined; } return -1; } this.removeCuePoints(this._disabledCuePoints, v4); return -1; } if (enabled) { v6 = this.removeCuePoints(this._disabledCuePoints, v4); } else { var v3; v2 = this.getCuePointIndex(this.flvCuePoints, true, -1, v4.name); while (v2 >= 0) { v3 = this.flvCuePoints[v2]; v5 = this.getCuePointIndex(this._disabledCuePoints, true, v3.time); if (v5 < 0 || this._disabledCuePoints[v5].time != v3.time) { this._disabledCuePoints = this.insertCuePoint(v5, this._disabledCuePoints, {'name': v3.name, 'time': v3.time}); v6 += 1; } v2 = this.getNextCuePointIndexWithName(v3.name, this.flvCuePoints, v2); } } return v6; } v2 = this.getCuePointIndex(this._disabledCuePoints, false, v4.time, v4.name); if (v2 < 0) { if (enabled) { if (!this._metadataLoaded) { v2 = this.getCuePointIndex(this._disabledCuePoints, false, v4.time); if (v2 < 0) { v5 = this.getCuePointIndex(this._disabledCuePointsByNameOnly[v4.name], true, v4.time); if (mx.video.CuePointManager.cuePointCompare(v4.time, null, this._disabledCuePointsByNameOnly[v4.name]) != 0) { this._disabledCuePointsByNameOnly[v4.name] = this.insertCuePoint(v5, this._disabledCuePointsByNameOnly[v4.name], v4); } } else { this._disabledCuePoints.splice(v2, 1); } } return this._metadataLoaded ? 0 : -1; } } else { if (enabled) { this._disabledCuePoints.splice(v2, 1); v6 = 1; } else { v6 = 0; } return this._metadataLoaded ? v6 : -1; } if (this._metadataLoaded) { v2 = this.getCuePointIndex(this.flvCuePoints, false, v4.time, v4.name); if (v2 < 0) { return 0; } if (v11) { v4.name = this.flvCuePoints[v2].name; } } v5 = this.getCuePointIndex(this._disabledCuePoints, true, v4.time); this._disabledCuePoints = this.insertCuePoint(v5, this._disabledCuePoints, v4); v6 = 1; return this._metadataLoaded ? 1 : -1; }; v2.removeCuePoints = function (cuePointArray, cuePoint) { var v2; var v4; var v5 = 0; v2 = this.getCuePointIndex(cuePointArray, true, -1, cuePoint.name); while (v2 >= 0) { v4 = cuePointArray[v2]; cuePointArray.splice(v2, 1); --v2; ++v5; v2 = this.getNextCuePointIndexWithName(v4.name, cuePointArray, v2); } return v5; }; v2.insertCuePoint = function (insertIndex, cuePointArray, cuePoint) { if (insertIndex < 0) { cuePointArray = new Array(); cuePointArray.push(cuePoint); return cuePointArray; } if (cuePointArray[insertIndex].time > cuePoint.time) { insertIndex = 0; } else { ++insertIndex; } cuePointArray.splice(insertIndex, 0, cuePoint); return cuePointArray; }; v2.isFLVCuePointEnabled = function (timeNameOrCuePoint) { if (!this._metadataLoaded) { return true; } var v3; switch (typeof timeNameOrCuePoint) { case 'string': v3 = {'name': timeNameOrCuePoint}; break; case 'number': v3 = {'time': timeNameOrCuePoint}; break; case 'object': v3 = timeNameOrCuePoint; } var v5 = isNaN(v3.time) || v3.time < 0; var v6 = v3.name == undefined || v3.name == null; if (v5 && v6) { throw new mx.video.VideoError(mx.video.VideoError.ILLEGAL_CUE_POINT, 'time must be number and/or name must not be undefined or null'); } if (v5) { var v2 = this.getCuePointIndex(this.flvCuePoints, true, -1, v3.name); if (v2 < 0) { return true; } while (v2 >= 0) { if (this.getCuePointIndex(this._disabledCuePoints, false, this.flvCuePoints[v2].time, this.flvCuePoints[v2].name) < 0) { return true; } v2 = this.getNextCuePointIndexWithName(v3.name, this.flvCuePoints, v2); } return false; } return this.getCuePointIndex(this._disabledCuePoints, false, v3.time, v3.name) < 0; }; v2.dispatchASCuePoints = function () { var v5 = (this._owner.getVideoPlayer(this._id)).__get__playheadTime(); if ((this._owner.getVideoPlayer(this._id)).__get__stateResponsive() && this.asCuePoints != null && this.asCuePoints != undefined) { for (;;) { if (!(this._asCuePointIndex < this.asCuePoints.length && this.asCuePoints[this._asCuePointIndex].time <= v5 + this._asCuePointTolerance)) break; this._owner.dispatchEvent({'type': 'cuePoint', 'info': mx.video.CuePointManager.deepCopyObject(this.asCuePoints[this._asCuePointIndex++]), 'vp': this._id}); } } }; v2.resetASCuePointIndex = function (time) { if (time <= 0 || this.asCuePoints == null || this.asCuePoints == undefined) { this._asCuePointIndex = 0; return undefined; } var v2 = this.getCuePointIndex(this.asCuePoints, true, time); this._asCuePointIndex = this.asCuePoints[v2].time < time ? v2 + 1 : v2; }; v2.processFLVCuePoints = function (metadataCuePoints) { this._metadataLoaded = true; if (metadataCuePoints == undefined || metadataCuePoints == null || metadataCuePoints.length < 1) { this.flvCuePoints = null; this.navCuePoints = null; this.eventCuePoints = null; return undefined; } this.flvCuePoints = metadataCuePoints; this.navCuePoints = new Array(); this.eventCuePoints = new Array(); var v5; var v6 = -1; var v2; var v4 = this._disabledCuePoints; var v3 = 0; this._disabledCuePoints = new Array(); var v9 = 0; v2 = this.flvCuePoints[v9++]; while (v2 != undefined) { if (v6 > 0 && v6 >= v2.time) { this.flvCuePoints = null; this.navCuePoints = null; this.eventCuePoints = null; this._disabledCuePoints = null; this._disabledCuePointsByNameOnly = null; throw new mx.video.VideoError(mx.video.VideoError.ILLEGAL_CUE_POINT, 'Unsorted cuePoint found after time: ' + v6); } v6 = v2.time; for (;;) { if (!(v3 < v4.length && mx.video.CuePointManager.cuePointCompare(v4[v3].time, null, v2) < 0)) break; ++v3; } if (this._disabledCuePointsByNameOnly[v2.name] != undefined || v3 < v4.length && mx.video.CuePointManager.cuePointCompare(v4[v3].time, v4[v3].name, v2) == 0) { this._disabledCuePoints.push({'time': v2.time, 'name': v2.name}); } if (v2.type == 'navigation') { this.navCuePoints.push(v2); } else { if (v2.type == 'event') { this.eventCuePoints.push(v2); } } if (this.allCuePoints == null || this.allCuePoints == undefined || this.allCuePoints.length < 1) { this.allCuePoints = new Array(); this.allCuePoints.push(v2); } else { v5 = this.getCuePointIndex(this.allCuePoints, true, v2.time); v5 = this.allCuePoints[v5].time > v2.time ? 0 : v5 + 1; this.allCuePoints.splice(v5, 0, v2); } } delete this._disabledCuePointsByNameOnly; this._disabledCuePointsByNameOnly = null; delete this._disabledCuePointsByNameOnly; this._disabledCuePointsByNameOnly = null; }; v2.processCuePointsProperty = function (cuePoints) { if (cuePoints == undefined || cuePoints == null || cuePoints.length == 0) { return undefined; } var v4 = 0; var v8; var v6; var v7; var v5; var v9; var v2 = 0; while (v2 < cuePoints.length - 1) { switch (v4) { case 6: this.addOrDisable(v9, v5); v4 = 0; case 0: if (cuePoints[v2++] != 't') { throw new mx.video.VideoError(mx.video.VideoError.ILLEGAL_CUE_POINT, 'unexpected cuePoint parameter format'); } if (isNaN(cuePoints[v2])) { throw new mx.video.VideoError(mx.video.VideoError.ILLEGAL_CUE_POINT, 'time must be number'); } v5 = new Object(); v5.time = cuePoints[v2] / 1000; ++v4; break; case 1: if (cuePoints[v2++] != 'n') { throw new mx.video.VideoError(mx.video.VideoError.ILLEGAL_CUE_POINT, 'unexpected cuePoint parameter format'); } if (cuePoints[v2] == undefined || cuePoints[v2] == null) { throw new mx.video.VideoError(mx.video.VideoError.ILLEGAL_CUE_POINT, 'name cannot be null or undefined'); } v5.name = this.unescape(cuePoints[v2]); ++v4; break; case 2: if (cuePoints[v2++] != 't') { throw new mx.video.VideoError(mx.video.VideoError.ILLEGAL_CUE_POINT, 'unexpected cuePoint parameter format'); } if (isNaN(cuePoints[v2])) { throw new mx.video.VideoError(mx.video.VideoError.ILLEGAL_CUE_POINT, 'type must be number'); } switch (cuePoints[v2]) { case 0: v5.type = 'event'; break; case 1: v5.type = 'navigation'; break; case 2: v5.type = 'actionscript'; break; default: throw new mx.video.VideoError(mx.video.VideoError.ILLEGAL_CUE_POINT, 'type must be 0, 1 or 2'); } ++v4; break; case 3: if (cuePoints[v2++] != 'd') { throw new mx.video.VideoError(mx.video.VideoError.ILLEGAL_CUE_POINT, 'unexpected cuePoint parameter format'); } if (isNaN(cuePoints[v2])) { throw new mx.video.VideoError(mx.video.VideoError.ILLEGAL_CUE_POINT, 'disabled must be number'); } v9 = cuePoints[v2] != 0; ++v4; break; case 4: if (cuePoints[v2++] != 'p') { throw new mx.video.VideoError(mx.video.VideoError.ILLEGAL_CUE_POINT, 'unexpected cuePoint parameter format'); } if (isNaN(cuePoints[v2])) { throw new mx.video.VideoError(mx.video.VideoError.ILLEGAL_CUE_POINT, 'num params must be number'); } v8 = cuePoints[v2]; ++v4; if (v8 == 0) { ++v4; } else { v5.parameters = new Object(); } break; case 5: v6 = cuePoints[v2++]; v7 = cuePoints[v2]; if (typeof v6 == 'string') { v6 = this.unescape(v6); } if (typeof v7 == 'string') { v7 = this.unescape(v7); } v5.parameters[v6] = v7; --v8; if (v8 == 0) { ++v4; } } ++v2; } if (v4 == 6) { this.addOrDisable(v9, v5); } else { throw new mx.video.VideoError(mx.video.VideoError.ILLEGAL_CUE_POINT, 'unexpected end of cuePoint param string'); } }; v2.addOrDisable = function (disable, cuePoint) { if (disable) { if (cuePoint.type == 'actionscript') { throw new mx.video.VideoError(mx.video.VideoError.ILLEGAL_CUE_POINT, 'Cannot disable actionscript cue points'); } this.setFLVCuePointEnabled(false, cuePoint); } else { if (cuePoint.type == 'actionscript') { this.addASCuePoint(cuePoint); } } }; v2.unescape = function (origStr) { var v3 = origStr; var v1 = 0; while (v1 < mx.video.CuePointManager.cuePointsReplace.length) { var v2 = v3.split(mx.video.CuePointManager.cuePointsReplace[v1++]); if (v2.length > 1) { v3 = v2.join(mx.video.CuePointManager.cuePointsReplace[v1]); } ++v1; } return v3; }; v2.getCuePointIndex = function (cuePointArray, closeIsOK, time, name, start, len) { if (cuePointArray == null || cuePointArray == undefined || cuePointArray.length < 1) { return -1; } var v13 = isNaN(time) || time < 0; var v16 = name == undefined || name == null; if (v13 && v16) { throw new mx.video.VideoError(mx.video.VideoError.ILLEGAL_CUE_POINT, 'time must be number and/or name must not be undefined or null'); } if (start == undefined || start == null) { start = 0; } if (len == undefined || len == null) { len = cuePointArray.length; } if (!v16 && (closeIsOK || v13)) { var v8; var v2; if (v13) { v8 = start; } else { v8 = this.getCuePointIndex(cuePointArray, closeIsOK, time); } v2 = v8; while (v2 >= start) { if (cuePointArray[v2].name == name) { break; } --v2; } if (v2 >= start) { return v2; } v2 = v8 + 1; while (v2 < len) { if (cuePointArray[v2].name == name) { break; } ++v2; } if (v2 < len) { return v2; } return -1; } var v6; if (len <= this._linearSearchTolerance) { var v11 = start + len; var v3 = start; while (v3 < v11) { v6 = mx.video.CuePointManager.cuePointCompare(time, name, cuePointArray[v3]); if (v6 == 0) { return v3; } if (v6 < 0) { break; } ++v3; } if (closeIsOK) { if (v3 > 0) { return v3 - 1; } return 0; } return -1; } var v12 = Math.floor(len / 2); var v15 = start + v12; v6 = mx.video.CuePointManager.cuePointCompare(time, name, cuePointArray[v15]); if (v6 < 0) { return this.getCuePointIndex(cuePointArray, closeIsOK, time, name, start, v12); } if (v6 > 0) { return this.getCuePointIndex(cuePointArray, closeIsOK, time, name, v15 + 1, v12 - 1 + len % 2); } return v15; }; v2.getNextCuePointIndexWithName = function (name, array, index) { if (name == undefined || name == null) { throw new mx.video.VideoError(mx.video.VideoError.ILLEGAL_CUE_POINT, 'name cannot be undefined or null'); } if (array == null || array == undefined) { throw new mx.video.VideoError(mx.video.VideoError.ILLEGAL_CUE_POINT, 'cuePoint.array undefined'); } if (isNaN(index) || index < -1 || index >= array.length) { throw new mx.video.VideoError(mx.video.VideoError.ILLEGAL_CUE_POINT, 'cuePoint.index must be number between -1 and cuePoint.array.length'); } var v1; v1 = index + 1; while (v1 < array.length) { if (array[v1].name == name) { break; } ++v1; } if (v1 < array.length) { return v1; } return -1; }; v1.cuePointCompare = function (time, name, cuePoint) { var v2 = Math.round(time * 1000); var v3 = Math.round(cuePoint.time * 1000); if (v2 < v3) { return -1; } if (v2 > v3) { return 1; } if (name != null || name != undefined) { if (name == cuePoint.name) { return 0; } if (name < cuePoint.name) { return -1; } return 1; } return 0; }; v2.getCuePoint = function (cuePointArray, closeIsOK, timeNameOrCuePoint) { var v3; switch (typeof timeNameOrCuePoint) { case 'string': v3 = {'name': timeNameOrCuePoint}; break; case 'number': v3 = {'time': timeNameOrCuePoint}; break; case 'object': v3 = timeNameOrCuePoint; } var v2 = this.getCuePointIndex(cuePointArray, closeIsOK, v3.time, v3.name); if (v2 < 0) { return null; } v3 = mx.video.CuePointManager.deepCopyObject(cuePointArray[v2]); v3.array = cuePointArray; v3.index = v2; return v3; }; v2.getNextCuePointWithName = function (cuePoint) { if (cuePoint == null || cuePoint == undefined) { throw new mx.video.VideoError(mx.video.VideoError.ILLEGAL_CUE_POINT, 'cuePoint parameter undefined'); } if (isNaN(cuePoint.time) || cuePoint.time < 0) { throw new mx.video.VideoError(mx.video.VideoError.ILLEGAL_CUE_POINT, 'time must be number'); } var v3 = this.getNextCuePointIndexWithName(cuePoint.name, cuePoint.array, cuePoint.index); if (v3 < 0) { return null; } var v4 = mx.video.CuePointManager.deepCopyObject(cuePoint.array[v3]); v4.array = cuePoint.array; v4.index = v3; return v4; }; v1.deepCopyObject = function (obj, recurseLevel) { if (obj == undefined || obj == null || typeof obj != 'object') { return obj; } if (recurseLevel == undefined) { recurseLevel = 0; } var v2 = new Object(); for (var v4 in obj) { if (recurseLevel == 0 && (v4 == 'array' || v4 == 'index')) { } else { if (typeof obj[v4] == 'object') { v2[v4] = mx.video.CuePointManager.deepCopyObject(obj[v4], recurseLevel + 1); } else { v2[v4] = obj[v4]; } } } return v2; }; v1.DEFAULT_LINEAR_SEARCH_TOLERANCE = 50; v1.cuePointsReplace = ['&quot;', '"', '&#39;', '\'', '&#44;', ',', '&amp;', '&']; v2.addProperty('id', v2.__get__id, function () {}); v2.addProperty('metadataLoaded', v2.__get__metadataLoaded, function () {}); v2.addProperty('playheadUpdateInterval', function () {}, v2.__set__playheadUpdateInterval); ASSetPropFlags(mx.video.CuePointManager.prototype, null, 1); } #endinitclip } movieClip 33 { } button 35 { on (release) { getURL('http://www.kongregate.com/?gamereferral=TheWallsPartThree', '_blank', 'POST'); } } movieClip 38 { } movieClip 40 { } movieClip 42 { } movieClip 44 { } movieClip 46 { } movieClip 48 { } movieClip 49 { } movieClip 52 { } movieClip 54 { } movieClip 55 { } movieClip 57 { } movieClip 60 { } movieClip 61 { } movieClip 64 { } button 70 { on (release) { getURL('http://www.kongregate.com/?gamereferral=TheWallsPartThree', '_blank', 'POST'); } } button 71 { on (release) { getURL('http://www.kongregate.com/?gamereferral=TheWallsPartThree', '_blank', 'POST'); } } movieClip 76 { frame 255 { stop(); } } movieClip 82 { } movieClip 83 { } instance of movieClip 83 { onClipEvent (enterFrame) { this._y = _root._ymouse; this._x = _root._xmouse; } } movieClip 91 { } frame 255 { stop(); } button 92 { on (press) { play(); } } movieClip 95 { } movieClip 96 { } movieClip 102 { } movieClip 103 { frame 100 { stop(); } } frame 865 { stop(); } movieClip 112 { } button 115 { on (release) { play(); } } button 117 { on (rollOver) { play(); } } button 129 { on (rollOver) { play(); } } button 135 { on (rollOver) { play(); } } button 141 { on (rollOver) { play(); } } movieClip 154 { frame 1 { stop(); } frame 100 { stop(); } } button 156 { on (rollOver) { play(); } } movieClip 165 { frame 1 { stop(); } frame 70 { stop(); } } movieClip 166 { frame 1 { stop(); } frame 51 { stop(); } } movieClip 167 { frame 1 { stop(); } frame 31 { stop(); } } button 169 { on (rollOver) { play(); } } movieClip 193 { frame 1 { stop(); } frame 147 { stop(); } } movieClip 195 { frame 351 { stop(); } frame 440 { stop(); } } frame 1500 { stop(); } button 196 { on (press) { gotoAndStop(1500); } } button 197 { on (press) { play(); } } frame 1501 { stop(); } button 198 { on (press) { play(); } } button 199 { on (press) { gotoAndStop(1500); } } frame 1502 { stop(); } frame 1510 { _root.kongregateStats.submit('StageOneComplete', 1); } movieClip 204 { } movieClip 206 { } movieClip 207 { } button 214 { on (rollOver) { gotoAndPlay('rewind'); } on (rollOut) { gotoAndStop('stop'); } } button 217 { on (rollOver) { gotoAndPlay('fastforward'); } on (rollOut) { gotoAndStop('stop'); } } movieClip 218 { frame 1 { stop(); } frame 5 { _parent.gotoAndPlay(_parent._currentframe + 3); } frame 6 { gotoAndPlay('fastforward'); } frame 10 { _parent.gotoAndPlay(_parent._currentframe - 5); } frame 11 { gotoAndPlay('rewind'); } } movieClip 220 { } movieClip 224 { } movieClip 230 { } movieClip 231 { } movieClip 236 { } movieClip 238 { } movieClip 240 { } button 245 { on (release) { play(); } } movieClip 253 { frame 13 { stopAllSounds(); } frame 40 { stop(); } } movieClip 254 { } movieClip 260 { frame 26 { stop(); } } movieClip 263 { } movieClip 264 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); } frame 7 { stop(); } frame 8 { stop(); } frame 9 { stop(); } frame 10 { stop(); } frame 11 { stop(); } frame 12 { stop(); } frame 13 { stop(); } frame 14 { stop(); } frame 15 { stop(); } frame 16 { stop(); } frame 17 { stop(); } frame 18 { stop(); } frame 19 { stop(); } frame 20 { stop(); } frame 21 { stop(); } frame 22 { stop(); } frame 23 { stop(); } frame 24 { stop(); } frame 25 { stop(); } frame 26 { stop(); } frame 27 { stop(); } frame 28 { stop(); } frame 29 { stop(); } frame 30 { stop(); } frame 31 { stop(); } frame 32 { stop(); } frame 33 { stop(); } frame 34 { stop(); } frame 35 { stop(); } frame 36 { stop(); } frame 37 { stop(); } frame 38 { stop(); } frame 39 { stop(); } frame 40 { stop(); } frame 41 { stop(); } frame 42 { stop(); } frame 43 { stop(); } frame 44 { stop(); } frame 45 { stop(); } frame 46 { stop(); } frame 47 { stop(); } frame 48 { stop(); } frame 49 { stop(); } frame 50 { stop(); } frame 51 { stop(); } frame 52 { stop(); } frame 53 { stop(); } frame 54 { stop(); } frame 55 { stop(); } frame 56 { stop(); } frame 57 { stop(); } frame 58 { stop(); } frame 59 { stop(); } frame 60 { stop(); } frame 61 { stop(); } frame 62 { stop(); } frame 63 { stop(); } frame 64 { stop(); } frame 65 { stop(); } frame 66 { stop(); } frame 67 { stop(); } frame 68 { stop(); } frame 69 { stop(); } frame 70 { stop(); } frame 71 { stop(); } frame 72 { stop(); } frame 73 { stop(); } frame 74 { stop(); } frame 75 { stop(); } frame 76 { stop(); } frame 77 { stop(); } frame 78 { stop(); } frame 79 { stop(); } frame 80 { stop(); } frame 81 { stop(); } frame 82 { stop(); } frame 83 { stop(); } frame 84 { stop(); } frame 85 { stop(); } frame 86 { stop(); } frame 87 { stop(); } frame 88 { stop(); } frame 89 { stop(); } frame 90 { stop(); } frame 91 { stop(); } frame 92 { stop(); } frame 93 { stop(); } frame 94 { stop(); } frame 95 { stop(); } frame 96 { stop(); } frame 97 { stop(); } frame 98 { stop(); } frame 99 { stop(); } frame 100 { stop(); } frame 101 { stop(); } frame 102 { stop(); } frame 103 { stop(); } frame 104 { stop(); } frame 105 { stop(); } frame 106 { stop(); } frame 107 { stop(); } frame 108 { stop(); } frame 109 { stop(); } frame 110 { stop(); } frame 111 { stop(); } frame 112 { stop(); } frame 113 { stop(); } frame 114 { stop(); } frame 115 { stop(); } frame 116 { stop(); } frame 117 { stop(); } frame 118 { stop(); } frame 119 { stop(); } frame 120 { stop(); } frame 121 { stop(); } frame 122 { stop(); } frame 123 { stop(); } frame 124 { stop(); } frame 125 { stop(); } frame 126 { stop(); } frame 127 { stop(); } frame 128 { stop(); } frame 129 { stop(); } frame 130 { stop(); } frame 131 { stop(); } frame 132 { stop(); } frame 133 { stop(); } frame 134 { stop(); } frame 135 { stop(); } frame 136 { stop(); } frame 137 { stop(); } frame 138 { stop(); } frame 139 { stop(); } frame 140 { stop(); } frame 141 { stop(); } frame 142 { stop(); } frame 143 { stop(); } frame 144 { stop(); } frame 145 { stop(); } frame 146 { stop(); } frame 147 { stop(); } frame 148 { stop(); } frame 149 { stop(); } frame 150 { stop(); } frame 151 { stop(); } frame 152 { stop(); } frame 153 { stop(); } frame 154 { stop(); } frame 155 { stop(); } frame 156 { stop(); } frame 157 { stop(); } frame 158 { stop(); } frame 159 { stop(); } frame 160 { stop(); } frame 161 { stop(); } frame 162 { stop(); } frame 163 { stop(); } frame 164 { stop(); } frame 165 { stop(); } frame 166 { stop(); } frame 167 { stop(); } frame 168 { stop(); } frame 169 { stop(); } frame 170 { stop(); } frame 171 { stop(); } frame 172 { stop(); } frame 173 { stop(); } frame 174 { stop(); } frame 175 { stop(); } frame 176 { stop(); } frame 177 { stop(); } frame 178 { stop(); } frame 179 { stop(); } frame 180 { stop(); } frame 181 { stop(); } frame 182 { stop(); } frame 183 { stop(); } frame 184 { stop(); } frame 185 { stop(); } frame 186 { stop(); } frame 187 { stop(); } frame 188 { stop(); } frame 189 { stop(); } frame 190 { stop(); } frame 191 { stop(); } frame 192 { stop(); } frame 193 { stop(); } frame 194 { stop(); } frame 195 { stop(); } frame 196 { stop(); } frame 197 { stop(); } frame 198 { stop(); } frame 199 { stop(); } frame 200 { stop(); } frame 201 { stop(); } frame 202 { stop(); } frame 203 { stop(); } frame 204 { stop(); } frame 205 { stop(); } frame 206 { stop(); } frame 207 { stop(); } frame 208 { stop(); } frame 209 { stop(); } frame 210 { stop(); } frame 211 { stop(); } frame 212 { stop(); } frame 213 { stop(); } frame 214 { stop(); } frame 215 { stop(); } frame 216 { stop(); } frame 217 { stop(); } frame 218 { stop(); } frame 219 { stop(); } frame 220 { stop(); } frame 221 { stop(); } frame 222 { stop(); } frame 223 { stop(); } frame 224 { stop(); } frame 225 { stop(); } frame 226 { stop(); } frame 227 { stop(); } frame 228 { stop(); } frame 229 { stop(); } frame 230 { stop(); } frame 231 { stop(); } frame 232 { stop(); } frame 233 { stop(); } frame 234 { stop(); } frame 235 { stop(); } frame 236 { stop(); } frame 237 { stop(); } frame 238 { stop(); } frame 239 { stop(); } frame 240 { stop(); } frame 241 { stop(); } frame 242 { stop(); } frame 243 { stop(); } frame 244 { stop(); } frame 245 { stop(); } frame 246 { stop(); } frame 247 { stop(); } frame 248 { stop(); } frame 249 { stop(); } frame 250 { stop(); } frame 251 { stop(); } frame 252 { stop(); } frame 253 { stop(); } frame 254 { stop(); } frame 255 { stop(); } frame 256 { stop(); } frame 257 { stop(); } frame 258 { stop(); } frame 259 { stop(); } frame 260 { stop(); } frame 261 { stop(); } frame 262 { stop(); } frame 263 { stop(); } frame 264 { stop(); } frame 265 { stop(); } frame 266 { stop(); } frame 267 { stop(); } frame 268 { stop(); } frame 269 { stop(); } frame 270 { stop(); } frame 271 { stop(); } frame 272 { stop(); } frame 273 { stop(); } frame 274 { stop(); } frame 275 { stop(); } frame 276 { stop(); } frame 277 { stop(); } frame 278 { stop(); } frame 279 { stop(); } frame 280 { stop(); } frame 281 { stop(); } frame 282 { stop(); } frame 283 { stop(); } frame 284 { stop(); } frame 285 { stop(); } frame 286 { stop(); } frame 287 { stop(); } frame 288 { stop(); } frame 289 { stop(); } frame 290 { stop(); } frame 291 { stop(); } frame 292 { stop(); } frame 293 { stop(); } frame 294 { stop(); } frame 295 { stop(); } frame 296 { stop(); } frame 297 { stop(); } frame 298 { stop(); } frame 299 { stop(); } frame 300 { stop(); } frame 301 { stop(); } frame 302 { stop(); } frame 303 { stop(); } frame 304 { stop(); } frame 305 { stop(); } frame 306 { stop(); } frame 307 { stop(); } frame 308 { stop(); } frame 309 { stop(); } frame 310 { stop(); } frame 311 { stop(); } frame 312 { stop(); } frame 313 { stop(); } frame 314 { stop(); } frame 315 { stop(); } frame 316 { stop(); } frame 317 { stop(); } frame 318 { stop(); } frame 319 { stop(); } frame 320 { stop(); } frame 321 { stop(); } frame 322 { stop(); } frame 323 { stop(); } frame 324 { stop(); } frame 325 { stop(); } frame 326 { stop(); } frame 327 { stop(); } frame 328 { stop(); } frame 329 { stop(); } frame 330 { stop(); } frame 331 { stop(); } frame 332 { stop(); } frame 333 { stop(); } frame 334 { stop(); } frame 335 { stop(); } frame 336 { stop(); } frame 337 { stop(); } frame 338 { stop(); } frame 339 { stop(); } frame 340 { stop(); } frame 341 { stop(); } frame 342 { stop(); } frame 343 { stop(); } frame 344 { stop(); } frame 345 { stop(); } frame 346 { stop(); } frame 347 { stop(); } frame 348 { stop(); } frame 349 { stop(); } frame 350 { stop(); } frame 351 { stop(); } frame 352 { stop(); } frame 353 { stop(); } frame 354 { stop(); } frame 355 { stop(); } frame 356 { stop(); } frame 357 { stop(); } frame 358 { stop(); } frame 359 { stop(); } frame 360 { stop(); } frame 361 { stop(); } frame 362 { stop(); } frame 363 { stop(); } frame 364 { stop(); } frame 365 { stop(); } frame 366 { stop(); } frame 367 { stop(); } frame 368 { stop(); } frame 369 { stop(); } frame 370 { stop(); } frame 371 { stop(); } frame 372 { stop(); } frame 373 { stop(); } frame 374 { stop(); } frame 375 { stop(); } frame 376 { stop(); } frame 377 { stop(); } frame 378 { stop(); } frame 379 { stop(); } frame 380 { stop(); } frame 381 { stop(); } frame 382 { stop(); } frame 383 { stop(); } frame 384 { stop(); } frame 385 { stop(); } frame 386 { stop(); } frame 387 { stop(); } frame 388 { stop(); } frame 389 { stop(); } frame 390 { stop(); } frame 391 { stop(); } frame 392 { stop(); } frame 393 { stop(); } frame 394 { stop(); } frame 395 { stop(); } frame 396 { stop(); } frame 397 { stop(); } frame 398 { stop(); } frame 399 { stop(); } frame 400 { stop(); } frame 401 { stop(); } frame 402 { stop(); } frame 403 { stop(); } frame 404 { stop(); } frame 405 { stop(); } frame 406 { stop(); } frame 407 { stop(); } frame 408 { stop(); } frame 409 { stop(); } frame 410 { stop(); } frame 411 { stop(); } frame 412 { stop(); } frame 413 { stop(); } frame 414 { stop(); } frame 415 { stop(); } frame 416 { stop(); } frame 417 { stop(); } frame 418 { stop(); } frame 419 { stop(); } frame 420 { stop(); } frame 421 { stop(); } frame 422 { stop(); } frame 423 { stop(); } frame 424 { stop(); } frame 425 { stop(); } frame 426 { stop(); } frame 427 { stop(); } frame 428 { stop(); } frame 429 { stop(); } frame 430 { stop(); } frame 431 { stop(); } frame 432 { stop(); } frame 433 { stop(); } frame 434 { stop(); } frame 435 { stop(); } frame 436 { stop(); } frame 437 { stop(); } frame 438 { stop(); } frame 439 { stop(); } frame 440 { stop(); } frame 441 { stop(); } frame 442 { stop(); } frame 443 { stop(); } frame 444 { stop(); } frame 445 { stop(); } frame 446 { stop(); } frame 447 { stop(); } frame 448 { stop(); } frame 449 { stop(); } frame 450 { stop(); } frame 451 { stop(); } frame 452 { stop(); } frame 453 { stop(); } frame 454 { stop(); } frame 455 { stop(); } frame 456 { stop(); } frame 457 { stop(); } frame 458 { stop(); } frame 459 { stop(); } frame 460 { stop(); } frame 461 { stop(); } frame 462 { stop(); } frame 463 { stop(); } frame 464 { stop(); } frame 465 { stop(); } frame 466 { stop(); } frame 467 { stop(); } frame 468 { stop(); } frame 469 { stop(); } frame 470 { stop(); } frame 471 { stop(); } frame 472 { stop(); } frame 473 { stop(); } frame 474 { stop(); } frame 475 { stop(); } frame 476 { stop(); } frame 477 { stop(); } frame 478 { stop(); } frame 479 { stop(); } frame 480 { stop(); } frame 481 { stop(); } frame 482 { stop(); } frame 483 { stop(); } frame 484 { stop(); } frame 485 { stop(); } frame 486 { stop(); } frame 487 { stop(); } frame 488 { stop(); } frame 489 { stop(); } frame 490 { stop(); } frame 491 { stop(); } frame 492 { stop(); } frame 493 { stop(); } frame 494 { stop(); } frame 495 { stop(); } frame 496 { stop(); } frame 497 { stop(); } frame 498 { stop(); } frame 499 { stop(); } frame 500 { stop(); } frame 501 { stop(); } frame 502 { stop(); } frame 503 { stop(); } frame 504 { stop(); } frame 505 { stop(); } frame 506 { stop(); } frame 507 { stop(); } frame 508 { stop(); } frame 509 { stop(); } frame 510 { stop(); } frame 511 { stop(); } frame 512 { stop(); } frame 513 { stop(); } frame 514 { stop(); } frame 515 { stop(); } frame 516 { stop(); } frame 517 { stop(); } frame 518 { stop(); } frame 519 { stop(); } frame 520 { stop(); } frame 521 { stop(); } frame 522 { stop(); } frame 523 { stop(); } frame 524 { stop(); } frame 525 { stop(); } frame 526 { stop(); } frame 527 { stop(); } frame 528 { stop(); } frame 529 { stop(); } frame 530 { stop(); } frame 531 { stop(); } frame 532 { stop(); } frame 533 { stop(); } frame 534 { stop(); } frame 535 { stop(); } frame 536 { stop(); } frame 537 { stop(); } frame 538 { stop(); } frame 539 { stop(); } frame 540 { stop(); } frame 541 { stop(); } frame 542 { stop(); } frame 543 { stop(); } frame 544 { stop(); } frame 545 { stop(); } frame 546 { stop(); } frame 547 { stop(); } frame 548 { stop(); } frame 549 { stop(); } frame 550 { stop(); } frame 551 { stop(); } frame 552 { stop(); } frame 553 { stop(); } frame 554 { stop(); } frame 555 { stop(); } frame 556 { stop(); } frame 557 { stop(); } frame 558 { stop(); } frame 559 { stop(); } frame 560 { stop(); } frame 561 { stop(); } frame 562 { stop(); } frame 563 { stop(); } frame 564 { stop(); } frame 565 { stop(); } frame 566 { stop(); } frame 567 { stop(); } frame 568 { stop(); } frame 569 { stop(); } frame 570 { stop(); } frame 571 { stop(); } frame 572 { stop(); } frame 573 { stop(); } frame 574 { stop(); } frame 575 { stop(); } frame 576 { stop(); } frame 577 { stop(); } frame 578 { stop(); } frame 579 { stop(); } frame 580 { stop(); } frame 581 { stop(); } frame 582 { stop(); } frame 583 { stop(); } frame 584 { stop(); } frame 585 { stop(); } frame 586 { stop(); } frame 587 { stop(); } frame 588 { stop(); } frame 589 { stop(); } frame 590 { stop(); } frame 591 { stop(); } frame 592 { stop(); } frame 593 { stop(); } frame 594 { stop(); } frame 595 { stop(); } frame 596 { stop(); } frame 597 { stop(); } frame 598 { stop(); } frame 599 { stop(); } frame 600 { stop(); } frame 601 { stop(); } frame 602 { stop(); } frame 603 { stop(); } frame 604 { stop(); } frame 605 { stop(); } frame 606 { stop(); } frame 607 { stop(); } frame 608 { stop(); } frame 609 { stop(); } frame 610 { stop(); } frame 611 { stop(); } frame 612 { stop(); } frame 613 { stop(); } frame 614 { stop(); } frame 615 { stop(); } frame 616 { stop(); } frame 617 { stop(); } frame 618 { stop(); } frame 619 { stop(); } frame 620 { stop(); } frame 621 { stop(); } frame 622 { stop(); } frame 623 { stop(); } frame 624 { stop(); } frame 625 { stop(); } frame 626 { stop(); } frame 627 { stop(); } frame 628 { stop(); } frame 629 { stop(); } frame 630 { stop(); } frame 631 { stop(); } frame 632 { stop(); } frame 633 { stop(); } frame 634 { stop(); } frame 635 { stop(); } frame 636 { stop(); } frame 637 { stop(); } frame 638 { stop(); } frame 639 { stop(); } frame 640 { stop(); } frame 641 { stop(); } frame 642 { stop(); } frame 643 { stop(); } frame 644 { stop(); } frame 645 { stop(); } frame 646 { stop(); } frame 647 { stop(); } frame 648 { stop(); } frame 649 { stop(); } frame 650 { stop(); } frame 651 { stop(); } frame 652 { stop(); } frame 653 { stop(); } frame 654 { stop(); } frame 655 { stop(); } frame 656 { stop(); } frame 657 { stop(); } frame 658 { stop(); } frame 659 { stop(); } frame 660 { stop(); } frame 661 { stop(); } frame 662 { stop(); } frame 663 { stop(); } frame 664 { stop(); } frame 665 { stop(); } frame 666 { stop(); } frame 667 { stop(); } frame 668 { stop(); } frame 669 { stop(); } frame 670 { stop(); } frame 671 { stop(); } frame 672 { stop(); } frame 673 { stop(); } frame 674 { stop(); } frame 675 { stop(); } frame 676 { stop(); } frame 677 { stop(); } frame 678 { stop(); } frame 679 { stop(); } frame 680 { stop(); } frame 681 { stop(); } frame 682 { stop(); } frame 683 { stop(); } frame 684 { stop(); } frame 685 { stop(); } frame 686 { stop(); } frame 687 { stop(); } frame 688 { stop(); } frame 689 { stop(); } frame 690 { stop(); } frame 691 { stop(); } frame 692 { stop(); } frame 693 { stop(); } frame 694 { stop(); } frame 695 { stop(); } frame 696 { stop(); } frame 697 { stop(); } frame 698 { stop(); } frame 699 { stop(); } frame 700 { stop(); } frame 701 { stop(); } frame 702 { stop(); } frame 703 { stop(); } frame 704 { stop(); } frame 705 { stop(); } frame 706 { stop(); } frame 707 { stop(); } frame 708 { stop(); } frame 709 { stop(); } frame 710 { stop(); } frame 711 { stop(); } frame 712 { stop(); } frame 713 { stop(); } frame 714 { stop(); } frame 715 { stop(); } frame 716 { stop(); } frame 717 { stop(); } frame 718 { stop(); } frame 719 { stop(); } frame 720 { stop(); } frame 721 { stop(); } frame 722 { stop(); } frame 723 { stop(); } frame 724 { stop(); } frame 725 { stop(); } frame 726 { stop(); } frame 727 { stop(); } frame 728 { stop(); } frame 729 { stop(); } frame 730 { stop(); } frame 731 { stop(); } frame 732 { stop(); } frame 733 { stop(); } frame 734 { stop(); } frame 735 { stop(); } frame 736 { stop(); } frame 737 { stop(); } frame 738 { stop(); } frame 739 { stop(); } frame 740 { stop(); } frame 741 { stop(); } frame 742 { stop(); } frame 743 { stop(); } frame 744 { stop(); } frame 745 { stop(); } frame 746 { stop(); } frame 747 { stop(); } frame 748 { stop(); } frame 749 { stop(); } frame 750 { stop(); } frame 751 { stop(); } frame 752 { stop(); } frame 753 { stop(); } frame 754 { stop(); } frame 755 { stop(); } frame 756 { stop(); } frame 757 { stop(); } frame 758 { stop(); } frame 759 { stop(); } frame 760 { stop(); } frame 761 { stop(); } frame 762 { stop(); } frame 763 { stop(); } frame 764 { stop(); } frame 765 { stop(); } frame 766 { stop(); } frame 767 { stop(); } frame 768 { stop(); } frame 769 { stop(); } frame 770 { stop(); } frame 771 { stop(); } frame 772 { stop(); } frame 773 { stop(); } frame 774 { stop(); } frame 775 { stop(); } frame 776 { stop(); } frame 777 { stop(); } frame 778 { stop(); } frame 779 { stop(); } frame 780 { stop(); } frame 781 { stop(); } frame 782 { stop(); } frame 783 { stop(); } frame 784 { stop(); } frame 785 { stop(); } frame 786 { stop(); } frame 787 { stop(); } frame 788 { stop(); } frame 789 { stop(); } frame 790 { stop(); } frame 791 { stop(); } frame 792 { stop(); } frame 793 { stop(); } frame 794 { stop(); } frame 795 { stop(); } frame 796 { stop(); } frame 797 { stop(); } frame 798 { stop(); } frame 799 { stop(); } frame 800 { stop(); } frame 801 { stop(); } frame 802 { stop(); } frame 803 { stop(); } frame 804 { stop(); } frame 805 { stop(); } frame 806 { stop(); } frame 807 { stop(); } frame 808 { stop(); } frame 809 { stop(); } frame 810 { stop(); } frame 811 { stop(); } frame 812 { stop(); } frame 813 { stop(); } frame 814 { stop(); } frame 815 { stop(); } frame 816 { stop(); } frame 817 { stop(); } frame 818 { stop(); } frame 819 { stop(); } frame 820 { stop(); } frame 821 { stop(); } frame 822 { stop(); } frame 823 { stop(); } frame 824 { stop(); } frame 825 { stop(); } frame 826 { stop(); } frame 827 { stop(); } frame 828 { stop(); } frame 829 { stop(); } frame 830 { stop(); } frame 831 { stop(); } frame 832 { stop(); } frame 833 { stop(); } frame 834 { stop(); } frame 835 { stop(); } frame 836 { stop(); } frame 837 { stop(); } frame 838 { stop(); } frame 839 { stop(); } frame 840 { stop(); } frame 841 { stop(); } frame 842 { stop(); } frame 843 { stop(); } frame 844 { stop(); } frame 845 { stop(); } frame 846 { stop(); } frame 847 { stop(); } frame 848 { stop(); } frame 849 { stop(); } frame 850 { stop(); } frame 851 { stop(); } frame 852 { stop(); } frame 853 { stop(); } frame 854 { stop(); } frame 855 { stop(); } frame 856 { stop(); } frame 857 { stop(); } frame 858 { stop(); } frame 859 { stop(); } frame 860 { stop(); } frame 861 { stop(); } frame 862 { stop(); } frame 863 { stop(); } frame 864 { stop(); } frame 865 { stop(); } frame 866 { stop(); } frame 867 { stop(); } frame 868 { stop(); } frame 869 { stop(); } frame 870 { stop(); } frame 871 { stop(); } frame 872 { stop(); } frame 873 { stop(); } frame 874 { stop(); } frame 875 { stop(); } frame 876 { stop(); } frame 877 { stop(); } frame 878 { stop(); } frame 879 { stop(); } frame 880 { stop(); } frame 881 { stop(); } frame 882 { stop(); } frame 883 { stop(); } frame 884 { stop(); } frame 885 { stop(); } frame 886 { stop(); } frame 887 { stop(); } frame 888 { stop(); } frame 889 { stop(); } frame 890 { stop(); } frame 891 { stop(); } frame 892 { stop(); } frame 893 { stop(); } frame 894 { stop(); } frame 895 { stop(); } frame 896 { stop(); } frame 897 { stop(); } frame 898 { stop(); } frame 899 { stop(); } frame 900 { stop(); } frame 901 { stop(); } frame 902 { stop(); } frame 903 { stop(); } frame 904 { stop(); } frame 905 { stop(); } frame 906 { stop(); } frame 907 { stop(); } frame 908 { stop(); } frame 909 { stop(); } frame 910 { stop(); } frame 911 { stop(); } frame 912 { stop(); } frame 913 { stop(); } frame 914 { stop(); } frame 915 { stop(); } frame 916 { stop(); } frame 917 { stop(); } frame 918 { stop(); } frame 919 { stop(); } frame 920 { stop(); } frame 921 { stop(); } frame 922 { stop(); } frame 923 { stop(); } frame 924 { stop(); } frame 925 { stop(); } frame 926 { stop(); } frame 927 { stop(); } frame 928 { stop(); } frame 929 { stop(); } frame 930 { stop(); } frame 931 { stop(); } frame 932 { stop(); } frame 933 { stop(); } frame 934 { stop(); } frame 935 { stop(); } frame 936 { stop(); } frame 937 { stop(); } frame 938 { stop(); } frame 939 { stop(); } frame 940 { stop(); } frame 941 { stop(); } frame 942 { stop(); } frame 943 { stop(); } frame 944 { stop(); } frame 945 { stop(); } frame 946 { stop(); } frame 947 { stop(); } frame 948 { stop(); } frame 949 { stop(); } frame 950 { stop(); } frame 951 { stop(); } frame 952 { stop(); } frame 953 { stop(); } frame 954 { stop(); } frame 955 { stop(); } frame 956 { stop(); } frame 957 { stop(); } frame 958 { stop(); } frame 959 { stop(); } frame 960 { stop(); } frame 961 { stop(); } frame 962 { stop(); } frame 963 { stop(); } frame 964 { stop(); } frame 965 { stop(); } frame 966 { stop(); } frame 967 { stop(); } frame 968 { stop(); } frame 969 { stop(); } frame 970 { stop(); } frame 971 { stop(); } frame 972 { stop(); } frame 973 { stop(); } frame 974 { stop(); } frame 975 { stop(); } frame 976 { stop(); } frame 977 { stop(); } frame 978 { stop(); } frame 979 { stop(); } frame 980 { stop(); } frame 981 { stop(); } frame 982 { stop(); } frame 983 { stop(); } frame 984 { stop(); } frame 985 { stop(); } frame 986 { stop(); } frame 987 { stop(); } frame 988 { stop(); } frame 989 { stop(); } frame 990 { stop(); } frame 991 { stop(); } frame 992 { stop(); } frame 993 { stop(); } frame 994 { stop(); } frame 995 { stop(); } frame 996 { stop(); } frame 997 { stop(); } frame 998 { stop(); } frame 999 { stop(); } frame 1000 { stop(); } frame 1001 { stop(); } frame 1002 { stop(); } frame 1003 { stop(); } frame 1004 { stop(); } frame 1005 { stop(); } frame 1006 { stop(); } frame 1007 { stop(); } frame 1008 { stop(); } frame 1009 { stop(); } frame 1010 { stop(); } frame 1011 { stop(); } frame 1012 { stop(); } frame 1013 { stop(); } frame 1014 { stop(); } frame 1015 { stop(); } frame 1016 { stop(); } frame 1017 { stop(); } frame 1018 { stop(); } frame 1019 { stop(); } frame 1020 { stop(); } frame 1021 { stop(); } frame 1022 { stop(); } frame 1023 { stop(); } frame 1024 { stop(); } frame 1025 { stop(); } frame 1026 { stop(); } frame 1027 { stop(); } frame 1028 { stop(); } frame 1029 { stop(); } frame 1030 { stop(); } frame 1031 { stop(); } frame 1032 { stop(); } frame 1033 { stop(); } frame 1034 { stop(); } frame 1035 { stop(); } frame 1036 { stop(); } frame 1037 { stop(); } frame 1038 { stop(); } frame 1039 { stop(); } frame 1040 { stop(); } frame 1041 { stop(); } frame 1042 { stop(); } frame 1043 { stop(); } frame 1044 { stop(); } frame 1045 { stop(); } frame 1046 { stop(); } frame 1047 { stop(); } frame 1048 { stop(); } frame 1049 { stop(); } frame 1050 { stop(); } frame 1051 { stop(); } frame 1052 { stop(); } frame 1053 { stop(); } frame 1054 { stop(); } frame 1055 { stop(); } frame 1056 { stop(); } frame 1057 { stop(); } frame 1058 { stop(); } frame 1059 { stop(); } frame 1060 { stop(); } frame 1061 { stop(); } frame 1062 { stop(); } frame 1063 { stop(); } frame 1064 { stop(); } frame 1065 { stop(); } frame 1066 { stop(); } frame 1067 { stop(); } frame 1068 { stop(); } frame 1069 { stop(); } frame 1070 { stop(); } frame 1071 { stop(); } frame 1072 { stop(); } frame 1073 { stop(); } frame 1074 { stop(); } frame 1075 { stop(); } frame 1076 { stop(); } frame 1077 { stop(); } frame 1078 { stop(); } frame 1079 { stop(); } frame 1080 { stop(); } frame 1081 { stop(); } frame 1082 { stop(); } frame 1083 { stop(); } frame 1084 { stop(); } frame 1085 { stop(); } frame 1086 { stop(); } frame 1087 { stop(); } frame 1088 { stop(); } frame 1089 { stop(); } frame 1090 { stop(); } frame 1091 { stop(); } frame 1092 { stop(); } frame 1093 { stop(); } frame 1094 { stop(); } frame 1095 { stop(); } frame 1096 { stop(); } frame 1097 { stop(); } frame 1098 { stop(); } frame 1099 { stop(); } frame 1100 { stop(); } frame 1101 { stop(); } frame 1102 { stop(); } frame 1103 { stop(); } frame 1104 { stop(); } frame 1105 { stop(); } frame 1106 { stop(); } frame 1107 { stop(); } frame 1108 { stop(); } frame 1109 { stop(); } frame 1110 { stop(); } frame 1111 { stop(); } frame 1112 { stop(); } frame 1113 { stop(); } frame 1114 { stop(); } frame 1115 { stop(); } frame 1116 { stop(); } frame 1117 { stop(); } frame 1118 { stop(); } frame 1119 { stop(); } frame 1120 { stop(); } frame 1121 { stop(); } frame 1122 { stop(); } frame 1123 { stop(); } frame 1124 { stop(); } frame 1125 { stop(); } frame 1126 { stop(); } frame 1127 { stop(); } frame 1128 { stop(); } frame 1129 { stop(); } frame 1130 { stop(); } frame 1131 { stop(); } frame 1132 { stop(); } frame 1133 { stop(); } frame 1134 { stop(); } frame 1135 { stop(); } frame 1136 { stop(); } frame 1137 { stop(); } frame 1138 { stop(); } frame 1139 { stop(); } frame 1140 { stop(); } frame 1141 { stop(); } frame 1142 { stop(); } frame 1143 { stop(); } frame 1144 { stop(); } frame 1145 { stop(); } frame 1146 { stop(); } frame 1147 { stop(); } frame 1148 { stop(); } frame 1149 { stop(); } frame 1150 { stop(); } frame 1151 { stop(); } frame 1152 { stop(); } frame 1153 { stop(); } frame 1154 { stop(); } frame 1155 { stop(); } frame 1156 { stop(); } frame 1157 { stop(); } frame 1158 { stop(); } frame 1159 { stop(); } frame 1160 { stop(); } frame 1161 { stop(); } frame 1162 { stop(); } frame 1163 { stop(); } frame 1164 { stop(); } frame 1165 { stop(); } frame 1166 { stop(); } frame 1167 { stop(); } frame 1168 { stop(); } frame 1169 { stop(); } frame 1170 { stop(); } frame 1171 { stop(); } frame 1172 { stop(); } frame 1173 { stop(); } frame 1174 { stop(); } frame 1175 { stop(); } frame 1176 { stop(); } frame 1177 { stop(); } frame 1178 { stop(); } frame 1179 { stop(); } frame 1180 { stop(); } frame 1181 { stop(); } frame 1182 { stop(); } frame 1183 { stop(); } frame 1184 { stop(); } frame 1185 { stop(); } frame 1186 { stop(); } frame 1187 { stop(); } frame 1188 { stop(); } frame 1189 { stop(); } frame 1190 { stop(); } frame 1191 { stop(); } frame 1192 { stop(); } frame 1193 { stop(); } frame 1194 { stop(); } frame 1195 { stop(); } frame 1196 { stop(); } frame 1197 { stop(); } frame 1198 { stop(); } frame 1199 { stop(); } frame 1200 { stop(); } frame 1201 { stop(); } frame 1202 { stop(); } frame 1203 { stop(); } frame 1204 { stop(); } frame 1205 { stop(); } frame 1206 { stop(); } frame 1207 { stop(); } frame 1208 { stop(); } frame 1209 { stop(); } frame 1210 { stop(); } frame 1211 { stop(); } frame 1212 { stop(); } frame 1213 { stop(); } frame 1214 { stop(); } frame 1215 { stop(); } frame 1216 { stop(); } frame 1217 { stop(); } frame 1218 { stop(); } frame 1219 { stop(); } frame 1220 { stop(); } frame 1221 { stop(); } frame 1222 { stop(); } frame 1223 { stop(); } frame 1224 { stop(); } frame 1225 { stop(); } frame 1226 { stop(); } frame 1227 { stop(); } frame 1228 { stop(); } frame 1229 { stop(); } frame 1230 { stop(); } frame 1231 { stop(); } frame 1232 { stop(); } frame 1233 { stop(); } frame 1234 { stop(); } frame 1235 { stop(); } frame 1236 { stop(); } frame 1237 { stop(); } frame 1238 { stop(); } frame 1239 { stop(); } frame 1240 { stop(); } frame 1241 { stop(); } frame 1242 { stop(); } frame 1243 { stop(); } frame 1244 { stop(); } frame 1245 { stop(); } frame 1246 { stop(); } frame 1247 { stop(); } frame 1248 { stop(); } frame 1249 { stop(); } frame 1250 { stop(); } frame 1251 { stop(); } frame 1252 { stop(); } frame 1253 { stop(); } frame 1254 { stop(); } frame 1255 { stop(); } frame 1256 { stop(); } frame 1257 { stop(); } frame 1258 { stop(); } frame 1259 { stop(); } frame 1260 { stop(); } frame 1261 { stop(); } frame 1262 { stop(); } frame 1263 { stop(); } frame 1264 { stop(); } frame 1265 { stop(); } frame 1266 { stop(); } frame 1267 { stop(); } frame 1268 { stop(); } frame 1269 { stop(); } frame 1270 { stop(); } frame 1271 { stop(); } frame 1272 { stop(); } frame 1273 { stop(); } frame 1274 { stop(); } frame 1275 { stop(); } frame 1276 { stop(); } frame 1277 { stop(); } frame 1278 { stop(); } frame 1279 { stop(); } frame 1280 { stop(); } frame 1281 { stop(); } frame 1282 { stop(); } frame 1283 { stop(); } frame 1284 { stop(); } frame 1285 { stop(); } frame 1286 { stop(); } frame 1287 { stop(); } frame 1288 { stop(); } frame 1289 { stop(); } frame 1290 { stop(); } frame 1291 { stop(); } frame 1292 { stop(); } frame 1293 { stop(); } frame 1294 { stop(); } frame 1295 { stop(); } frame 1296 { stop(); } frame 1297 { stop(); } frame 1298 { stop(); } frame 1299 { stop(); } frame 1300 { stop(); } frame 1301 { stop(); } frame 1302 { stop(); } frame 1303 { stop(); } frame 1304 { stop(); } frame 1305 { stop(); } frame 1306 { stop(); } frame 1307 { stop(); } frame 1308 { stop(); } frame 1309 { stop(); } frame 1310 { stop(); } frame 1311 { stop(); } frame 1312 { stop(); } frame 1313 { stop(); } frame 1314 { stop(); } frame 1315 { stop(); } frame 1316 { stop(); } frame 1317 { stop(); } frame 1318 { stop(); } frame 1319 { stop(); } frame 1320 { stop(); } frame 1321 { stop(); } frame 1322 { stop(); } frame 1323 { stop(); } frame 1324 { stop(); } frame 1325 { stop(); } frame 1326 { stop(); } frame 1327 { stop(); } frame 1328 { stop(); } frame 1329 { stop(); } frame 1330 { stop(); } frame 1331 { stop(); } frame 1332 { stop(); } frame 1333 { stop(); } frame 1334 { stop(); } frame 1335 { stop(); } frame 1336 { stop(); } frame 1337 { stop(); } frame 1338 { stop(); } frame 1339 { stop(); } frame 1340 { stop(); } frame 1341 { stop(); } frame 1342 { stop(); } frame 1343 { stop(); } frame 1344 { stop(); } frame 1345 { stop(); } frame 1346 { stop(); } frame 1347 { stop(); } frame 1348 { stop(); } frame 1349 { stop(); } frame 1350 { stop(); } frame 1351 { stop(); } frame 1352 { stop(); } frame 1353 { stop(); } frame 1354 { stop(); } frame 1355 { stop(); } frame 1356 { stop(); } frame 1357 { stop(); } frame 1358 { stop(); } frame 1359 { stop(); } frame 1360 { stop(); } frame 1361 { stop(); } frame 1362 { stop(); } frame 1363 { stop(); } frame 1364 { stop(); } frame 1365 { stop(); } frame 1366 { stop(); } frame 1367 { stop(); } frame 1368 { stop(); } frame 1369 { stop(); } frame 1370 { stop(); } frame 1371 { stop(); } frame 1372 { stop(); } frame 1373 { stop(); } frame 1374 { stop(); } frame 1375 { stop(); } frame 1376 { stop(); } frame 1377 { stop(); } frame 1378 { stop(); } frame 1379 { stop(); } frame 1380 { stop(); } frame 1381 { stop(); } frame 1382 { stop(); } frame 1383 { stop(); } frame 1384 { stop(); } frame 1385 { stop(); } frame 1386 { stop(); } frame 1387 { stop(); } frame 1388 { stop(); } frame 1389 { stop(); } frame 1390 { stop(); } frame 1391 { stop(); } frame 1392 { stop(); } frame 1393 { stop(); } frame 1394 { stop(); } frame 1395 { stop(); } frame 1396 { stop(); } frame 1397 { stop(); } frame 1398 { stop(); } frame 1399 { stop(); } frame 1400 { stop(); } frame 1401 { stop(); } frame 1402 { stop(); } frame 1403 { stop(); } frame 1404 { stop(); } frame 1405 { stop(); } frame 1406 { stop(); } frame 1407 { stop(); } frame 1408 { stop(); } frame 1409 { stop(); } frame 1410 { stop(); } frame 1411 { stop(); } frame 1412 { stop(); } frame 1413 { stop(); } frame 1414 { stop(); } frame 1415 { stop(); } frame 1416 { stop(); } frame 1417 { stop(); } frame 1418 { stop(); } frame 1419 { stop(); } frame 1420 { stop(); } frame 1421 { stop(); } frame 1422 { stop(); } frame 1423 { stop(); } frame 1424 { stop(); } frame 1425 { stop(); } frame 1426 { stop(); } frame 1427 { stop(); } frame 1428 { stop(); } frame 1429 { stop(); } frame 1430 { stop(); } frame 1431 { stop(); } frame 1432 { stop(); } frame 1433 { stop(); } frame 1434 { stop(); } frame 1435 { stop(); } frame 1436 { stop(); } frame 1437 { stop(); } frame 1438 { stop(); } frame 1439 { stop(); } frame 1440 { stop(); } frame 1441 { stop(); } frame 1442 { stop(); } frame 1443 { stop(); } frame 1444 { stop(); } frame 1445 { stop(); } frame 1446 { stop(); } frame 1447 { stop(); } frame 1448 { stop(); } frame 1449 { stop(); } frame 1450 { stop(); } frame 1451 { stop(); } frame 1452 { stop(); } frame 1453 { stop(); } frame 1454 { stop(); } frame 1455 { stop(); } frame 1456 { stop(); } frame 1457 { stop(); } frame 1458 { stop(); } frame 1459 { stop(); } frame 1460 { stop(); } frame 1461 { stop(); } frame 1462 { stop(); } frame 1463 { stop(); } frame 1464 { stop(); } frame 1465 { stop(); } frame 1466 { stop(); } frame 1467 { stop(); } frame 1468 { stop(); } frame 1469 { stop(); } frame 1470 { stop(); } frame 1471 { stop(); } frame 1472 { stop(); } frame 1473 { stop(); } frame 1474 { stop(); } frame 1475 { stop(); } frame 1476 { stop(); } frame 1477 { stop(); } frame 1478 { stop(); } frame 1479 { stop(); } frame 1480 { stop(); } frame 1481 { stop(); } frame 1482 { stop(); } frame 1483 { stop(); } frame 1484 { stop(); } frame 1485 { stop(); } frame 1486 { stop(); } frame 1487 { stop(); } frame 1488 { stop(); } frame 1489 { stop(); } frame 1490 { stop(); } frame 1491 { stop(); } frame 1492 { stop(); } frame 1493 { stop(); } frame 1494 { stop(); } frame 1495 { stop(); } frame 1496 { stop(); } frame 1497 { stop(); } frame 1498 { stop(); } frame 1499 { stop(); } frame 1500 { stop(); } frame 1501 { stop(); } frame 1502 { stop(); } frame 1503 { stop(); } frame 1504 { stop(); } frame 1505 { stop(); } frame 1506 { stop(); } frame 1507 { stop(); } frame 1508 { stop(); } frame 1509 { stop(); } frame 1510 { stop(); } frame 1511 { stop(); } frame 1512 { stop(); } frame 1513 { stop(); } frame 1514 { stop(); } frame 1515 { stop(); } frame 1516 { stop(); } frame 1517 { stop(); } frame 1518 { stop(); } frame 1519 { stop(); } frame 1520 { stop(); } frame 1521 { stop(); } frame 1522 { stop(); } frame 1523 { stop(); } frame 1524 { stop(); } frame 1525 { stop(); } frame 1526 { stop(); } frame 1527 { stop(); } frame 1528 { stop(); } frame 1529 { stop(); } frame 1530 { stop(); } frame 1531 { stop(); } frame 1532 { stop(); } frame 1533 { stop(); } frame 1534 { stop(); } frame 1535 { stop(); } frame 1536 { stop(); } frame 1537 { stop(); } frame 1538 { stop(); } frame 1539 { stop(); } frame 1540 { stop(); } frame 1541 { stop(); } frame 1542 { stop(); } frame 1543 { stop(); } frame 1544 { stop(); } frame 1545 { stop(); } frame 1546 { stop(); } frame 1547 { stop(); } frame 1548 { stop(); } frame 1549 { stop(); } frame 1550 { stop(); } frame 1551 { stop(); } frame 1552 { stop(); } frame 1553 { stop(); } frame 1554 { stop(); } frame 1555 { stop(); } frame 1556 { stop(); } frame 1557 { stop(); } frame 1558 { stop(); } frame 1559 { stop(); } frame 1560 { stop(); } frame 1561 { stop(); } frame 1562 { stop(); } frame 1563 { stop(); } frame 1564 { stop(); } frame 1565 { stop(); } frame 1566 { stop(); } frame 1567 { stop(); } frame 1568 { stop(); } frame 1569 { stop(); } frame 1570 { stop(); } frame 1571 { stop(); } frame 1572 { stop(); } frame 1573 { stop(); } frame 1574 { stop(); } frame 1575 { stop(); } frame 1576 { stop(); } frame 1577 { stop(); } frame 1578 { stop(); } frame 1579 { stop(); } frame 1580 { stop(); } frame 1581 { stop(); } frame 1582 { stop(); } frame 1583 { stop(); } frame 1584 { stop(); } frame 1585 { stop(); } frame 1586 { stop(); } frame 1587 { stop(); } frame 1588 { stop(); } frame 1589 { stop(); } frame 1590 { stop(); } frame 1591 { stop(); } frame 1592 { stop(); } frame 1593 { stop(); } frame 1594 { stop(); } frame 1595 { stop(); } frame 1596 { stop(); } frame 1597 { stop(); } frame 1598 { stop(); } frame 1599 { stop(); } frame 1600 { stop(); } frame 1601 { stop(); } frame 1602 { stop(); } frame 1603 { stop(); } frame 1604 { stop(); } frame 1605 { stop(); } frame 1606 { stop(); } frame 1607 { stop(); } frame 1608 { stop(); } frame 1609 { stop(); } frame 1610 { stop(); } frame 1611 { stop(); } frame 1612 { stop(); } frame 1613 { stop(); } frame 1614 { stop(); } frame 1615 { stop(); } frame 1616 { stop(); } frame 1617 { stop(); } frame 1618 { stop(); } frame 1619 { stop(); } frame 1620 { stop(); } frame 1621 { stop(); } frame 1622 { stop(); } frame 1623 { stop(); } frame 1624 { stop(); } frame 1625 { stop(); } frame 1626 { stop(); } frame 1627 { stop(); } frame 1628 { stop(); } frame 1629 { stop(); } frame 1630 { stop(); } frame 1631 { stop(); } frame 1632 { stop(); } frame 1633 { stop(); } frame 1634 { stop(); } frame 1635 { stop(); } frame 1636 { stop(); } frame 1637 { stop(); } frame 1638 { stop(); } frame 1639 { stop(); } frame 1640 { stop(); } frame 1641 { stop(); } frame 1642 { stop(); } frame 1643 { stop(); } frame 1644 { stop(); } frame 1645 { stop(); } frame 1646 { stop(); } frame 1647 { stop(); } frame 1648 { stop(); } frame 1649 { stop(); } frame 1650 { stop(); } frame 1651 { stop(); } frame 1652 { stop(); } frame 1653 { stop(); } frame 1654 { stop(); } frame 1655 { stop(); } frame 1656 { stop(); } frame 1657 { stop(); } frame 1658 { stop(); } frame 1659 { stop(); } frame 1660 { stop(); } frame 1661 { stop(); } frame 1662 { stop(); } frame 1663 { stop(); } frame 1664 { stop(); } frame 1665 { stop(); } frame 1666 { stop(); } frame 1667 { stop(); } frame 1668 { stop(); } frame 1669 { stop(); } frame 1670 { stop(); } frame 1671 { stop(); } frame 1672 { stop(); } frame 1673 { stop(); } frame 1674 { stop(); } frame 1675 { stop(); } frame 1676 { stop(); } frame 1677 { stop(); } frame 1678 { stop(); } frame 1679 { stop(); } frame 1680 { stop(); } frame 1681 { stop(); } frame 1682 { stop(); } frame 1683 { stop(); } frame 1684 { stop(); } frame 1685 { stop(); } frame 1686 { stop(); } frame 1687 { stop(); } frame 1688 { stop(); } frame 1689 { stop(); } frame 1690 { stop(); } frame 1691 { stop(); } frame 1692 { stop(); } frame 1693 { stop(); } frame 1694 { stop(); } frame 1695 { stop(); } frame 1696 { stop(); } frame 1697 { stop(); } frame 1698 { stop(); } frame 1699 { stop(); } frame 1700 { stop(); } frame 1701 { stop(); } frame 1702 { stop(); } frame 1703 { stop(); } frame 1704 { stop(); } frame 1705 { stop(); } frame 1706 { stop(); } frame 1707 { stop(); } frame 1708 { stop(); } frame 1709 { stop(); } frame 1710 { stop(); } frame 1711 { stop(); } frame 1712 { stop(); } frame 1713 { stop(); } frame 1714 { stop(); } frame 1715 { stop(); } frame 1716 { stop(); } frame 1717 { stop(); } frame 1718 { stop(); } frame 1719 { stop(); } frame 1720 { stop(); } frame 1721 { stop(); } frame 1722 { stop(); } frame 1723 { stop(); } frame 1724 { stop(); } frame 1725 { stop(); } frame 1726 { stop(); } frame 1727 { stop(); } frame 1728 { stop(); } frame 1729 { stop(); } frame 1730 { stop(); } frame 1731 { stop(); } frame 1732 { stop(); } frame 1733 { stop(); } frame 1734 { stop(); } frame 1735 { stop(); } frame 1736 { stop(); } frame 1737 { stop(); } frame 1738 { stop(); } frame 1739 { stop(); } frame 1740 { stop(); } frame 1741 { stop(); } frame 1742 { stop(); } frame 1743 { stop(); } frame 1744 { stop(); } frame 1745 { stop(); } frame 1746 { stop(); } frame 1747 { stop(); } frame 1748 { stop(); } frame 1749 { stop(); } frame 1750 { stop(); } frame 1751 { stop(); } frame 1752 { stop(); } frame 1753 { stop(); } frame 1754 { stop(); } frame 1755 { stop(); } frame 1756 { stop(); } frame 1757 { stop(); } frame 1758 { stop(); } frame 1759 { stop(); } frame 1760 { stop(); } frame 1761 { stop(); } frame 1762 { stop(); } frame 1763 { stop(); } frame 1764 { stop(); } frame 1765 { stop(); } frame 1766 { stop(); } frame 1767 { stop(); } frame 1768 { stop(); } frame 1769 { stop(); } frame 1770 { stop(); } frame 1771 { stop(); } frame 1772 { stop(); } frame 1773 { stop(); } frame 1774 { stop(); } frame 1775 { stop(); } frame 1776 { stop(); } frame 1777 { stop(); } frame 1778 { stop(); } frame 1779 { stop(); } frame 1780 { stop(); } frame 1781 { stop(); } frame 1782 { stop(); } frame 1783 { stop(); } frame 1784 { stop(); } frame 1785 { stop(); } frame 1786 { stop(); } frame 1787 { stop(); } frame 1788 { stop(); } frame 1789 { stop(); } frame 1790 { stop(); } frame 1791 { stop(); } frame 1792 { stop(); } frame 1793 { stop(); } frame 1794 { stop(); } frame 1795 { stop(); } frame 1796 { stop(); } frame 1797 { stop(); } frame 1798 { stop(); } frame 1799 { stop(); } frame 1800 { stop(); } frame 1801 { stop(); } frame 1802 { stop(); } frame 1803 { stop(); } frame 1804 { stop(); } frame 1805 { stop(); } frame 1806 { stop(); } frame 1807 { stop(); } frame 1808 { stop(); } frame 1809 { stop(); } frame 1810 { stop(); } frame 1811 { stop(); } frame 1812 { stop(); } frame 1813 { stop(); } frame 1814 { stop(); } frame 1815 { stop(); } frame 1816 { stop(); } frame 1817 { stop(); } frame 1818 { stop(); } frame 1819 { stop(); } frame 1820 { stop(); } frame 1821 { stop(); } frame 1822 { stop(); } frame 1823 { stop(); } frame 1824 { stop(); } frame 1825 { stop(); } frame 1826 { stop(); } frame 1827 { stop(); } frame 1828 { stop(); } frame 1829 { stop(); } frame 1830 { stop(); } frame 1831 { stop(); } frame 1832 { stop(); } frame 1833 { stop(); } frame 1834 { stop(); } frame 1835 { stop(); } frame 1836 { stop(); } frame 1837 { stop(); } frame 1838 { stop(); } frame 1839 { stop(); } frame 1840 { stop(); } frame 1841 { stop(); } frame 1842 { stop(); } frame 1843 { stop(); } frame 1844 { stop(); } frame 1845 { stop(); } frame 1846 { stop(); } frame 1847 { stop(); } frame 1848 { stop(); } frame 1849 { stop(); } frame 1850 { stop(); } frame 1851 { stop(); } frame 1852 { stop(); } frame 1853 { stop(); } frame 1854 { stop(); } frame 1855 { stop(); } frame 1856 { stop(); } frame 1857 { stop(); } frame 1858 { stop(); } frame 1859 { stop(); } frame 1860 { stop(); } frame 1861 { stop(); } frame 1862 { stop(); } frame 1863 { stop(); } frame 1864 { stop(); } frame 1865 { stop(); } frame 1866 { stop(); } frame 1867 { stop(); } frame 1868 { stop(); } frame 1869 { stop(); } frame 1870 { stop(); } frame 1871 { stop(); } frame 1872 { stop(); } frame 1873 { stop(); } frame 1874 { stop(); } frame 1875 { stop(); } frame 1876 { stop(); } frame 1877 { stop(); } frame 1878 { stop(); } frame 1879 { stop(); } frame 1880 { stop(); } frame 1881 { stop(); } frame 1882 { stop(); } frame 1883 { stop(); } frame 1884 { stop(); } frame 1885 { stop(); } frame 1886 { stop(); } frame 1887 { stop(); } frame 1888 { stop(); } frame 1889 { stop(); } frame 1890 { stop(); } frame 1891 { stop(); } frame 1892 { stop(); } frame 1893 { stop(); } frame 1894 { stop(); } frame 1895 { stop(); } frame 1896 { stop(); } frame 1897 { stop(); } frame 1898 { stop(); } frame 1899 { stop(); } frame 1900 { stop(); } frame 1901 { stop(); } frame 1902 { stop(); } frame 1903 { stop(); } frame 1904 { stop(); } frame 1905 { stop(); } frame 1906 { stop(); } frame 1907 { stop(); } frame 1908 { stop(); } frame 1909 { stop(); } frame 1910 { stop(); } frame 1911 { stop(); } frame 1912 { stop(); } frame 1913 { stop(); } frame 1914 { stop(); } frame 1915 { stop(); } frame 1916 { stop(); } frame 1917 { stop(); } frame 1918 { stop(); } frame 1919 { stop(); } frame 1920 { stop(); } frame 1921 { stop(); } frame 1922 { stop(); } frame 1923 { stop(); } frame 1924 { stop(); } frame 1925 { stop(); } frame 1926 { stop(); } frame 1927 { stop(); } frame 1928 { stop(); } frame 1929 { stop(); } frame 1930 { stop(); } frame 1931 { stop(); } frame 1932 { stop(); } frame 1933 { stop(); } frame 1934 { stop(); } frame 1935 { stop(); } frame 1936 { stop(); } frame 1937 { stop(); } frame 1938 { stop(); } frame 1939 { stop(); } frame 1940 { stop(); } frame 1941 { stop(); } frame 1942 { stop(); } frame 1943 { stop(); } frame 1944 { stop(); } frame 1945 { stop(); } frame 1946 { stop(); } frame 1947 { stop(); } frame 1948 { stop(); } frame 1949 { stop(); } frame 1950 { stop(); } frame 1951 { stop(); } frame 1952 { stop(); } frame 1953 { stop(); } frame 1954 { stop(); } frame 1955 { stop(); } frame 1956 { stop(); } frame 1957 { stop(); } frame 1958 { stop(); } frame 1959 { stop(); } frame 1960 { stop(); } frame 1961 { stop(); } frame 1962 { stop(); } frame 1963 { stop(); } frame 1964 { stop(); } frame 1965 { stop(); } frame 1966 { stop(); } frame 1967 { stop(); } frame 1968 { stop(); } frame 1969 { stop(); } frame 1970 { stop(); } frame 1971 { stop(); } frame 1972 { stop(); } frame 1973 { stop(); } frame 1974 { stop(); } frame 1975 { stop(); } frame 1976 { stop(); } frame 1977 { stop(); } frame 1978 { stop(); } frame 1979 { stop(); } frame 1980 { stop(); } frame 1981 { stop(); } frame 1982 { stop(); } frame 1983 { stop(); } frame 1984 { stop(); } frame 1985 { stop(); } frame 1986 { stop(); } frame 1987 { stop(); } frame 1988 { stop(); } frame 1989 { stop(); } frame 1990 { stop(); } frame 1991 { stop(); } frame 1992 { stop(); } frame 1993 { stop(); } frame 1994 { stop(); } frame 1995 { stop(); } frame 1996 { stop(); } frame 1997 { stop(); gotoAndStop(1996); } frame 1998 { stop(); } frame 1999 { stop(); } frame 2000 { stop(); } frame 2001 { stop(); } frame 2002 { stop(); } frame 2003 { stop(); } frame 2004 { stop(); } frame 2005 { stop(); } frame 2013 { stop(); } frame 2014 { stop(); } frame 2015 { stop(); } frame 2016 { stop(); } frame 2017 { stop(); } frame 2018 { stop(); } frame 2019 { stop(); } frame 2020 { stop(); } frame 2021 { stop(); } frame 2022 { stop(); } frame 2023 { stop(); } frame 2024 { stop(); } frame 2025 { stop(); } frame 2026 { stop(); } frame 2027 { stop(); } frame 2028 { stop(); } frame 2029 { stop(); } frame 2030 { stop(); } frame 2031 { stop(); } frame 2032 { stop(); } frame 2033 { stop(); } frame 2034 { stop(); } frame 2035 { stop(); } frame 2036 { stop(); } frame 2037 { stop(); } frame 2038 { stop(); } frame 2039 { stop(); } frame 2040 { stop(); } frame 2041 { stop(); } frame 2042 { stop(); } frame 2043 { stop(); } frame 2044 { stop(); } frame 2045 { stop(); } frame 2046 { stop(); } frame 2047 { stop(); } frame 2048 { stop(); } frame 2049 { stop(); } frame 2050 { stop(); } frame 2051 { stop(); } frame 2052 { stop(); } frame 2053 { stop(); } frame 2054 { stop(); } frame 2055 { stop(); } frame 2056 { stop(); } frame 2057 { stop(); } frame 2058 { stop(); } frame 2059 { stop(); } frame 2060 { stop(); } frame 2061 { stop(); } frame 2062 { stop(); } frame 2063 { stop(); } frame 2064 { stop(); } frame 2065 { stop(); } frame 2066 { stop(); } frame 2067 { stop(); } frame 2068 { stop(); } frame 2069 { stop(); } frame 2070 { stop(); } frame 2071 { stop(); } frame 2072 { stop(); } frame 2073 { stop(); } frame 2074 { stop(); } frame 2075 { stop(); } frame 2076 { stop(); } frame 2077 { stop(); } frame 2078 { stop(); } frame 2079 { stop(); } frame 2080 { stop(); } frame 2081 { stop(); } frame 2082 { stop(); } frame 2083 { stop(); } frame 2084 { stop(); } frame 2085 { stop(); } frame 2086 { stop(); } frame 2087 { stop(); } frame 2088 { stop(); } frame 2089 { stop(); } frame 2090 { stop(); } frame 2091 { stop(); } frame 2092 { stop(); } frame 2093 { stop(); } frame 2094 { stop(); } frame 2095 { stop(); } frame 2096 { stop(); } frame 2097 { stop(); } frame 2098 { stop(); } frame 2099 { stop(); } frame 2100 { stop(); } frame 2101 { stop(); } frame 2102 { stop(); } frame 2103 { stop(); } frame 2104 { stop(); } frame 2105 { stop(); } frame 2106 { stop(); } frame 2107 { stop(); } frame 2108 { stop(); } frame 2109 { stop(); } frame 2110 { stop(); } frame 2111 { stop(); } frame 2112 { stop(); } frame 2113 { stop(); } frame 2114 { stop(); } frame 2115 { stop(); } frame 2116 { stop(); } frame 2117 { stop(); } frame 2118 { stop(); } frame 2119 { stop(); } frame 2120 { stop(); } frame 2121 { stop(); } frame 2122 { stop(); } frame 2123 { stop(); } frame 2124 { stop(); } frame 2125 { stop(); } frame 2126 { stop(); } frame 2127 { stop(); } frame 2128 { stop(); } frame 2129 { stop(); } frame 2130 { stop(); } frame 2131 { stop(); } frame 2132 { stop(); } frame 2133 { stop(); } frame 2134 { stop(); } frame 2135 { stop(); } frame 2136 { stop(); } frame 2137 { stop(); } frame 2138 { stop(); } frame 2139 { stop(); } frame 2140 { stop(); } frame 2141 { stop(); } frame 2142 { stop(); } frame 2143 { stop(); } frame 2144 { stop(); } frame 2145 { stop(); } frame 2146 { stop(); } frame 2147 { stop(); } frame 2148 { stop(); } frame 2149 { stop(); } frame 2150 { stop(); } frame 2151 { stop(); } frame 2152 { stop(); } frame 2153 { stop(); } frame 2154 { stop(); } frame 2155 { stop(); } frame 2156 { stop(); } frame 2157 { stop(); } frame 2158 { stop(); } frame 2159 { stop(); } frame 2160 { stop(); } frame 2161 { stop(); } frame 2162 { stop(); } frame 2163 { stop(); } frame 2164 { stop(); } frame 2165 { stop(); } frame 2166 { stop(); } frame 2167 { stop(); } frame 2168 { stop(); } frame 2169 { stop(); } frame 2170 { stop(); } frame 2171 { stop(); } frame 2172 { stop(); } frame 2173 { stop(); } frame 2174 { stop(); } frame 2175 { stop(); } frame 2176 { stop(); } frame 2177 { stop(); } frame 2178 { stop(); } frame 2179 { stop(); } frame 2180 { stop(); } frame 2181 { stop(); } frame 2182 { stop(); } frame 2183 { stop(); } frame 2184 { stop(); } frame 2185 { stop(); } frame 2186 { stop(); } frame 2187 { stop(); } frame 2188 { stop(); } frame 2189 { stop(); } frame 2190 { stop(); } frame 2191 { stop(); } frame 2192 { stop(); } frame 2193 { stop(); } frame 2194 { stop(); } frame 2195 { stop(); } frame 2196 { stop(); } frame 2197 { stop(); } frame 2198 { stop(); } frame 2199 { stop(); } frame 2200 { stop(); } frame 2201 { stop(); } frame 2202 { stop(); } frame 2203 { stop(); } frame 2204 { stop(); } frame 2205 { stop(); } frame 2206 { stop(); } frame 2207 { stop(); } frame 2208 { stop(); } frame 2209 { stop(); } frame 2210 { stop(); } frame 2211 { stop(); } frame 2212 { stop(); } frame 2213 { stop(); } frame 2214 { stop(); } frame 2215 { stop(); } frame 2216 { stop(); } frame 2217 { stop(); } frame 2218 { stop(); } frame 2219 { stop(); } frame 2220 { stop(); } frame 2221 { stop(); } frame 2222 { stop(); } frame 2223 { stop(); } frame 2224 { stop(); } frame 2225 { stop(); } frame 2226 { stop(); } frame 2227 { stop(); } frame 2228 { stop(); } frame 2229 { stop(); } frame 2230 { stop(); } frame 2231 { stop(); } frame 2232 { stop(); } frame 2233 { stop(); } frame 2234 { stop(); } frame 2235 { stop(); } frame 2236 { stop(); } frame 2237 { stop(); } frame 2238 { stop(); } frame 2239 { stop(); } frame 2240 { stop(); } frame 2241 { stop(); } frame 2242 { stop(); } frame 2243 { stop(); } frame 2244 { stop(); } frame 2245 { stop(); } frame 2246 { stop(); } frame 2247 { stop(); } frame 2248 { stop(); } frame 2249 { stop(); } frame 2250 { stop(); } frame 2251 { stop(); } frame 2252 { stop(); } frame 2253 { stop(); } frame 2254 { stop(); } frame 2255 { stop(); } frame 2256 { stop(); } frame 2257 { stop(); } frame 2258 { stop(); } frame 2259 { stop(); } frame 2260 { stop(); } frame 2261 { stop(); } frame 2262 { stop(); } frame 2263 { stop(); } frame 2264 { stop(); } frame 2265 { stop(); } frame 2266 { stop(); } frame 2267 { stop(); } frame 2268 { stop(); } frame 2269 { stop(); } frame 2270 { stop(); } frame 2271 { stop(); } frame 2272 { stop(); } frame 2273 { stop(); } frame 2274 { stop(); } frame 2275 { stop(); } frame 2276 { stop(); } frame 2277 { stop(); } frame 2278 { stop(); } frame 2279 { stop(); } frame 2280 { stop(); } frame 2281 { stop(); } frame 2282 { stop(); } frame 2283 { stop(); } frame 2284 { stop(); } frame 2285 { stop(); } frame 2286 { stop(); } frame 2287 { stop(); } frame 2288 { stop(); } frame 2289 { stop(); } frame 2290 { stop(); } frame 2291 { stop(); } frame 2292 { stop(); } frame 2293 { stop(); } frame 2294 { stop(); } frame 2295 { stop(); } frame 2296 { stop(); } frame 2297 { stop(); } frame 2298 { stop(); } frame 2299 { stop(); } frame 2300 { stop(); } frame 2301 { stop(); } frame 2302 { stop(); } frame 2303 { stop(); } frame 2304 { stop(); } frame 2305 { stop(); } frame 2306 { stop(); } frame 2307 { stop(); } frame 2308 { stop(); } frame 2309 { stop(); } frame 2310 { stop(); } frame 2311 { stop(); } frame 2312 { stop(); } frame 2313 { stop(); } frame 2314 { stop(); } frame 2315 { stop(); } frame 2316 { stop(); } frame 2317 { stop(); } frame 2318 { stop(); } frame 2319 { stop(); } frame 2320 { stop(); } frame 2321 { stop(); } frame 2322 { stop(); } frame 2323 { stop(); } frame 2324 { stop(); } frame 2325 { stop(); } frame 2326 { stop(); } frame 2327 { stop(); } frame 2328 { stop(); } frame 2329 { stop(); } frame 2330 { stop(); } frame 2331 { stop(); } frame 2332 { stop(); } frame 2333 { stop(); } frame 2334 { stop(); } frame 2335 { stop(); } frame 2336 { stop(); } frame 2337 { stop(); } frame 2338 { stop(); } frame 2339 { stop(); } frame 2340 { stop(); } frame 2341 { stop(); } frame 2342 { stop(); } frame 2343 { stop(); } frame 2344 { stop(); } frame 2345 { stop(); } frame 2346 { stop(); } frame 2347 { stop(); } frame 2348 { stop(); } frame 2349 { stop(); } frame 2350 { stop(); } frame 2351 { stop(); } frame 2352 { stop(); } frame 2353 { stop(); } frame 2354 { stop(); } frame 2355 { stop(); } frame 2356 { stop(); } frame 2357 { stop(); } frame 2358 { stop(); } frame 2359 { stop(); } frame 2360 { stop(); } frame 2361 { stop(); } frame 2362 { stop(); } frame 2363 { stop(); } frame 2364 { stop(); } frame 2365 { stop(); } frame 2366 { stop(); } frame 2367 { stop(); } frame 2368 { stop(); } frame 2369 { stop(); } frame 2370 { stop(); } frame 2371 { stop(); } frame 2372 { stop(); } frame 2373 { stop(); } frame 2374 { stop(); } frame 2375 { stop(); } frame 2376 { stop(); } frame 2377 { stop(); } frame 2378 { stop(); } frame 2379 { stop(); } frame 2380 { stop(); } frame 2381 { stop(); } frame 2382 { stop(); } frame 2383 { stop(); } frame 2384 { stop(); } frame 2385 { stop(); } frame 2386 { stop(); } frame 2387 { stop(); } frame 2388 { stop(); } frame 2389 { stop(); } frame 2390 { stop(); } frame 2391 { stop(); } frame 2392 { stop(); } frame 2393 { stop(); } frame 2394 { stop(); } frame 2395 { stop(); } frame 2396 { stop(); } frame 2397 { stop(); } frame 2398 { stop(); } frame 2399 { stop(); } frame 2400 { stop(); } frame 2401 { stop(); } frame 2402 { stop(); } frame 2403 { stop(); } frame 2404 { stop(); } frame 2405 { stop(); } frame 2406 { stop(); } frame 2407 { stop(); } frame 2408 { stop(); } frame 2409 { stop(); } frame 2410 { stop(); } frame 2411 { stop(); } frame 2412 { stop(); } frame 2413 { stop(); } frame 2414 { stop(); } frame 2415 { stop(); } frame 2416 { stop(); } frame 2417 { stop(); } frame 2418 { stop(); } frame 2419 { stop(); } frame 2420 { stop(); } frame 2421 { stop(); } frame 2422 { stop(); } frame 2423 { stop(); } frame 2424 { stop(); } frame 2425 { stop(); } frame 2426 { stop(); } frame 2427 { stop(); } frame 2428 { stop(); } frame 2429 { stop(); } frame 2430 { stop(); } frame 2431 { stop(); } frame 2432 { stop(); } frame 2433 { stop(); } frame 2434 { stop(); } frame 2435 { stop(); } frame 2436 { stop(); } frame 2437 { stop(); } frame 2438 { stop(); } frame 2439 { stop(); } frame 2440 { stop(); } frame 2441 { stop(); } frame 2442 { stop(); } frame 2443 { stop(); } frame 2444 { stop(); } frame 2445 { stop(); } frame 2446 { stop(); } frame 2447 { stop(); } frame 2448 { stop(); } frame 2449 { stop(); } frame 2450 { stop(); } frame 2451 { stop(); } frame 2452 { stop(); } frame 2453 { stop(); } frame 2454 { stop(); } frame 2455 { stop(); } frame 2456 { stop(); } frame 2457 { stop(); } frame 2458 { stop(); } frame 2459 { stop(); } frame 2460 { stop(); } frame 2461 { stop(); } frame 2462 { stop(); } frame 2463 { stop(); } frame 2464 { stop(); } frame 2465 { stop(); } frame 2466 { stop(); } frame 2467 { stop(); } frame 2468 { stop(); } frame 2469 { stop(); } frame 2470 { stop(); } frame 2471 { stop(); } frame 2472 { stop(); } frame 2473 { stop(); } frame 2474 { stop(); } frame 2475 { stop(); } frame 2476 { stop(); } frame 2477 { stop(); } frame 2478 { stop(); } frame 2479 { stop(); } frame 2480 { stop(); } frame 2481 { stop(); } frame 2482 { stop(); } frame 2483 { stop(); } frame 2484 { stop(); } frame 2485 { stop(); } frame 2486 { stop(); } frame 2487 { stop(); } frame 2488 { stop(); } frame 2489 { stop(); } frame 2490 { stop(); } frame 2491 { stop(); } frame 2492 { stop(); } frame 2493 { stop(); } frame 2494 { stop(); } frame 2495 { stop(); } frame 2496 { stop(); } frame 2497 { stop(); } frame 2498 { stop(); } frame 2499 { stop(); } frame 2500 { stop(); } frame 2501 { stop(); } frame 2502 { stop(); } frame 2503 { stop(); } frame 2504 { stop(); } frame 2505 { stop(); } frame 2506 { stop(); } frame 2507 { stop(); } frame 2508 { stop(); } frame 2509 { stop(); } frame 2510 { stop(); } frame 2511 { stop(); } frame 2512 { stop(); } frame 2513 { stop(); } frame 2514 { stop(); } frame 2515 { stop(); } frame 2516 { stop(); } frame 2517 { stop(); } frame 2518 { stop(); } frame 2519 { stop(); } frame 2520 { stop(); } frame 2521 { stop(); } frame 2522 { stop(); } frame 2523 { stop(); } frame 2524 { stop(); } frame 2525 { stop(); } frame 2526 { stop(); } frame 2527 { stop(); } frame 2528 { stop(); } frame 2529 { stop(); } frame 2530 { stop(); } frame 2531 { stop(); } frame 2532 { stop(); } frame 2533 { stop(); } frame 2534 { stop(); } frame 2535 { stop(); } frame 2536 { stop(); } frame 2537 { stop(); } frame 2538 { stop(); } frame 2539 { stop(); } frame 2540 { stop(); } frame 2541 { stop(); } frame 2542 { stop(); } frame 2543 { stop(); } frame 2544 { stop(); } frame 2545 { stop(); } frame 2546 { stop(); } frame 2547 { stop(); } frame 2548 { stop(); } frame 2549 { stop(); } frame 2550 { stop(); } frame 2551 { stop(); } frame 2552 { stop(); } frame 2553 { stop(); } frame 2554 { stop(); } frame 2555 { stop(); } frame 2556 { stop(); } frame 2557 { stop(); } frame 2558 { stop(); } frame 2559 { stop(); } frame 2560 { stop(); } frame 2561 { stop(); } frame 2562 { stop(); } frame 2563 { stop(); } frame 2564 { stop(); } frame 2565 { stop(); } frame 2566 { stop(); } frame 2567 { stop(); } frame 2568 { stop(); } frame 2569 { stop(); } frame 2570 { stop(); } frame 2571 { stop(); } frame 2572 { stop(); } frame 2573 { stop(); } frame 2574 { stop(); } frame 2575 { stop(); } frame 2576 { stop(); } frame 2577 { stop(); } frame 2578 { stop(); } frame 2579 { stop(); } frame 2580 { stop(); } frame 2581 { stop(); } frame 2582 { stop(); } frame 2583 { stop(); } frame 2584 { stop(); } frame 2585 { stop(); } frame 2586 { stop(); } frame 2587 { stop(); } frame 2588 { stop(); } frame 2589 { stop(); } frame 2590 { stop(); } frame 2591 { stop(); } frame 2592 { stop(); } frame 2593 { stop(); } frame 2594 { stop(); } frame 2595 { stop(); } frame 2596 { stop(); } frame 2597 { stop(); } frame 2598 { stop(); } frame 2599 { stop(); } frame 2600 { stop(); } frame 2601 { stop(); } frame 2602 { stop(); } frame 2603 { stop(); } frame 2604 { stop(); } frame 2605 { stop(); } frame 2606 { stop(); } frame 2607 { stop(); } frame 2608 { stop(); } frame 2609 { stop(); } frame 2610 { stop(); } frame 2611 { stop(); } frame 2612 { stop(); } frame 2613 { stop(); } frame 2614 { stop(); } frame 2615 { stop(); } frame 2616 { stop(); } frame 2617 { stop(); } frame 2618 { stop(); } frame 2619 { stop(); } frame 2620 { stop(); } frame 2621 { stop(); } frame 2622 { stop(); } frame 2623 { stop(); } frame 2624 { stop(); } frame 2625 { stop(); } frame 2626 { stop(); } frame 2627 { stop(); } frame 2628 { stop(); } frame 2629 { stop(); } frame 2630 { stop(); } frame 2631 { stop(); } frame 2632 { stop(); } frame 2633 { stop(); } frame 2634 { stop(); } frame 2635 { stop(); } frame 2636 { stop(); } frame 2637 { stop(); } frame 2638 { stop(); } frame 2639 { stop(); } frame 2640 { stop(); } frame 2641 { stop(); } frame 2642 { stop(); } frame 2643 { stop(); } frame 2644 { stop(); } frame 2645 { stop(); } frame 2646 { stop(); } frame 2647 { stop(); } frame 2648 { stop(); } frame 2649 { stop(); } frame 2650 { stop(); } frame 2651 { stop(); } frame 2652 { stop(); } frame 2653 { stop(); } frame 2654 { stop(); } frame 2655 { stop(); } frame 2656 { stop(); } frame 2657 { stop(); } frame 2658 { stop(); } frame 2659 { stop(); } frame 2660 { stop(); } frame 2661 { stop(); } frame 2662 { stop(); } frame 2663 { stop(); } frame 2664 { stop(); } frame 2665 { stop(); } frame 2666 { stop(); } frame 2667 { stop(); } frame 2668 { stop(); } frame 2669 { stop(); } frame 2670 { stop(); } frame 2671 { stop(); } frame 2672 { stop(); } frame 2673 { stop(); } frame 2674 { stop(); } frame 2675 { stop(); } frame 2676 { stop(); } frame 2677 { stop(); } frame 2678 { stop(); } frame 2679 { stop(); } frame 2680 { stop(); } frame 2681 { stop(); } frame 2682 { stop(); } frame 2683 { stop(); } frame 2684 { stop(); } frame 2685 { stop(); } frame 2686 { stop(); } frame 2687 { stop(); } frame 2688 { stop(); } frame 2689 { stop(); } frame 2690 { stop(); } frame 2691 { stop(); } frame 2692 { stop(); } frame 2693 { stop(); } frame 2694 { stop(); } frame 2695 { stop(); } frame 2696 { stop(); } frame 2697 { stop(); } frame 2698 { stop(); } frame 2699 { stop(); } frame 2700 { stop(); } frame 2701 { stop(); } frame 2702 { stop(); } frame 2703 { stop(); } frame 2704 { stop(); } frame 2705 { stop(); } frame 2706 { stop(); } frame 2707 { stop(); } frame 2708 { stop(); } frame 2709 { stop(); } frame 2710 { stop(); } frame 2711 { stop(); } frame 2712 { stop(); } frame 2713 { stop(); } frame 2714 { stop(); } frame 2715 { stop(); } frame 2716 { stop(); } frame 2717 { stop(); } frame 2718 { stop(); } frame 2719 { stop(); } frame 2720 { stop(); } frame 2721 { stop(); } frame 2722 { stop(); } frame 2723 { stop(); } frame 2724 { stop(); } frame 2725 { stop(); } frame 2726 { stop(); } frame 2727 { stop(); } frame 2728 { stop(); } frame 2729 { stop(); } frame 2730 { stop(); } frame 2731 { stop(); } frame 2732 { stop(); } frame 2733 { stop(); } frame 2734 { stop(); } frame 2735 { stop(); } frame 2736 { stop(); } frame 2737 { stop(); } frame 2738 { stop(); } frame 2739 { stop(); } frame 2740 { stop(); } frame 2741 { stop(); } frame 2742 { stop(); } frame 2743 { stop(); } frame 2744 { stop(); } frame 2745 { stop(); } frame 2746 { stop(); } frame 2747 { stop(); } frame 2748 { stop(); } frame 2749 { stop(); } frame 2750 { stop(); } frame 2751 { stop(); } frame 2752 { stop(); } frame 2753 { stop(); } frame 2754 { stop(); } frame 2755 { stop(); } frame 2756 { stop(); } frame 2757 { stop(); } frame 2758 { stop(); } frame 2759 { stop(); } frame 2760 { stop(); } frame 2761 { stop(); } frame 2762 { stop(); } frame 2763 { stop(); } frame 2764 { stop(); } frame 2765 { stop(); } frame 2766 { stop(); } frame 2767 { stop(); } frame 2768 { stop(); } frame 2769 { stop(); } frame 2770 { stop(); } frame 2771 { stop(); } frame 2772 { stop(); } frame 2773 { stop(); } frame 2774 { stop(); } frame 2775 { stop(); } frame 2776 { stop(); } frame 2777 { stop(); } frame 2778 { stop(); } frame 2779 { stop(); } frame 2780 { stop(); } frame 2781 { stop(); } frame 2782 { stop(); } frame 2783 { stop(); } frame 2784 { stop(); } frame 2785 { stop(); } frame 2786 { stop(); } frame 2787 { stop(); } frame 2788 { stop(); } frame 2789 { stop(); } frame 2790 { stop(); } frame 2791 { stop(); } frame 2792 { stop(); } frame 2793 { stop(); } frame 2794 { stop(); } frame 2795 { stop(); } frame 2796 { stop(); } frame 2797 { stop(); } frame 2798 { stop(); } frame 2799 { stop(); } frame 2800 { stop(); } frame 2801 { stop(); } frame 2802 { stop(); } frame 2803 { stop(); } frame 2804 { stop(); } frame 2805 { stop(); } frame 2806 { stop(); } frame 2807 { stop(); } frame 2808 { stop(); } frame 2809 { stop(); } frame 2810 { stop(); } frame 2811 { stop(); } frame 2812 { stop(); } frame 2813 { stop(); } frame 2814 { stop(); } frame 2815 { stop(); } frame 2816 { stop(); } frame 2817 { stop(); } frame 2818 { stop(); } frame 2819 { stop(); } frame 2820 { stop(); } frame 2821 { stop(); } frame 2822 { stop(); } frame 2823 { stop(); } frame 2824 { stop(); } frame 2825 { stop(); } frame 2826 { stop(); } frame 2827 { stop(); } frame 2828 { stop(); } frame 2829 { stop(); } frame 2830 { stop(); } frame 2831 { stop(); } frame 2832 { stop(); } frame 2833 { stop(); } frame 2834 { stop(); } frame 2835 { stop(); } frame 2836 { stop(); } frame 2837 { stop(); } frame 2838 { stop(); } frame 2839 { stop(); } frame 2840 { stop(); } frame 2841 { stop(); } frame 2842 { stop(); } frame 2843 { stop(); } frame 2844 { stop(); } frame 2845 { stop(); } frame 2846 { stop(); } frame 2847 { stop(); } frame 2848 { stop(); } frame 2849 { stop(); } frame 2850 { stop(); } frame 2851 { stop(); } frame 2852 { stop(); } frame 2853 { stop(); } frame 2854 { stop(); } frame 2855 { stop(); } frame 2856 { stop(); } frame 2857 { stop(); } frame 2858 { stop(); } frame 2859 { stop(); } frame 2860 { stop(); } frame 2861 { stop(); } frame 2862 { stop(); } frame 2863 { stop(); } frame 2864 { stop(); } frame 2865 { stop(); } frame 2866 { stop(); } frame 2867 { stop(); } frame 2868 { stop(); } frame 2869 { stop(); } frame 2870 { stop(); } frame 2871 { stop(); } frame 2872 { stop(); } frame 2873 { stop(); } frame 2874 { stop(); } frame 2875 { stop(); } frame 2876 { stop(); } frame 2877 { stop(); } frame 2878 { stop(); } frame 2879 { stop(); } frame 2880 { stop(); } frame 2881 { stop(); } frame 2882 { stop(); } frame 2883 { stop(); } frame 2884 { stop(); } frame 2885 { stop(); } frame 2886 { stop(); } frame 2887 { stop(); } frame 2888 { stop(); } frame 2889 { stop(); } frame 2890 { stop(); } frame 2891 { stop(); } frame 2892 { stop(); } frame 2893 { stop(); } frame 2894 { stop(); } frame 2895 { stop(); } frame 2896 { stop(); } frame 2897 { stop(); } frame 2898 { stop(); } frame 2899 { stop(); } frame 2900 { stop(); } frame 2901 { stop(); } frame 2902 { stop(); } frame 2903 { stop(); } frame 2904 { stop(); } frame 2905 { stop(); } frame 2906 { stop(); } frame 2907 { stop(); } frame 2908 { stop(); } frame 2909 { stop(); } frame 2910 { stop(); } frame 2911 { stop(); } frame 2912 { stop(); } frame 2913 { stop(); } frame 2914 { stop(); } frame 2915 { stop(); } frame 2916 { stop(); } frame 2917 { stop(); } frame 2918 { stop(); } frame 2919 { stop(); } frame 2920 { stop(); } frame 2921 { stop(); } frame 2922 { stop(); } frame 2923 { stop(); } frame 2924 { stop(); } frame 2925 { stop(); } frame 2926 { stop(); } frame 2927 { stop(); } frame 2928 { stop(); } frame 2929 { stop(); } frame 2930 { stop(); } frame 2931 { stop(); } frame 2932 { stop(); } frame 2933 { stop(); } frame 2934 { stop(); } frame 2935 { stop(); } frame 2936 { stop(); } frame 2937 { stop(); } frame 2938 { stop(); } frame 2939 { stop(); } frame 2940 { stop(); } frame 2941 { stop(); } frame 2942 { stop(); } frame 2943 { stop(); } frame 2944 { stop(); } frame 2945 { stop(); } frame 2946 { stop(); } frame 2947 { stop(); } frame 2948 { stop(); } frame 2949 { stop(); } frame 2950 { stop(); } frame 2951 { stop(); } frame 2952 { stop(); } frame 2953 { stop(); } frame 2954 { stop(); } frame 2955 { stop(); } frame 2956 { stop(); } frame 2957 { stop(); } frame 2958 { stop(); } frame 2959 { stop(); } frame 2960 { stop(); } frame 2961 { stop(); } frame 2962 { stop(); } frame 2963 { stop(); } frame 2964 { stop(); } frame 2965 { stop(); } frame 2966 { stop(); } frame 2967 { stop(); } frame 2968 { stop(); } frame 2969 { stop(); } frame 2970 { stop(); } frame 2971 { stop(); } frame 2972 { stop(); } frame 2973 { stop(); } frame 2974 { stop(); } frame 2975 { stop(); } frame 2976 { stop(); } frame 2977 { stop(); } frame 2978 { stop(); } frame 2979 { stop(); } frame 2980 { stop(); } frame 2981 { stop(); } frame 2982 { stop(); } frame 2983 { stop(); } frame 2984 { stop(); } frame 2985 { stop(); } frame 2986 { stop(); } frame 2987 { stop(); } frame 2988 { stop(); } frame 2989 { stop(); } frame 2990 { stop(); } frame 2991 { stop(); } frame 2992 { stop(); } frame 2993 { stop(); } frame 2994 { stop(); } frame 2995 { stop(); } frame 2996 { stop(); } frame 2997 { stop(); } frame 2998 { stop(); } frame 2999 { stop(); } frame 3000 { stop(); } frame 3001 { stop(); } frame 3002 { stop(); } frame 3003 { stop(); } frame 3004 { stop(); } frame 3005 { stop(); } frame 3006 { stop(); } frame 3007 { stop(); } frame 3008 { stop(); } frame 3009 { stop(); } frame 3010 { stop(); } frame 3011 { stop(); } frame 3012 { stop(); } frame 3013 { stop(); } frame 3014 { stop(); } frame 3015 { stop(); } frame 3016 { stop(); } frame 3017 { stop(); } frame 3018 { stop(); } frame 3019 { stop(); } frame 3020 { stop(); } frame 3021 { stop(); } frame 3022 { stop(); } frame 3023 { stop(); } frame 3024 { stop(); } frame 3025 { stop(); } frame 3026 { stop(); } frame 3027 { stop(); } frame 3028 { stop(); } frame 3029 { stop(); } frame 3030 { stop(); } frame 3031 { stop(); } frame 3032 { stop(); } frame 3033 { stop(); } frame 3034 { stop(); } frame 3035 { stop(); } frame 3036 { stop(); } frame 3037 { stop(); } frame 3038 { stop(); } frame 3039 { stop(); } frame 3040 { stop(); } frame 3041 { stop(); } frame 3042 { stop(); } frame 3043 { stop(); } frame 3044 { stop(); } frame 3045 { stop(); } frame 3046 { stop(); } frame 3047 { stop(); } frame 3048 { stop(); } frame 3049 { stop(); } frame 3050 { stop(); } frame 3051 { stop(); } frame 3052 { stop(); } frame 3053 { stop(); } frame 3054 { stop(); } frame 3055 { stop(); } frame 3056 { stop(); } frame 3057 { stop(); } frame 3058 { stop(); } frame 3059 { stop(); } frame 3060 { stop(); } frame 3061 { stop(); } frame 3062 { stop(); } frame 3063 { stop(); } frame 3064 { stop(); } frame 3065 { stop(); } frame 3066 { stop(); } frame 3067 { stop(); } frame 3068 { stop(); } frame 3069 { stop(); } frame 3070 { stop(); } frame 3071 { stop(); } frame 3072 { stop(); } frame 3073 { stop(); } frame 3074 { stop(); } frame 3075 { stop(); } frame 3076 { stop(); } frame 3077 { stop(); } frame 3078 { stop(); } frame 3079 { stop(); } frame 3080 { stop(); } frame 3081 { stop(); } frame 3082 { stop(); } frame 3083 { stop(); } frame 3084 { stop(); } frame 3085 { stop(); } frame 3086 { stop(); } frame 3087 { stop(); } frame 3088 { stop(); } frame 3089 { stop(); } frame 3090 { stop(); } frame 3091 { stop(); } frame 3092 { stop(); } frame 3093 { stop(); } frame 3094 { stop(); } frame 3095 { stop(); } frame 3096 { stop(); } frame 3097 { stop(); } frame 3098 { stop(); } frame 3099 { stop(); } frame 3100 { stop(); } frame 3101 { stop(); } frame 3102 { stop(); } frame 3103 { stop(); } frame 3104 { stop(); } frame 3105 { stop(); } frame 3106 { stop(); } frame 3107 { stop(); } frame 3108 { stop(); } frame 3109 { stop(); } frame 3110 { stop(); } frame 3111 { stop(); } frame 3112 { stop(); } frame 3113 { stop(); } frame 3114 { stop(); } frame 3115 { stop(); } frame 3116 { stop(); } frame 3117 { stop(); } frame 3118 { stop(); } frame 3119 { stop(); } frame 3120 { stop(); } frame 3121 { stop(); } frame 3122 { stop(); } frame 3123 { stop(); } frame 3124 { stop(); } frame 3125 { stop(); } frame 3126 { stop(); } frame 3127 { stop(); } frame 3128 { stop(); } frame 3129 { stop(); } frame 3130 { stop(); } frame 3131 { stop(); } frame 3132 { stop(); } frame 3133 { stop(); } frame 3134 { stop(); } frame 3135 { stop(); } frame 3136 { stop(); } frame 3137 { stop(); } frame 3138 { stop(); } frame 3139 { stop(); } frame 3140 { stop(); } frame 3141 { stop(); } frame 3142 { stop(); } frame 3143 { stop(); } frame 3144 { stop(); } frame 3145 { stop(); } frame 3146 { stop(); } frame 3147 { stop(); } frame 3148 { stop(); } frame 3149 { stop(); } frame 3150 { stop(); } frame 3151 { stop(); } frame 3152 { stop(); } frame 3153 { stop(); } frame 3154 { stop(); } frame 3155 { stop(); } frame 3156 { stop(); } frame 3157 { stop(); } frame 3158 { stop(); } frame 3159 { stop(); } frame 3160 { stop(); } frame 3161 { stop(); } frame 3162 { stop(); } frame 3163 { stop(); } frame 3164 { stop(); } frame 3165 { stop(); } frame 3166 { stop(); } frame 3167 { stop(); } frame 3168 { stop(); } frame 3169 { stop(); } frame 3170 { stop(); } frame 3171 { stop(); } frame 3172 { stop(); } frame 3173 { stop(); } frame 3174 { stop(); } frame 3175 { stop(); } frame 3176 { stop(); } frame 3177 { stop(); } frame 3178 { stop(); } frame 3179 { stop(); } frame 3180 { stop(); } frame 3181 { stop(); } frame 3182 { stop(); } frame 3183 { stop(); } frame 3184 { stop(); } frame 3185 { stop(); } frame 3186 { stop(); } frame 3187 { stop(); } frame 3188 { stop(); } frame 3189 { stop(); } frame 3190 { stop(); } frame 3191 { stop(); } frame 3192 { stop(); } frame 3193 { stop(); } frame 3194 { stop(); } frame 3195 { stop(); } frame 3196 { stop(); } frame 3197 { stop(); } frame 3198 { stop(); } frame 3199 { stop(); } frame 3200 { stop(); } frame 3201 { stop(); } frame 3202 { stop(); } frame 3203 { stop(); } frame 3204 { stop(); } frame 3205 { stop(); } frame 3206 { stop(); } frame 3207 { stop(); } frame 3208 { stop(); } frame 3209 { stop(); } frame 3210 { stop(); } frame 3211 { stop(); } frame 3212 { stop(); } frame 3213 { stop(); } frame 3214 { stop(); } frame 3215 { stop(); } frame 3216 { stop(); } frame 3217 { stop(); } frame 3218 { stop(); } frame 3219 { stop(); } frame 3220 { stop(); } frame 3221 { stop(); } frame 3222 { stop(); } frame 3223 { stop(); } frame 3224 { stop(); } frame 3225 { stop(); } frame 3226 { stop(); } frame 3227 { stop(); } frame 3228 { stop(); } frame 3229 { stop(); } frame 3230 { stop(); } frame 3231 { stop(); } frame 3232 { stop(); } frame 3233 { stop(); } frame 3234 { stop(); } frame 3235 { stop(); } frame 3236 { stop(); } frame 3237 { stop(); } frame 3238 { stop(); } frame 3239 { stop(); } frame 3240 { stop(); } frame 3241 { stop(); } frame 3242 { stop(); } frame 3243 { stop(); } frame 3244 { stop(); } frame 3245 { stop(); } frame 3246 { stop(); } frame 3247 { stop(); } frame 3248 { stop(); } frame 3249 { stop(); } frame 3250 { stop(); } frame 3251 { stop(); } frame 3252 { stop(); } frame 3253 { stop(); } frame 3254 { stop(); } frame 3255 { stop(); } frame 3256 { stop(); } frame 3257 { stop(); } frame 3258 { stop(); } frame 3259 { stop(); } frame 3260 { stop(); } frame 3261 { stop(); } frame 3262 { stop(); } frame 3263 { stop(); } frame 3264 { stop(); } frame 3265 { stop(); } frame 3266 { stop(); } frame 3267 { stop(); } frame 3268 { stop(); } frame 3269 { stop(); } frame 3270 { stop(); } frame 3271 { stop(); } frame 3272 { stop(); } frame 3273 { stop(); } frame 3274 { stop(); } frame 3275 { stop(); } frame 3276 { stop(); } frame 3277 { stop(); } frame 3278 { stop(); } frame 3279 { stop(); } frame 3280 { stop(); } frame 3281 { stop(); } frame 3282 { stop(); } frame 3283 { stop(); } frame 3284 { stop(); } frame 3285 { stop(); } frame 3286 { stop(); } frame 3287 { stop(); } frame 3288 { stop(); } frame 3289 { stop(); } frame 3290 { stop(); } frame 3291 { stop(); } frame 3292 { stop(); } frame 3293 { stop(); } frame 3294 { stop(); } frame 3295 { stop(); } frame 3296 { stop(); } frame 3297 { stop(); } frame 3298 { stop(); } frame 3299 { stop(); } frame 3300 { stop(); } frame 3301 { stop(); } frame 3302 { stop(); } frame 3303 { stop(); } frame 3304 { stop(); } frame 3305 { stop(); } frame 3306 { stop(); } frame 3307 { stop(); } frame 3308 { stop(); } frame 3309 { stop(); } frame 3310 { stop(); } frame 3311 { stop(); } frame 3312 { stop(); } frame 3313 { stop(); } frame 3314 { stop(); } frame 3315 { stop(); } frame 3316 { stop(); } frame 3317 { stop(); } frame 3318 { stop(); } frame 3319 { stop(); } frame 3320 { stop(); } frame 3321 { stop(); } frame 3322 { stop(); } frame 3323 { stop(); } frame 3324 { stop(); } frame 3325 { stop(); } frame 3326 { stop(); } frame 3327 { stop(); } frame 3328 { stop(); } frame 3329 { stop(); } frame 3330 { stop(); } frame 3331 { stop(); } frame 3332 { stop(); } frame 3333 { stop(); } frame 3334 { stop(); } frame 3335 { stop(); } frame 3336 { stop(); } frame 3337 { stop(); } frame 3338 { stop(); } frame 3339 { stop(); } frame 3340 { stop(); } frame 3341 { stop(); } frame 3342 { stop(); } frame 3343 { stop(); } frame 3344 { stop(); } frame 3345 { stop(); } frame 3346 { stop(); } frame 3347 { stop(); } frame 3348 { stop(); } frame 3349 { stop(); } frame 3350 { stop(); } frame 3351 { stop(); } frame 3352 { stop(); } frame 3353 { stop(); } frame 3354 { stop(); } frame 3355 { stop(); } frame 3356 { stop(); } frame 3357 { stop(); } frame 3358 { stop(); } frame 3359 { stop(); } frame 3360 { stop(); } frame 3361 { stop(); } frame 3362 { stop(); } frame 3363 { stop(); } frame 3364 { stop(); } frame 3365 { stop(); } frame 3366 { stop(); } frame 3367 { stop(); } frame 3368 { stop(); } frame 3369 { stop(); } frame 3370 { stop(); } frame 3371 { stop(); } frame 3372 { stop(); } frame 3373 { stop(); } frame 3374 { stop(); } frame 3375 { stop(); } frame 3376 { stop(); } frame 3377 { stop(); } frame 3378 { stop(); } frame 3379 { stop(); } frame 3380 { stop(); } frame 3381 { stop(); } frame 3382 { stop(); } frame 3383 { stop(); } frame 3384 { stop(); } frame 3385 { stop(); } frame 3386 { stop(); } frame 3387 { stop(); } frame 3388 { stop(); } frame 3389 { stop(); } frame 3390 { stop(); } frame 3391 { stop(); } frame 3392 { stop(); } frame 3393 { stop(); } frame 3394 { stop(); } frame 3395 { stop(); } frame 3396 { stop(); } frame 3397 { stop(); } frame 3398 { stop(); } frame 3399 { stop(); } frame 3400 { stop(); } frame 3401 { stop(); } frame 3402 { stop(); } frame 3403 { stop(); } frame 3404 { stop(); } frame 3405 { stop(); } frame 3406 { stop(); } frame 3407 { stop(); } frame 3408 { stop(); } frame 3409 { stop(); } frame 3410 { stop(); } frame 3411 { stop(); } frame 3412 { stop(); } frame 3413 { stop(); } frame 3414 { stop(); } frame 3415 { stop(); } frame 3416 { stop(); } frame 3417 { stop(); } frame 3418 { stop(); } frame 3419 { stop(); } frame 3420 { stop(); } frame 3421 { stop(); } frame 3422 { stop(); } frame 3423 { stop(); } frame 3424 { stop(); } frame 3425 { stop(); } frame 3426 { stop(); } frame 3427 { stop(); } frame 3428 { stop(); } frame 3429 { stop(); } frame 3430 { stop(); } frame 3431 { stop(); } frame 3432 { stop(); } frame 3433 { stop(); } frame 3434 { stop(); } frame 3435 { stop(); } frame 3436 { stop(); } frame 3437 { stop(); } frame 3438 { stop(); } frame 3439 { stop(); } frame 3440 { stop(); } frame 3441 { stop(); } frame 3442 { stop(); } frame 3443 { stop(); } frame 3444 { stop(); } frame 3445 { stop(); } frame 3446 { stop(); } frame 3447 { stop(); } frame 3448 { stop(); } frame 3449 { stop(); } frame 3450 { stop(); } frame 3451 { stop(); } frame 3452 { stop(); } frame 3453 { stop(); } frame 3454 { stop(); } frame 3455 { stop(); } frame 3456 { stop(); } frame 3457 { stop(); } frame 3458 { stop(); } frame 3459 { stop(); } frame 3460 { stop(); } frame 3461 { stop(); } frame 3462 { stop(); } frame 3463 { stop(); } frame 3464 { stop(); } frame 3465 { stop(); } frame 3466 { stop(); } frame 3467 { stop(); } frame 3468 { stop(); } frame 3469 { stop(); } frame 3470 { stop(); } frame 3471 { stop(); } frame 3472 { stop(); } frame 3473 { stop(); } frame 3474 { stop(); } frame 3475 { stop(); } frame 3476 { stop(); } frame 3477 { stop(); } frame 3478 { stop(); } frame 3479 { stop(); } frame 3480 { stop(); } frame 3481 { stop(); } frame 3482 { stop(); } frame 3483 { stop(); } frame 3484 { stop(); } frame 3485 { stop(); } frame 3486 { stop(); } frame 3487 { stop(); } frame 3488 { stop(); } frame 3489 { stop(); } frame 3490 { stop(); } frame 3491 { stop(); } frame 3492 { stop(); } frame 3493 { stop(); } frame 3494 { stop(); } frame 3495 { stop(); } frame 3496 { stop(); } frame 3497 { stop(); } frame 3498 { stop(); } frame 3499 { stop(); } frame 3500 { stop(); } frame 3501 { stop(); } frame 3502 { stop(); } frame 3503 { stop(); } frame 3504 { stop(); } frame 3505 { stop(); } frame 3506 { stop(); } frame 3507 { stop(); } frame 3508 { stop(); } frame 3509 { stop(); } frame 3510 { stop(); } frame 3511 { stop(); } frame 3512 { stop(); } frame 3513 { stop(); } frame 3514 { stop(); } frame 3515 { stop(); } frame 3516 { stop(); } frame 3517 { stop(); } frame 3518 { stop(); } frame 3519 { stop(); } frame 3520 { stop(); } frame 3521 { stop(); } frame 3522 { stop(); } frame 3523 { stop(); } frame 3524 { stop(); } frame 3525 { stop(); } frame 3526 { stop(); } frame 3527 { stop(); } frame 3528 { stop(); } frame 3529 { stop(); } frame 3530 { stop(); } frame 3531 { stop(); } frame 3532 { stop(); } frame 3533 { stop(); } frame 3534 { stop(); } frame 3535 { stop(); } frame 3536 { stop(); } frame 3537 { stop(); } frame 3538 { stop(); } frame 3539 { stop(); } frame 3540 { stop(); } frame 3541 { stop(); } frame 3542 { stop(); } frame 3543 { stop(); } frame 3544 { stop(); } frame 3545 { stop(); } frame 3546 { stop(); } frame 3547 { stop(); } frame 3548 { stop(); } frame 3549 { stop(); } frame 3550 { stop(); } frame 3551 { stop(); } frame 3552 { stop(); } frame 3553 { stop(); } frame 3554 { stop(); } frame 3555 { stop(); } frame 3556 { stop(); } frame 3557 { stop(); } frame 3558 { stop(); } frame 3559 { stop(); } frame 3560 { stop(); } frame 3561 { stop(); } frame 3562 { stop(); } frame 3563 { stop(); } frame 3564 { stop(); } frame 3565 { stop(); } frame 3566 { stop(); } frame 3567 { stop(); } frame 3568 { stop(); } frame 3569 { stop(); } frame 3570 { stop(); } frame 3571 { stop(); } frame 3572 { stop(); } frame 3573 { stop(); } frame 3574 { stop(); } frame 3575 { stop(); } frame 3576 { stop(); } frame 3577 { stop(); } frame 3578 { stop(); } frame 3579 { stop(); } frame 3580 { stop(); } frame 3581 { stop(); } frame 3582 { stop(); } frame 3583 { stop(); } frame 3584 { stop(); } frame 3585 { stop(); } frame 3586 { stop(); } frame 3587 { stop(); } frame 3588 { stop(); } frame 3589 { stop(); } frame 3590 { stop(); } frame 3591 { stop(); } frame 3592 { stop(); } frame 3593 { stop(); } frame 3594 { stop(); } frame 3595 { stop(); } frame 3596 { stop(); } frame 3597 { stop(); } frame 3598 { stop(); } frame 3599 { stop(); } frame 3600 { stop(); } frame 3601 { stop(); } frame 3602 { stop(); } frame 3603 { stop(); } frame 3604 { stop(); } frame 3605 { stop(); } frame 3606 { stop(); } frame 3607 { stop(); } frame 3608 { stop(); } frame 3609 { stop(); } frame 3610 { stop(); } frame 3611 { stop(); } frame 3612 { stop(); } frame 3613 { stop(); } frame 3614 { stop(); } frame 3615 { stop(); } frame 3616 { stop(); } frame 3617 { stop(); } frame 3618 { stop(); } frame 3619 { stop(); } frame 3620 { stop(); } frame 3621 { stop(); } frame 3622 { stop(); } frame 3623 { stop(); } frame 3624 { stop(); } frame 3625 { stop(); } frame 3626 { stop(); } frame 3627 { stop(); } frame 3628 { stop(); } frame 3629 { stop(); } frame 3630 { stop(); } frame 3631 { stop(); } frame 3632 { stop(); } frame 3633 { stop(); } frame 3634 { stop(); } frame 3635 { stop(); } frame 3636 { stop(); } frame 3637 { stop(); } frame 3638 { stop(); } frame 3639 { stop(); } frame 3640 { stop(); } frame 3641 { stop(); } frame 3642 { stop(); } frame 3643 { stop(); } frame 3644 { stop(); } frame 3645 { stop(); } frame 3646 { stop(); } frame 3647 { stop(); } frame 3648 { stop(); } frame 3649 { stop(); } frame 3650 { stop(); } frame 3651 { stop(); } frame 3652 { stop(); } frame 3653 { stop(); } frame 3654 { stop(); } frame 3655 { stop(); } frame 3656 { stop(); } frame 3657 { stop(); } frame 3658 { stop(); } frame 3659 { stop(); } frame 3660 { stop(); } frame 3661 { stop(); } frame 3662 { stop(); } frame 3663 { stop(); } frame 3664 { stop(); } frame 3665 { stop(); } frame 3666 { stop(); } frame 3667 { stop(); } frame 3668 { stop(); } frame 3669 { stop(); } frame 3670 { stop(); } frame 3671 { stop(); } frame 3672 { stop(); } frame 3673 { stop(); } frame 3674 { stop(); } frame 3675 { stop(); } frame 3676 { stop(); } frame 3677 { stop(); } frame 3678 { stop(); } frame 3679 { stop(); } frame 3680 { stop(); } frame 3681 { stop(); } frame 3682 { stop(); } frame 3683 { stop(); } frame 3684 { stop(); } frame 3685 { stop(); } frame 3686 { stop(); } frame 3687 { stop(); } frame 3688 { stop(); } frame 3689 { stop(); } frame 3690 { stop(); } frame 3691 { stop(); } frame 3692 { stop(); } frame 3693 { stop(); } frame 3694 { stop(); } frame 3695 { stop(); } frame 3696 { stop(); } frame 3697 { stop(); } frame 3698 { stop(); } frame 3699 { stop(); } frame 3700 { stop(); } frame 3701 { stop(); } frame 3702 { stop(); } frame 3703 { stop(); } frame 3704 { stop(); } frame 3705 { stop(); } frame 3706 { stop(); } frame 3707 { stop(); } frame 3708 { stop(); } frame 3709 { stop(); } frame 3710 { stop(); } frame 3711 { stop(); } frame 3712 { stop(); } frame 3713 { stop(); } frame 3714 { stop(); } frame 3715 { stop(); } frame 3716 { stop(); } frame 3717 { stop(); } frame 3718 { stop(); } frame 3719 { stop(); } frame 3720 { stop(); } frame 3721 { stop(); } frame 3722 { stop(); } frame 3723 { stop(); } frame 3724 { stop(); } frame 3725 { stop(); } frame 3726 { stop(); } frame 3727 { stop(); } frame 3728 { stop(); } frame 3729 { stop(); } frame 3730 { stop(); } frame 3731 { stop(); } frame 3732 { stop(); } frame 3733 { stop(); } frame 3734 { stop(); } frame 3735 { stop(); } frame 3736 { stop(); } frame 3737 { stop(); } frame 3738 { stop(); } frame 3739 { stop(); } frame 3740 { stop(); } frame 3741 { stop(); } frame 3742 { stop(); } frame 3743 { stop(); } frame 3744 { stop(); } frame 3745 { stop(); } frame 3746 { stop(); } frame 3747 { stop(); } frame 3748 { stop(); } frame 3749 { stop(); } frame 3750 { stop(); } frame 3751 { stop(); } frame 3752 { stop(); } frame 3753 { stop(); } frame 3754 { stop(); } frame 3755 { stop(); } frame 3756 { stop(); } frame 3757 { stop(); } frame 3758 { stop(); } frame 3759 { stop(); } frame 3760 { stop(); } frame 3761 { stop(); } frame 3762 { stop(); } frame 3763 { stop(); } frame 3764 { stop(); } frame 3765 { stop(); } frame 3766 { stop(); } frame 3767 { stop(); } frame 3768 { stop(); } frame 3769 { stop(); } frame 3770 { stop(); } frame 3771 { stop(); } frame 3772 { stop(); } frame 3773 { stop(); } frame 3774 { stop(); } frame 3775 { stop(); } frame 3776 { stop(); } frame 3777 { stop(); } frame 3778 { stop(); } frame 3779 { stop(); } frame 3780 { stop(); } frame 3781 { stop(); } frame 3782 { stop(); } frame 3783 { stop(); } frame 3784 { stop(); } frame 3785 { stop(); } frame 3786 { stop(); } frame 3787 { stop(); } frame 3788 { stop(); } frame 3789 { stop(); } frame 3790 { stop(); } frame 3791 { stop(); } frame 3792 { stop(); } frame 3793 { stop(); } frame 3794 { stop(); } frame 3795 { stop(); } frame 3796 { stop(); } frame 3797 { stop(); } frame 3798 { stop(); } frame 3799 { stop(); } frame 3800 { stop(); } frame 3801 { stop(); } frame 3802 { stop(); } frame 3803 { stop(); } frame 3804 { stop(); } frame 3805 { stop(); } frame 3806 { stop(); } frame 3807 { stop(); } frame 3808 { stop(); } frame 3809 { stop(); } frame 3810 { stop(); } frame 3811 { stop(); } frame 3812 { stop(); } frame 3813 { stop(); } frame 3814 { stop(); } frame 3815 { stop(); } frame 3816 { stop(); } frame 3817 { stop(); } frame 3818 { stop(); } frame 3819 { stop(); } frame 3820 { stop(); } frame 3821 { stop(); } frame 3822 { stop(); } frame 3823 { stop(); } frame 3824 { stop(); } frame 3825 { stop(); } frame 3826 { stop(); } frame 3827 { stop(); } frame 3828 { stop(); } frame 3829 { stop(); } frame 3830 { stop(); } frame 3831 { stop(); } frame 3832 { stop(); } frame 3833 { stop(); } frame 3834 { stop(); } frame 3835 { stop(); } frame 3836 { stop(); } frame 3837 { stop(); } frame 3838 { stop(); } frame 3839 { stop(); } frame 3840 { stop(); } frame 3841 { stop(); } frame 3842 { stop(); } frame 3843 { stop(); } frame 3844 { stop(); } frame 3845 { stop(); } frame 3846 { stop(); } frame 3847 { stop(); } frame 3848 { stop(); } frame 3849 { stop(); } frame 3850 { stop(); } frame 3851 { stop(); } frame 3852 { stop(); } frame 3853 { stop(); } frame 3854 { stop(); } frame 3855 { stop(); } frame 3856 { stop(); } frame 3857 { stop(); } frame 3858 { stop(); } frame 3859 { stop(); } frame 3860 { stop(); } frame 3861 { stop(); } frame 3862 { stop(); } frame 3863 { stop(); } frame 3864 { stop(); } frame 3865 { stop(); } frame 3866 { stop(); } frame 3867 { stop(); } frame 3868 { stop(); } frame 3869 { stop(); } frame 3870 { stop(); } frame 3871 { stop(); } frame 3872 { stop(); } frame 3873 { stop(); } frame 3874 { stop(); } frame 3875 { stop(); } frame 3876 { stop(); } frame 3877 { stop(); } frame 3878 { stop(); } frame 3879 { stop(); } frame 3880 { stop(); } frame 3881 { stop(); } frame 3882 { stop(); } frame 3883 { stop(); } frame 3884 { stop(); } frame 3885 { stop(); } frame 3886 { stop(); } frame 3887 { stop(); } frame 3888 { stop(); } frame 3889 { stop(); } frame 3890 { stop(); } frame 3891 { stop(); } frame 3892 { stop(); } frame 3893 { stop(); } frame 3894 { stop(); } frame 3895 { stop(); } frame 3896 { stop(); } frame 3897 { stop(); } frame 3898 { stop(); } frame 3899 { stop(); } frame 3900 { stop(); } frame 3901 { stop(); } frame 3902 { stop(); } frame 3903 { stop(); } frame 3904 { stop(); } frame 3905 { stop(); } frame 3906 { stop(); } frame 3907 { stop(); } frame 3908 { stop(); } frame 3909 { stop(); } frame 3910 { stop(); } frame 3911 { stop(); } frame 3912 { stop(); } frame 3913 { stop(); } frame 3914 { stop(); } frame 3915 { stop(); } frame 3916 { stop(); } frame 3917 { stop(); } frame 3918 { stop(); } frame 3919 { stop(); } frame 3920 { stop(); } frame 3921 { stop(); } frame 3922 { stop(); } frame 3923 { stop(); } frame 3924 { stop(); } frame 3925 { stop(); } frame 3926 { stop(); } frame 3927 { stop(); } frame 3928 { stop(); } frame 3929 { stop(); } frame 3930 { stop(); } frame 3931 { stop(); } frame 3932 { stop(); } frame 3933 { stop(); } frame 3934 { stop(); } frame 3935 { stop(); } frame 3936 { stop(); } frame 3937 { stop(); } frame 3938 { stop(); } frame 3939 { stop(); } frame 3940 { stop(); } frame 3941 { stop(); } frame 3942 { stop(); } frame 3943 { stop(); } frame 3944 { stop(); } frame 3945 { stop(); } frame 3946 { stop(); } frame 3947 { stop(); } frame 3948 { stop(); } frame 3949 { stop(); } frame 3950 { stop(); } frame 3951 { stop(); } frame 3952 { stop(); } frame 3953 { stop(); } frame 3954 { stop(); } frame 3955 { stop(); } frame 3956 { stop(); } frame 3957 { stop(); } frame 3958 { stop(); } frame 3959 { stop(); } frame 3960 { stop(); } frame 3961 { stop(); } frame 3962 { stop(); } frame 3963 { stop(); } frame 3964 { stop(); } frame 3965 { stop(); } frame 3966 { stop(); } frame 3967 { stop(); } frame 3968 { stop(); } frame 3969 { stop(); } frame 3970 { stop(); } frame 3971 { stop(); } frame 3972 { stop(); } frame 3973 { stop(); } frame 3974 { stop(); } frame 3975 { stop(); } frame 3976 { stop(); } frame 3977 { stop(); } frame 3978 { stop(); } frame 3979 { stop(); } frame 3980 { stop(); } frame 3981 { stop(); } frame 3982 { stop(); } frame 3983 { stop(); } frame 3984 { stop(); } frame 3985 { stop(); } frame 3986 { stop(); } frame 3987 { stop(); } frame 3988 { stop(); } frame 3989 { stop(); } frame 3990 { stop(); } frame 3991 { stop(); } frame 3992 { stop(); } frame 3993 { stop(); } frame 3994 { stop(); } frame 3995 { stop(); } frame 3996 { stop(); } frame 3997 { stop(); } frame 3998 { stop(); } frame 3999 { stop(); } frame 4000 { stop(); } frame 4001 { stop(); } frame 4002 { stop(); } frame 4003 { stop(); } frame 4004 { stop(); } frame 4005 { stop(); } frame 4006 { stop(); } frame 4007 { stop(); } frame 4008 { stop(); } frame 4009 { stop(); } frame 4010 { stop(); } frame 4011 { stop(); } frame 4012 { stop(); } frame 4013 { stop(); } frame 4014 { stop(); } frame 4015 { stop(); } frame 4016 { stop(); } frame 4017 { stop(); } frame 4018 { stop(); } frame 4019 { stop(); } frame 4020 { stop(); } frame 4021 { stop(); } frame 4022 { stop(); } frame 4023 { stop(); } frame 4024 { stop(); } frame 4025 { stop(); } frame 4026 { stop(); } frame 4027 { stop(); } frame 4028 { stop(); } frame 4029 { stop(); } frame 4030 { stop(); } frame 4031 { stop(); } frame 4032 { stop(); } frame 4033 { stop(); } frame 4034 { stop(); } frame 4035 { stop(); } frame 4036 { stop(); } frame 4037 { stop(); } frame 4038 { stop(); } frame 4039 { stop(); } frame 4040 { stop(); } frame 4041 { stop(); } frame 4042 { stop(); } } movieClip 267 { } frame 1555 { stop(); } button 268 { on (press) { gotoAndStop(1555); } } button 269 { on (press) { gotoAndStop(1555); } } frame 1556 { stop(); } frame 1557 { stop(); } frame 1566 { _root.kongregateStats.submit('StageTwoComplete', 1); } frame 1566 { stopAllSounds(); } movieClip 276 { } button 278 { on (release) { play(); } } movieClip 281 { } movieClip 284 { } movieClip 285 { } movieClip 286 { } movieClip 287 { } movieClip 291 { } movieClip 292 { frame 8 { stop(); } } movieClip 293 { frame 1 { stop(); } frame 384 { stop(); } } movieClip 294 { } button 300 { on (press) { gotoAndStop(2139); } } frame 2139 { stop(); } frame 2140 { stop(); } button 305 { on (press) { gotoAndStop(2139); } } frame 2141 { stop(); } frame 2179 { _root.kongregateStats.submit('StageThreeComplete', 1); } frame 2180 { gotoAndPlay(3698); } movieClip 309 { } movieClip 311 { } movieClip 312 { } movieClip 315 { frame 1 { function camControl() { parentColor.setTransform(camColor.getTransform()); var v4 = sX / this._width; var v3 = sY / this._height; _parent._x = cX - this._x * v4; _parent._y = cY - this._y * v3; _parent._xscale = 100 * v4; _parent._yscale = 100 * v3; } function resetStage() { var v2 = {'ra': 100, 'rb': 0, 'ga': 100, 'gb': 0, 'ba': 100, 'bb': 0, 'aa': 100, 'ab': 0}; parentColor.setTransform(v2); _parent._xscale = 100; _parent._yscale = 100; _parent._x = 0; _parent._y = 0; } this._visible = false; var oldMode = Stage.scaleMode; Stage.scaleMode = 'exactFit'; var cX = Stage.width / 2; var cY = Stage.height / 2; var sX = Stage.width; var sY = Stage.height; Stage.scaleMode = oldMode; var camColor = new Color(this); var parentColor = new Color(_parent); this.onEnterFrame = camControl; camControl(); this.onUnload = resetStage; } } movieClip 319 { } movieClip 323 { } movieClip 326 { frame 800 { stop(); } } instance of movieClip 326 { onClipEvent (enterFrame) { this._y = _root._ymouse / 1.5; this._x = _root._xmouse / 1.5; } } instance of movieClip 315 { onClipEvent (enterFrame) { this._y = _root._ymouse / 1.5; this._x = _root._xmouse / 1.5; } } instance of movieClip 83 { onClipEvent (enterFrame) { this._y = _root._ymouse; this._x = _root._xmouse; } } frame 5298 { stopAllSounds(); } movieClip 335 { } movieClip 338 { } movieClip 341 { } movieClip 344 { } movieClip 345 { instance of movieClip 344 { onClipEvent (load) { this.createEmptyMovieClip('drawing_mc', this.getNextHighestDepth()); this.onMouseDown = function () { drawing_mc.lineStyle(25, 3881787); drawing_mc.moveTo(_xmouse, _ymouse); onMouseMove = function () { drawing_mc.lineTo(_xmouse, _ymouse); }; }; this.onMouseUp = function () { onMouseMove = noLine; }; } } } instance of movieClip 345 { onClipEvent (load) { this.createEmptyMovieClip('drawing_mc', this.getNextHighestDepth()); this.onMouseDown = function () { drawing_mc.lineStyle(50, 0); drawing_mc.moveTo(_xmouse, _ymouse); onMouseMove = function () { drawing_mc.lineTo(_xmouse, _ymouse); }; }; this.onMouseUp = function () { onMouseMove = noLine; }; } } movieClip 352 { frame 135 { stop(); } } instance of movieClip 83 { onClipEvent (enterFrame) { this._y = _root._ymouse; this._x = _root._xmouse; } } movieClip 359 { } frame 5485 { stop(); } button 363 { on (release) { gotoAndStop(5486); } } frame 5486 { password = inputPassword; if (password == 'CODE') { play(); } else { gotoAndStop(5485); } } frame 5487 { stopAllSounds(); } frame 5502 { _root.kongregateStats.submit('StageFourComplete', 1); } movieClip 370 { } movieClip 373 { } movieClip 390 { } movieClip 391 { } button 393 { on (press) { play(); } } instance of movieClip 83 { onClipEvent (enterFrame) { this._y = _root._ymouse; this._x = _root._xmouse; } } movieClip 396 { } movieClip 397 { frame 220 { stop(); } } frame 5638 { stop(); } frame 5648 { stop(); } frame 5808 { stop(); } button 404 { on (press) { play(); } } frame 5818 { stop(); } movieClip 441 { } frame 5934 { stop(); } button 443 { on (press) { play(); } } frame 5944 { stop(); } movieClip 468 { } frame 6203 { _root.kongregateStats.submit('StageFiveComplete', 1); } movieClip 475 { } movieClip 477 { } movieClip 480 { } instance of movieClip 83 { onClipEvent (enterFrame) { this._y = _root._ymouse; this._x = _root._xmouse; } } movieClip 481 { } frame 6228 { stop(); } button 482 { on (press) { gotoAndStop(6228); } } frame 6229 { stop(); } frame 6230 { stop(); } button 483 { on (press) { gotoAndStop(6228); } } frame 6254 { _root.kongregateStats.submit('StageSixComplete', 1); } movieClip 488 { } movieClip 519 { } movieClip 522 { } instance of movieClip 83 { onClipEvent (enterFrame) { this._y = _root._ymouse; this._x = _root._xmouse; } } movieClip 529 { } button 531 { on (press) { play(); } } button 533 { on (press) { gotoAndPlay(82); } } movieClip 542 { } movieClip 543 { } movieClip 550 { } movieClip 552 { } movieClip 554 { } movieClip 557 { } movieClip 558 { instance of movieClip 557 { onClipEvent (press) { getURL('http://www.kongregate.com/?gamereferral=TheWallsPartThree', '_blank', 'POST'); } } } movieClip 560 { } movieClip 564 { } movieClip 565 { frame 1 { stop(); } frame 81 { gotoAndStop(1); } frame 565 { _root.kongregateStats.submit('GameComplete', 1); } frame 1010 { stop(); } instance of movieClip 564 { onClipEvent (release) { } } } movieClip 567 { instance of movieClip 315 { onClipEvent (enterFrame) { this._y = _root._ymouse / 1.4; } } } frame 6882 { stop(); } instance of movieClip 83 { onClipEvent (enterFrame) { this._y = _root._ymouse; this._x = _root._xmouse; } } frame 7282 { stop(); } button 572 { on (press) { getURL('http://www.kongregate.com/?gamereferral=TheWallsPartThree', '_blank', 'POST'); } }




http://swfchan.com/9/40958/info.shtml
Created: 10/5 -2019 16:03:24 Last modified: 10/5 -2019 16:03:24 Server time: 31/10 -2024 23:41:51