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

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

Breast Expansion Slideshow by RedFireD0g.swf

This is the info page for
Flash #159694

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


ActionScript [AS1/AS2]
Combined Code
movieClip 2 { } movieClip 5 01.jpg { } movieClip 8 tn_01.jpg { } movieClip 11 02.jpg { } movieClip 14 tn_02.jpg { } movieClip 17 03.jpg { } movieClip 20 tn_03.jpg { } movieClip 23 04.jpg { } movieClip 26 tn_04.jpg { } movieClip 29 05.jpg { } movieClip 32 tn_05.jpg { } movieClip 35 06.jpg { } movieClip 38 tn_06.jpg { } movieClip 41 07.jpg { } movieClip 44 tn_07.jpg { } movieClip 47 08.jpg { } movieClip 50 tn_08.jpg { } movieClip 53 10.jpg { } movieClip 56 tn_10.jpg { } movieClip 59 11.jpg { } movieClip 62 tn_11.jpg { } movieClip 65 12.jpg { } movieClip 68 tn_12.jpg { } movieClip 71 13.jpg { } movieClip 74 tn_13.jpg { } movieClip 77 14.jpg { } movieClip 80 tn_14.jpg { } movieClip 83 15.jpg { } movieClip 86 tn_15.jpg { } movieClip 89 16.jpg { } movieClip 92 tn_16.jpg { } movieClip 95 17.jpg { } movieClip 98 tn_17.jpg { } movieClip 101 18.jpg { } movieClip 104 tn_18.jpg { } movieClip 107 19.jpg { } movieClip 110 tn_19.jpg { } movieClip 113 9.jpg { } movieClip 116 tn_9.jpg { } movieClip 120 { } movieClip 122 btnLastMovie_Gradient { } movieClip 124 btnFullScreenMovie_Gradient { } movieClip 126 btnSoundOffMovie_Gradient { } movieClip 128 btnSoundMovie_Gradient { } movieClip 130 btnPauseMovie_Gradient { } movieClip 132 btnPlayMovie_Gradient { } movieClip 134 btnNextMovie_Gradient { } movieClip 136 btnPrevMovie_Gradient { } movieClip 138 btnFirstMovie_Gradient { } movieClip 140 btnGalleryMovie_Gradient { } movieClip 142 { } movieClip 145 { } movieClip 146 preloaderMovie_pie { } movieClip 147 { } movieClip 150 { } movieClip 151 preloaderMovie_circle { } movieClip 155 preloaderMovie_spin { } movieClip 157 btnNavigationArrowRight { } movieClip 159 btnNavigationArrowLeft { } movieClip 161 btnLastMovie_Simple { } movieClip 163 btnFullScreenMovie_Simple { } movieClip 165 btnSoundOffMovie_Simple { } movieClip 167 btnSoundMovie_Simple { } movieClip 169 btnPauseMovie_Simple { } movieClip 171 btnPlayMovie_Simple { } movieClip 173 btnNextMovie_Simple { } movieClip 175 btnPrevMovie_Simple { } movieClip 177 btnFirstMovie_Simple { } movieClip 179 btnGalleryMovie_Simple { } movieClip 181 { } movieClip 182 { } movieClip 183 { frame 1 { stop(); var i = 0; while (i < 5) { this['EffectBar' + i]._visible = true; this['EffectBar' + i].onEnterFrame = function () { this._yscale -= (this._yscale - (random(80) + 20)) / 2; }; ++i; } } } movieClip 184 { frame 1 { stop(); var i = 0; while (i < 5) { this['EffectBar' + i]._visible = true; this['EffectBar' + i]._yscale = 20 * (i + 1); ++i; } } } movieClip 185 audioController { frame 1 { stop(); this.onRelease = function () { var v1 = new Sound(); v1.setVolume(0); nextFrame(); }; } frame 2 { stop(); this.onRelease = function () { var v1 = new Sound(); v1.setVolume(100); prevFrame(); }; } } movieClip 187 starMovie { } movieClip 189 heartMovie { } movieClip 191 { } movieClip 197 { } movieClip 200 { } movieClip 202 { } movieClip 211 { } movieClip 212 { } movieClip 214 { } movieClip 215 FLVController { } movieClip 216 slideMovie { frame 1 { function loadSlide() { if (this._inner) { switch (this._type) { case 'img': case 'swf': slideHolderMC = this.attachMovie(this._src, 'slideHolderMC', 10); break; case 'flv': if (this._videoPreview) { slideHolderMC = this.attachMovie(this._videoPreviewSrc, 'slideHolderMC', 10); flvPlayBtnMC = this.attachMovie('playBtnMovie', 'flvPlayBtnMC', 30); flvPlayBtnMC._visible = false; } else { slideHolderMC = this.attachMovie(this._src, 'slideHolderMC', 10); initFLVController(); } } slideHolderMC._visible = false; nextFrame(); } else { switch (this._type) { case 'img': slideHolderMC = this.createEmptyMovieClip('slideHolderMC', 10); imageHolderMC = slideHolderMC.createEmptyMovieClip('imageHolderMC', 10); slideHolderMC._visible = false; slideLoader = new MovieClipLoader(); slideLoader.addListener(loadListener); slideLoader.loadClip(this._src, slideHolderMC.imageHolderMC); break; case 'swf': slideHolderMC = this.createEmptyMovieClip('slideHolderMC', 10); slideHolderMC._visible = false; slideLoader = new MovieClipLoader(); slideLoader.addListener(loadListener); slideLoader.loadClip(this._src, slideHolderMC); break; case 'flv': if (this._videoPreview) { slideHolderMC = this.createEmptyMovieClip('slideHolderMC', 10); imageHolderMC = slideHolderMC.createEmptyMovieClip('imageHolderMC', 10); flvPlayBtnMC = this.attachMovie('playBtnMovie', 'flvPlayBtnMC', 30); flvPlayBtnMC._visible = false; slideHolderMC._visible = false; slideLoader = new MovieClipLoader(); slideLoader.addListener(loadListener); slideLoader.loadClip(this._videoPreviewSrc, slideHolderMC.imageHolderMC); } else { slideHolderMC = this.createEmptyMovieClip('slideHolderMC', 10); initFLVController(); flvHolderMC = slideHolderMC.attachMovie('videoHolderMovie', 'flvHolderMC', 10); slideHolderMC._visible = false; flvConnection = new NetConnection(); flvConnection.connect(null); flvStream = new NetStream(flvConnection); flvStream.play(this._src); slideHolderMC.flvHolderMC.videoMC.attachVideo(flvStream); flvAudioMC = slideHolderMC.flvHolderMC.createEmptyMovieClip('flvAudioMC', 20); slideHolderMC.flvHolderMC.flvAudioMC.attachAudio(flvStream); initVideoEvent(); } } } slideHolderMC.bPause = false; } function initVideoEvent() { flvStream.onMetaData = function (infoObject) { slideHolderMC.flvHolderMC.videoMC._width = infoObject.width; slideHolderMC.flvHolderMC.videoMC._height = infoObject.height; flvDuration = infoObject.duration; nextFrame(); }; flvStream.onStatus = function (infoObject) { if (infoObject.code == 'NetStream.Play.StreamNotFound') { errorLoaded = true; nextFrame(); } }; } function initFLVController() { flvControllerMC = this.attachMovie('FLVController', 'flvControllerMC', 20); flvControllerMC._visible = false; flvControllerMC._x = this._slideWidth / 2 - flvControllerMC._width / 2; flvControllerMC._y = this._slideHeight - flvControllerMC._height; flvControllerMC.playButtonMC._visible = false; flvControllerMC.pauseButtonMC._visible = true; flvControllerMC.volumeOnMC._visible = true; flvControllerMC.volumeOffMC._visible = false; flvControllerMC.seekBarHandleMC._x = flvControllerMC.seekBarMC._x; flvControllerMC.seekBarHandleMC.bDragging = false; flvControllerMC.playButtonMC.onRelease = function () { if (slideHolderMC._parent._inner) { slideHolderMC.play(); } else { flvStream.pause(false); } flvControllerMC.playButtonMC._visible = false; flvControllerMC.pauseButtonMC._visible = true; }; flvControllerMC.pauseButtonMC.onRelease = function () { if (slideHolderMC._parent._inner) { slideHolderMC.stop(); } else { flvStream.pause(true); } flvControllerMC.playButtonMC._visible = true; flvControllerMC.pauseButtonMC._visible = false; }; flvControllerMC.volumeOnMC.onRelease = function () { var v1; if (slideHolderMC._parent._inner) { v1 = new Sound(slideHolderMC); } else { v1 = new Sound(slideHolderMC.flvHolderMC.flvAudioMC); } v1.setVolume(0); flvControllerMC.volumeOnMC._visible = false; flvControllerMC.volumeOffMC._visible = true; }; flvControllerMC.volumeOffMC.onRelease = function () { var v1; if (slideHolderMC._parent._inner) { v1 = new Sound(slideHolderMC); } else { v1 = new Sound(slideHolderMC.flvHolderMC.flvAudioMC); } v1.setVolume(100); flvControllerMC.volumeOnMC._visible = true; flvControllerMC.volumeOffMC._visible = false; }; flvControllerMC.seekBarMC.onRelease = function () { if (slideHolderMC._parent._inner) { var v1 = Math.floor(slideHolderMC._totalframes * flvControllerMC.seekBarMC._xmouse / flvControllerMC.seekBarMC._width); if (v1 < 1) { v1 = 1; } if (v1 > slideHolderMC._totalframes) { v1 = slideHolderMC._totalframes; } if (flvControllerMC.playButtonMC._visible) { slideHolderMC.gotoAndStop(v1); } else { slideHolderMC.gotoAndPlay(v1); } } else { if (flvDuration > 0) { var v2 = flvDuration * flvControllerMC.seekBarMC._xmouse / flvControllerMC.seekBarMC._width; flvStream.seek(v2); } } }; flvControllerMC.seekBarHandleMC.onPress = function () { flvControllerMC.seekBarHandleMC.bDragging = true; startDrag(flvControllerMC.seekBarHandleMC, true, flvControllerMC.seekBarMC._x - flvControllerMC.seekBarHandleMC._width / 2, flvControllerMC.seekBarHandleMC._y, flvControllerMC.seekBarMC._x + flvControllerMC.seekBarMC._width - flvControllerMC.seekBarHandleMC._width / 2, flvControllerMC.seekBarHandleMC._y); }; flvControllerMC.seekBarHandleMC.onRelease = function () { stopDrag(); if (slideHolderMC._parent._inner) { var v1 = Math.floor(slideHolderMC._totalframes * (flvControllerMC.seekBarHandleMC._x + flvControllerMC.seekBarHandleMC._width / 2 - flvControllerMC.seekBarMC._x) / flvControllerMC.seekBarMC._width); if (v1 < 1) { v1 = 1; } if (v1 > slideHolderMC._totalframes) { v1 = slideHolderMC._totalframes; } if (flvControllerMC.playButtonMC._visible) { slideHolderMC.gotoAndStop(v1); } else { slideHolderMC.gotoAndPlay(v1); } } else { if (flvDuration > 0) { var v2 = flvDuration * (flvControllerMC.seekBarHandleMC._x + flvControllerMC.seekBarHandleMC._width / 2 - flvControllerMC.seekBarMC._x) / flvControllerMC.seekBarMC._width; flvStream.seek(v2); } } flvControllerMC.seekBarHandleMC.bDragging = false; }; flvControllerMC.seekBarHandleMC.onReleaseOutside = flvControllerMC.seekBarHandleMC.onRelease; } function initListener() { loadListener = new Object(); loadListener.onLoadStart = function (mHolderClip) { preloaderMC._visible = true; preloaderMC.bytesDisplayText._visible = true; preloaderMC.percentMC.gotoAndStop(1); }; loadListener.onLoadProgress = function (mHolderClip, bytesLoaded, bytesTotal) { preloaderMC.bytesDisplayText.text = Math.round(bytesLoaded * 100 / bytesTotal); preloaderMC.percentMC.gotoAndStop(Math.round(bytesLoaded * 50 / bytesTotal)); }; loadListener.onLoadInit = function (mHolderClip) { preloaderMC._visible = false; preloaderMC.bytesDisplayText._visible = false; preloaderMC.percentMC.gotoAndStop(50); nextFrame(); }; loadListener.onLoadError = function (mHolderClip, errorCode, httpStatus) { errorLoaded = true; nextFrame(); }; } function initPreloader() { if (this._showPreloader) { preloaderMC = this.attachMovie('preloaderMovie_' + this._preloaderStyle, 'preloaderMC', 70); preloaderMC._alpha = this._preloaderAlpha; preloaderMC._visible = false; var v3 = new Color(preloaderMC); v3.setRGB(this._preloaderColor); preloaderMC.bytesDisplayText._visible = false; preloaderMC.percentMC.gotoAndStop(1); var v2 = this._preloaderPos.toLowerCase(); switch (v2) { case 'top left': preloaderMC._x = preloaderMC._width / 2; preloaderMC._y = preloaderMC._height / 2; break; case 'top right': preloaderMC._x = this._slideWidth - preloaderMC._width / 2; preloaderMC._y = preloaderMC._height / 2; break; case 'bottom left': preloaderMC._x = preloaderMC._width / 2; preloaderMC._y = this._slideHeight - preloaderMC._height / 2; break; case 'bottom right': preloaderMC._x = this._slideWidth - preloaderMC._width / 2; preloaderMC._y = this._slideHeight - preloaderMC._height / 2; break; default: preloaderMC._x = this._slideWidth / 2; preloaderMC._y = this._slideHeight / 2; } } } function initSlide() { initPreloader(); initListener(); loadSlide(); } var slideHolderMC; var imageHolderMC; var slideLoader; var loadListener; var preloaderMC; var flvConnection; var flvStream; var flvHolderMC; var flvDuration; var flvPlayBtnMC; var flvAudioMC; var errorLoaded = false; stop(); initSlide(); } frame 2 { function rollLeftEffect(currSlideMC, effectSpeed) { var v3; var v4; if (this._type == 'swf' || currSlideMC._width == 0 || currSlideMC._height == 0) { v3 = this._slideWidth; v4 = this._slideHeight; } else { v3 = currSlideMC._width; v4 = currSlideMC._height; } currSlideMC.iPrevX = this._prevSlide._x; currSlideMC.iPrevWidth = this._prevSlide._width; currSlideMC.iMaxScale = currSlideMC._xscale; currSlideMC._alpha = 100; currSlideMC._xscale = 0; currSlideMC._visible = true; currSlideMC.effectSpeed = currSlideMC.iMaxScale * effectSpeed / 100; currSlideMC.onEnterFrame = function () { this._xscale += this.effectSpeed; this._parent._prevSlide._xscale -= this.effectSpeed; this._parent._prevSlide._x = this._x + this._width; this._parent._prevSlide._alpha -= this.effectSpeed; if (this._xscale >= this.iMaxScale) { this._xscale = MAXSCALE; delete this.onEnterFrame; this._parent._prevMaskSlide.removeMovieClip(); this._parent._prevSlide.removeMovieClip(); this._parent.play(); } }; } function rollTopEffect(currSlideMC, effectSpeed) { var v3; var v4; if (this._type == 'swf' || currSlideMC._width == 0 || currSlideMC._height == 0) { v3 = this._slideWidth; v4 = this._slideHeight; } else { v3 = currSlideMC._width; v4 = currSlideMC._height; } currSlideMC.iPrevY = this._prevSlide._y; currSlideMC.iPrevHeight = this._prevSlide._height; currSlideMC.iMaxScale = currSlideMC._yscale; currSlideMC._alpha = 100; currSlideMC._yscale = 0; currSlideMC._visible = true; currSlideMC.effectSpeed = currSlideMC.iMaxScale * effectSpeed / 100; currSlideMC.onEnterFrame = function () { this._yscale += this.effectSpeed; this._parent._prevSlide._yscale -= this.effectSpeed; this._parent._prevSlide._y = this._y + this._height; this._parent._prevSlide._alpha -= this.effectSpeed; if (this._yscale >= this.iMaxScale) { this._yscale = MAXSCALE; delete this.onEnterFrame; this._parent._prevMaskSlide.removeMovieClip(); this._parent._prevSlide.removeMovieClip(); this._parent.play(); } }; } function panzoomEffect(currSlideMC, anchorPoints) { currSlideMC._visible = true; currSlideMC._alpha = 0; currSlideMC._xscale = anchorPoints[0].scale; currSlideMC._yscale = anchorPoints[0].scale; currSlideMC._x = -(anchorPoints[0].x * anchorPoints[0].scale / 100 - this._slideWidth / 2); currSlideMC._y = -(anchorPoints[0].y * anchorPoints[0].scale / 100 - this._slideHeight / 2); currSlideMC.iSlideWidth = this._slideWidth; currSlideMC.iSlideHeight = this._slideHeight; currSlideMC.pointCount = anchorPoints.length; currSlideMC.pointIndex = 0; currSlideMC.anchorPoints = anchorPoints; currSlideMC.iPause = anchorPoints[0].pausetime; currSlideMC.iFrameCount = 10; currSlideMC.iAlphaInc = anchorPoints[0].alpha / 10; currSlideMC.iScaleInc = 0; currSlideMC.iXInc = 0; currSlideMC.iYInc = 0; currSlideMC.iFrameIndex = 0; var panTextMC = this.createTextField('panTextMC', 5, 0, 0, this._slideWidth, 0); panTextMC.wordWrap = true; panTextMC.selectable = false; panTextMC.multiline = true; panTextMC.html = true; panTextMC.autoSize = 'left'; panTextMC._visible = false; currSlideMC.panTextMC = panTextMC; if (anchorPoints[0].link != undefined) { currSlideMC.useHandCursor = true; currSlideMC.onRelease = function () { if (anchorPoints[0].target != undefined) { getURL(anchorPoints[0].link, anchorPoints[0].target); } else { getURL(anchorPoints[0].link, ''); } }; } currSlideMC.onEnterFrame = function () { if (this.bPause) { return undefined; } if (this.iFrameIndex < this.iFrameCount) { this._alpha += this.iAlphaInc; this._xscale += this.iScaleInc; this._yscale += this.iScaleInc; this._x += this.iXInc; this._y += this.iYInc; ++this.iFrameIndex; if (this.pointIndex == 0) { this._parent._prevSlide._alpha -= this.iAlphaInc; } if (this.iFrameIndex == this.iFrameCount) { if (this.anchorPoints[this.pointIndex].text != undefined) { this.panTextMC.htmlText = this.anchorPoints[this.pointIndex].text; var v2 = this.panTextMC.getTextFormat(); v2.align = 'center'; this.panTextMC.setTextFormat(v2); this.panTextMC._y = this.iSlideHeight / 2 - this.panTextMC._height / 2; this.panTextMC._visible = true; } this._alpha = this.anchorPoints[this.pointIndex].alpha; if (this.pointIndex == 0) { this._parent._prevMaskSlide.removeMovieClip(); this._parent._prevSlide.removeMovieClip(); } } } else { --this.iPause; if (this.iPause < 0) { this.panTextMC._visible = false; if (this.pointIndex < this.pointCount - 1) { this.iPause = this.anchorPoints[this.pointIndex + 1].pausetime; this.iFrameCount = this.anchorPoints[this.pointIndex].movetime; this.iAlphaInc = (this.anchorPoints[this.pointIndex + 1].alpha - this.anchorPoints[this.pointIndex].alpha) / this.anchorPoints[this.pointIndex].movetime; this.iScaleInc = (this.anchorPoints[this.pointIndex + 1].scale - this.anchorPoints[this.pointIndex].scale) / this.anchorPoints[this.pointIndex].movetime; var v4 = -(this.anchorPoints[this.pointIndex].x * this.anchorPoints[this.pointIndex].scale / 100 - this.iSlideWidth / 2); var v3 = -(this.anchorPoints[this.pointIndex + 1].x * this.anchorPoints[this.pointIndex + 1].scale / 100 - this.iSlideWidth / 2); this.iXInc = (v3 - v4) / this.anchorPoints[this.pointIndex].movetime; v4 = -(this.anchorPoints[this.pointIndex].y * this.anchorPoints[this.pointIndex].scale / 100 - this.iSlideHeight / 2); v3 = -(this.anchorPoints[this.pointIndex + 1].y * this.anchorPoints[this.pointIndex + 1].scale / 100 - this.iSlideHeight / 2); this.iYInc = (v3 - v4) / this.anchorPoints[this.pointIndex].movetime; this.iFrameIndex = 0; ++this.pointIndex; delete this.onRelease; this.useHandCursor = false; if (this.anchorPoints[this.pointIndex].link != undefined) { this.useHandCursor = true; this.onRelease = function () { if (this.anchorPoints[this.pointIndex].target != undefined) { getURL(this.anchorPoints[this.pointIndex].link, this.anchorPoints[this.pointIndex].target); } else { getURL(this.anchorPoints[this.pointIndex].link, ''); } }; } } else { delete this.onEnterFrame; this._parent._duration = 0; this._parent.play(); } } } }; } function starEffect(currSlideMC, effectSpeed) { var v8; var v9; if (this._type == 'swf' || currSlideMC._width == 0 || currSlideMC._height == 0) { v8 = this._slideWidth; v9 = this._slideHeight; } else { v8 = currSlideMC._width; v9 = currSlideMC._height; } var v6 = 40; var v5 = 40; var v3 = this.createEmptyMovieClip('maskEffectMC', 40); v3._x = currSlideMC._x; v3._y = currSlideMC._y; var iCountX = Math.ceil(v8 / v6) + 1; var iCountY = Math.ceil(v9 / v5) + 1; var v4 = 0; while (v4 < iCountX * iCountY) { v3.attachMovie('starMovie', 'maskMC' + v4, v4); ++v4; } v4 = 0; while (v4 < iCountX) { var v2 = 0; while (v2 < iCountY) { v3['maskMC' + (v4 * iCountY + v2)]._x = v6 * v4; v3['maskMC' + (v4 * iCountY + v2)]._y = v5 * v2; v3['maskMC' + (v4 * iCountY + v2)]._xscale = 0; v3['maskMC' + (v4 * iCountY + v2)]._yscale = 0; ++v2; } ++v4; } currSlideMC._alpha = 100; currSlideMC._visible = true; currSlideMC.setMask(v3); currSlideMC.effectSpeed = effectSpeed; currSlideMC.iScaleCount = 0; currSlideMC.iCountX = iCountX; currSlideMC.iCountY = iCountY; currSlideMC.onEnterFrame = function () { var v3 = 0; while (v3 < this.iCountX) { var v2 = 0; while (v2 < this.iCountY) { this._parent.maskEffectMC['maskMC' + (v3 * iCountY + v2)]._xscale += this.effectSpeed; this._parent.maskEffectMC['maskMC' + (v3 * iCountY + v2)]._yscale += this.effectSpeed; ++v2; } ++v3; } this.iScaleCount += this.effectSpeed; this._parent._prevSlide._alpha -= this.effectSpeed; if (this.iScaleCount >= 110) { this._parent.maskEffectMC.removeMovieClip(); this.setMask(null); delete this.onEnterFrame; this._parent._prevMaskSlide.removeMovieClip(); this._parent._prevSlide.removeMovieClip(); this._parent.play(); } }; } function heartEffect(currSlideMC, effectSpeed) { var v8; var v9; if (this._type == 'swf' || currSlideMC._width == 0 || currSlideMC._height == 0) { v8 = this._slideWidth; v9 = this._slideHeight; } else { v8 = currSlideMC._width; v9 = currSlideMC._height; } var v6 = 60; var v5 = 40; var v3 = this.createEmptyMovieClip('maskEffectMC', 40); v3._x = currSlideMC._x; v3._y = currSlideMC._y; var iCountX = Math.ceil(v8 / v6) + 1; var iCountY = Math.ceil(v9 / v5) + 1; var v4 = 0; while (v4 < iCountX * iCountY) { v3.attachMovie('heartMovie', 'maskMC' + v4, v4); ++v4; } v4 = 0; while (v4 < iCountX) { var v2 = 0; while (v2 < iCountY) { v3['maskMC' + (v4 * iCountY + v2)]._x = v6 * v4; v3['maskMC' + (v4 * iCountY + v2)]._y = v5 * v2; v3['maskMC' + (v4 * iCountY + v2)]._xscale = 0; v3['maskMC' + (v4 * iCountY + v2)]._yscale = 0; ++v2; } ++v4; } currSlideMC._alpha = 100; currSlideMC._visible = true; currSlideMC.setMask(v3); currSlideMC.effectSpeed = effectSpeed; currSlideMC.iScaleCount = 0; currSlideMC.iCountX = iCountX; currSlideMC.iCountY = iCountY; currSlideMC.onEnterFrame = function () { var v3 = 0; while (v3 < this.iCountX) { var v2 = 0; while (v2 < this.iCountY) { this._parent.maskEffectMC['maskMC' + (v3 * iCountY + v2)]._xscale += this.effectSpeed; this._parent.maskEffectMC['maskMC' + (v3 * iCountY + v2)]._yscale += this.effectSpeed; ++v2; } ++v3; } this.iScaleCount += this.effectSpeed; this._parent._prevSlide._alpha -= this.effectSpeed; if (this.iScaleCount >= 110) { this._parent.maskEffectMC.removeMovieClip(); this.setMask(null); delete this.onEnterFrame; this._parent._prevMaskSlide.removeMovieClip(); this._parent._prevSlide.removeMovieClip(); this._parent.play(); } }; } function rightInEffect(currSlideMC, effectSpeed) { var v3; var v4; if (this._type == 'swf' || currSlideMC._width == 0 || currSlideMC._height == 0) { v3 = this._slideWidth; v4 = this._slideHeight; } else { v3 = currSlideMC._width; v4 = currSlideMC._height; } var iPosX = currSlideMC._x; currSlideMC._alpha = 100; currSlideMC._x += v3; currSlideMC._visible = true; currSlideMC.effectSpeed = effectSpeed; currSlideMC.iPosX = iPosX; currSlideMC.iPath = 0; currSlideMC.iSpeed = effectSpeed; currSlideMC.onEnterFrame = function () { if (this.iPath > this._width * 0.8) { this.iSpeed = this.effectSpeed; } else { this.iSpeed += 1.5 * this.effectSpeed; } this.iPath += this.iSpeed; this._x -= this.iSpeed; this._parent._prevSlide._x -= this.iSpeed; if (this._x <= this.iPosX) { this._x = this.iPosX; delete this.onEnterFrame; this._parent._prevMaskSlide.removeMovieClip(); this._parent._prevSlide.removeMovieClip(); this._parent.play(); } }; } function leftInEffect(currSlideMC, effectSpeed) { var v3; var v4; if (this._type == 'swf' || currSlideMC._width == 0 || currSlideMC._height == 0) { v3 = this._slideWidth; v4 = this._slideHeight; } else { v3 = currSlideMC._width; v4 = currSlideMC._height; } var iPosX = currSlideMC._x; currSlideMC._alpha = 100; currSlideMC._x -= v3; currSlideMC._visible = true; currSlideMC.effectSpeed = effectSpeed; currSlideMC.iPosX = iPosX; currSlideMC.iPath = 0; currSlideMC.iSpeed = effectSpeed; currSlideMC.onEnterFrame = function () { if (this.iPath > this._width * 0.8) { this.iSpeed = this.effectSpeed; } else { this.iSpeed += 1.5 * this.effectSpeed; } this.iPath += this.iSpeed; this._x += this.iSpeed; this._parent._prevSlide._x += this.iSpeed; if (this._x >= this.iPosX) { this._x = this.iPosX; delete this.onEnterFrame; this._parent._prevMaskSlide.removeMovieClip(); this._parent._prevSlide.removeMovieClip(); this._parent.play(); } }; } function fadeInEffect(currSlideMC, effectSpeed) { currSlideMC._alpha = 0; currSlideMC._visible = true; currSlideMC.effectSpeed = effectSpeed; currSlideMC.onEnterFrame = function () { this._alpha += this.effectSpeed; this._parent._prevSlide._alpha -= this.effectSpeed; if (this._alpha >= 100) { delete this.onEnterFrame; this._parent._prevMaskSlide.removeMovieClip(); this._parent._prevSlide.removeMovieClip(); this._parent.play(); } }; } function fadeLeftInEffect(currSlideMC, effectSpeed) { var v5; var v3; if (this._type == 'swf' || currSlideMC._width == 0 || currSlideMC._height == 0) { v5 = this._slideWidth; v3 = this._slideHeight; } else { v5 = currSlideMC._width; v3 = currSlideMC._height; } var v4 = v5 + v5 / 4; var v2 = this.createEmptyMovieClip('maskEffectMC', 40); var v6 = new flash.geom.Matrix(); v6.createGradientBox(v4, v3); v2.lineStyle(); v2.beginGradientFill('linear', [16777215, 16777215], [100, 0], [192, 255], v6); v2.moveTo(0, 0); v2.lineTo(v4, 0); v2.lineTo(v4, v3); v2.lineTo(0, v3); v2.lineTo(0, 0); v2.endFill(); v2._x = currSlideMC._x - v4; v2._y = currSlideMC._y; v2._visible = false; v2.cacheAsBitmap = true; currSlideMC.cacheAsBitmap = true; currSlideMC._alpha = 100; currSlideMC._visible = true; currSlideMC.setMask(v2); currSlideMC._parent.setMask(null); currSlideMC._parent.informationBarMC.setMask(currSlideMC._parent._globalMask); v2.effectSpeed = effectSpeed; v2.onEnterFrame = function () { this._x += this.effectSpeed * 2; if (this._x >= currSlideMC._x) { delete this.onEnterFrame; currSlideMC._parent._prevMaskSlide.removeMovieClip(); currSlideMC._parent._prevSlide.removeMovieClip(); currSlideMC._parent.play(); currSlideMC.setMask(null); currSlideMC._parent.informationBarMC.setMask(null); currSlideMC._parent.setMask(currSlideMC._parent._globalMask); } }; } function fadeRightInEffect(currSlideMC, effectSpeed) { var v3; var v4; if (this._type == 'swf' || currSlideMC._width == 0 || currSlideMC._height == 0) { v3 = this._slideWidth; v4 = this._slideHeight; } else { v3 = currSlideMC._width; v4 = currSlideMC._height; } var v5 = v3 + v3 / 4; var v2 = this.createEmptyMovieClip('maskEffectMC', 40); var v6 = new flash.geom.Matrix(); v6.createGradientBox(v5, v4); v2.lineStyle(); v2.beginGradientFill('linear', [16777215, 16777215], [0, 100], [0, 64], v6); v2.moveTo(0, 0); v2.lineTo(v5, 0); v2.lineTo(v5, v4); v2.lineTo(0, v4); v2.lineTo(0, 0); v2.endFill(); v2._x = currSlideMC._x + v3; v2._y = currSlideMC._y; v2._visible = false; v2.cacheAsBitmap = true; currSlideMC.cacheAsBitmap = true; currSlideMC._alpha = 100; currSlideMC._visible = true; currSlideMC.setMask(v2); currSlideMC._parent.setMask(null); currSlideMC._parent.informationBarMC.setMask(currSlideMC._parent._globalMask); v2.effectSpeed = effectSpeed; v2.imageWidth = v3; v2.onEnterFrame = function () { this._x -= this.effectSpeed * 2; if (this._x <= currSlideMC._x - this.imageWidth / 4) { delete this.onEnterFrame; currSlideMC._parent._prevMaskSlide.removeMovieClip(); currSlideMC._parent._prevSlide.removeMovieClip(); currSlideMC._parent.play(); currSlideMC.setMask(null); currSlideMC._parent.informationBarMC.setMask(null); currSlideMC._parent.setMask(currSlideMC._parent._globalMask); } }; } function noEffect(currSlideMC) { currSlideMC._alpha = 100; currSlideMC._visible = true; this._prevMaskSlide.removeMovieClip(); this._prevSlide.removeMovieClip(); this.play(); } function slideInEffect() { if (this._type == 'flv' && this._videoPreview) { flvPlayBtnMC._x = (this._slideWidth - flvPlayBtnMC._width) / 2; flvPlayBtnMC._y = (this._slideHeight - flvPlayBtnMC._height) / 2; flvPlayBtnMC._visible = true; } var v3 = 1; if (this._effect.toLowerCase() == 'noeffect') { v3 = -1; } else { var v2 = 0; while (v2 < effectArray.length) { if (this._effect.toLowerCase() == effectArray[v2]) { break; } ++v2; } if (v2 < effectArray.length) { v3 = v2; } } if (v3 == 1) { if (this._slideWidth <= MAX_WIDTH_MASK_EFFECT && this._slideHeight <= MAX_HEIGHT_MASK_EFFECT) { v3 = 2 + random(EFFECT_COUNT - 2); } else { v3 = 2 + random(EFFECT_COUNT - MASK_EFFECT_COUNT - 2); } } switch (v3) { case -1: noEffect(slideHolderMC); break; case 0: panzoomEffect(slideHolderMC, this._panzoompoint); break; case 2: fadeInEffect(slideHolderMC, this._effectSpeed); break; case 3: fadeLeftInEffect(slideHolderMC, this._effectSpeed); break; case 4: fadeRightInEffect(slideHolderMC, this._effectSpeed); break; case 5: leftInEffect(slideHolderMC, this._effectSpeed); break; case 6: rightInEffect(slideHolderMC, this._effectSpeed); break; case 7: heartEffect(slideHolderMC, this._effectSpeed); break; case 8: starEffect(slideHolderMC, this._effectSpeed); break; case 9: rollLeftEffect(slideHolderMC, this._effectSpeed); break; case 10: rollTopEffect(slideHolderMC, this._effectSpeed); break; default: fadeInEffect(slideHolderMC, this._effectSpeed); } } function zoomSlide() { var v2; if (slideHolderMC._width == 0 || slideHolderMC._height == 0) { return undefined; } if (this._type == 'swf') { return undefined; } if (this._scaleMode == 'noscale') { slideHolderMC._x = (this._slideWidth - slideHolderMC._width) / 2; slideHolderMC._y = (this._slideHeight - slideHolderMC._height) / 2; } else { var v3 = slideHolderMC._width * 100 / slideHolderMC._xscale; var v4 = slideHolderMC._height * 100 / slideHolderMC._yscale; if (this._scaleMode == 'scaletofill' || this._effect.toLowerCase() == 'panzoom') { v2 = Math.max(this._slideWidth / v3, this._slideHeight / v4) * 100; } else { v2 = Math.min(this._slideWidth / v3, this._slideHeight / v4) * 100; } slideHolderMC._xscale = v2; slideHolderMC._yscale = v2; slideHolderMC._x = (this._slideWidth - slideHolderMC._width) / 2; slideHolderMC._y = (this._slideHeight - slideHolderMC._height) / 2; } } function createErrorText() { var v2; var v3; v2 = slideHolderMC.createTextField('errorTextField', 1, 0, 0, 0, 0); v3 = new TextFormat(); v3.color = 16777215; v2.text = 'File URL Not Found'; v2.setTextFormat(v3); v2.background = true; v2.backgroundColor = 0; v2.selectable = false; v2.autoSize = 'left'; slideHolderMC._x = (this._slideWidth - slideHolderMC._width) / 2; slideHolderMC._y = (this._slideHeight - slideHolderMC._height) / 2; } var effectArray = ['panzoom', 'random', 'fadein', 'fadeleftin', 'faderightin', 'leftin', 'rightin', 'heart', 'star', 'rollleft', 'rolltop']; var EFFECT_COUNT = 9; var MASK_EFFECT_COUNT = 6; var MAX_WIDTH_MASK_EFFECT = 640; var MAX_HEIGHT_MASK_EFFECT = 480; MovieClip.prototype.drawRect = function (x, y, w, h, cornerRadius, fillColor, fillAlpha) { if (arguments.length < 4) { return undefined; } if (arguments.length == 7) { this.beginFill(fillColor, fillAlpha); } if (cornerRadius > 0) { var v4; var v5; var v9; var v8; var v11; var v10; if (cornerRadius > Math.min(w, h) / 2) { cornerRadius = Math.min(w, h) / 2; } v4 = 0.7853981633974483; this.moveTo(x + cornerRadius, y); this.lineTo(x + w - cornerRadius, y); v5 = -1.570796326794897; v9 = x + w - cornerRadius + Math.cos(v5 + v4 / 2) * cornerRadius / Math.cos(v4 / 2); v8 = y + cornerRadius + Math.sin(v5 + v4 / 2) * cornerRadius / Math.cos(v4 / 2); v11 = x + w - cornerRadius + Math.cos(v5 + v4) * cornerRadius; v10 = y + cornerRadius + Math.sin(v5 + v4) * cornerRadius; this.curveTo(v9, v8, v11, v10); v5 += v4; v9 = x + w - cornerRadius + Math.cos(v5 + v4 / 2) * cornerRadius / Math.cos(v4 / 2); v8 = y + cornerRadius + Math.sin(v5 + v4 / 2) * cornerRadius / Math.cos(v4 / 2); v11 = x + w - cornerRadius + Math.cos(v5 + v4) * cornerRadius; v10 = y + cornerRadius + Math.sin(v5 + v4) * cornerRadius; this.curveTo(v9, v8, v11, v10); this.lineTo(x + w, y + h - cornerRadius); v5 += v4; v9 = x + w - cornerRadius + Math.cos(v5 + v4 / 2) * cornerRadius / Math.cos(v4 / 2); v8 = y + h - cornerRadius + Math.sin(v5 + v4 / 2) * cornerRadius / Math.cos(v4 / 2); v11 = x + w - cornerRadius + Math.cos(v5 + v4) * cornerRadius; v10 = y + h - cornerRadius + Math.sin(v5 + v4) * cornerRadius; this.curveTo(v9, v8, v11, v10); v5 += v4; v9 = x + w - cornerRadius + Math.cos(v5 + v4 / 2) * cornerRadius / Math.cos(v4 / 2); v8 = y + h - cornerRadius + Math.sin(v5 + v4 / 2) * cornerRadius / Math.cos(v4 / 2); v11 = x + w - cornerRadius + Math.cos(v5 + v4) * cornerRadius; v10 = y + h - cornerRadius + Math.sin(v5 + v4) * cornerRadius; this.curveTo(v9, v8, v11, v10); this.lineTo(x + cornerRadius, y + h); v5 += v4; v9 = x + cornerRadius + Math.cos(v5 + v4 / 2) * cornerRadius / Math.cos(v4 / 2); v8 = y + h - cornerRadius + Math.sin(v5 + v4 / 2) * cornerRadius / Math.cos(v4 / 2); v11 = x + cornerRadius + Math.cos(v5 + v4) * cornerRadius; v10 = y + h - cornerRadius + Math.sin(v5 + v4) * cornerRadius; this.curveTo(v9, v8, v11, v10); v5 += v4; v9 = x + cornerRadius + Math.cos(v5 + v4 / 2) * cornerRadius / Math.cos(v4 / 2); v8 = y + h - cornerRadius + Math.sin(v5 + v4 / 2) * cornerRadius / Math.cos(v4 / 2); v11 = x + cornerRadius + Math.cos(v5 + v4) * cornerRadius; v10 = y + h - cornerRadius + Math.sin(v5 + v4) * cornerRadius; this.curveTo(v9, v8, v11, v10); this.lineTo(x, y + cornerRadius); v5 += v4; v9 = x + cornerRadius + Math.cos(v5 + v4 / 2) * cornerRadius / Math.cos(v4 / 2); v8 = y + cornerRadius + Math.sin(v5 + v4 / 2) * cornerRadius / Math.cos(v4 / 2); v11 = x + cornerRadius + Math.cos(v5 + v4) * cornerRadius; v10 = y + cornerRadius + Math.sin(v5 + v4) * cornerRadius; this.curveTo(v9, v8, v11, v10); v5 += v4; v9 = x + cornerRadius + Math.cos(v5 + v4 / 2) * cornerRadius / Math.cos(v4 / 2); v8 = y + cornerRadius + Math.sin(v5 + v4 / 2) * cornerRadius / Math.cos(v4 / 2); v11 = x + cornerRadius + Math.cos(v5 + v4) * cornerRadius; v10 = y + cornerRadius + Math.sin(v5 + v4) * cornerRadius; this.curveTo(v9, v8, v11, v10); } else { this.moveTo(x, y); this.lineTo(x + w, y); this.lineTo(x + w, y + h); this.lineTo(x, y + h); this.lineTo(x, y); } if (arguments.length == 7) { this.endFill(); } }; this.moveGlobalControls = function () { var v3; var v4; if (slideHolderMC._width == 0 || slideHolderMC._height == 0 || this._effect.toLowerCase() == 'panzoom') { v3 = this._slideWidth; v4 = this._slideHeight; } else { v3 = slideHolderMC._width; v4 = slideHolderMC._height; } var v6 = Math.min(v3, this._slideWidth); var v7 = Math.min(v4, this._slideHeight); this._globalMask._xscale = v6 * 100 / this._globalMask.iOriginalWidth; this._globalMask._yscale = v7 * 100 / this._globalMask.iOriginalHeight; this._globalMask._x = this._x + Math.max(slideHolderMC._x, 0); this._globalMask._y = this._y + Math.max(slideHolderMC._y, 0); if (this._showImageBorder) { var v5 = Math.min(v3, this._slideWidth) + 2 * this._imageBorderWidth; var v8 = Math.min(v4, this._slideHeight) + 2 * this._imageBorderWidth; var v2; v2 = v5 * 100 / 10; this._parent.imageBorderTopMC._xscale = v2; this._parent.imageBorderBottomMC._xscale = v2; this._parent.imageBorderTopMC._x = this._x + Math.max(slideHolderMC._x, 0) - this._imageBorderWidth; this._parent.imageBorderBottomMC._x = this._x + Math.max(slideHolderMC._x, 0) - this._imageBorderWidth; this._parent.imageBorderTopMC._y = this._y + Math.max(slideHolderMC._y, 0) - this._parent.imageBorderTopMC._height; this._parent.imageBorderBottomMC._y = this._y + this._slideHeight / 2 + Math.min(v4 / 2, this._slideHeight / 2); this._parent.imageBorderTopMC._visible = true; this._parent.imageBorderBottomMC._visible = true; v2 = v8 * 100 / 10; this._parent.imageBorderLeftMC._yscale = v2; this._parent.imageBorderRightMC._yscale = v2; this._parent.imageBorderLeftMC._y = this._y + Math.max(slideHolderMC._y, 0) - this._imageBorderWidth; this._parent.imageBorderRightMC._y = this._y + Math.max(slideHolderMC._y, 0) - this._imageBorderWidth; this._parent.imageBorderLeftMC._x = this._x + Math.max(slideHolderMC._x, 0) - this._parent.imageBorderLeftMC._width; this._parent.imageBorderRightMC._x = this._x + this._slideWidth / 2 + Math.min(v3 / 2, this._slideWidth / 2); this._parent.imageBorderLeftMC._visible = true; this._parent.imageBorderRightMC._visible = true; } }; this.checkSlide = function () { if (errorLoaded) { createErrorText(); } else { zoomSlide(); } }; this.initSlideHolderMouseOver = function () { slideHolderMC.useHandCursor = false; if (this._link != undefined) { slideHolderMC.useHandCursor = true; slideHolderMC.onRelease = function () { if (this._parent._linktarget != undefined) { getURL(this._parent._link, this._parent._linktarget); } else { getURL(this._parent._link, ''); } }; } if (this._showInformation != 'hide' && (this._caption != undefined || this._description != undefined)) { var v10; var v11; if (slideHolderMC._width == 0 || slideHolderMC._height == 0 || this._effect.toLowerCase() == 'panzoom') { v10 = this._slideWidth; v11 = this._slideHeight; } else { v10 = slideHolderMC._width; v11 = slideHolderMC._height; } var v2 = this.createEmptyMovieClip('informationBarMC', 60); v2._x = this._slideWidth / 2 - Math.min(v10 / 2, this._slideWidth / 2); var v9 = Math.min(v10, this._slideWidth); var v6 = 0; var v7 = 0; if (this._caption != undefined) { v6 = this._informationMargin; var v4 = v2.createTextField('captionTextMC', 2, 0, 0, v9 - 2 * this._informationMargin, 0); v4.multiline = true; v4.wordWrap = true; v4.selectable = false; v4.html = true; v4.htmlText = this._caption; v4.autoSize = 'left'; var v12 = new TextFormat(); v12.align = this._informationAlign; v4.setTextFormat(v12); v4._x = this._informationMargin; v4._y = this._informationMargin; v6 += v4._height; if (this._description != undefined) { v6 += this._informationMargin / 4; } else { v6 += this._informationMargin; } var v8 = v2.createEmptyMovieClip('bgBarMC', 0); v8._alpha = this._informationAlpha; v8.moveTo(0, 0); v8.beginFill(this._informationColor); v8.lineTo(v9, 0); v8.lineTo(v9, v6); v8.lineTo(0, v6); v8.lineTo(0, 0); v8.endFill; } if (this._description != undefined) { if (this._caption != undefined) { v7 = this._informationMargin / 4; } else { v7 = this._informationMargin; } var v3 = v2.createTextField('descriptionTextMC', 3, 0, 0, v9 - 2 * this._informationMargin, 0); v3.multiline = true; v3.wordWrap = true; v3.selectable = false; v3.html = true; v3.htmlText = this._description; v3.autoSize = 'left'; var v13 = new TextFormat(); v13.align = this._informationAlignLong; v3.setTextFormat(v13); v3._x = this._informationMargin; v3._y = v6 + v7; v7 += v3._height; v7 += this._informationMargin; var v5 = v2.createEmptyMovieClip('bgBarMC2', 1); v5._alpha = this._informationAlpha2; v5.moveTo(0, 0); v5.beginFill(this._informationColor2); v5.lineTo(v9, 0); v5.lineTo(v9, v7); v5.lineTo(0, v7); v5.lineTo(0, 0); v5.endFill; v5._y = v6; } if (this._showInformation == 'show') { v2.doAction = 'show'; } else { v2.doAction = 'none'; } v2.iTopHeight = this._slideHeight / 2 - Math.min(v11 / 2, this._slideHeight / 2); v2.iBottomHeight = this._slideHeight / 2 + Math.min(v11 / 2, this._slideHeight / 2); if (this._informationPos == 'bottom') { v2._y = v2.iBottomHeight; v2.pos = 'bottom'; } else { v2._y = v2.iTopHeight - v2._height; v2.pos = 'top'; } v2.onEnterFrame = function () { if (this.doAction == 'none') { return undefined; } if (this.pos == 'bottom') { if (this.doAction == 'show') { this._y -= 2; if (this._y <= this.iBottomHeight - this._height) { this._y = this.iBottomHeight - this._height; this.doAction = 'none'; } } else { this._y += 2; if (this._y >= this.iBottomHeight) { this._y = this.iBottomHeight; this.doAction = 'none'; } } } else { if (this.doAction == 'show') { this._y += 2; if (this._y >= this.iTopHeight) { this._y = this.iTopHeight; this.doAction = 'none'; } } else { this._y -= 2; if (this._y <= this.iTopHeight - this._height) { this._y = this.iTopHeight - this._height; this.doAction = 'none'; } } } }; } slideHolderMC.onRollOver = function () { if (errorLoaded) { return undefined; } if (this._parent._type == 'flv' && !this._parent._videoPreview) { flvControllerMC._visible = true; } else { if (this._parent._pausemouseover) { slideHolderMC.bPause = true; } } if (this._parent._showInformation == 'auto hide') { this._parent.informationBarMC.doAction = 'show'; } }; slideHolderMC.onRollOut = function () { if (errorLoaded) { return undefined; } if (this._parent._type == 'flv' && !this._parent._videoPreview) { if (!flvControllerMC.hitTest(_level0._xmouse, _level0._ymouse, true)) { flvControllerMC._visible = false; } } else { if (this._parent._pausemouseover) { slideHolderMC.bPause = false; } } if (this._parent._showInformation == 'auto hide') { if (!this._parent.informationBarMC.hitTest(_level0._xmouse, _level0._ymouse, true)) { this._parent.informationBarMC.doAction = 'hide'; } } }; }; this.redrawControls = function () { var v2 = this._preloaderPos.toLowerCase(); switch (v2) { case 'top left': this.preloaderMC._x = this.preloaderMC._width / 2; this.preloaderMC._y = this.preloaderMC._height / 2; break; case 'top right': this.preloaderMC._x = this._slideWidth - this.preloaderMC._width / 2; this.preloaderMC._y = this.preloaderMC._height / 2; break; case 'bottom left': this.preloaderMC._x = this.preloaderMC._width / 2; this.preloaderMC._y = this._slideHeight - this.preloaderMC._height / 2; break; case 'bottom right': this.preloaderMC._x = this._slideWidth - this.preloaderMC._width / 2; this.preloaderMC._y = this._slideHeight - this.preloaderMC._height / 2; break; default: this.preloaderMC._x = this._slideWidth / 2; this.preloaderMC._y = this._slideHeight / 2; } this.flvControllerMC._x = this._slideWidth / 2 - this.flvControllerMC._width / 2; this.flvControllerMC._y = this._slideHeight - this.flvControllerMC._height; this.flvPlayBtnMC._x = (this._slideWidth - this.flvPlayBtnMC._width) / 2; this.flvPlayBtnMC._y = (this._slideHeight - this.flvPlayBtnMC._height) / 2; }; stop(); this.checkSlide(); this.moveGlobalControls(); this.initSlideHolderMouseOver(); slideInEffect(); } frame 3 { function stopSlide() { if (this._type == 'img' || this._type == 'swf' || this._type == 'flv' && errorLoaded || this._type == 'flv' && this._videoPreview) { this.onEnterFrame = function () { if (slideHolderMC.bPause) { return undefined; } --this._duration; if (this._duration <= 0) { delete this.onEnterFrame; this.play(); } }; } else { if (this._type == 'flv' && this._inner) { this.onEnterFrame = function () { if (slideHolderMC._currentframe >= slideHolderMC._totalframes - 1) { delete this.onEnterFrame; this.play(); } else { if (slideHolderMC._totalframes > 0 && !flvControllerMC.seekBarHandleMC.bDragging) { flvControllerMC.seekBarHandleMC._x = flvControllerMC.seekBarMC._x - flvControllerMC.seekBarHandleMC._width / 2 + flvControllerMC.seekBarMC._width * (slideHolderMC._currentframe / slideHolderMC._totalframes); } } }; } else { if (this._type == 'flv') { this.onEnterFrame = function () { if (flvStream.time + 1 > flvDuration || flvStopped) { preloaderMC._visible = false; delete this.onEnterFrame; flvStream.onStatus = null; this.play(); } else { if (flvDuration > 0 && !flvControllerMC.seekBarHandleMC.bDragging) { flvControllerMC.seekBarHandleMC._x = flvControllerMC.seekBarMC._x - flvControllerMC.seekBarHandleMC._width / 2 + flvControllerMC.seekBarMC._width * (flvStream.time / flvDuration); } } }; flvStream.onStatus = function (infoObject) { if (infoObject.code == 'NetStream.Play.Stop') { flvStopped = true; preloaderMC._visible = false; } if (infoObject.code == 'NetStream.Buffer.Empty') { } if (infoObject.code == 'NetStream.Buffer.Full') { preloaderMC._visible = false; } }; } } } } stop(); var flvStopped = false; this.bLoading = false; stopSlide(); flvPlayBtnMC.onRelease = function () { delete this._parent.onEnterFrame; this._parent._videoPreview = false; if (this._parent._inner) { slideHolderMC.removeMovieClip(); slideHolderMC = this._parent.attachMovie(this._parent._src, 'slideHolderMC', 10); initFLVController(); slideHolderMC._visible = false; prevFrame(); } else { slideHolderMC._visible = false; slideHolderMC._xscale = 100; slideHolderMC._yscale = 100; flvHolderMC = slideHolderMC.attachMovie('videoHolderMovie', 'flvHolderMC', 10); flvConnection = new NetConnection(); flvConnection.connect(null); flvStream = new NetStream(flvConnection); flvStream.play(this._parent._src); slideHolderMC.flvHolderMC.videoMC.attachVideo(flvStream); flvAudioMC = slideHolderMC.flvHolderMC.createEmptyMovieClip('flvAudioMC', 20); slideHolderMC.flvHolderMC.flvAudioMC.attachAudio(flvStream); flvStream.onMetaData = function (infoObject) { slideHolderMC.flvHolderMC.videoMC._width = infoObject.width; slideHolderMC.flvHolderMC.videoMC._height = infoObject.height; flvDuration = infoObject.duration; initFLVController(); prevFrame(); }; flvStream.onStatus = function (infoObject) { if (infoObject.code == 'NetStream.Play.StreamNotFound') { errorLoaded = true; prevFrame(); } }; } this.removeMovieClip(); }; } frame 4 { function switchToNext() { if (this.bCurrent) { this._parent.globalSwitch = true; this._parent.globalSwitchTo.album = -1; this._parent.globalSwitchTo.slide = -1; } } stop(); switchToNext(); } frame 5 { function switchToPrev() { if (this.bCurrent) { this._parent.globalSwitch = true; this._parent.globalSwitchTo.album = -1; this._parent.globalSwitchTo.slide = -2; } } stop(); switchToPrev(); } } movieClip 218 videoHolderMovie { } movieClip 221 playBtnMovie { frame 1 { stop(); this.onRollOver = function () { gotoAndStop(2); }; this.onRollOut = function () { gotoAndStop(1); }; } } movieClip 223 { } movieClip 225 { } movieClip 226 previewArrowMovie { } movieClip 228 { } movieClip 229 tnPreloaderMovie { } movieClip 230 __Packages.caurina.transitions.Tweener { #initclip if (!_global.caurina) { _global.caurina = new Object(); } if (!_global.caurina.transitions) { _global.caurina.transitions = new Object(); } if (!_global.caurina.transitions.Tweener) { var v1 = function () { trace('Tweener is an static class and should not be instantiated.'); }; caurina.transitions.Tweener = v1; var v2 = v1.prototype; v1.addTween = function (p_scopes, p_parameters) { if (p_scopes == undefined) { return false; } var v3; var v7; var v2; var v11; if (p_scopes instanceof Array) { v11 = p_scopes.concat(); } else { v11 = [p_scopes]; } var v5 = caurina.transitions.TweenListObj.makePropertiesChain(p_parameters); if (!caurina.transitions.Tweener._inited) { caurina.transitions.Tweener.init(); } if (!caurina.transitions.Tweener._engineExists || _root[caurina.transitions.Tweener.getControllerName()] == undefined) { caurina.transitions.Tweener.startEngine(); } var v19 = isNaN(v5.time) ? 0 : v5.time; var v12 = isNaN(v5.delay) ? 0 : v5.delay; var v4 = new Object(); var v24 = {'time': true, 'delay': true, 'useFrames': true, 'skipUpdates': true, 'transition': true, 'transitionParams': true, 'onStart': true, 'onUpdate': true, 'onComplete': true, 'onOverwrite': true, 'onError': true, 'rounded': true, 'onStartParams': true, 'onUpdateParams': true, 'onCompleteParams': true, 'onOverwriteParams': true, 'onStartScope': true, 'onUpdateScope': true, 'onCompleteScope': true, 'onOverwriteScope': true, 'onErrorScope': true, 'quickAdd': true}; var v13 = new Object(); for (v2 in v5) { if (!v24[v2]) { if (caurina.transitions.Tweener._specialPropertySplitterList[v2] != undefined) { var v8 = caurina.transitions.Tweener._specialPropertySplitterList[v2].splitValues(v5[v2], caurina.transitions.Tweener._specialPropertySplitterList[v2].parameters); v3 = 0; while (v3 < v8.length) { if (caurina.transitions.Tweener._specialPropertySplitterList[v8[v3].name] != undefined) { var v9 = caurina.transitions.Tweener._specialPropertySplitterList[v8[v3].name].splitValues(v8[v3].value, caurina.transitions.Tweener._specialPropertySplitterList[v8[v3].name].parameters); v7 = 0; while (v7 < v9.length) { v4[v9[v7].name] = {'valueStart': undefined, 'valueComplete': v9[v7].value, 'arrayIndex': v9[v7].arrayIndex, 'isSpecialProperty': false}; ++v7; } } else { v4[v8[v3].name] = {'valueStart': undefined, 'valueComplete': v8[v3].value, 'arrayIndex': v8[v3].arrayIndex, 'isSpecialProperty': false}; } ++v3; } } else { if (caurina.transitions.Tweener._specialPropertyModifierList[v2] != undefined) { var v10 = caurina.transitions.Tweener._specialPropertyModifierList[v2].modifyValues(v5[v2]); v3 = 0; while (v3 < v10.length) { v13[v10[v3].name] = {'modifierParameters': v10[v3].parameters, 'modifierFunction': caurina.transitions.Tweener._specialPropertyModifierList[v2].getValue}; ++v3; } } else { v4[v2] = {'valueStart': undefined, 'valueComplete': v5[v2]}; } } } } for (v2 in v4) { if (caurina.transitions.Tweener._specialPropertyList[v2] != undefined) { v4[v2].isSpecialProperty = true; } else { if (v11[0][v2] == undefined) { caurina.transitions.Tweener.printError('The property \'' + v2 + '\' doesn\'t seem to be a normal object property of ' + v11[0].toString() + ' or a registered special property.'); } } } for (v2 in v13) { if (v4[v2] != undefined) { v4[v2].modifierParameters = v13[v2].modifierParameters; v4[v2].modifierFunction = v13[v2].modifierFunction; } } var v21; if (typeof v5.transition == 'string') { var v26 = v5.transition.toLowerCase(); v21 = caurina.transitions.Tweener._transitionList[v26]; } else { v21 = v5.transition; } if (v21 == undefined) { v21 = caurina.transitions.Tweener._transitionList.easeoutexpo; } var v14; var v6; var v20; v3 = 0; while (v3 < v11.length) { v14 = new Object(); for (v2 in v4) { v14[v2] = new caurina.transitions.PropertyInfoObj(v4[v2].valueStart, v4[v2].valueComplete, v4[v2].valueComplete, v4[v2].arrayIndex, {}, v4[v2].isSpecialProperty, v4[v2].modifierFunction, v4[v2].modifierParameters); } if (v5.useFrames == true) { v6 = new caurina.transitions.TweenListObj(v11[v3], caurina.transitions.Tweener._currentTimeFrame + v12 / caurina.transitions.Tweener._timeScale, caurina.transitions.Tweener._currentTimeFrame + (v12 + v19) / caurina.transitions.Tweener._timeScale, true, v21, v5.transitionParams); } else { v6 = new caurina.transitions.TweenListObj(v11[v3], caurina.transitions.Tweener._currentTime + v12 * 1000 / caurina.transitions.Tweener._timeScale, caurina.transitions.Tweener._currentTime + (v12 * 1000 + v19 * 1000) / caurina.transitions.Tweener._timeScale, false, v21, v5.transitionParams); } v6.properties = v14; v6.onStart = v5.onStart; v6.onUpdate = v5.onUpdate; v6.onComplete = v5.onComplete; v6.onOverwrite = v5.onOverwrite; v6.onError = v5.onError; v6.onStartParams = v5.onStartParams; v6.onUpdateParams = v5.onUpdateParams; v6.onCompleteParams = v5.onCompleteParams; v6.onOverwriteParams = v5.onOverwriteParams; v6.onStartScope = v5.onStartScope; v6.onUpdateScope = v5.onUpdateScope; v6.onCompleteScope = v5.onCompleteScope; v6.onOverwriteScope = v5.onOverwriteScope; v6.onErrorScope = v5.onErrorScope; v6.rounded = v5.rounded; v6.skipUpdates = v5.skipUpdates; if (!v5.quickAdd) { caurina.transitions.Tweener.removeTweensByTime(v6.scope, v6.properties, v6.timeStart, v6.timeComplete); } caurina.transitions.Tweener._tweenList.push(v6); if (v19 == 0 && v12 == 0) { v20 = caurina.transitions.Tweener._tweenList.length - 1; caurina.transitions.Tweener.updateTweenByIndex(v20); caurina.transitions.Tweener.removeTweenByIndex(v20); } ++v3; } return true; }; v1.addCaller = function (p_scopes, p_parameters) { if (p_scopes == undefined) { return false; } var v5; var v6; if (p_scopes instanceof Array) { v6 = p_scopes.concat(); } else { v6 = [p_scopes]; } var v3 = p_parameters; if (!caurina.transitions.Tweener._inited) { caurina.transitions.Tweener.init(); } if (!caurina.transitions.Tweener._engineExists || _root[caurina.transitions.Tweener.getControllerName()] == undefined) { caurina.transitions.Tweener.startEngine(); } var v7 = isNaN(v3.time) ? 0 : v3.time; var v4 = isNaN(v3.delay) ? 0 : v3.delay; var v9; if (typeof v3.transition == 'string') { var v11 = v3.transition.toLowerCase(); v9 = caurina.transitions.Tweener._transitionList[v11]; } else { v9 = v3.transition; } if (v9 == undefined) { v9 = caurina.transitions.Tweener._transitionList.easeoutexpo; } var v2; var v8; v5 = 0; while (v5 < v6.length) { if (v3.useFrames == true) { v2 = new caurina.transitions.TweenListObj(v6[v5], caurina.transitions.Tweener._currentTimeFrame + v4 / caurina.transitions.Tweener._timeScale, caurina.transitions.Tweener._currentTimeFrame + (v4 + v7) / caurina.transitions.Tweener._timeScale, true, v9, v3.transitionParams); } else { v2 = new caurina.transitions.TweenListObj(v6[v5], caurina.transitions.Tweener._currentTime + v4 * 1000 / caurina.transitions.Tweener._timeScale, caurina.transitions.Tweener._currentTime + (v4 * 1000 + v7 * 1000) / caurina.transitions.Tweener._timeScale, false, v9, v3.transitionParams); } v2.properties = undefined; v2.onStart = v3.onStart; v2.onUpdate = v3.onUpdate; v2.onComplete = v3.onComplete; v2.onOverwrite = v3.onOverwrite; v2.onStartParams = v3.onStartParams; v2.onUpdateParams = v3.onUpdateParams; v2.onCompleteParams = v3.onCompleteParams; v2.onOverwriteParams = v3.onOverwriteParams; v2.onStartScope = v3.onStartScope; v2.onUpdateScope = v3.onUpdateScope; v2.onCompleteScope = v3.onCompleteScope; v2.onOverwriteScope = v3.onOverwriteScope; v2.onErrorScope = v3.onErrorScope; v2.isCaller = true; v2.count = v3.count; v2.waitFrames = v3.waitFrames; caurina.transitions.Tweener._tweenList.push(v2); if (v7 == 0 && v4 == 0) { v8 = caurina.transitions.Tweener._tweenList.length - 1; caurina.transitions.Tweener.updateTweenByIndex(v8); caurina.transitions.Tweener.removeTweenByIndex(v8); } ++v5; } return true; }; v1.removeTweensByTime = function (p_scope, p_properties, p_timeStart, p_timeComplete) { var v5 = false; var v4; var v1; var v7 = caurina.transitions.Tweener._tweenList.length; var v2; v1 = 0; while (v1 < v7) { if (p_scope == caurina.transitions.Tweener._tweenList[v1].scope) { if (p_timeComplete > caurina.transitions.Tweener._tweenList[v1].timeStart && p_timeStart < caurina.transitions.Tweener._tweenList[v1].timeComplete) { v4 = false; for (v2 in caurina.transitions.Tweener._tweenList[v1].properties) { if (p_properties[v2] != undefined) { if (caurina.transitions.Tweener._tweenList[v1].onOverwrite != undefined) { var v3 = (caurina.transitions.Tweener._tweenList[v1].onOverwriteScope != undefined) ? caurina.transitions.Tweener._tweenList[v1].onOverwriteScope : caurina.transitions.Tweener._tweenList[v1].scope; try { caurina.transitions.Tweener._tweenList[v1].onOverwrite.apply(v3, caurina.transitions.Tweener._tweenList[v1].onOverwriteParams); } catch (enumerate caurina.transitions.Tweener._tweenList[v1].properties) { if (Error(enumerate caurina.transitions.Tweener._tweenList[v1].properties) != null) { var e = Error(enumerate caurina.transitions.Tweener._tweenList[v1].properties); caurina.transitions.Tweener.handleError(caurina.transitions.Tweener._tweenList[v1], e, 'onOverwrite'); } else { throw enumerate caurina.transitions.Tweener._tweenList[v1].properties; } } } caurina.transitions.Tweener._tweenList[v1].properties[v2] = undefined; delete caurina.transitions.Tweener._tweenList[v1].properties[v2]; v4 = true; v5 = true; } } if (v4) { if (caurina.transitions.AuxFunctions.getObjectLength(caurina.transitions.Tweener._tweenList[v1].properties) == 0) { caurina.transitions.Tweener.removeTweenByIndex(v1); } } } } ++v1; } return v5; }; v1.removeTweens = function (p_scope) { var v5 = new Array(); var v3; v3 = 1; while (v3 < arguments.length) { if (typeof arguments[v3] == 'string' && !caurina.transitions.AuxFunctions.isInArray(arguments[v3], v5)) { if (caurina.transitions.Tweener._specialPropertySplitterList[arguments[v3]]) { var v6 = caurina.transitions.Tweener._specialPropertySplitterList[arguments[v3]]; var v4 = v6.splitValues(p_scope, null); var v2 = 0; while (v2 < v4.length) { v5.push(v4[v2].name); ++v2; } } else { v5.push(arguments[v3]); } } ++v3; } return caurina.transitions.Tweener.affectTweens(caurina.transitions.Tweener.removeTweenByIndex, p_scope, v5); }; v1.removeAllTweens = function () { var v2 = false; var v1; v1 = 0; while (v1 < caurina.transitions.Tweener._tweenList.length) { caurina.transitions.Tweener.removeTweenByIndex(v1); v2 = true; ++v1; } return v2; }; v1.pauseTweens = function (p_scope) { var v3 = new Array(); var v2; v2 = 1; while (v2 < arguments.length) { if (typeof arguments[v2] == 'string' && !caurina.transitions.AuxFunctions.isInArray(arguments[v2], v3)) { v3.push(arguments[v2]); } ++v2; } return caurina.transitions.Tweener.affectTweens(caurina.transitions.Tweener.pauseTweenByIndex, p_scope, v3); }; v1.pauseAllTweens = function () { var v2 = false; var v1; v1 = 0; while (v1 < caurina.transitions.Tweener._tweenList.length) { caurina.transitions.Tweener.pauseTweenByIndex(v1); v2 = true; ++v1; } return v2; }; v1.resumeTweens = function (p_scope) { var v3 = new Array(); var v2; v2 = 1; while (v2 < arguments.length) { if (typeof arguments[v2] == 'string' && !caurina.transitions.AuxFunctions.isInArray(arguments[v2], v3)) { v3.push(arguments[v2]); } ++v2; } return caurina.transitions.Tweener.affectTweens(caurina.transitions.Tweener.resumeTweenByIndex, p_scope, v3); }; v1.resumeAllTweens = function () { var v2 = false; var v1; v1 = 0; while (v1 < caurina.transitions.Tweener._tweenList.length) { caurina.transitions.Tweener.resumeTweenByIndex(v1); v2 = true; ++v1; } return v2; }; v1.affectTweens = function (p_affectFunction, p_scope, p_properties) { var v5 = false; var v2; if (!caurina.transitions.Tweener._tweenList) { return false; } v2 = 0; while (v2 < caurina.transitions.Tweener._tweenList.length) { if (caurina.transitions.Tweener._tweenList[v2].scope == p_scope) { if (p_properties.length == 0) { p_affectFunction(v2); v5 = true; } else { var v4 = new Array(); var v1; v1 = 0; while (v1 < p_properties.length) { if (caurina.transitions.Tweener._tweenList[v2].properties[p_properties[v1]] != undefined) { v4.push(p_properties[v1]); } ++v1; } if (v4.length > 0) { var v7 = caurina.transitions.AuxFunctions.getObjectLength(caurina.transitions.Tweener._tweenList[v2].properties); if (v7 == v4.length) { p_affectFunction(v2); v5 = true; } else { var v8 = caurina.transitions.Tweener.splitTweens(v2, v4); p_affectFunction(v8); v5 = true; } } } } ++v2; } return v5; }; v1.splitTweens = function (p_tween, p_properties) { var v6 = caurina.transitions.Tweener._tweenList[p_tween]; var v5 = v6.clone(false); var v1; var v2; v1 = 0; while (v1 < p_properties.length) { v2 = p_properties[v1]; if (v6.properties[v2] != undefined) { v6.properties[v2] = undefined; delete v6.properties[v2]; } ++v1; } var v4; for (v2 in v5.properties) { v4 = false; v1 = 0; while (v1 < p_properties.length) { if (p_properties[v1] == v2) { v4 = true; break; } ++v1; } if (!v4) { v5.properties[v2] = undefined; delete v5.properties[v2]; } } caurina.transitions.Tweener._tweenList.push(v5); return caurina.transitions.Tweener._tweenList.length - 1; }; v1.updateTweens = function () { if (caurina.transitions.Tweener._tweenList.length == 0) { return false; } var v1; v1 = 0; while (v1 < caurina.transitions.Tweener._tweenList.length) { if (!caurina.transitions.Tweener._tweenList[v1].isPaused) { if (!caurina.transitions.Tweener.updateTweenByIndex(v1)) { caurina.transitions.Tweener.removeTweenByIndex(v1); } if (caurina.transitions.Tweener._tweenList[v1] == null) { caurina.transitions.Tweener.removeTweenByIndex(v1, true); --v1; } } ++v1; } return true; }; v1.removeTweenByIndex = function (p_tween, p_finalRemoval) { caurina.transitions.Tweener._tweenList[p_tween] = null; if (p_finalRemoval) { caurina.transitions.Tweener._tweenList.splice(p_tween, 1); } return true; }; v1.pauseTweenByIndex = function (p_tween) { var v1 = caurina.transitions.Tweener._tweenList[p_tween]; if (v1 == null || v1.isPaused) { return false; } v1.timePaused = caurina.transitions.Tweener.getCurrentTweeningTime(v1); v1.isPaused = true; return true; }; v1.resumeTweenByIndex = function (p_tween) { var v1 = caurina.transitions.Tweener._tweenList[p_tween]; if (v1 == null || !v1.isPaused) { return false; } var v2 = caurina.transitions.Tweener.getCurrentTweeningTime(v1); v1.timeStart += v2 - v1.timePaused; v1.timeComplete += v2 - v1.timePaused; v1.timePaused = undefined; v1.isPaused = false; return true; }; v1.updateTweenByIndex = function (i) { var v1 = caurina.transitions.Tweener._tweenList[i]; if (v1 == null || !v1.scope) { return false; } var v13 = false; var v14; var v3; var v7; var v10; var v9; var v6; var v2; var v12; var v5; var v8 = caurina.transitions.Tweener.getCurrentTweeningTime(v1); var v4; if (v8 >= v1.timeStart) { v5 = v1.scope; if (v1.isCaller) { do { v7 = ((v1.timeComplete - v1.timeStart) / v1.count) * (v1.timesCalled + 1); v10 = v1.timeStart; v9 = v1.timeComplete - v1.timeStart; v6 = v1.timeComplete - v1.timeStart; v3 = v1.transition(v7, v10, v9, v6, v1.transitionParams); if (v8 >= v3) { if (v1.onUpdate != undefined) { v12 = (v1.onUpdateScope != undefined) ? v1.onUpdateScope : v5; try { v1.onUpdate.apply(v12, v1.onUpdateParams); } catch (v0) { if (Error(v0) != null) { var e = Error(v0); caurina.transitions.Tweener.handleError(v1, e, 'onUpdate'); } else { throw v0; } } } ++v1.timesCalled; if (v1.timesCalled >= v1.count) { v13 = true; break; } if (v1.waitFrames) { break; } } } while (v8 >= v3); } else { v14 = v1.skipUpdates < 1 || v1.skipUpdates == undefined || v1.updatesSkipped >= v1.skipUpdates; if (v8 >= v1.timeComplete) { v13 = true; v14 = true; } if (!v1.hasStarted) { if (v1.onStart != undefined) { v12 = (v1.onStartScope != undefined) ? v1.onStartScope : v5; try { v1.onStart.apply(v12, v1.onStartParams); } catch (v0) { if (Error(v0) != null) { var e = Error(v0); caurina.transitions.Tweener.handleError(v1, e, 'onStart'); } else { throw v0; } } } var v11; for (v2 in v1.properties) { if (v1.properties[v2].isSpecialProperty) { if (caurina.transitions.Tweener._specialPropertyList[v2].preProcess != undefined) { v1.properties[v2].valueComplete = caurina.transitions.Tweener._specialPropertyList[v2].preProcess(v5, caurina.transitions.Tweener._specialPropertyList[v2].parameters, v1.properties[v2].originalValueComplete, v1.properties[v2].extra); } v11 = caurina.transitions.Tweener._specialPropertyList[v2].getValue(v5, caurina.transitions.Tweener._specialPropertyList[v2].parameters, v1.properties[v2].extra); } else { v11 = v5[v2]; } v1.properties[v2].valueStart = isNaN(v11) ? v1.properties[v2].valueComplete : v11; } v14 = true; v1.hasStarted = true; } if (v14) { for (v2 in v1.properties) { v4 = v1.properties[v2]; if (v13) { v3 = v4.valueComplete; } else { if (v4.hasModifier) { v7 = v8 - v1.timeStart; v6 = v1.timeComplete - v1.timeStart; v3 = v1.transition(v7, 0, 1, v6, v1.transitionParams); v3 = v4.modifierFunction(v4.valueStart, v4.valueComplete, v3, v4.modifierParameters); } else { v7 = v8 - v1.timeStart; v10 = v4.valueStart; v9 = v4.valueComplete - v4.valueStart; v6 = v1.timeComplete - v1.timeStart; v3 = v1.transition(v7, v10, v9, v6, v1.transitionParams); } } if (v1.rounded) { v3 = Math.round(v3); } if (v4.isSpecialProperty) { caurina.transitions.Tweener._specialPropertyList[v2].setValue(v5, v3, caurina.transitions.Tweener._specialPropertyList[v2].parameters, v1.properties[v2].extra); } else { v5[v2] = v3; } } v1.updatesSkipped = 0; if (v1.onUpdate != undefined) { v12 = (v1.onUpdateScope != undefined) ? v1.onUpdateScope : v5; try { v1.onUpdate.apply(v12, v1.onUpdateParams); } catch (enumerate v1.properties) { if (Error(enumerate v1.properties) != null) { var e = Error(enumerate v1.properties); caurina.transitions.Tweener.handleError(v1, e, 'onUpdate'); } else { throw enumerate v1.properties; } } } } else { ++v1.updatesSkipped; } } if (v13 && v1.onComplete != undefined) { v12 = (v1.onCompleteScope != undefined) ? v1.onCompleteScope : v5; try { v1.onComplete.apply(v12, v1.onCompleteParams); } catch (enumerate v1.properties) { if (Error(enumerate v1.properties) != null) { var e = Error(enumerate v1.properties); caurina.transitions.Tweener.handleError(v1, e, 'onComplete'); } else { throw enumerate v1.properties; } } } return !v13; } return true; }; v1.init = function () { caurina.transitions.Tweener._inited = true; caurina.transitions.Tweener._transitionList = new Object(); caurina.transitions.Equations.init(); caurina.transitions.Tweener._specialPropertyList = new Object(); caurina.transitions.Tweener._specialPropertyModifierList = new Object(); caurina.transitions.Tweener._specialPropertySplitterList = new Object(); }; v1.registerTransition = function (p_name, p_function) { if (!caurina.transitions.Tweener._inited) { caurina.transitions.Tweener.init(); } caurina.transitions.Tweener._transitionList[p_name] = p_function; }; v1.registerSpecialProperty = function (p_name, p_getFunction, p_setFunction, p_parameters, p_preProcessFunction) { if (!caurina.transitions.Tweener._inited) { caurina.transitions.Tweener.init(); } var v1 = new caurina.transitions.SpecialProperty(p_getFunction, p_setFunction, p_parameters, p_preProcessFunction); caurina.transitions.Tweener._specialPropertyList[p_name] = v1; }; v1.registerSpecialPropertyModifier = function (p_name, p_modifyFunction, p_getFunction) { if (!caurina.transitions.Tweener._inited) { caurina.transitions.Tweener.init(); } var v1 = new caurina.transitions.SpecialPropertyModifier(p_modifyFunction, p_getFunction); caurina.transitions.Tweener._specialPropertyModifierList[p_name] = v1; }; v1.registerSpecialPropertySplitter = function (p_name, p_splitFunction, p_parameters) { if (!caurina.transitions.Tweener._inited) { caurina.transitions.Tweener.init(); } var v1 = new caurina.transitions.SpecialPropertySplitter(p_splitFunction, p_parameters); caurina.transitions.Tweener._specialPropertySplitterList[p_name] = v1; }; v1.startEngine = function () { caurina.transitions.Tweener._engineExists = true; caurina.transitions.Tweener._tweenList = new Array(); var v2 = Math.floor(Math.random() * 999999); var v3 = _root.createEmptyMovieClip(caurina.transitions.Tweener.getControllerName(), 31338 + v2); v3.onEnterFrame = function () { caurina.transitions.Tweener.onEnterFrame(); }; caurina.transitions.Tweener._currentTimeFrame = 0; caurina.transitions.Tweener.updateTime(); }; v1.stopEngine = function () { caurina.transitions.Tweener._engineExists = false; caurina.transitions.Tweener._tweenList = null; caurina.transitions.Tweener._currentTime = 0; caurina.transitions.Tweener._currentTimeFrame = 0; delete _root[caurina.transitions.Tweener.getControllerName()].onEnterFrame; _root[caurina.transitions.Tweener.getControllerName()].removeMovieClip(); }; v1.updateTime = function () { caurina.transitions.Tweener._currentTime = getTimer(); }; v1.updateFrame = function () { ++caurina.transitions.Tweener._currentTimeFrame; }; v1.onEnterFrame = function () { caurina.transitions.Tweener.updateTime(); caurina.transitions.Tweener.updateFrame(); var v1 = false; v1 = caurina.transitions.Tweener.updateTweens(); if (!v1) { caurina.transitions.Tweener.stopEngine(); } }; v1.setTimeScale = function (p_time) { var v1; var v2; if (isNaN(p_time)) { p_time = 1; } if (p_time < 1.0e-005) { p_time = 1.0e-005; } if (p_time != caurina.transitions.Tweener._timeScale) { v1 = 0; while (v1 < caurina.transitions.Tweener._tweenList.length) { v2 = caurina.transitions.Tweener.getCurrentTweeningTime(caurina.transitions.Tweener._tweenList[v1]); caurina.transitions.Tweener._tweenList[v1].timeStart = v2 - (v2 - caurina.transitions.Tweener._tweenList[v1].timeStart) * caurina.transitions.Tweener._timeScale / p_time; caurina.transitions.Tweener._tweenList[v1].timeComplete = v2 - (v2 - caurina.transitions.Tweener._tweenList[v1].timeComplete) * caurina.transitions.Tweener._timeScale / p_time; if (caurina.transitions.Tweener._tweenList[v1].timePaused != undefined) { caurina.transitions.Tweener._tweenList[v1].timePaused = v2 - (v2 - caurina.transitions.Tweener._tweenList[v1].timePaused) * caurina.transitions.Tweener._timeScale / p_time; } ++v1; } caurina.transitions.Tweener._timeScale = p_time; } }; v1.isTweening = function (p_scope) { var v1; v1 = 0; while (v1 < caurina.transitions.Tweener._tweenList.length) { if (caurina.transitions.Tweener._tweenList[v1].scope == p_scope) { return true; } ++v1; } return false; }; v1.getTweens = function (p_scope) { var v1; var v2; var v3 = new Array(); v1 = 0; while (v1 < caurina.transitions.Tweener._tweenList.length) { if (caurina.transitions.Tweener._tweenList[v1].scope == p_scope) { for (v2 in caurina.transitions.Tweener._tweenList[v1].properties) { v3.push(v2); } } ++v1; } return v3; }; v1.getTweenCount = function (p_scope) { var v1; var v2 = 0; v1 = 0; while (v1 < caurina.transitions.Tweener._tweenList.length) { if (caurina.transitions.Tweener._tweenList[v1].scope == p_scope) { v2 += caurina.transitions.AuxFunctions.getObjectLength(caurina.transitions.Tweener._tweenList[v1].properties); } ++v1; } return v2; }; v1.handleError = function (pTweening, pError, pCallBackName) { if (pTweening.onError != undefined && typeof (pTweening.onError == 'function')) { var v3 = (pTweening.onErrorScope != undefined) ? pTweening.onErrorScope : pTweening.scope; try { pTweening.onError.apply(v3, [pTweening.scope, pError]); } catch (v0) { if (Error(v0) != null) { var metaError = Error(v0); caurina.transitions.Tweener.printError(pTweening.scope.toString() + ' raised an error while executing the \'onError\' handler. Original error:\n ' + pError + '\nonError error: ' + metaError); } else { throw v0; } } } else { if (pTweening.onError == undefined) { caurina.transitions.Tweener.printError(pTweening.scope.toString() + ' raised an error while executing the \'' + pCallBackName.toString() + '\'handler. \n' + pError); } } }; v1.getCurrentTweeningTime = function (p_tweening) { return p_tweening.useFrames ? caurina.transitions.Tweener._currentTimeFrame : caurina.transitions.Tweener._currentTime; }; v1.getVersion = function () { return 'AS2 1.31.74'; }; v1.getControllerName = function () { return '__tweener_controller__' + caurina.transitions.Tweener.getVersion(); }; v1.printError = function (p_message) { trace('## [Tweener] Error: ' + p_message); }; v1._engineExists = false; v1._inited = false; v1._timeScale = 1; ASSetPropFlags(caurina.transitions.Tweener.prototype, null, 1); } #endinitclip } movieClip 231 __Packages.caurina.transitions.TweenListObj { #initclip if (!_global.caurina) { _global.caurina = new Object(); } if (!_global.caurina.transitions) { _global.caurina.transitions = new Object(); } if (!_global.caurina.transitions.TweenListObj) { var v1 = function (p_scope, p_timeStart, p_timeComplete, p_useFrames, p_transition, p_transitionParams) { this.scope = p_scope; this.timeStart = p_timeStart; this.timeComplete = p_timeComplete; this.useFrames = p_useFrames; this.transition = p_transition; this.transitionParams = p_transitionParams; this.properties = new Object(); this.isPaused = false; this.timePaused = undefined; this.isCaller = false; this.updatesSkipped = 0; this.timesCalled = 0; this.skipUpdates = 0; this.hasStarted = false; }; caurina.transitions.TweenListObj = v1; var v2 = v1.prototype; v2.clone = function (omitEvents) { var v2 = new caurina.transitions.TweenListObj(this.scope, this.timeStart, this.timeComplete, this.useFrames, this.transition, this.transitionParams); v2.properties = new Object(); for (var v3 in this.properties) { v2.properties[v3] = this.properties[v3].clone(); } v2.skipUpdates = this.skipUpdates; v2.updatesSkipped = this.updatesSkipped; if (!omitEvents) { v2.onStart = this.onStart; v2.onUpdate = this.onUpdate; v2.onComplete = this.onComplete; v2.onOverwrite = this.onOverwrite; v2.onError = this.onError; v2.onStartParams = this.onStartParams; v2.onUpdateParams = this.onUpdateParams; v2.onCompleteParams = this.onCompleteParams; v2.onOverwriteParams = this.onOverwriteParams; v2.onStartScope = this.onStartScope; v2.onUpdateScope = this.onUpdateScope; v2.onCompleteScope = this.onCompleteScope; v2.onOverwriteScope = this.onOverwriteScope; v2.onErrorScope = this.onErrorScope; } v2.rounded = this.rounded; v2.isPaused = this.isPaused; v2.timePaused = this.timePaused; v2.isCaller = this.isCaller; v2.count = this.count; v2.timesCalled = this.timesCalled; v2.waitFrames = this.waitFrames; v2.hasStarted = this.hasStarted; return v2; }; v2.toString = function () { var v2 = '\n[TweenListObj '; v2 += 'scope:' + String(this.scope); v2 += ', properties:'; var v3 = true; for (var v4 in this.properties) { if (!v3) { v2 += ','; } v2 += '[name:' + this.properties[v4].name; v2 += ',valueStart:' + this.properties[v4].valueStart; v2 += ',valueComplete:' + this.properties[v4].valueComplete; v2 += ']'; v3 = false; } v2 += ', timeStart:' + String(this.timeStart); v2 += ', timeComplete:' + String(this.timeComplete); v2 += ', useFrames:' + String(this.useFrames); v2 += ', transition:' + String(this.transition); v2 += ', transitionParams:' + String(this.transitionParams); if (this.skipUpdates) { v2 += ', skipUpdates:' + String(this.skipUpdates); } if (this.updatesSkipped) { v2 += ', updatesSkipped:' + String(this.updatesSkipped); } if (this.onStart) { v2 += ', onStart:' + String(this.onStart); } if (this.onUpdate) { v2 += ', onUpdate:' + String(this.onUpdate); } if (this.onComplete) { v2 += ', onComplete:' + String(this.onComplete); } if (this.onOverwrite) { v2 += ', onOverwrite:' + String(this.onOverwrite); } if (this.onError) { v2 += ', onError:' + String(this.onError); } if (this.onStartParams) { v2 += ', onStartParams:' + String(this.onStartParams); } if (this.onUpdateParams) { v2 += ', onUpdateParams:' + String(this.onUpdateParams); } if (this.onCompleteParams) { v2 += ', onCompleteParams:' + String(this.onCompleteParams); } if (this.onOverwriteParams) { v2 += ', onOverwriteParams:' + String(this.onOverwriteParams); } if (this.onStartScope) { v2 += ', onStartScope:' + String(this.onStartScope); } if (this.onUpdateScope) { v2 += ', onUpdateScope:' + String(this.onUpdateScope); } if (this.onCompleteScope) { v2 += ', onCompleteScope:' + String(this.onCompleteScope); } if (this.onOverwriteScope) { v2 += ', onOverwriteScope:' + String(this.onOverwriteScope); } if (this.onErrorScope) { v2 += ', onErrorScope:' + String(this.onErrorScope); } if (this.rounded) { v2 += ', rounded:' + String(this.rounded); } if (this.isPaused) { v2 += ', isPaused:' + String(this.isPaused); } if (this.timePaused) { v2 += ', timePaused:' + String(this.timePaused); } if (this.isCaller) { v2 += ', isCaller:' + String(this.isCaller); } if (this.count) { v2 += ', count:' + String(this.count); } if (this.timesCalled) { v2 += ', timesCalled:' + String(this.timesCalled); } if (this.waitFrames) { v2 += ', waitFrames:' + String(this.waitFrames); } if (this.hasStarted) { v2 += ', hasStarted:' + String(this.hasStarted); } v2 += ']\n'; return v2; }; v1.makePropertiesChain = function (p_obj) { var v6 = p_obj.base; if (v6) { var v5 = {}; var v2; if (v6 instanceof Array) { v2 = []; var v3 = 0; while (v3 < v6.length) { v2.push(v6[v3]); ++v3; } } else { v2 = [v6]; } v2.push(p_obj); var v4; var v7 = v2.length; var v1 = 0; while (v1 < v7) { if (v2[v1].base) { v4 = caurina.transitions.AuxFunctions.concatObjects(caurina.transitions.TweenListObj.makePropertiesChain(v2[v1].base), v2[v1]); } else { v4 = v2[v1]; } v5 = caurina.transitions.AuxFunctions.concatObjects(v5, v4); ++v1; } if (v5.base) { delete v5.base; } return v5; } else { return p_obj; } }; ASSetPropFlags(caurina.transitions.TweenListObj.prototype, null, 1); } #endinitclip } movieClip 232 __Packages.caurina.transitions.AuxFunctions { #initclip if (!_global.caurina) { _global.caurina = new Object(); } if (!_global.caurina.transitions) { _global.caurina.transitions = new Object(); } if (!_global.caurina.transitions.AuxFunctions) { var v1 = function () {}; caurina.transitions.AuxFunctions = v1; var v2 = v1.prototype; v1.numberToR = function (p_num) { return (p_num & 16711680) >> 16; }; v1.numberToG = function (p_num) { return (p_num & 65280) >> 8; }; v1.numberToB = function (p_num) { return p_num & 255; }; v1.isInArray = function (p_string, p_array) { var v2 = p_array.length; var v1 = 0; while (v1 < v2) { if (p_array[v1] == p_string) { return true; } ++v1; } return false; }; v1.getObjectLength = function (p_object) { var v1 = 0; for (var v2 in p_object) { ++v1; } return v1; }; v1.concatObjects = function () { var v4 = {}; var v2; var v3 = 0; while (v3 < arguments.length) { v2 = arguments[v3]; for (var v5 in v2) { if (v2[v5] == null) { delete v4[v5]; } else { v4[v5] = v2[v5]; } } ++v3; } return v4; }; ASSetPropFlags(caurina.transitions.AuxFunctions.prototype, null, 1); } #endinitclip } movieClip 233 __Packages.caurina.transitions.PropertyInfoObj { #initclip if (!_global.caurina) { _global.caurina = new Object(); } if (!_global.caurina.transitions) { _global.caurina.transitions = new Object(); } if (!_global.caurina.transitions.PropertyInfoObj) { var v1 = function (p_valueStart, p_valueComplete, p_originalValueComplete, p_arrayIndex, p_extra, p_isSpecialProperty, p_modifierFunction, p_modifierParameters) { this.valueStart = p_valueStart; this.valueComplete = p_valueComplete; this.originalValueComplete = p_originalValueComplete; this.arrayIndex = p_arrayIndex; this.extra = p_extra; this.isSpecialProperty = p_isSpecialProperty; this.hasModifier = p_modifierFunction != undefined; this.modifierFunction = p_modifierFunction; this.modifierParameters = p_modifierParameters; }; caurina.transitions.PropertyInfoObj = v1; var v2 = v1.prototype; v2.clone = function () { var v2 = new caurina.transitions.PropertyInfoObj(this.valueStart, this.valueComplete, this.originalValueComplete, this.arrayIndex, this.extra, this.isSpecialProperty, this.modifierFunction, this.modifierParameters); return v2; }; v2.toString = function () { var v2 = '\n[PropertyInfoObj '; v2 += 'valueStart:' + String(this.valueStart); v2 += ', '; v2 += 'valueComplete:' + String(this.valueComplete); v2 += ', '; v2 += 'originalValueComplete:' + String(this.originalValueComplete); v2 += ', '; v2 += 'arrayIndex:' + String(this.arrayIndex); v2 += ', '; v2 += 'extra:' + String(this.extra); v2 += ', '; v2 += 'isSpecialProperty:' + String(this.isSpecialProperty); v2 += ', '; v2 += 'hasModifier:' + String(this.hasModifier); v2 += ', '; v2 += 'modifierFunction:' + String(this.modifierFunction); v2 += ', '; v2 += 'modifierParameters:' + String(this.modifierParameters); v2 += ']\n'; return v2; }; ASSetPropFlags(caurina.transitions.PropertyInfoObj.prototype, null, 1); } #endinitclip } movieClip 234 __Packages.caurina.transitions.SpecialPropertySplitter { #initclip if (!_global.caurina) { _global.caurina = new Object(); } if (!_global.caurina.transitions) { _global.caurina.transitions = new Object(); } if (!_global.caurina.transitions.SpecialPropertySplitter) { var v1 = function (p_splitFunction, p_parameters) { this.splitValues = p_splitFunction; this.parameters = p_parameters; }; caurina.transitions.SpecialPropertySplitter = v1; var v2 = v1.prototype; v2.splitValues = function (p_value, p_parameters) { return []; }; v2.toString = function () { var v2 = ''; v2 += '[SpecialPropertySplitter '; v2 += 'splitValues:' + this.splitValues.toString(); v2 += ', '; v2 += 'parameters:' + this.parameters.toString(); v2 += ']'; return v2; }; ASSetPropFlags(caurina.transitions.SpecialPropertySplitter.prototype, null, 1); } #endinitclip } movieClip 235 __Packages.caurina.transitions.Equations { #initclip if (!_global.caurina) { _global.caurina = new Object(); } if (!_global.caurina.transitions) { _global.caurina.transitions = new Object(); } if (!_global.caurina.transitions.Equations) { var v1 = function () { trace('Equations is a static class and should not be instantiated.'); }; caurina.transitions.Equations = v1; var v2 = v1.prototype; v1.init = function () { caurina.transitions.Tweener.registerTransition('easenone', caurina.transitions.Equations.easeNone); caurina.transitions.Tweener.registerTransition('linear', caurina.transitions.Equations.easeNone); caurina.transitions.Tweener.registerTransition('easeinquad', caurina.transitions.Equations.easeInQuad); caurina.transitions.Tweener.registerTransition('easeoutquad', caurina.transitions.Equations.easeOutQuad); caurina.transitions.Tweener.registerTransition('easeinoutquad', caurina.transitions.Equations.easeInOutQuad); caurina.transitions.Tweener.registerTransition('easeoutinquad', caurina.transitions.Equations.easeOutInQuad); caurina.transitions.Tweener.registerTransition('easeincubic', caurina.transitions.Equations.easeInCubic); caurina.transitions.Tweener.registerTransition('easeoutcubic', caurina.transitions.Equations.easeOutCubic); caurina.transitions.Tweener.registerTransition('easeinoutcubic', caurina.transitions.Equations.easeInOutCubic); caurina.transitions.Tweener.registerTransition('easeoutincubic', caurina.transitions.Equations.easeOutInCubic); caurina.transitions.Tweener.registerTransition('easeinquart', caurina.transitions.Equations.easeInQuart); caurina.transitions.Tweener.registerTransition('easeoutquart', caurina.transitions.Equations.easeOutQuart); caurina.transitions.Tweener.registerTransition('easeinoutquart', caurina.transitions.Equations.easeInOutQuart); caurina.transitions.Tweener.registerTransition('easeoutinquart', caurina.transitions.Equations.easeOutInQuart); caurina.transitions.Tweener.registerTransition('easeinquint', caurina.transitions.Equations.easeInQuint); caurina.transitions.Tweener.registerTransition('easeoutquint', caurina.transitions.Equations.easeOutQuint); caurina.transitions.Tweener.registerTransition('easeinoutquint', caurina.transitions.Equations.easeInOutQuint); caurina.transitions.Tweener.registerTransition('easeoutinquint', caurina.transitions.Equations.easeOutInQuint); caurina.transitions.Tweener.registerTransition('easeinsine', caurina.transitions.Equations.easeInSine); caurina.transitions.Tweener.registerTransition('easeoutsine', caurina.transitions.Equations.easeOutSine); caurina.transitions.Tweener.registerTransition('easeinoutsine', caurina.transitions.Equations.easeInOutSine); caurina.transitions.Tweener.registerTransition('easeoutinsine', caurina.transitions.Equations.easeOutInSine); caurina.transitions.Tweener.registerTransition('easeincirc', caurina.transitions.Equations.easeInCirc); caurina.transitions.Tweener.registerTransition('easeoutcirc', caurina.transitions.Equations.easeOutCirc); caurina.transitions.Tweener.registerTransition('easeinoutcirc', caurina.transitions.Equations.easeInOutCirc); caurina.transitions.Tweener.registerTransition('easeoutincirc', caurina.transitions.Equations.easeOutInCirc); caurina.transitions.Tweener.registerTransition('easeinexpo', caurina.transitions.Equations.easeInExpo); caurina.transitions.Tweener.registerTransition('easeoutexpo', caurina.transitions.Equations.easeOutExpo); caurina.transitions.Tweener.registerTransition('easeinoutexpo', caurina.transitions.Equations.easeInOutExpo); caurina.transitions.Tweener.registerTransition('easeoutinexpo', caurina.transitions.Equations.easeOutInExpo); caurina.transitions.Tweener.registerTransition('easeinelastic', caurina.transitions.Equations.easeInElastic); caurina.transitions.Tweener.registerTransition('easeoutelastic', caurina.transitions.Equations.easeOutElastic); caurina.transitions.Tweener.registerTransition('easeinoutelastic', caurina.transitions.Equations.easeInOutElastic); caurina.transitions.Tweener.registerTransition('easeoutinelastic', caurina.transitions.Equations.easeOutInElastic); caurina.transitions.Tweener.registerTransition('easeinback', caurina.transitions.Equations.easeInBack); caurina.transitions.Tweener.registerTransition('easeoutback', caurina.transitions.Equations.easeOutBack); caurina.transitions.Tweener.registerTransition('easeinoutback', caurina.transitions.Equations.easeInOutBack); caurina.transitions.Tweener.registerTransition('easeoutinback', caurina.transitions.Equations.easeOutInBack); caurina.transitions.Tweener.registerTransition('easeinbounce', caurina.transitions.Equations.easeInBounce); caurina.transitions.Tweener.registerTransition('easeoutbounce', caurina.transitions.Equations.easeOutBounce); caurina.transitions.Tweener.registerTransition('easeinoutbounce', caurina.transitions.Equations.easeInOutBounce); caurina.transitions.Tweener.registerTransition('easeoutinbounce', caurina.transitions.Equations.easeOutInBounce); }; v1.easeNone = function (t, b, c, d, p_params) { return c * t / d + b; }; v1.easeInQuad = function (t, b, c, d, p_params) { t /= d; return c * t * t + b; }; v1.easeOutQuad = function (t, b, c, d, p_params) { t /= d; return -c * t * (t - 2) + b; }; v1.easeInOutQuad = function (t, b, c, d, p_params) { t /= d / 2; if (t < 1) { return (c / 2) * t * t + b; } return (-c / 2) * (--t * (t - 2) - 1) + b; }; v1.easeOutInQuad = function (t, b, c, d, p_params) { if (t < d / 2) { return caurina.transitions.Equations.easeOutQuad(t * 2, b, c / 2, d, p_params); } return caurina.transitions.Equations.easeInQuad(t * 2 - d, b + c / 2, c / 2, d, p_params); }; v1.easeInCubic = function (t, b, c, d, p_params) { t /= d; return c * t * t * t + b; }; v1.easeOutCubic = function (t, b, c, d, p_params) { t = t / d - 1; return c * (t * t * t + 1) + b; }; v1.easeInOutCubic = function (t, b, c, d, p_params) { t /= d / 2; if (t < 1) { return (c / 2) * t * t * t + b; } t -= 2; return (c / 2) * (t * t * t + 2) + b; }; v1.easeOutInCubic = function (t, b, c, d, p_params) { if (t < d / 2) { return caurina.transitions.Equations.easeOutCubic(t * 2, b, c / 2, d, p_params); } return caurina.transitions.Equations.easeInCubic(t * 2 - d, b + c / 2, c / 2, d, p_params); }; v1.easeInQuart = function (t, b, c, d, p_params) { t /= d; return c * t * t * t * t + b; }; v1.easeOutQuart = function (t, b, c, d, p_params) { t = t / d - 1; return -c * (t * t * t * t - 1) + b; }; v1.easeInOutQuart = function (t, b, c, d, p_params) { t /= d / 2; if (t < 1) { return (c / 2) * t * t * t * t + b; } t -= 2; return (-c / 2) * (t * t * t * t - 2) + b; }; v1.easeOutInQuart = function (t, b, c, d, p_params) { if (t < d / 2) { return caurina.transitions.Equations.easeOutQuart(t * 2, b, c / 2, d, p_params); } return caurina.transitions.Equations.easeInQuart(t * 2 - d, b + c / 2, c / 2, d, p_params); }; v1.easeInQuint = function (t, b, c, d, p_params) { t /= d; return c * t * t * t * t * t + b; }; v1.easeOutQuint = function (t, b, c, d, p_params) { t = t / d - 1; return c * (t * t * t * t * t + 1) + b; }; v1.easeInOutQuint = function (t, b, c, d, p_params) { t /= d / 2; if (t < 1) { return (c / 2) * t * t * t * t * t + b; } t -= 2; return (c / 2) * (t * t * t * t * t + 2) + b; }; v1.easeOutInQuint = function (t, b, c, d, p_params) { if (t < d / 2) { return caurina.transitions.Equations.easeOutQuint(t * 2, b, c / 2, d, p_params); } return caurina.transitions.Equations.easeInQuint(t * 2 - d, b + c / 2, c / 2, d, p_params); }; v1.easeInSine = function (t, b, c, d, p_params) { return -c * Math.cos((t / d) * 1.570796326794897) + c + b; }; v1.easeOutSine = function (t, b, c, d, p_params) { return c * Math.sin((t / d) * 1.570796326794897) + b; }; v1.easeInOutSine = function (t, b, c, d, p_params) { return (-c / 2) * (Math.cos(Math.PI * t / d) - 1) + b; }; v1.easeOutInSine = function (t, b, c, d, p_params) { if (t < d / 2) { return caurina.transitions.Equations.easeOutSine(t * 2, b, c / 2, d, p_params); } return caurina.transitions.Equations.easeInSine(t * 2 - d, b + c / 2, c / 2, d, p_params); }; v1.easeInExpo = function (t, b, c, d, p_params) { return (t == 0) ? b : c * Math.pow(2, 10 * (t / d - 1)) + b - c * 0.001; }; v1.easeOutExpo = function (t, b, c, d, p_params) { return (t == d) ? b + c : c * 1.001 * (-Math.pow(2, -10 * t / d) + 1) + b; }; v1.easeInOutExpo = function (t, b, c, d, p_params) { if (t == 0) { return b; } if (t == d) { return b + c; } t /= d / 2; if (t < 1) { return (c / 2) * Math.pow(2, 10 * (t - 1)) + b - c * 0.0005; } return (c / 2) * 1.0005 * (-Math.pow(2, -10 * --t) + 2) + b; }; v1.easeOutInExpo = function (t, b, c, d, p_params) { if (t < d / 2) { return caurina.transitions.Equations.easeOutExpo(t * 2, b, c / 2, d, p_params); } return caurina.transitions.Equations.easeInExpo(t * 2 - d, b + c / 2, c / 2, d, p_params); }; v1.easeInCirc = function (t, b, c, d, p_params) { t /= d; return -c * (Math.sqrt(1 - t * t) - 1) + b; }; v1.easeOutCirc = function (t, b, c, d, p_params) { t = t / d - 1; return c * Math.sqrt(1 - t * t) + b; }; v1.easeInOutCirc = function (t, b, c, d, p_params) { t /= d / 2; if (t < 1) { return (-c / 2) * (Math.sqrt(1 - t * t) - 1) + b; } t -= 2; return (c / 2) * (Math.sqrt(1 - t * t) + 1) + b; }; v1.easeOutInCirc = function (t, b, c, d, p_params) { if (t < d / 2) { return caurina.transitions.Equations.easeOutCirc(t * 2, b, c / 2, d, p_params); } return caurina.transitions.Equations.easeInCirc(t * 2 - d, b + c / 2, c / 2, d, p_params); }; v1.easeInElastic = function (t, b, c, d, p_params) { if (t == 0) { return b; } t /= d; if (t == 1) { return b + c; } var v2 = (p_params.period == undefined) ? d * 0.3 : p_params.period; var v5; var v1 = p_params.amplitude; if (!v1 || v1 < Math.abs(c)) { v1 = c; v5 = v2 / 4; t -= 1; return -(v1 * Math.pow(2, 10 * t) * Math.sin((t * d - v5) * 6.283185307179586 / v2)) + b; } v5 = (v2 / 6.283185307179586) * Math.asin(c / v1); t -= 1; return -(v1 * Math.pow(2, 10 * t) * Math.sin((t * d - v5) * 6.283185307179586 / v2)) + b; }; v1.easeOutElastic = function (t, b, c, d, p_params) { if (t == 0) { return b; } t /= d; if (t == 1) { return b + c; } var v3 = (p_params.period == undefined) ? d * 0.3 : p_params.period; var v5; var v1 = p_params.amplitude; if (!v1 || v1 < Math.abs(c)) { v1 = c; v5 = v3 / 4; return v1 * Math.pow(2, -10 * t) * Math.sin((t * d - v5) * 6.283185307179586 / v3) + c + b; } v5 = (v3 / 6.283185307179586) * Math.asin(c / v1); return v1 * Math.pow(2, -10 * t) * Math.sin((t * d - v5) * 6.283185307179586 / v3) + c + b; }; v1.easeInOutElastic = function (t, b, c, d, p_params) { if (t == 0) { return b; } t /= d / 2; if (t == 2) { return b + c; } var v3 = (p_params.period == undefined) ? d * 0.45 : p_params.period; var v5; var v1 = p_params.amplitude; if (!v1 || v1 < Math.abs(c)) { v1 = c; v5 = v3 / 4; } else { v5 = (v3 / 6.283185307179586) * Math.asin(c / v1); } if (t < 1) { t -= 1; return -0.5 * (v1 * Math.pow(2, 10 * t) * Math.sin((t * d - v5) * 6.283185307179586 / v3)) + b; } t -= 1; return v1 * Math.pow(2, -10 * t) * Math.sin((t * d - v5) * 6.283185307179586 / v3) * 0.5 + c + b; }; v1.easeOutInElastic = function (t, b, c, d, p_params) { if (t < d / 2) { return caurina.transitions.Equations.easeOutElastic(t * 2, b, c / 2, d, p_params); } return caurina.transitions.Equations.easeInElastic(t * 2 - d, b + c / 2, c / 2, d, p_params); }; v1.easeInBack = function (t, b, c, d, p_params) { if (p_params.overshoot != undefined) { var v1 = p_params.overshoot; t /= d; return c * t * t * ((v1 + 1) * t - v1) + b; } var v1 = 1.70158; t /= d; return c * t * t * ((v1 + 1) * t - v1) + b; }; v1.easeOutBack = function (t, b, c, d, p_params) { if (p_params.overshoot != undefined) { var v2 = p_params.overshoot; t = t / d - 1; return c * (t * t * ((v2 + 1) * t + v2) + 1) + b; } var v2 = 1.70158; t = t / d - 1; return c * (t * t * ((v2 + 1) * t + v2) + 1) + b; }; v1.easeInOutBack = function (t, b, c, d, p_params) { var v2 = (p_params.overshoot == undefined) ? 1.70158 : p_params.overshoot; t /= d / 2; if (t < 1) { v2 *= 1.525; return (c / 2) * (t * t * ((v2 + 1) * t - v2)) + b; } t -= 2; v2 *= 1.525; return (c / 2) * (t * t * ((v2 + 1) * t + v2) + 2) + b; }; v1.easeOutInBack = function (t, b, c, d, p_params) { if (t < d / 2) { return caurina.transitions.Equations.easeOutBack(t * 2, b, c / 2, d, p_params); } return caurina.transitions.Equations.easeInBack(t * 2 - d, b + c / 2, c / 2, d, p_params); }; v1.easeInBounce = function (t, b, c, d, p_params) { return c - caurina.transitions.Equations.easeOutBounce(d - t, 0, c, d) + b; }; v1.easeOutBounce = function (t, b, c, d, p_params) { t /= d; if (t < 0.3636363636363637) { return c * (7.5625 * t * t) + b; } else { if (t < 0.7272727272727273) { t -= 0.5454545454545454; return c * (7.5625 * t * t + 0.75) + b; } else { if (t < 0.9090909090909091) { t -= 0.8181818181818182; return c * (7.5625 * t * t + 0.9375) + b; } else { t -= 0.9545454545454546; return c * (7.5625 * t * t + 0.984375) + b; } } } }; v1.easeInOutBounce = function (t, b, c, d, p_params) { if (t < d / 2) { return caurina.transitions.Equations.easeInBounce(t * 2, 0, c, d) * 0.5 + b; } else { return caurina.transitions.Equations.easeOutBounce(t * 2 - d, 0, c, d) * 0.5 + c * 0.5 + b; } }; v1.easeOutInBounce = function (t, b, c, d, p_params) { if (t < d / 2) { return caurina.transitions.Equations.easeOutBounce(t * 2, b, c / 2, d, p_params); } return caurina.transitions.Equations.easeInBounce(t * 2 - d, b + c / 2, c / 2, d, p_params); }; ASSetPropFlags(caurina.transitions.Equations.prototype, null, 1); } #endinitclip } movieClip 236 __Packages.caurina.transitions.SpecialProperty { #initclip if (!_global.caurina) { _global.caurina = new Object(); } if (!_global.caurina.transitions) { _global.caurina.transitions = new Object(); } if (!_global.caurina.transitions.SpecialProperty) { var v1 = function (p_getFunction, p_setFunction, p_parameters, p_preProcessFunction) { this.getValue = p_getFunction; this.setValue = p_setFunction; this.parameters = p_parameters; this.preProcess = p_preProcessFunction; }; caurina.transitions.SpecialProperty = v1; var v2 = v1.prototype; v2.toString = function () { var v2 = ''; v2 += '[SpecialProperty '; v2 += 'getValue:' + this.getValue.toString(); v2 += ', '; v2 += 'setValue:' + this.setValue.toString(); v2 += ', '; v2 += 'parameters:' + this.parameters.toString(); v2 += ', '; v2 += 'preProcess:' + this.preProcess.toString(); v2 += ']'; return v2; }; ASSetPropFlags(caurina.transitions.SpecialProperty.prototype, null, 1); } #endinitclip } movieClip 237 __Packages.caurina.transitions.SpecialPropertyModifier { #initclip if (!_global.caurina) { _global.caurina = new Object(); } if (!_global.caurina.transitions) { _global.caurina.transitions = new Object(); } if (!_global.caurina.transitions.SpecialPropertyModifier) { var v1 = function (p_modifyFunction, p_getFunction) { this.modifyValues = p_modifyFunction; this.getValue = p_getFunction; }; caurina.transitions.SpecialPropertyModifier = v1; var v2 = v1.prototype; v2.toString = function () { var v2 = ''; v2 += '[SpecialPropertyModifier '; v2 += 'modifyValues:' + this.modifyValues.toString(); v2 += ', '; v2 += 'getValue:' + this.getValue.toString(); v2 += ']'; return v2; }; ASSetPropFlags(caurina.transitions.SpecialPropertyModifier.prototype, null, 1); } #endinitclip } movieClip 118 { frame 1 { globalMovieParamXML = '<movie width="1280" height="1024" fps="30" videopreview="False" pauseonmouseover="False" loop="-1"/>\r\n'; ParamsValue = '<ParamsValue><Style.ScaleModeImage>ScaleToFill</Style.ScaleModeImage><Style.ScaleModeVideo>ScaleToFit</Style.ScaleModeVideo><Style.ScaleModePreview>ScaleToFit</Style.ScaleModePreview><Style.ScaleModeFullscreen>Yes</Style.ScaleModeFullscreen><Style.ShowAlbums>False</Style.ShowAlbums><Style.ShowPreloader>False</Style.ShowPreloader><Style.PreloaderStyle>Pie</Style.PreloaderStyle><Style.PreloaderColor>0xC0C0C0</Style.PreloaderColor><Style.PreloaderAlpha>80</Style.PreloaderAlpha><Style.PreloaderPos>Center</Style.PreloaderPos><Style.ShowInformation>Hide</Style.ShowInformation><Style.InformationPos>Top</Style.InformationPos><Style.InformationAlign>Left</Style.InformationAlign><Style.InformationAlignLong>Left</Style.InformationAlignLong><Style.InformationMargin>8</Style.InformationMargin><Style.InformationColor>0x000000</Style.InformationColor><Style.InformationAlpha>30</Style.InformationAlpha><Style.InformationColor2>0x000000</Style.InformationColor2><Style.InformationAlpha2>30</Style.InformationAlpha2><Style.ReflectShow>No</Style.ReflectShow><Style.ReflectHeight>40</Style.ReflectHeight><Style.ReflectAlpha>40</Style.ReflectAlpha><Style.ReflectRefresh>1</Style.ReflectRefresh><Style.ShowImageBorder>False</Style.ShowImageBorder><Style.ImageBorderWidth>6</Style.ImageBorderWidth><Style.ImageBorderColor>0xFFFFFF</Style.ImageBorderColor><Style.ImageBorderMargin>0</Style.ImageBorderMargin><Style.SwitchonKeyDown>Yes</Style.SwitchonKeyDown><Style.ShowNavigationBar>Show</Style.ShowNavigationBar><Style.NavigationBarBgColor>0x000000</Style.NavigationBarBgColor><Style.NavigationBarGradientStyle>Slope</Style.NavigationBarGradientStyle><Style.NavigationBarThumbnailStyle>Image</Style.NavigationBarThumbnailStyle><Style.NavigationBarThumbnailPreloader>Hide</Style.NavigationBarThumbnailPreloader><Style.NavigationBarThumbnailBgColor>0x333333</Style.NavigationBarThumbnailBgColor><Style.NavigationBarThumbnailImageWidth>32</Style.NavigationBarThumbnailImageWidth><Style.NavigationBarThumbnailImageHeight>24</Style.NavigationBarThumbnailImageHeight><Style.NavigationBarThumbnailNumberFont>Tahoma</Style.NavigationBarThumbnailNumberFont><Style.NavigationBarThumbnailNumberFontSize>12</Style.NavigationBarThumbnailNumberFontSize><Style.NavigationBarThumbnailNumberFontColor>0x333333</Style.NavigationBarThumbnailNumberFontColor><Style.NavigationBarThumbnailNumberRolloverFontColor>0x000000</Style.NavigationBarThumbnailNumberRolloverFontColor><Style.NavigationBarThumbnailAreaMargin>4</Style.NavigationBarThumbnailAreaMargin><Style.NavigationBarThumbnailImageMargin>4</Style.NavigationBarThumbnailImageMargin><Style.NavigationBarThumbnailImageSpace>4</Style.NavigationBarThumbnailImageSpace><Style.NavigationBarThumbnailBorderColor>0x666666</Style.NavigationBarThumbnailBorderColor><Style.NavigationBarThumbnailBorderWidth>1</Style.NavigationBarThumbnailBorderWidth><Style.NavigationBarThumbnailBorderRolloverColor>0xFFFFFF</Style.NavigationBarThumbnailBorderRolloverColor><Style.NavigationBarPreviewImageWidth>120</Style.NavigationBarPreviewImageWidth><Style.NavigationBarPreviewImageHeight>90</Style.NavigationBarPreviewImageHeight><Style.NavigationBarPreviewBorderColor>0xFFFFFF</Style.NavigationBarPreviewBorderColor><Style.NavigationBarPreviewBorderWidth>2</Style.NavigationBarPreviewBorderWidth><Style.NavigationBarBtnStyle>Gradient</Style.NavigationBarBtnStyle><Style.NavigationBarBtnColor>0xFFFFFF</Style.NavigationBarBtnColor><Style.NavigationBarBtnSpace>8</Style.NavigationBarBtnSpace><Style.NavigationBarBtnGallery>Show</Style.NavigationBarBtnGallery><Style.NavigationBarBtnPause>Show</Style.NavigationBarBtnPause><Style.NavigationBarBtnFirstSlide>Show</Style.NavigationBarBtnFirstSlide><Style.NavigationBarBtnPrevSlide>Show</Style.NavigationBarBtnPrevSlide><Style.NavigationBarBtnLastSlide>Show</Style.NavigationBarBtnLastSlide><Style.NavigationBarBtnNextSlide>Show</Style.NavigationBarBtnNextSlide><Style.NavigationBarBtnSound>Show</Style.NavigationBarBtnSound><Style.NavigationBarBtnFullScreen>Show</Style.NavigationBarBtnFullScreen><Style.NavigationBarGalleryColor>0x333333</Style.NavigationBarGalleryColor><Style.NavigationBarGallerySpace>20</Style.NavigationBarGallerySpace><Style.NavigationBarGalleryWidth>160</Style.NavigationBarGalleryWidth><Style.NavigationBarGalleryHeight>80</Style.NavigationBarGalleryHeight><Style.NavigationBarGalleryImagePos>Left</Style.NavigationBarGalleryImagePos><Style.NavigationBarGalleryImageWidth>64</Style.NavigationBarGalleryImageWidth><Style.NavigationBarGalleryImageHeight>48</Style.NavigationBarGalleryImageHeight><Style.NavigationBarGalleryArrowColor>0xFFFFFF</Style.NavigationBarGalleryArrowColor><Style.NavigationBarGalleryArrowHeight>30</Style.NavigationBarGalleryArrowHeight><Style.FullScreenBackgroundColorMode>Transparent</Style.FullScreenBackgroundColorMode><Style.FullScreenBackgroundColor>0xFFFFFF</Style.FullScreenBackgroundColor></ParamsValue>'; globalInnerXML = true; globalXMLListString = '<gallery><album name="&lt;font size=&quot;12&quot; face=&quot;Arial&quot; color=&quot;#FFFFFF&quot;&gt;Album&lt;/font&gt;" description="&lt;font size=&quot;12&quot; face=&quot;Arial&quot; color=&quot;#FFFFFF&quot;&gt;Album Description Here&lt;/font&gt;"><slide type="img" src="01.jpg" tnsrc="tn_01.jpg" effect="noeffect" duration="4" scalemode="scaletofit" name="&lt;font size=&quot;12&quot; face=&quot;Arial&quot; color=&quot;#FFFFFF&quot;&gt;01.jpg&lt;/font&gt;"/><slide type="img" src="02.jpg" tnsrc="tn_02.jpg" effect="noeffect" duration="4" scalemode="scaletofit" name="&lt;font size=&quot;12&quot; face=&quot;Arial&quot; color=&quot;#FFFFFF&quot;&gt;02.jpg&lt;/font&gt;"/><slide type="img" src="03.jpg" tnsrc="tn_03.jpg" effect="noeffect" duration="4" scalemode="scaletofit" name="&lt;font size=&quot;12&quot; face=&quot;Arial&quot; color=&quot;#FFFFFF&quot;&gt;03.jpg&lt;/font&gt;"/><slide type="img" src="04.jpg" tnsrc="tn_04.jpg" effect="noeffect" duration="4" scalemode="scaletofit" name="&lt;font size=&quot;12&quot; face=&quot;Arial&quot; color=&quot;#FFFFFF&quot;&gt;04.jpg&lt;/font&gt;"/><slide type="img" src="05.jpg" tnsrc="tn_05.jpg" effect="noeffect" duration="4" scalemode="scaletofit" name="&lt;font size=&quot;12&quot; face=&quot;Arial&quot; color=&quot;#FFFFFF&quot;&gt;05.jpg&lt;/font&gt;"/><slide type="img" src="06.jpg" tnsrc="tn_06.jpg" effect="noeffect" duration="4" scalemode="scaletofit" name="&lt;font size=&quot;12&quot; face=&quot;Arial&quot; color=&quot;#FFFFFF&quot;&gt;06.jpg&lt;/font&gt;"/><slide type="img" src="07.jpg" tnsrc="tn_07.jpg" effect="noeffect" duration="4" scalemode="scaletofit" name="&lt;font size=&quot;12&quot; face=&quot;Arial&quot; color=&quot;#FFFFFF&quot;&gt;07.jpg&lt;/font&gt;"/><slide type="img" src="08.jpg" tnsrc="tn_08.jpg" effect="noeffect" duration="4" scalemode="scaletofit" name="&lt;font size=&quot;12&quot; face=&quot;Arial&quot; color=&quot;#FFFFFF&quot;&gt;08.jpg&lt;/font&gt;"/><slide type="img" src="10.jpg" tnsrc="tn_10.jpg" effect="noeffect" duration="4" scalemode="scaletofit" name="&lt;font size=&quot;12&quot; face=&quot;Arial&quot; color=&quot;#FFFFFF&quot;&gt;10.jpg&lt;/font&gt;"/><slide type="img" src="11.jpg" tnsrc="tn_11.jpg" effect="noeffect" duration="4" scalemode="scaletofit" name="&lt;font size=&quot;12&quot; face=&quot;Arial&quot; color=&quot;#FFFFFF&quot;&gt;11.jpg&lt;/font&gt;"/><slide type="img" src="12.jpg" tnsrc="tn_12.jpg" effect="noeffect" duration="4" scalemode="scaletofit" name="&lt;font size=&quot;12&quot; face=&quot;Arial&quot; color=&quot;#FFFFFF&quot;&gt;12.jpg&lt;/font&gt;"/><slide type="img" src="13.jpg" tnsrc="tn_13.jpg" effect="noeffect" duration="4" scalemode="scaletofit" name="&lt;font size=&quot;12&quot; face=&quot;Arial&quot; color=&quot;#FFFFFF&quot;&gt;13.jpg&lt;/font&gt;"/><slide type="img" src="14.jpg" tnsrc="tn_14.jpg" effect="noeffect" duration="4" scalemode="scaletofit" name="&lt;font size=&quot;12&quot; face=&quot;Arial&quot; color=&quot;#FFFFFF&quot;&gt;14.jpg&lt;/font&gt;"/><slide type="img" src="15.jpg" tnsrc="tn_15.jpg" effect="noeffect" duration="4" scalemode="scaletofit" name="&lt;font size=&quot;12&quot; face=&quot;Arial&quot; color=&quot;#FFFFFF&quot;&gt;15.jpg&lt;/font&gt;"/><slide type="img" src="16.jpg" tnsrc="tn_16.jpg" effect="noeffect" duration="4" scalemode="scaletofit" name="&lt;font size=&quot;12&quot; face=&quot;Arial&quot; color=&quot;#FFFFFF&quot;&gt;16.jpg&lt;/font&gt;"/><slide type="img" src="17.jpg" tnsrc="tn_17.jpg" effect="noeffect" duration="4" scalemode="scaletofit" name="&lt;font size=&quot;12&quot; face=&quot;Arial&quot; color=&quot;#FFFFFF&quot;&gt;17.jpg&lt;/font&gt;"/><slide type="img" src="18.jpg" tnsrc="tn_18.jpg" effect="noeffect" duration="4" scalemode="scaletofit" name="&lt;font size=&quot;12&quot; face=&quot;Arial&quot; color=&quot;#FFFFFF&quot;&gt;18.jpg&lt;/font&gt;"/><slide type="img" src="19.jpg" tnsrc="tn_19.jpg" effect="noeffect" duration="4" scalemode="scaletofit" name="&lt;font size=&quot;12&quot; face=&quot;Arial&quot; color=&quot;#FFFFFF&quot;&gt;19.jpg&lt;/font&gt;"/><slide type="img" src="9.jpg" tnsrc="tn_9.jpg" effect="noeffect" duration="4" scalemode="scaletofit" name="&lt;font size=&quot;12&quot; face=&quot;Arial&quot; color=&quot;#FFFFFF&quot;&gt;9.jpg&lt;/font&gt;"/></album></gallery>\r\n'; } frame 1 { function calcSlideSizeAndPos() { var v1 = 0; if (globalStyleParam.Style.ShowImageBorder) { v1 = globalStyleParam.Style.ImageBorderWidth; } v1 += globalStyleParam.Style.ImageBorderMargin; var v2 = 0; if (globalStyleParam.Style.ShowNavigationBar == 'show') { var v3 = globalStyleParam.Style.NavigationBarThumbnailImageMargin; var v4 = globalStyleParam.Style.NavigationBarThumbnailAreaMargin; v2 = globalStyleParam.Style.NavigationBarThumbnailImageHeight + 2 * v3 + 2 * v4; } globalSlideSizeAndPos = new Array(); if (globalStyleParam.Style.ScaleModeFullscreen == 'yes') { globalSlideSizeAndPos.width = globalMovieParam.width - 2 * v1; globalSlideSizeAndPos.height = globalMovieParam.height - 2 * v1 - v2; globalSlideSizeAndPos.x = v1; globalSlideSizeAndPos.y = v1; } else { globalSlideSizeAndPos.width = globalOriginalWidth - 2 * v1; globalSlideSizeAndPos.height = globalOriginalHeight - 2 * v1 - v2; globalSlideSizeAndPos.x = v1 + globalMovieParam.width / 2 - globalOriginalWidth / 2; globalSlideSizeAndPos.y = v1 + globalMovieParam.height / 2 - globalOriginalHeight / 2; } } function loadStyleParam() { var v4 = new XML(); v4.onLoad = function (Success) { if (!Success) { return undefined; } var v3; v3 = this.firstChild; while (v3 != null) { if (v3.nodeName == 'ParamsValue') { globalStyleParam = new Array(); var v2; v2 = v3.firstChild; while (v2 != null) { globalStyleParam[v2.nodeName] = v2.childNodes[0].nodeValue; v2 = v2.nextSibling; } globalStyleParam.Style.ScaleModeImage = globalStyleParam.Style.ScaleModeImage.toLowerCase(); globalStyleParam.Style.ScaleModeVideo = globalStyleParam.Style.ScaleModeVideo.toLowerCase(); globalStyleParam.Style.ScaleModePreview = globalStyleParam.Style.ScaleModePreview.toLowerCase(); globalStyleParam.Style.ScaleModeFullscreen = globalStyleParam.Style.ScaleModeFullscreen.toLowerCase(); globalStyleParam.Style.ShowAlbums = globalStyleParam.Style.ShowAlbums.toLowerCase() == 'true'; globalStyleParam.Style.ShowPreloader = globalStyleParam.Style.ShowPreloader.toLowerCase() == 'true'; globalStyleParam.Style.PreloaderStyle = globalStyleParam.Style.PreloaderStyle.toLowerCase(); globalStyleParam.Style.PreloaderColor = parseInt(globalStyleParam.Style.PreloaderColor); globalStyleParam.Style.PreloaderAlpha = parseInt(globalStyleParam.Style.PreloaderAlpha); globalStyleParam.Style.ShowInformation = globalStyleParam.Style.ShowInformation.toLowerCase(); globalStyleParam.Style.InformationPos = globalStyleParam.Style.InformationPos.toLowerCase(); globalStyleParam.Style.InformationAlign = globalStyleParam.Style.InformationAlign.toLowerCase(); globalStyleParam.Style.InformationAlignLong = globalStyleParam.Style.InformationAlignLong.toLowerCase(); globalStyleParam.Style.InformationMargin = parseInt(globalStyleParam.Style.InformationMargin); globalStyleParam.Style.InformationColor = parseInt(globalStyleParam.Style.InformationColor); globalStyleParam.Style.InformationAlpha = parseInt(globalStyleParam.Style.InformationAlpha); globalStyleParam.Style.InformationColor2 = parseInt(globalStyleParam.Style.InformationColor2); globalStyleParam.Style.InformationAlpha2 = parseInt(globalStyleParam.Style.InformationAlpha2); globalStyleParam.Style.ReflectShow = globalStyleParam.Style.ReflectShow.toLowerCase(); globalStyleParam.Style.ReflectHeight = parseInt(globalStyleParam.Style.ReflectHeight); globalStyleParam.Style.ReflectAlpha = parseInt(globalStyleParam.Style.ReflectAlpha); globalStyleParam.Style.ReflectRefresh = parseInt(globalStyleParam.Style.ReflectRefresh); globalStyleParam.Style.ShowImageBorder = globalStyleParam.Style.ShowImageBorder.toLowerCase() == 'true'; globalStyleParam.Style.ImageBorderWidth = parseInt(globalStyleParam.Style.ImageBorderWidth); globalStyleParam.Style.ImageBorderColor = parseInt(globalStyleParam.Style.ImageBorderColor); globalStyleParam.Style.ImageBorderMargin = parseInt(globalStyleParam.Style.ImageBorderMargin); globalStyleParam.Style.SwitchonKeyDown = globalStyleParam.Style.SwitchonKeyDown.toLowerCase(); globalStyleParam.Style.ShowNavigationBar = globalStyleParam.Style.ShowNavigationBar.toLowerCase(); globalStyleParam.Style.NavigationBarBgColor = parseInt(globalStyleParam.Style.NavigationBarBgColor); globalStyleParam.Style.NavigationBarGradientStyle = globalStyleParam.Style.NavigationBarGradientStyle.toLowerCase(); globalStyleParam.Style.NavigationBarThumbnailStyle = globalStyleParam.Style.NavigationBarThumbnailStyle.toLowerCase(); globalStyleParam.Style.NavigationBarThumbnailPreloader = globalStyleParam.Style.NavigationBarThumbnailPreloader.toLowerCase(); globalStyleParam.Style.NavigationBarThumbnailBgColor = parseInt(globalStyleParam.Style.NavigationBarThumbnailBgColor); globalStyleParam.Style.NavigationBarThumbnailImageWidth = parseInt(globalStyleParam.Style.NavigationBarThumbnailImageWidth); globalStyleParam.Style.NavigationBarThumbnailImageHeight = parseInt(globalStyleParam.Style.NavigationBarThumbnailImageHeight); globalStyleParam.Style.NavigationBarThumbnailNumberFont = globalStyleParam.Style.NavigationBarThumbnailNumberFont; globalStyleParam.Style.NavigationBarThumbnailNumberFontSize = parseInt(globalStyleParam.Style.NavigationBarThumbnailNumberFontSize); globalStyleParam.Style.NavigationBarThumbnailNumberFontColor = parseInt(globalStyleParam.Style.NavigationBarThumbnailNumberFontColor); globalStyleParam.Style.NavigationBarThumbnailNumberRolloverFontColor = parseInt(globalStyleParam.Style.NavigationBarThumbnailNumberRolloverFontColor); globalStyleParam.Style.NavigationBarThumbnailAreaMargin = parseInt(globalStyleParam.Style.NavigationBarThumbnailAreaMargin); globalStyleParam.Style.NavigationBarThumbnailImageMargin = parseInt(globalStyleParam.Style.NavigationBarThumbnailImageMargin); globalStyleParam.Style.NavigationBarThumbnailImageSpace = parseInt(globalStyleParam.Style.NavigationBarThumbnailImageSpace); globalStyleParam.Style.NavigationBarThumbnailBorderColor = parseInt(globalStyleParam.Style.NavigationBarThumbnailBorderColor); globalStyleParam.Style.NavigationBarThumbnailBorderWidth = parseInt(globalStyleParam.Style.NavigationBarThumbnailBorderWidth); globalStyleParam.Style.NavigationBarThumbnailBorderRolloverColor = parseInt(globalStyleParam.Style.NavigationBarThumbnailBorderRolloverColor); globalStyleParam.Style.NavigationBarPreviewImageWidth = parseInt(globalStyleParam.Style.NavigationBarPreviewImageWidth); globalStyleParam.Style.NavigationBarPreviewImageHeight = parseInt(globalStyleParam.Style.NavigationBarPreviewImageHeight); globalStyleParam.Style.NavigationBarPreviewBorderColor = parseInt(globalStyleParam.Style.NavigationBarPreviewBorderColor); globalStyleParam.Style.NavigationBarPreviewBorderWidth = parseInt(globalStyleParam.Style.NavigationBarPreviewBorderWidth); globalStyleParam.Style.NavigationBarBtnStyle = globalStyleParam.Style.NavigationBarBtnStyle; globalStyleParam.Style.NavigationBarBtnColor = parseInt(globalStyleParam.Style.NavigationBarBtnColor); globalStyleParam.Style.NavigationBarBtnSpace = parseInt(globalStyleParam.Style.NavigationBarBtnSpace); globalStyleParam.Style.NavigationBarBtnGallery = globalStyleParam.Style.NavigationBarBtnGallery.toLowerCase(); globalStyleParam.Style.NavigationBarBtnPause = globalStyleParam.Style.NavigationBarBtnPause.toLowerCase(); globalStyleParam.Style.NavigationBarBtnFirstSlide = globalStyleParam.Style.NavigationBarBtnFirstSlide.toLowerCase(); globalStyleParam.Style.NavigationBarBtnPrevSlide = globalStyleParam.Style.NavigationBarBtnPrevSlide.toLowerCase(); globalStyleParam.Style.NavigationBarBtnLastSlide = globalStyleParam.Style.NavigationBarBtnLastSlide.toLowerCase(); globalStyleParam.Style.NavigationBarBtnNextSlide = globalStyleParam.Style.NavigationBarBtnNextSlide.toLowerCase(); globalStyleParam.Style.NavigationBarBtnSound = globalStyleParam.Style.NavigationBarBtnSound.toLowerCase(); globalStyleParam.Style.NavigationBarBtnFullScreen = globalStyleParam.Style.NavigationBarBtnFullScreen.toLowerCase(); globalStyleParam.Style.NavigationBarGalleryColor = parseInt(globalStyleParam.Style.NavigationBarGalleryColor); globalStyleParam.Style.NavigationBarGallerySpace = parseInt(globalStyleParam.Style.NavigationBarGallerySpace); globalStyleParam.Style.NavigationBarGalleryWidth = parseInt(globalStyleParam.Style.NavigationBarGalleryWidth); globalStyleParam.Style.NavigationBarGalleryHeight = parseInt(globalStyleParam.Style.NavigationBarGalleryHeight); globalStyleParam.Style.NavigationBarGalleryImagePos = globalStyleParam.Style.NavigationBarGalleryImagePos.toLowerCase(); globalStyleParam.Style.NavigationBarGalleryImageWidth = parseInt(globalStyleParam.Style.NavigationBarGalleryImageWidth); globalStyleParam.Style.NavigationBarGalleryImageHeight = parseInt(globalStyleParam.Style.NavigationBarGalleryImageHeight); globalStyleParam.Style.NavigationBarGalleryArrowColor = parseInt(globalStyleParam.Style.NavigationBarGalleryArrowColor); globalStyleParam.Style.NavigationBarGalleryArrowHeight = parseInt(globalStyleParam.Style.NavigationBarGalleryArrowHeight); globalStyleParam.Style.FullScreenBackgroundColorMode = globalStyleParam.Style.FullScreenBackgroundColorMode.toLowerCase(); globalStyleParam.Style.FullScreenBackgroundColor = parseInt(globalStyleParam.Style.FullScreenBackgroundColor); } v3 = v3.nextSibling; } globalStyleParamLoaded = true; }; v4.ignoreWhite = true; v4.parseXML(ParamsValue); v4.onLoad(true); } function showAlbums() { this.galleryPanelMC._y = -this.galleryPanelMC.iNavBarHeight; if (globalStyleParam.Style.ReflectShow == 'yes') { this.reflectMC._visible = false; } } function initFullScreenBg() { if (globalStyleParam.Style.FullScreenBackgroundColorMode == 'color') { globalFullScreenBgMC = this.createEmptyMovieClip('globalFullScreenBgMC', SLIDE_BEGIN_DEPTH - 1); drawRoundedRect(globalFullScreenBgMC, 0, 0, 100, 100, 0, true, globalStyleParam.Style.FullScreenBackgroundColor, 0, 16777215, 0); globalFullScreenBgMC._visible = false; } } function initStyle(iCurrAlbum, iCurrSlide, bFullScreen) { if (globalStyleParam.Style.ShowNavigationBar == 'show') { var iTNMargin = globalStyleParam.Style.NavigationBarThumbnailImageMargin; var iTNAreaMargin = globalStyleParam.Style.NavigationBarThumbnailAreaMargin; var iTNSpace = globalStyleParam.Style.NavigationBarThumbnailImageSpace; var iButtonSpace = globalStyleParam.Style.NavigationBarBtnSpace; var barStyle = globalStyleParam.Style.NavigationBarBtnStyle; var iBtnWidth = 16; switch (barStyle) { case 'Simple': iBtnWidth = 16; break; default: iBtnWidth = 16; } var iNavBarHeight = globalStyleParam.Style.NavigationBarThumbnailImageHeight + 2 * iTNMargin + 2 * iTNAreaMargin; if (bFullScreen) { var galleryPanelMC = this.galleryPanelMC; } else { var galleryPanelMC = this.createEmptyMovieClip('galleryPanelMC', HIGHEST_DEPTH - 2); } galleryPanelMC.iNavBarHeight = iNavBarHeight; with (galleryPanelMC) { beginFill(globalStyleParam.Style.NavigationBarBgColor); moveTo(0, 0); lineTo(globalMovieParam.width, 0); lineTo(globalMovieParam.width, globalMovieParam.height + iNavBarHeight); lineTo(0, globalMovieParam.height + iNavBarHeight); lineTo(0, 0); endFill; } galleryPanelMC._x = 0; galleryPanelMC._y = globalMovieParam.height - iNavBarHeight; var galleryPanelMaskMC = this.createEmptyMovieClip('galleryPanelMaskMC', HIGHEST_DEPTH - 7); drawRoundedRect(galleryPanelMaskMC, 0, 0, globalMovieParam.width, globalMovieParam.height, 0, true, 16777215, -1, 16777215, 100); galleryPanelMC.setMask(galleryPanelMaskMC); if (globalStyleParam.Style.NavigationBarGradientStyle != 'none') { var gradientMC = galleryPanelMC.createEmptyMovieClip('gradientMC', 0); var mxBox = new flash.geom.Matrix(); var mxColors; var mxAlphas; var mxRatios; switch (globalStyleParam.Style.NavigationBarGradientStyle) { case 'slope': mxColors = [16777215, 16777215]; mxAlphas = [15, 25]; mxRatios = [0, 255]; mxBox.createGradientBox(globalMovieParam.width, iNavBarHeight / 2, 1.570796326794897); gradientMC.beginGradientFill('linear', mxColors, mxAlphas, mxRatios, mxBox); gradientMC.moveTo(0, 0); gradientMC.lineTo(globalMovieParam.width, 0); gradientMC.lineTo(globalMovieParam.width, iNavBarHeight / 2); gradientMC.lineTo(0, iNavBarHeight / 2); gradientMC.lineTo(0, 0); gradientMC.endFill(); mxColors = [16777215, 16777215]; mxAlphas = [5, 15]; mxRatios = [0, 255]; mxBox.createGradientBox(globalMovieParam.width, iNavBarHeight / 2, 1.570796326794897, 0, iNavBarHeight / 2); gradientMC.beginGradientFill('linear', mxColors, mxAlphas, mxRatios, mxBox); gradientMC.moveTo(0, iNavBarHeight / 2); gradientMC.lineTo(globalMovieParam.width, iNavBarHeight / 2); gradientMC.lineTo(globalMovieParam.width, iNavBarHeight); gradientMC.lineTo(0, iNavBarHeight); gradientMC.lineTo(0, iNavBarHeight / 2); gradientMC.endFill(); break; case 'gradient': mxColors = [16777215, 16777215]; mxAlphas = [30, 0]; mxRatios = [0, 255]; mxBox.createGradientBox(globalMovieParam.width, iNavBarHeight, 1.570796326794897); gradientMC.beginGradientFill('linear', mxColors, mxAlphas, mxRatios, mxBox); gradientMC.moveTo(0, 0); gradientMC.lineTo(globalMovieParam.width, 0); gradientMC.lineTo(globalMovieParam.width, iNavBarHeight); gradientMC.lineTo(0, iNavBarHeight); gradientMC.lineTo(0, 0); gradientMC.endFill(); } } galleryPanelMC.iTopPosition = 0; galleryPanelMC.iBottomPosition = globalMovieParam.height - iNavBarHeight; galleryPanelMC.bBottom = true; var iBtnCount = 1; if (globalStyleParam.Style.NavigationBarBtnGallery == 'show') { ++iBtnCount; } if (globalStyleParam.Style.NavigationBarBtnPause == 'show') { ++iBtnCount; } if (globalStyleParam.Style.NavigationBarBtnFirstSlide == 'show') { ++iBtnCount; } if (globalStyleParam.Style.NavigationBarBtnPrevSlide == 'show') { ++iBtnCount; } if (globalStyleParam.Style.NavigationBarBtnLastSlide == 'show') { ++iBtnCount; } if (globalStyleParam.Style.NavigationBarBtnNextSlide == 'show') { ++iBtnCount; } if (globalStyleParam.Style.NavigationBarBtnSound == 'show') { ++iBtnCount; } if (globalStyleParam.Style.NavigationBarBtnFullScreen == 'show') { ++iBtnCount; } var iBtnDepth = 2; var iBtnLeft = iButtonSpace; if (globalStyleParam.Style.NavigationBarBtnGallery == 'show') { var btnGalleryMC = galleryPanelMC.attachMovie('btnGalleryMovie_' + barStyle, 'btnGalleryMC', iBtnDepth + 0); var btnColor = new Color(btnGalleryMC); btnColor.setRGB(globalStyleParam.Style.NavigationBarBtnColor); btnGalleryMC._x = iBtnLeft; btnGalleryMC._y = iNavBarHeight / 2 - btnGalleryMC._height / 2; iBtnLeft += btnGalleryMC._width + iButtonSpace; btnGalleryMC.bOldGlobalPausedState = globalPaused; btnGalleryMC.onRelease = function () { if (this._parent.bBottom) { if (globalStyleParam.Style.ReflectShow == 'yes') { this._parent._parent.reflectMC._visible = false; } this.bOldGlobalPausedState = globalPaused; this._parent.btnPlayMC._visible = true; this._parent.btnPauseMC._visible = false; globalPaused = true; showGalleryPanel = function () { btnGalleryMC._parent._y = btnGalleryMC._parent.iTopPosition; btnGalleryMC._parent.bBottom = false; }; var v2 = (Stage.width / 300) * 0.5; caurina.transitions.Tweener.addTween(btnGalleryMC._parent, {'_y': btnGalleryMC._parent.iTopPosition, 'time': v2, 'transition': easeOutCubic, 'onComplete': showGalleryPanel}); } else { hideGalleryPanel = function () { if (globalStyleParam.Style.ReflectShow == 'yes' && Stage.displayState != 'fullScreen') { drawReflect(btnGalleryMC._parent._parent, btnGalleryMC._parent._parent.reflectMC, btnGalleryMC._parent._parent.reflectMaskMC); btnGalleryMC._parent._parent.reflectMC._visible = true; } btnGalleryMC._parent._y = btnGalleryMC._parent.iBottomPosition; btnGalleryMC._parent.bBottom = true; btnGalleryMC._parent.btnPlayMC._visible = btnGalleryMC.bOldGlobalPausedState; btnGalleryMC._parent.btnPauseMC._visible = !btnGalleryMC.bOldGlobalPausedState; globalPaused = btnGalleryMC.bOldGlobalPausedState; }; var v2 = (Stage.width / 300) * 0.5; caurina.transitions.Tweener.addTween(btnGalleryMC._parent, {'_y': btnGalleryMC._parent.iBottomPosition, 'time': v2, 'transition': easeOutCubic, 'onComplete': hideGalleryPanel}); } }; } if (globalStyleParam.Style.NavigationBarBtnPause == 'show') { var btnPauseMC = galleryPanelMC.attachMovie('btnPauseMovie_' + barStyle, 'btnPauseMC', iBtnDepth + 1); var btnColor = new Color(btnPauseMC); btnColor.setRGB(globalStyleParam.Style.NavigationBarBtnColor); btnPauseMC._x = iBtnLeft; btnPauseMC._y = iNavBarHeight / 2 - btnPauseMC._height / 2; var btnPlayMC = galleryPanelMC.attachMovie('btnPlayMovie_' + barStyle, 'btnPlayMC', iBtnDepth + 2); var btnColor = new Color(btnPlayMC); btnColor.setRGB(globalStyleParam.Style.NavigationBarBtnColor); btnPlayMC._x = iBtnLeft; btnPlayMC._y = iNavBarHeight / 2 - btnPlayMC._height / 2; iBtnLeft += btnPauseMC._width + iButtonSpace; btnPauseMC._visible = true; btnPlayMC._visible = false; btnPlayMC.onRelease = function () { btnPlayMC._visible = false; btnPauseMC._visible = true; this._parent._parent.globalPaused = false; }; btnPauseMC.onRelease = function () { btnPlayMC._visible = true; btnPauseMC._visible = false; this._parent._parent.globalPaused = true; }; } if (globalStyleParam.Style.NavigationBarBtnFirstSlide == 'show') { var btnFirstMC = galleryPanelMC.attachMovie('btnFirstMovie_' + barStyle, 'btnFirstMC', iBtnDepth + 3); var btnColor = new Color(btnFirstMC); btnColor.setRGB(globalStyleParam.Style.NavigationBarBtnColor); btnFirstMC._x = iBtnLeft; btnFirstMC._y = iNavBarHeight / 2 - btnFirstMC._height / 2; iBtnLeft += btnFirstMC._width + iButtonSpace; btnFirstMC.onRelease = function () { this._parent._parent.globalManualSwitch = true; this._parent._parent.globalSwitch = true; this._parent._parent.globalSwitchTo.album = globalCurrent.album; var v2 = this._parent.areaTNMC.iTNFirst - this._parent.areaTNMC.iPosCount; if (v2 < 0) { v2 = 0; } this._parent._parent.globalSwitchTo.slide = v2; }; } if (globalStyleParam.Style.NavigationBarBtnPrevSlide == 'show') { var btnPrevMC = galleryPanelMC.attachMovie('btnPrevMovie_' + barStyle, 'btnPrevMC', iBtnDepth + 4); var btnColor = new Color(btnPrevMC); btnColor.setRGB(globalStyleParam.Style.NavigationBarBtnColor); btnPrevMC._x = iBtnLeft; btnPrevMC._y = iNavBarHeight / 2 - btnPrevMC._height / 2; iBtnLeft += btnPrevMC._width + iButtonSpace; btnPrevMC.onRelease = function () { this._parent._parent.globalManualSwitch = true; this._parent._parent.globalSwitch = true; this._parent._parent.globalSwitchTo.album = -1; this._parent._parent.globalSwitchTo.slide = -2; }; } var iTNAreaWidth = globalMovieParam.width - (iBtnCount + 1) * iButtonSpace - (iBtnCount - 1) * iBtnWidth; var iTNAreaHeight = globalStyleParam.Style.NavigationBarThumbnailImageHeight + 2 * iTNMargin; if (bFullScreen) { var areaTNMC = galleryPanelMC.areaTNMC; areaTNMC.clear(); } else { var areaTNMC = galleryPanelMC.createEmptyMovieClip('areaTNMC', 1000); } drawRoundedRect(areaTNMC, 0, 0, iTNAreaWidth, iTNAreaHeight, 8, true, globalStyleParam.Style.NavigationBarThumbnailBgColor, -1, 16777215, 100); areaTNMC._x = iBtnLeft; areaTNMC._y = iNavBarHeight / 2 - iTNAreaHeight / 2; iBtnLeft += iTNAreaWidth + iButtonSpace; areaTNMC.iTNAreaWidth = iTNAreaWidth; areaTNMC.iTNAreaHeight = iTNAreaHeight; areaTNMC.iTNSpace = iTNSpace; areaTNMC.iTNMargin = iTNMargin; areaTNMC.iTNWidth = globalStyleParam.Style.NavigationBarThumbnailImageWidth; areaTNMC.iTNHeight = globalStyleParam.Style.NavigationBarThumbnailImageHeight; areaTNMC.TNBorderColor = globalStyleParam.Style.NavigationBarThumbnailBorderColor; areaTNMC.TNBorderWidth = globalStyleParam.Style.NavigationBarThumbnailBorderWidth; areaTNMC.updateDrawImages = function (iCurrAlbum, iCurrSlide) { var v2 = Math.floor((this.iTNAreaWidth - this.iTNSpace) / (this.iTNWidth + this.iTNSpace)); if (v2 > globalSlideList[iCurrAlbum].length) { v2 = globalSlideList[iCurrAlbum].length; } var v6 = (this.iTNAreaWidth - this.iTNSpace * (v2 - 1) - v2 * this.iTNWidth) / 2; var v7 = this.iTNMargin; this.iPosCount = v2; this.iTNFirst = Math.floor(iCurrSlide / v2) * v2; this.iTNCount = v2; if (this.iTNCount > globalSlideList[iCurrAlbum].length - this.iTNFirst) { this.iTNCount = globalSlideList[iCurrAlbum].length - this.iTNFirst; } var v3 = new Color(this.tnImageGroupMC['tnImageMC' + this.iCurrSlide].tnImageBorderMC); v3.setRGB(globalStyleParam.Style.NavigationBarThumbnailBorderColor); if (globalStyleParam.Style.NavigationBarThumbnailStyle == 'number') { var v5 = this.tnImageGroupMC['tnImageMC' + this.iCurrSlide].tnImageNumTextMC.getTextFormat(); v5.color = globalStyleParam.Style.NavigationBarThumbnailNumberFontColor; this.tnImageGroupMC['tnImageMC' + this.iCurrSlide].tnImageNumTextMC.setTextFormat(v5); this.tnImageGroupMC['tnImageMC' + this.iCurrSlide].tnImageNumTextMC.textColor = globalStyleParam.Style.NavigationBarThumbnailNumberFontColor; } this.iCurrAlbum = iCurrAlbum; this.iCurrSlide = iCurrSlide; v3 = new Color(this.tnImageGroupMC['tnImageMC' + this.iCurrSlide].tnImageBorderMC); v3.setRGB(globalStyleParam.Style.NavigationBarThumbnailBorderRolloverColor); if (globalStyleParam.Style.NavigationBarThumbnailStyle == 'number') { v5 = this.tnImageGroupMC['tnImageMC' + this.iCurrSlide].tnImageNumTextMC.getTextFormat(); v5.color = globalStyleParam.Style.NavigationBarThumbnailNumberRolloverFontColor; this.tnImageGroupMC['tnImageMC' + this.iCurrSlide].tnImageNumTextMC.setTextFormat(v5); this.tnImageGroupMC['tnImageMC' + this.iCurrSlide].tnImageNumTextMC.textColor = globalStyleParam.Style.NavigationBarThumbnailNumberRolloverFontColor; } this.tnImageGroupMaskMC.clear(); drawRoundedRect(this.tnImageGroupMaskMC, 0, 0, this.iTNCount * (this.iTNWidth + this.iTNSpace), this.iTNHeight, 0, true, 16777215, 0, 16777215, 0); this.tnImageGroupMaskMC._x = v6; this.tnImageGroupMaskMC._y = v7; this.tnImageGroupMC.setMask(this.tnImageGroupMaskMC); this.tnImageGroupMC._visible = true; this.tnImageGroupMC._y = v7; var v8 = v6 - (this.iTNWidth + this.iTNSpace) * this.iTNFirst; caurina.transitions.Tweener.addTween(this.tnImageGroupMC, {'_x': v8, 'time': 1, 'transition': easeOutCubic}); }; areaTNMC.drawImages = function (iCurrAlbum) { this.iCurrAlbum = iCurrAlbum; this.iCurrSlide = 0; var v24 = this.createEmptyMovieClip('tnImageGroupMC', 0); var v25 = this.createEmptyMovieClip('tnImageGroupMaskMC', 1); v24._visible = false; v25._visible = false; var v4 = 0; while (v4 < globalSlideList[iCurrAlbum].length) { var imgPreviewMC = this.createEmptyMovieClip('imgPreviewMC' + v4, v4 * 2 + 100); imgPreviewMC._visible = false; var v12 = imgPreviewMC.createEmptyMovieClip('imgPVNullMC', 0); drawRoundedRect(v12, 0, 0, globalStyleParam.Style.NavigationBarPreviewImageWidth, globalStyleParam.Style.NavigationBarPreviewImageHeight, 0, true, globalStyleParam.Style.NavigationBarPreviewBorderColor, -1, 16777215, 100); v12._alpha = 0; var v8 = imgPreviewMC.createEmptyMovieClip('imgPVBorderMC', 1); drawRoundedRect(v8, 0, 0, globalStyleParam.Style.NavigationBarPreviewImageWidth, globalStyleParam.Style.NavigationBarPreviewImageHeight, 0, true, globalStyleParam.Style.NavigationBarPreviewBorderColor, -1, 16777215, 100); var v5 = imgPreviewMC.attachMovie('previewArrowMovie', 'imgPVArrowMC', 2); var v22 = new Color(v5); v22.setRGB(globalStyleParam.Style.NavigationBarPreviewBorderColor); v5.arrowUpMC._visible = true; v5.arrowDownMC._visible = false; v5._y = v8._height; v5._x = v8._width / 2 - v5._width / 2; var v23 = imgPreviewMC.createEmptyMovieClip('imgPVContainMC', 3); imgPreviewMC.iPVImageWidth = globalStyleParam.Style.NavigationBarPreviewImageWidth - 2 * globalStyleParam.Style.NavigationBarPreviewBorderWidth; imgPreviewMC.iPVImageHeight = globalStyleParam.Style.NavigationBarPreviewImageHeight - 2 * globalStyleParam.Style.NavigationBarPreviewBorderWidth; var v20 = globalSlideList[iCurrAlbum][v4].tnsrc; if (globalInnerXML) { var v11 = imgPreviewMC.imgPVContainMC.attachMovie(v20, 'tnImageShowMC', 0); var v7 = 100; if (globalSlideList[iCurrAlbum][v4].tnscalemode == 'scaletofill') { v7 = Math.max(this._parent._parent._parent.imgPreviewMC.iPVImageWidth / v11._width, this._parent._parent._parent.imgPreviewMC.iPVImageHeight / v11._height) * 100; } else { v7 = Math.min(this._parent._parent._parent.imgPreviewMC.iPVImageWidth / v11._width, this._parent._parent._parent.imgPreviewMC.iPVImageHeight / v11._height) * 100; } v11._xscale = v7; v11._yscale = v7; v11._parent._parent.imgPVBorderMC._xscale = (v11._width + 2 * globalStyleParam.Style.NavigationBarPreviewBorderWidth) * 100 / globalStyleParam.Style.NavigationBarPreviewImageWidth; v11._parent._parent.imgPVBorderMC._yscale = (v11._height + 2 * globalStyleParam.Style.NavigationBarPreviewBorderWidth) * 100 / globalStyleParam.Style.NavigationBarPreviewImageHeight; v11._parent._parent.imgPVBorderMC._x = globalStyleParam.Style.NavigationBarPreviewImageWidth / 2 - v11._parent._parent.imgPVBorderMC._width / 2; v11._parent._parent.imgPVBorderMC._y = globalStyleParam.Style.NavigationBarPreviewImageHeight - v11._parent._parent.imgPVBorderMC._height; v11._x = v11._parent._parent.imgPVBorderMC._x + v11._parent._parent.imgPVBorderMC._width / 2 - v11._width / 2; v11._y = v11._parent._parent.imgPVBorderMC._y + v11._parent._parent.imgPVBorderMC._height / 2 - v11._height / 2; } else { var v11 = imgPreviewMC.imgPVContainMC.createEmptyMovieClip('tnImageShowMC', 0); if (globalStyleParam.Style.NavigationBarThumbnailPreloader == 'show') { var v13 = imgPreviewMC.imgPVContainMC.attachMovie('tnPreloaderMovie', 'tnImageShowPreloaderMC', 1); v13._x = v11._parent._parent.imgPVNullMC._width / 2; v13._y = v11._parent._parent.imgPVNullMC._height / 2; } var v9 = new Object(); v9.onLoadStart = function (mHolderClip) { mHolderClip._parent.tnImageShowPreloaderMC._visible = true; }; v9.onLoadInit = function (mHolderClip) { mHolderClip._parent.tnImageShowPreloaderMC._visible = false; var v2 = 100; var v3 = mHolderClip._width * 100 / mHolderClip._xscale; var v4 = mHolderClip._height * 100 / mHolderClip._yscale; if (mHolderClip.tnScaleMode == 'scaletofill') { v2 = Math.max(mHolderClip._parent._parent.iPVImageWidth / v3, mHolderClip._parent._parent.iPVImageHeight / v4) * 100; } else { v2 = Math.min(mHolderClip._parent._parent.iPVImageWidth / v3, mHolderClip._parent._parent.iPVImageHeight / v4) * 100; } mHolderClip._xscale = v2; mHolderClip._yscale = v2; mHolderClip._parent._parent.imgPVBorderMC._xscale = (mHolderClip._width + 2 * globalStyleParam.Style.NavigationBarPreviewBorderWidth) * 100 / globalStyleParam.Style.NavigationBarPreviewImageWidth; mHolderClip._parent._parent.imgPVBorderMC._yscale = (mHolderClip._height + 2 * globalStyleParam.Style.NavigationBarPreviewBorderWidth) * 100 / globalStyleParam.Style.NavigationBarPreviewImageHeight; mHolderClip._parent._parent.imgPVBorderMC._x = globalStyleParam.Style.NavigationBarPreviewImageWidth / 2 - mHolderClip._parent._parent.imgPVBorderMC._width / 2; mHolderClip._parent._parent.imgPVBorderMC._y = globalStyleParam.Style.NavigationBarPreviewImageHeight - mHolderClip._parent._parent.imgPVBorderMC._height; mHolderClip._x = mHolderClip._parent._parent.imgPVBorderMC._x + mHolderClip._parent._parent.imgPVBorderMC._width / 2 - mHolderClip._width / 2; mHolderClip._y = mHolderClip._parent._parent.imgPVBorderMC._y + mHolderClip._parent._parent.imgPVBorderMC._height / 2 - mHolderClip._height / 2; }; var v19 = new MovieClipLoader(); v19.addListener(v9); v19.loadClip(v20, v11); } var v3 = this.tnImageGroupMC.createEmptyMovieClip('tnImageMC' + v4, v4 * 2 + 1); v3.imgPreviewMC = this['imgPreviewMC' + v4]; var tnImageBorderMC = v3.createEmptyMovieClip('tnImageBorderMC', 0); drawRoundedRect(tnImageBorderMC, 0, 0, this.iTNWidth, this.iTNHeight, 0, true, areaTNMC.TNBorderColor, -1, 16777215, 100); if (globalStyleParam.Style.NavigationBarThumbnailStyle == 'number') { var tnImageNumTextMC = v3.createTextField('tnImageNumTextMC', 1, 0, 0, 0, 0); tnImageNumTextMC.embedFonts = true; tnImageNumTextMC.multiline = false; tnImageNumTextMC.wordWrap = false; tnImageNumTextMC.selectable = false; tnImageNumTextMC.text = v4; tnImageNumTextMC.autoSize = 'left'; var v14 = new TextFormat(); v14.font = 'Style.NavigationBarThumbnailNumberFont'; v14.size = globalStyleParam.Style.NavigationBarThumbnailNumberFontSize; v14.color = globalStyleParam.Style.NavigationBarThumbnailNumberFontColor; tnImageNumTextMC.setTextFormat(v14); tnImageNumTextMC._x = globalStyleParam.Style.NavigationBarThumbnailImageWidth / 2 - tnImageNumTextMC._width / 2; tnImageNumTextMC._y = globalStyleParam.Style.NavigationBarThumbnailImageHeight / 2 - tnImageNumTextMC._height / 2; } else { var v2; var v15; var v17; var v10; v20 = globalSlideList[iCurrAlbum][v4].tnsrc; if (globalInnerXML) { v2 = v3.attachMovie(v20, 'tnImageContainMC', 1); v2._visible = false; v2._x = this.TNBorderWidth; v2._y = this.TNBorderWidth; var v7 = 100; if (globalSlideList[iCurrAlbum][v4].tnscalemode == 'scaletofill') { v7 = Math.max((this.iTNWidth - 2 * this.TNBorderWidth) / v2._width, (this.iTNHeight - 2 * this.TNBorderWidth) / v2._height) * 100; } else { v7 = Math.min((this.iTNWidth - 2 * this.TNBorderWidth) / v2._width, (this.iTNHeight - 2 * this.TNBorderWidth) / v2._height) * 100; } v2._xscale = v7; v2._yscale = v7; v2._x = (this.iTNWidth - 2 * this.TNBorderWidth - v2._width) / 2 + this.TNBorderWidth; v2._y = (this.iTNHeight - 2 * this.TNBorderWidth - v2._height) / 2 + this.TNBorderWidth; v2._visible = true; } else { v2 = v3.createEmptyMovieClip('tnImageContainMC', 1); v2._x = this.TNBorderWidth; v2._y = this.TNBorderWidth; v2._visible = false; if (globalStyleParam.Style.NavigationBarThumbnailPreloader == 'show') { v15 = v3.attachMovie('tnPreloaderMovie', 'tnPreloaderMC', 2); v15._x = this.iTNWidth / 2; v15._y = this.iTNHeight / 2; } v3.tnScaleMode = globalSlideList[iCurrAlbum][v4].tnscalemode; v3.iTNWidth = this.iTNWidth - 2 * this.TNBorderWidth; v3.iTNHeight = this.iTNHeight - 2 * this.TNBorderWidth; v3.iBorderWidth = this.TNBorderWidth; v10 = new Object(); v10.onLoadStart = function (mHolderClip) { mHolderClip._parent.tnPreloaderMC._visible = true; }; v10.onLoadInit = function (mHolderClip) { mHolderClip._parent.tnPreloaderMC._visible = false; var v2 = 100; var v3 = mHolderClip._width * 100 / mHolderClip._xscale; var v4 = mHolderClip._height * 100 / mHolderClip._yscale; if (mHolderClip.tnScaleMode == 'scaletofill') { v2 = Math.max(mHolderClip._parent.iTNWidth / v3, mHolderClip._parent.iTNHeight / v4) * 100; } else { v2 = Math.min(mHolderClip._parent.iTNWidth / v3, mHolderClip._parent.iTNHeight / v4) * 100; } mHolderClip._xscale = v2; mHolderClip._yscale = v2; mHolderClip._x = (mHolderClip._parent.iTNWidth - mHolderClip._width) / 2 + mHolderClip._parent.iBorderWidth; mHolderClip._y = (mHolderClip._parent.iTNHeight - mHolderClip._height) / 2 + mHolderClip._parent.iBorderWidth; mHolderClip._visible = true; }; v17 = new MovieClipLoader(); v17.addListener(v10); v17.loadClip(v20, v2); } } v3._x = v4 * (this.iTNWidth + this.iTNSpace); v3._y = 0; v3.iCurrSlide = v4; v3.onRelease = function () { this._parent._parent._parent._parent.globalManualSwitch = true; this._parent._parent._parent._parent.globalSwitch = true; this._parent._parent._parent._parent.globalSwitchTo.album = -1; this._parent._parent._parent._parent.globalSwitchTo.slide = this.iCurrSlide; }; v3.onRollOver = function () { if (globalStyleParam.Style.NavigationBarThumbnailStyle == 'number') { var v2 = this.tnImageNumTextMC.getTextFormat(); v2.color = globalStyleParam.Style.NavigationBarThumbnailNumberRolloverFontColor; this.tnImageNumTextMC.setTextFormat(v2); this.tnImageNumTextMC.textColor = globalStyleParam.Style.NavigationBarThumbnailNumberRolloverFontColor; } var v3 = new Color(this.tnImageBorderMC); v3.setRGB(globalStyleParam.Style.NavigationBarThumbnailBorderRolloverColor); this.imgPreviewMC._x = this._parent._x + this._x + this._width / 2 - this.imgPreviewMC._width / 2; if (this._parent._parent._parent.bBottom) { this.imgPreviewMC._y = this._parent._y - this.imgPreviewMC._height; this.imgPreviewMC.imgPVArrowMC._y = globalStyleParam.Style.NavigationBarPreviewImageHeight; this.imgPreviewMC.imgPVArrowMC.arrowUpMC._visible = true; this.imgPreviewMC.imgPVArrowMC.arrowDownMC._visible = false; } else { this.imgPreviewMC._y = this._parent._y + this._height + this.imgPreviewMC.imgPVArrowMC._height; this.imgPreviewMC.imgPVArrowMC._y = -this.imgPreviewMC.imgPVArrowMC._height; this.imgPreviewMC.imgPVArrowMC.arrowUpMC._visible = false; this.imgPreviewMC.imgPVArrowMC.arrowDownMC._visible = true; } this.imgPreviewMC._visible = true; }; v3.onRollOut = function () { if (this._parent._parent.iCurrSlide != this.iCurrSlide) { if (globalStyleParam.Style.NavigationBarThumbnailStyle == 'number') { var v2 = this.tnImageNumTextMC.getTextFormat(); v2.color = globalStyleParam.Style.NavigationBarThumbnailNumberFontColor; this.tnImageNumTextMC.setTextFormat(v2); this.tnImageNumTextMC.textColor = globalStyleParam.Style.NavigationBarThumbnailNumberFontColor; } var v3 = new Color(this.tnImageBorderMC); v3.setRGB(globalStyleParam.Style.NavigationBarThumbnailBorderColor); } this.imgPreviewMC._visible = false; }; ++v4; } }; if (!bFullScreen) { areaTNMC.drawImages(iCurrAlbum); } areaTNMC.updateDrawImages(iCurrAlbum, iCurrSlide); if (globalStyleParam.Style.NavigationBarBtnNextSlide == 'show') { var btnNextMC = galleryPanelMC.attachMovie('btnNextMovie_' + barStyle, 'btnNextMC', iBtnDepth + 6); var btnColor = new Color(btnNextMC); btnColor.setRGB(globalStyleParam.Style.NavigationBarBtnColor); btnNextMC._x = iBtnLeft; btnNextMC._y = iNavBarHeight / 2 - btnNextMC._height / 2; iBtnLeft += btnNextMC._width + iButtonSpace; btnNextMC.onRelease = function () { this._parent._parent.globalManualSwitch = true; this._parent._parent.globalSwitch = true; this._parent._parent.globalSwitchTo.album = -1; this._parent._parent.globalSwitchTo.slide = -1; }; } if (globalStyleParam.Style.NavigationBarBtnLastSlide == 'show') { var btnLastMC = galleryPanelMC.attachMovie('btnLastMovie_' + barStyle, 'btnLastMC', iBtnDepth + 7); var btnColor = new Color(btnLastMC); btnColor.setRGB(globalStyleParam.Style.NavigationBarBtnColor); btnLastMC._x = iBtnLeft; btnLastMC._y = iNavBarHeight / 2 - btnLastMC._height / 2; iBtnLeft += btnLastMC._width + iButtonSpace; btnLastMC.onRelease = function () { this._parent._parent.globalManualSwitch = true; this._parent._parent.globalSwitch = true; this._parent._parent.globalSwitchTo.album = globalCurrent.album; var v2 = this._parent.areaTNMC.iTNFirst + this._parent.areaTNMC.iPosCount; if (v2 > globalSlideList[globalCurrent.album].length - 1) { v2 = globalSlideList[globalCurrent.album].length - 1; } this._parent._parent.globalSwitchTo.slide = v2; }; } if (globalStyleParam.Style.NavigationBarBtnSound == 'show') { var btnSoundMC = galleryPanelMC.attachMovie('btnSoundMovie_' + barStyle, 'btnSoundMC', iBtnDepth + 8); var btnColor = new Color(btnSoundMC); btnColor.setRGB(globalStyleParam.Style.NavigationBarBtnColor); btnSoundMC._x = iBtnLeft; btnSoundMC._y = iNavBarHeight / 2 - btnSoundMC._height / 2; var btnSoundOffMC = galleryPanelMC.attachMovie('btnSoundOffMovie_' + barStyle, 'btnSoundOffMC', iBtnDepth + 9); var btnColor = new Color(btnSoundOffMC); btnColor.setRGB(globalStyleParam.Style.NavigationBarBtnColor); btnSoundOffMC._x = iBtnLeft; btnSoundOffMC._y = iNavBarHeight / 2 - btnSoundOffMC._height / 2; iBtnLeft += btnSoundMC._width + iButtonSpace; btnSoundMC._visible = true; btnSoundOffMC._visible = false; btnSoundMC.onRelease = function () { btnSoundMC._visible = false; btnSoundOffMC._visible = true; var v1 = new Sound(); v1.setVolume(0); }; btnSoundOffMC.onRelease = function () { btnSoundMC._visible = true; btnSoundOffMC._visible = false; var v1 = new Sound(); v1.setVolume(100); }; } if (globalStyleParam.Style.NavigationBarBtnFullScreen == 'show') { var btnFullScreenMC = galleryPanelMC.attachMovie('btnFullScreenMovie_' + barStyle, 'btnFullScreenMC', iBtnDepth + 10); var btnColor = new Color(btnFullScreenMC); btnColor.setRGB(globalStyleParam.Style.NavigationBarBtnColor); btnFullScreenMC._x = iBtnLeft; btnFullScreenMC._y = iNavBarHeight / 2 - btnFullScreenMC._height / 2; iBtnLeft += btnFullScreenMC._width + iButtonSpace; btnFullScreenMC.onRelease = function () { if (Stage.displayState == 'normal') { Stage.displayState = 'fullScreen'; } else { Stage.displayState = 'normal'; } }; } if (bFullScreen) { galleryPanelMC.arrowLeftBarMC.removeMovieClip(); galleryPanelMC.arrowRightBarMC.removeMovieClip(); var i1 = 0; while (i1 < galleryPanelMC.iGalleryRowCount * galleryPanelMC.iGalleryColCount) { galleryPanelMC['galleryTabMC' + i1].removeMovieClip(); ++i1; } } galleryPanelMC.iGalleryDepth = 100; galleryPanelMC.iGalleryFirst = 0; galleryPanelMC.iGalleryTop = iNavBarHeight; galleryPanelMC.drawGallery = function () { var v35 = globalMovieParam.width; var v37 = globalMovieParam.height - this.iGalleryTop; var iGalleryRowCount = Math.floor((v37 - 2 * globalStyleParam.Style.NavigationBarGallerySpace - globalStyleParam.Style.NavigationBarGalleryArrowHeight) / (globalStyleParam.Style.NavigationBarGallerySpace + globalStyleParam.Style.NavigationBarGalleryHeight)); var iGalleryColCount = Math.floor((v35 - globalStyleParam.Style.NavigationBarGallerySpace) / (globalStyleParam.Style.NavigationBarGallerySpace + globalStyleParam.Style.NavigationBarGalleryWidth)); if (iGalleryRowCount <= 0) { iGalleryRowCount = 1; } if (iGalleryColCount <= 0) { iGalleryColCount = 1; } this.iGalleryRowCount = iGalleryRowCount; this.iGalleryColCount = iGalleryColCount; var v36 = false; if (globalAlbumList.length > iGalleryRowCount * iGalleryColCount) { v36 = true; } var v23 = this.iGalleryTop; var v29 = (v35 - iGalleryColCount * globalStyleParam.Style.NavigationBarGalleryWidth - (iGalleryColCount - 1) * globalStyleParam.Style.NavigationBarGallerySpace) / 2; v23 += globalStyleParam.Style.NavigationBarGallerySpace; if (v36) { var iDrawPage = Math.floor(this.iGalleryFirst / iGalleryRowCount * iGalleryColCount); var v34 = globalStyleParam.Style.NavigationBarGalleryWidth; if (iGalleryColCount == 1) { v34 /= 3; } var v30 = galleryPanelMC.createEmptyMovieClip('arrowLeftBarMC', this.iGalleryDepth - 1); drawRoundedRect(v30, 0, 0, v34, globalStyleParam.Style.NavigationBarGalleryArrowHeight, 0, true, globalStyleParam.Style.NavigationBarGalleryColor, 0, 10066329, 30); v30._y = v23; v30._x = v29; var v27 = galleryPanelMC.createEmptyMovieClip('arrowRightBarMC', this.iGalleryDepth - 2); drawRoundedRect(v27, 0, 0, v34, globalStyleParam.Style.NavigationBarGalleryArrowHeight, 0, true, globalStyleParam.Style.NavigationBarGalleryColor, 0, 10066329, 30); v27._y = v23; if (iGalleryColCount == 1) { v27._x = v29 + globalStyleParam.Style.NavigationBarGalleryWidth * 2 / 3; } else { v27._x = v29 + (iGalleryColCount - 1) * (globalStyleParam.Style.NavigationBarGallerySpace + globalStyleParam.Style.NavigationBarGalleryWidth); } var v32 = v30.attachMovie('btnNavigationArrowLeft', 'arrowLeftMC', 1); v32._x = v30._width / 2 - v32._width / 2; v32._y = v30._height / 2 - v32._height / 2; var v38 = new Color(v32); v38.setRGB(globalStyleParam.Style.NavigationBarGalleryArrowColor); var v33 = v27.attachMovie('btnNavigationArrowRight', 'arrowRightMC', 1); v33._x = v27._width / 2 - v33._width / 2; v33._y = v27._height / 2 - v33._height / 2; v38 = new Color(v33); v38.setRGB(globalStyleParam.Style.NavigationBarGalleryArrowColor); v30._alpha = 30; if (iDrawPage > 0) { v30._alpha = 100; v30.onRelease = function () { galleryPanelMC.iGalleryFirst = (iDrawPage - 1) * (iGalleryRowCount * iGalleryColCount); galleryPanelMC.drawGallery(); }; } v27._alpha = 30; if (iDrawPage < Math.ceil(globalAlbumList.length / iGalleryRowCount * iGalleryColCount) - 1) { v27._alpha = 100; v27.onRelease = function () { galleryPanelMC.iGalleryFirst = (iDrawPage + 1) * (iGalleryRowCount * iGalleryColCount); galleryPanelMC.drawGallery(); }; } v23 = v23 + globalStyleParam.Style.NavigationBarGalleryArrowHeight + globalStyleParam.Style.NavigationBarGallerySpace; } var v3 = 0; while (v3 < iGalleryRowCount * iGalleryColCount) { galleryPanelMC['galleryTabMC' + v3].removeMovieClip(); ++v3; } var v31 = globalAlbumList.length - this.iGalleryFirst; if (v31 > iGalleryRowCount * iGalleryColCount) { v31 = iGalleryRowCount * iGalleryColCount; } v3 = 0; while (v3 < v31) { var v17 = Math.floor(v3 / iGalleryColCount); var v21 = v3 % iGalleryColCount; var galleryTabMC = galleryPanelMC.createEmptyMovieClip('galleryTabMC' + v3, this.iGalleryDepth + v3); galleryTabMC._x = v29 + v21 * (globalStyleParam.Style.NavigationBarGallerySpace + globalStyleParam.Style.NavigationBarGalleryWidth); galleryTabMC._y = v23 + v17 * (globalStyleParam.Style.NavigationBarGallerySpace + globalStyleParam.Style.NavigationBarGalleryHeight); drawRoundedRect(galleryTabMC, 0, 0, globalStyleParam.Style.NavigationBarGalleryWidth, globalStyleParam.Style.NavigationBarGalleryHeight, 0, true, globalStyleParam.Style.NavigationBarGalleryColor, 0, 10066329, 30); var galleryTabBorderMC = galleryTabMC.createEmptyMovieClip('galleryTabBorderMC', 0); drawRoundedRect(galleryTabBorderMC, 0, 0, globalStyleParam.Style.NavigationBarGalleryWidth, globalStyleParam.Style.NavigationBarGalleryHeight, 0, false, 16777215, 2, 16777215, 100); galleryTabBorderMC._visible = false; galleryTabMC.iAlbum = galleryPanelMC.iGalleryFirst + v17 * iGalleryColCount + v21; galleryTabMC.onRelease = function () { globalManualSwitch = true; globalSwitch = true; globalSwitchTo.album = this.iAlbum; globalSwitchTo.slide = 0; hideGalleryPanel = function () { if (globalStyleParam.Style.ReflectShow == 'yes' && Stage.displayState != 'fullScreen') { drawReflect(galleryTabMC._parent._parent, galleryTabMC._parent._parent.reflectMC, galleryTabMC._parent._parent.reflectMaskMC); galleryTabMC._parent._parent.reflectMC._visible = true; } galleryTabMC._parent._y = galleryTabMC._parent.iBottomPosition; galleryTabMC._parent.bBottom = true; galleryTabMC._parent.btnPlayMC._visible = galleryTabMC._parent.btnGalleryMC.bOldGlobalPausedState; galleryTabMC._parent.btnPauseMC._visible = !galleryTabMC._parent.btnGalleryMC.bOldGlobalPausedState; globalPaused = galleryTabMC._parent.btnGalleryMC.bOldGlobalPausedState; }; var v2 = (Stage.width / 300) * 0.5; caurina.transitions.Tweener.addTween(galleryTabMC._parent, {'_y': galleryTabMC._parent.iBottomPosition, 'time': v2, 'transition': easeOutCubic, 'onComplete': hideGalleryPanel}); }; galleryTabMC.onRollOut = function () { this.galleryTabBorderMC._visible = false; }; galleryTabMC.onRollOver = function () { this.galleryTabBorderMC._visible = true; }; var v2 = 6; var v5 = globalStyleParam.Style.NavigationBarGalleryImageWidth; var v6 = globalStyleParam.Style.NavigationBarGalleryImageHeight; if (v5 > globalStyleParam.Style.NavigationBarGalleryWidth - 2 * v2) { v5 = globalStyleParam.Style.NavigationBarGalleryWidth - 2 * v2; } if (v6 > globalStyleParam.Style.NavigationBarGalleryHeight - 2 * v2) { v6 = globalStyleParam.Style.NavigationBarGalleryHeight - 2 * v2; } var v8 = globalAlbumList[v3 + this.iGalleryFirst].tnsrc; if (v8 != undefined && v8.length > 0) { if (globalInnerXML) { tnGalleryTabImageMC = galleryTabMC.attachMovie(v8, 'tnGalleryTabImageMC', 1); var v15 = 100; if (globalAlbumList[v3 + this.iGalleryFirst].tnscalemode == 'scaletofill') { v15 = Math.max(v5 / tnGalleryTabImageMC._width, v6 / tnGalleryTabImageMC._height) * 100; } else { v15 = Math.min(v5 / tnGalleryTabImageMC._width, v6 / tnGalleryTabImageMC._height) * 100; } tnGalleryTabImageMC._xscale = v15; tnGalleryTabImageMC._yscale = v15; if (globalStyleParam.Style.NavigationBarGalleryImagePos == 'top') { tnGalleryTabImageMC._x = globalStyleParam.Style.NavigationBarGalleryWidth / 2 - tnGalleryTabImageMC._width / 2; if (globalAlbumList[v3 + this.iGalleryFirst].name == undefined && globalAlbumList[v3 + this.iGalleryFirst].description == undefined) { tnGalleryTabImageMC._y = globalStyleParam.Style.NavigationBarGalleryHeight / 2 - tnGalleryTabImageMC._height / 2; } else { tnGalleryTabImageMC._y = v2; } } else { tnGalleryTabImageMC._y = globalStyleParam.Style.NavigationBarGalleryHeight / 2 - tnGalleryTabImageMC._height / 2; if (globalAlbumList[v3 + this.iGalleryFirst].name == undefined && globalAlbumList[v3 + this.iGalleryFirst].description == undefined) { tnGalleryTabImageMC._x = globalStyleParam.Style.NavigationBarGalleryWidth / 2 - tnGalleryTabImageMC._width / 2; } else { tnGalleryTabImageMC._x = v2; } } } else { tnGalleryTabImageMC = galleryTabMC.createEmptyMovieClip('tnGalleryTabImageMC', 1); if (globalStyleParam.Style.NavigationBarThumbnailPreloader == 'show') { tnGalleryTabImagePreloaderMC = galleryTabMC.attachMovie('tnPreloaderMovie', 'tnGalleryTabImagePreloaderMC', 2); if (globalStyleParam.Style.NavigationBarGalleryImagePos == 'top') { tnGalleryTabImagePreloaderMC._x = globalStyleParam.Style.NavigationBarGalleryWidth / 2; tnGalleryTabImagePreloaderMC._y = v2; } else { tnGalleryTabImagePreloaderMC._x = v2 + globalStyleParam.Style.NavigationBarGalleryImageWidth / 2; tnGalleryTabImagePreloaderMC._y = globalStyleParam.Style.NavigationBarGalleryHeight / 2; } } galleryTabMC.tnScaleMode = globalAlbumList[v3 + this.iGalleryFirst].tnscalemode; galleryTabMC.tnName = globalAlbumList[v3 + this.iGalleryFirst].name; galleryTabMC.tnDescription = globalAlbumList[v3 + this.iGalleryFirst].description; galleryTabMC.iImageWidth = v5; galleryTabMC.iImageHeight = v6; galleryTabMC.iImageMargin = v2; var v16 = new Object(); v16.onLoadStart = function (mHolderClip) { mHolderClip._parent.tnGalleryTabImagePreloaderMC._visible = true; }; v16.onLoadInit = function (mHolderClip) { mHolderClip._parent.tnGalleryTabImagePreloaderMC._visible = false; var v2 = 100; var v3 = mHolderClip._width * 100 / mHolderClip._xscale; var v4 = mHolderClip._height * 100 / mHolderClip._yscale; if (mHolderClip.tnScaleMode == 'scaletofill') { v2 = Math.max(mHolderClip._parent.iImageWidth / v3, mHolderClip._parent.iImageHeight / v4) * 100; } else { v2 = Math.min(mHolderClip._parent.iImageWidth / v3, mHolderClip._parent.iImageHeight / v4) * 100; } mHolderClip._xscale = v2; mHolderClip._yscale = v2; if (globalStyleParam.Style.NavigationBarGalleryImagePos == 'top') { mHolderClip._x = globalStyleParam.Style.NavigationBarGalleryWidth / 2 - mHolderClip._width / 2; if (mHolderClip._parent.tnName == undefined && mHolderClip._parent.tnDescription == undefined) { mHolderClip._y = globalStyleParam.Style.NavigationBarGalleryHeight / 2 - mHolderClip._height / 2; } else { mHolderClip._y = mHolderClip._parent.iImageMargin; } } else { mHolderClip._y = globalStyleParam.Style.NavigationBarGalleryHeight / 2 - mHolderClip._height / 2; if (mHolderClip._parent.tnName == undefined && mHolderClip._parent.tnDescription == undefined) { mHolderClip._x = globalStyleParam.Style.NavigationBarGalleryWidth / 2 - mHolderClip._width / 2; } else { mHolderClip._x = mHolderClip._parent.iImageMargin; } } }; tnGalleryTabImageSlideLoader = new MovieClipLoader(); tnGalleryTabImageSlideLoader.addListener(v16); tnGalleryTabImageSlideLoader.loadClip(v8, tnGalleryTabImageMC); } } var v14 = v2; var v7 = v2; var v11 = 0; var v4 = 0; var v19 = v2; var v9 = v2; var v13 = 0; var v10 = 0; if (v8 != undefined && v8.length > 0) { if (globalStyleParam.Style.NavigationBarGalleryImagePos == 'top') { v7 = v7 + v6 + v2; v11 = globalStyleParam.Style.NavigationBarGalleryWidth - 2 * v2; v4 = (globalStyleParam.Style.NavigationBarGalleryHeight - 2 * v2 - v6) / 3; v9 = v7 + v4 + v2 / 2; v13 = globalStyleParam.Style.NavigationBarGalleryWidth - 2 * v2; v10 = (globalStyleParam.Style.NavigationBarGalleryHeight - 2 * v2 - v6) * 2 / 3; } else { v14 = v14 + v5 + v2; v11 = globalStyleParam.Style.NavigationBarGalleryWidth - 2 * v2 - v5; v4 = (globalStyleParam.Style.NavigationBarGalleryHeight - 2 * v2) / 3; v19 = v14; v9 = v7 + v4 + v2 / 2; v13 = globalStyleParam.Style.NavigationBarGalleryWidth - 2 * v2 - v5; v10 = (globalStyleParam.Style.NavigationBarGalleryHeight - 2 * v2) * 2 / 3; } } else { if (globalStyleParam.Style.NavigationBarGalleryImagePos == 'top') { v11 = globalStyleParam.Style.NavigationBarGalleryWidth - 2 * v2; v4 = (globalStyleParam.Style.NavigationBarGalleryHeight - 2 * v2) / 3; v9 = v7 + v4 + v2 / 2; v13 = globalStyleParam.Style.NavigationBarGalleryWidth - 2 * v2; v10 = (globalStyleParam.Style.NavigationBarGalleryHeight - 2 * v2) * 2 / 3; } else { v11 = globalStyleParam.Style.NavigationBarGalleryWidth - 2 * v2; v4 = (globalStyleParam.Style.NavigationBarGalleryHeight - 2 * v2) / 3; v9 = v7 + v4 + v2 / 2; v13 = globalStyleParam.Style.NavigationBarGalleryWidth - 2 * v2; v10 = (globalStyleParam.Style.NavigationBarGalleryHeight - 2 * v2) * 2 / 3; } } if (globalAlbumList[v3 + this.iGalleryFirst].name != undefined) { var v12 = galleryTabMC.createTextField('captionTextMC', 3, v14, v7, v11, v4); v12.autoSize = 'left'; v12.html = true; v12.selectable = false; v12.wordWrap = true; v12.htmlText = globalAlbumList[v3 + this.iGalleryFirst].name; } if (globalAlbumList[v3 + this.iGalleryFirst].description != undefined) { v12 = galleryTabMC.createTextField('captionTextMC', 4, v19, v9, v13, v10); v12.autoSize = 'left'; v12.html = true; v12.selectable = false; v12.wordWrap = true; v12.htmlText = globalAlbumList[v3 + this.iGalleryFirst].description; } ++v3; } }; galleryPanelMC.drawGallery(); } if (globalStyleParam.Style.ShowImageBorder && !bFullScreen) { var imageBorderTopMC = this.createEmptyMovieClip('imageBorderTopMC', HIGHEST_DEPTH - 3); var imageBorderBottomMC = this.createEmptyMovieClip('imageBorderBottomMC', HIGHEST_DEPTH - 4); var imageBorderLeftMC = this.createEmptyMovieClip('imageBorderLeftMC', HIGHEST_DEPTH - 5); var imageBorderRightMC = this.createEmptyMovieClip('imageBorderRightMC', HIGHEST_DEPTH - 6); var iMargin = globalStyleParam.Style.ImageBorderWidth; with (imageBorderTopMC) { beginFill(globalStyleParam.Style.ImageBorderColor); moveTo(0, 0); lineTo(10, 0); lineTo(10, iMargin); lineTo(0, iMargin); lineTo(0, 0); endFill; _visible = false; } with (imageBorderBottomMC) { beginFill(globalStyleParam.Style.ImageBorderColor); moveTo(0, 0); lineTo(10, 0); lineTo(10, iMargin); lineTo(0, iMargin); lineTo(0, 0); endFill; _visible = false; } with (imageBorderLeftMC) { beginFill(globalStyleParam.Style.ImageBorderColor); moveTo(0, 0); lineTo(iMargin, 0); lineTo(iMargin, 10); lineTo(0, 10); lineTo(0, 0); endFill; _visible = false; } with (imageBorderRightMC) { beginFill(globalStyleParam.Style.ImageBorderColor); moveTo(0, 0); lineTo(iMargin, 0); lineTo(iMargin, 10); lineTo(0, 10); lineTo(0, 0); endFill; _visible = false; } } } function drawStyle() { if (globalStyleParam.Style.ShowNavigationBar == 'show') { if (this.galleryPanelMC.areaTNMC.iCurrAlbum != globalCurrent.album) { var v2 = 0; while (v2 < globalSlideList[this.galleryPanelMC.areaTNMC.iCurrAlbum].length) { this.galleryPanelMC.areaTNMC.tnImageGroupMC['tnImageMC' + v2].removeMovieClip(); this.galleryPanelMC.areaTNMC['imgPreviewMC' + v2].removeMovieClip(); ++v2; } this.galleryPanelMC.areaTNMC.drawImages(globalCurrent.album); this.galleryPanelMC.areaTNMC.updateDrawImages(globalCurrent.album, 0); } else { this.galleryPanelMC.areaTNMC.updateDrawImages(globalCurrent.album, globalCurrent.slide); } } } function loadMovieParam() { var v4 = new XML(); v4.onLoad = function (Success) { if (!Success) { return undefined; } var v2; v2 = this.firstChild; while (v2 != null) { if (v2.nodeName == 'movie') { globalMovieParam = new Array(); for (var v3 in v2.attributes) { globalMovieParam[v3] = v2.attributes[v3]; } globalOriginalWidth = parseInt(globalMovieParam.width); globalOriginalHeight = parseInt(globalMovieParam.height); globalMovieParam.width = Stage.width; globalMovieParam.height = Stage.height; if (globalMovieParam.fps == undefined) { globalMovieParam.fps = '24'; } globalMovieParam.fps = parseInt(globalMovieParam.fps); if (globalMovieParam.videopreview == undefined) { globalMovieParam.videopreview = false; } else { globalMovieParam.videopreview = globalMovieParam.videopreview.toLowerCase() == 'true'; } if (globalMovieParam.pauseonmouseover == undefined) { globalMovieParam.pauseonmouseover = false; } else { globalMovieParam.pauseonmouseover = globalMovieParam.pauseonmouseover.toLowerCase() == 'true'; } if (globalMovieParam.loop == undefined) { globalMovieParam.loop = -1; } globalMovieParam.loop = parseInt(globalMovieParam.loop); globalLoop = globalMovieParam.loop; } v2 = v2.nextSibling; } globalMovieParamLoaded = true; }; v4.ignoreWhite = true; v4.parseXML(globalMovieParamXML); v4.onLoad(true); } function loadList() { var v9 = new XML(); v9.onLoad = function (Success) { if (!Success) { return undefined; } var v7; v7 = this.firstChild; while (v7 != null) { if (v7.nodeName == 'gallery') { var v6; var v5; globalAlbumList = new Array(); globalSlideList = new Array(); var v2 = 0; v7 = v7.firstChild; while (v7 != null) { if (v7.nodeName == 'album') { globalAlbumList[v2] = new Array(); for (var v8 in v7.attributes) { globalAlbumList[v2][v8] = v7.attributes[v8]; } if (globalAlbumList[v2].tnscalemode == undefined) { globalAlbumList[v2].tnscalemode = globalStyleParam.Style.ScaleModePreview; } globalSlideList[v2] = new Array(); var v3 = 0; v6 = v7.firstChild; while (v6 != null) { if (v6.nodeName == 'slide') { globalSlideList[v2][v3] = new Array(); for (v8 in v6.attributes) { globalSlideList[v2][v3][v8] = v6.attributes[v8]; } if (globalSlideList[v2][v3].type == undefined) { globalSlideList[v2][v3].type = 'img'; } if (globalSlideList[v2][v3].duration == undefined) { globalSlideList[v2][v3].duration = '3'; } globalSlideList[v2][v3].duration = parseInt(globalSlideList[v2][v3].duration); if (globalSlideList[v2][v3].effect == undefined) { globalSlideList[v2][v3].effect = 'fadeIn'; } if (globalSlideList[v2][v3].effectspeed == undefined) { globalSlideList[v2][v3].effectspeed = '5'; } globalSlideList[v2][v3].effectspeed = parseInt(globalSlideList[v2][v3].effectspeed); if (globalSlideList[v2][v3].scalemode == undefined) { if (globalSlideList[v2][v3].type == 'flv') { globalSlideList[v2][v3].scalemode = globalStyleParam.Style.ScaleModeVideo; } else { globalSlideList[v2][v3].scalemode = globalStyleParam.Style.ScaleModeImage; } } if (globalSlideList[v2][v3].tnscalemode == undefined) { globalSlideList[v2][v3].tnscalemode = globalStyleParam.Style.ScaleModePreview; } if (globalSlideList[v2][v3].link == undefined) { globalSlideList[v2][v3].link = globalMovieParam.link; } if (globalSlideList[v2][v3].target == undefined) { globalSlideList[v2][v3].target = globalMovieParam.target; } if (globalSlideList[v2][v3].effect.toLowerCase() == 'panzoom') { var v4 = 0; globalSlideList[v2][v3].panzoompoint = new Array(); v5 = v6.firstChild; while (v5 != null) { if (v5.nodeName == 'panzoompoint') { globalSlideList[v2][v3].panzoompoint[v4] = new Array(); for (v8 in v5.attributes) { globalSlideList[v2][v3].panzoompoint[v4][v8] = v5.attributes[v8]; } if (globalSlideList[v2][v3].panzoompoint[v4].x == undefined) { globalSlideList[v2][v3].panzoompoint[v4].x = 0; } else { globalSlideList[v2][v3].panzoompoint[v4].x = parseInt(globalSlideList[v2][v3].panzoompoint[v4].x); } if (globalSlideList[v2][v3].panzoompoint[v4].y == undefined) { globalSlideList[v2][v3].panzoompoint[v4].y = 0; } else { globalSlideList[v2][v3].panzoompoint[v4].y = parseInt(globalSlideList[v2][v3].panzoompoint[v4].y); } if (globalSlideList[v2][v3].panzoompoint[v4].alpha == undefined) { globalSlideList[v2][v3].panzoompoint[v4].alpha = 100; } else { globalSlideList[v2][v3].panzoompoint[v4].alpha = parseInt(globalSlideList[v2][v3].panzoompoint[v4].alpha); } if (globalSlideList[v2][v3].panzoompoint[v4].scale == undefined) { globalSlideList[v2][v3].panzoompoint[v4].scale = 100; } else { globalSlideList[v2][v3].panzoompoint[v4].scale = parseInt(globalSlideList[v2][v3].panzoompoint[v4].scale); } if (globalSlideList[v2][v3].panzoompoint[v4].pausetime == undefined) { globalSlideList[v2][v3].panzoompoint[v4].pausetime = 1 * globalMovieParam.fps; } else { globalSlideList[v2][v3].panzoompoint[v4].pausetime = parseInt(globalSlideList[v2][v3].panzoompoint[v4].pausetime) * globalMovieParam.fps; } if (globalSlideList[v2][v3].panzoompoint[v4].movetime == undefined) { globalSlideList[v2][v3].panzoompoint[v4].movetime = 3 * globalMovieParam.fps; } else { globalSlideList[v2][v3].panzoompoint[v4].movetime = parseInt(globalSlideList[v2][v3].panzoompoint[v4].movetime) * globalMovieParam.fps; } } ++v4; v5 = v5.nextSibling; } } ++v3; } v6 = v6.nextSibling; } ++v2; } v7 = v7.nextSibling; } } v7 = v7.nextSibling; } globalXMLListLoaded = true; }; v9.ignoreWhite = true; if (globalInnerXML) { v9.parseXML(globalXMLListString); v9.onLoad(true); } else { var v10 = _url.substr(0, _url.lastIndexOf('.')) + '.xml'; v9.load(v10); } } function GetSwitchToAlbumSlide(arrayCurrent, iToAlbum, iToSlide) { var v4 = true; if (iToAlbum < 0) { if (iToSlide >= 0) { arrayCurrent.slide = iToSlide; } else { if (iToSlide == SWITCH_PREV) { arrayCurrent.slide -= 1; } else { if (iToSlide == SWITCH_NEXT) { arrayCurrent.slide += 1; } } } if (arrayCurrent.slide < 0) { if (arrayCurrent.album > 0) { --arrayCurrent.album; } else { arrayCurrent.album = globalAlbumList.length - 1; } arrayCurrent.slide = globalSlideList[arrayCurrent.album].length - 1; } if (arrayCurrent.slide >= globalSlideList[arrayCurrent.album].length) { if (arrayCurrent.album < globalAlbumList.length - 1) { ++arrayCurrent.album; arrayCurrent.slide = 0; } else { arrayCurrent.album = 0; arrayCurrent.slide = 0; if (globalLoop >= 0) { if (globalLoop > 0) { --globalLoop; } if (globalLoop == 0) { globalLoop = globalMovieParam.loop + 1; globalPaused = true; this.galleryPanelMC.btnPlayMC._visible = true; this.galleryPanelMC.btnPauseMC._visible = false; arrayCurrent.album = globalAlbumList.length - 1; arrayCurrent.slide = globalSlideList[arrayCurrent.album].length - 1; v4 = false; } } } } return v4; } if (iToAlbum >= 0) { arrayCurrent.album = iToAlbum; if (iToSlide >= 0) { arrayCurrent.slide = iToSlide; return v4; } arrayCurrent.slide = 0; } return v4; } function initKeyDown() { if (globalStyleParam.Style.SwitchonKeyDown == 'yes') { var v1 = new Object(); v1.onKeyDown = function () { if (Key.getCode() == 37 || Key.getCode() == 38) { globalManualSwitch = true; globalSwitch = true; globalSwitchTo.album = -1; globalSwitchTo.slide = -2; } if (Key.getCode() == 39 || Key.getCode() == 40 || Key.getCode() == 13 || Key.getCode() == 32) { globalManualSwitch = true; globalSwitch = true; globalSwitchTo.album = -1; globalSwitchTo.slide = -1; } }; Key.addListener(v1); } } function initGallery() { loadStyleParam(); loadMovieParam(); loadList(); globalCurrent.album = 0; globalCurrent.slide = 0; globalPrevSlideMovie = null; globalCurrSlideMovie = null; globalPrevSlideMaskMovie = null; globalCurrSlideMaskMovie = null; globalSwitch = true; globalSwitchTo.album = 0; globalSwitchTo.slide = 0; initKeyDown(); } function drawRoundedRect(drawMC, x, y, w, h, cornerRadius, bDrawColor, drawColor, lineWidth, lineColor, lineAlpha) { if (lineWidth >= 0) { drawMC.lineStyle(lineWidth, lineColor, 50); } if (bDrawColor) { drawMC.beginFill(drawColor); } if (cornerRadius > 0) { var v2; var v3; var v8; var v7; var v10; var v9; if (cornerRadius > Math.min(w, h) / 2) { cornerRadius = Math.min(w, h) / 2; } v2 = 0.7853981633974483; drawMC.moveTo(x + cornerRadius, y); drawMC.lineTo(x + w - cornerRadius, y); v3 = -1.570796326794897; v8 = x + w - cornerRadius + Math.cos(v3 + v2 / 2) * cornerRadius / Math.cos(v2 / 2); v7 = y + cornerRadius + Math.sin(v3 + v2 / 2) * cornerRadius / Math.cos(v2 / 2); v10 = x + w - cornerRadius + Math.cos(v3 + v2) * cornerRadius; v9 = y + cornerRadius + Math.sin(v3 + v2) * cornerRadius; drawMC.curveTo(v8, v7, v10, v9); v3 += v2; v8 = x + w - cornerRadius + Math.cos(v3 + v2 / 2) * cornerRadius / Math.cos(v2 / 2); v7 = y + cornerRadius + Math.sin(v3 + v2 / 2) * cornerRadius / Math.cos(v2 / 2); v10 = x + w - cornerRadius + Math.cos(v3 + v2) * cornerRadius; v9 = y + cornerRadius + Math.sin(v3 + v2) * cornerRadius; drawMC.curveTo(v8, v7, v10, v9); drawMC.lineTo(x + w, y + h - cornerRadius); v3 += v2; v8 = x + w - cornerRadius + Math.cos(v3 + v2 / 2) * cornerRadius / Math.cos(v2 / 2); v7 = y + h - cornerRadius + Math.sin(v3 + v2 / 2) * cornerRadius / Math.cos(v2 / 2); v10 = x + w - cornerRadius + Math.cos(v3 + v2) * cornerRadius; v9 = y + h - cornerRadius + Math.sin(v3 + v2) * cornerRadius; drawMC.curveTo(v8, v7, v10, v9); v3 += v2; v8 = x + w - cornerRadius + Math.cos(v3 + v2 / 2) * cornerRadius / Math.cos(v2 / 2); v7 = y + h - cornerRadius + Math.sin(v3 + v2 / 2) * cornerRadius / Math.cos(v2 / 2); v10 = x + w - cornerRadius + Math.cos(v3 + v2) * cornerRadius; v9 = y + h - cornerRadius + Math.sin(v3 + v2) * cornerRadius; drawMC.curveTo(v8, v7, v10, v9); drawMC.lineTo(x + cornerRadius, y + h); v3 += v2; v8 = x + cornerRadius + Math.cos(v3 + v2 / 2) * cornerRadius / Math.cos(v2 / 2); v7 = y + h - cornerRadius + Math.sin(v3 + v2 / 2) * cornerRadius / Math.cos(v2 / 2); v10 = x + cornerRadius + Math.cos(v3 + v2) * cornerRadius; v9 = y + h - cornerRadius + Math.sin(v3 + v2) * cornerRadius; drawMC.curveTo(v8, v7, v10, v9); v3 += v2; v8 = x + cornerRadius + Math.cos(v3 + v2 / 2) * cornerRadius / Math.cos(v2 / 2); v7 = y + h - cornerRadius + Math.sin(v3 + v2 / 2) * cornerRadius / Math.cos(v2 / 2); v10 = x + cornerRadius + Math.cos(v3 + v2) * cornerRadius; v9 = y + h - cornerRadius + Math.sin(v3 + v2) * cornerRadius; drawMC.curveTo(v8, v7, v10, v9); drawMC.lineTo(x, y + cornerRadius); v3 += v2; v8 = x + cornerRadius + Math.cos(v3 + v2 / 2) * cornerRadius / Math.cos(v2 / 2); v7 = y + cornerRadius + Math.sin(v3 + v2 / 2) * cornerRadius / Math.cos(v2 / 2); v10 = x + cornerRadius + Math.cos(v3 + v2) * cornerRadius; v9 = y + cornerRadius + Math.sin(v3 + v2) * cornerRadius; drawMC.curveTo(v8, v7, v10, v9); v3 += v2; v8 = x + cornerRadius + Math.cos(v3 + v2 / 2) * cornerRadius / Math.cos(v2 / 2); v7 = y + cornerRadius + Math.sin(v3 + v2 / 2) * cornerRadius / Math.cos(v2 / 2); v10 = x + cornerRadius + Math.cos(v3 + v2) * cornerRadius; v9 = y + cornerRadius + Math.sin(v3 + v2) * cornerRadius; drawMC.curveTo(v8, v7, v10, v9); } else { drawMC.moveTo(x, y); drawMC.lineTo(x + w, y); drawMC.lineTo(x + w, y + h); drawMC.lineTo(x, y + h); drawMC.lineTo(x, y); } if (bDrawColor) { drawMC.endFill(); } } function initReflect() { if (globalStyleParam.Style.ReflectShow != 'yes') { return undefined; } var v3 = this.createEmptyMovieClip('reflectMC', HIGHEST_DEPTH - 8); var v2 = this.createEmptyMovieClip('reflectMaskMC', HIGHEST_DEPTH - 9); var v4 = new flash.geom.Matrix(); var v5 = [16777215, 16777215]; var v7 = [globalStyleParam.Style.ReflectAlpha, 0]; var v6 = [0, 255]; v4.createGradientBox(globalMovieParam.width, globalStyleParam.Style.ReflectHeight, 1.570796326794897); v2.beginGradientFill('linear', v5, v7, v6, v4); v2.moveTo(0, 0); v2.lineTo(globalMovieParam.width, 0); v2.lineTo(globalMovieParam.width, globalStyleParam.Style.ReflectHeight); v2.lineTo(0, globalStyleParam.Style.ReflectHeight); v2.lineTo(0, 0); v2.endFill(); v2.OriginalWidth = globalMovieParam.width; v2.OriginalHeight = globalStyleParam.Style.ReflectHeight; v3.cacheAsBitmap = true; v2.cacheAsBitmap = true; v3.setMask(v2); drawReflect(this, v3, v2); globalReflectRefresh = globalStyleParam.Style.ReflectRefresh; } function drawReflect(drawMC, reflectMC, reflectMaskMC) { if (Stage.displayState == 'fullScreen') { return undefined; } var v4; v4 = new flash.display.BitmapData(globalMovieParam.width, globalStyleParam.Style.ReflectHeight, true, 16777215); var v3 = new flash.geom.Matrix(); v3.scale(1, -1); v3.translate(0, globalMovieParam.height); var v5 = new flash.geom.ColorTransform(); var v7 = 'normal'; var v6 = new flash.geom.Rectangle(0, 0, globalMovieParam.width, globalStyleParam.Style.ReflectHeight); v4.draw(drawMC, v3, v5, v7, v6); reflectMC.attachBitmap(v4, 1); reflectMC._x = 0; reflectMC._y = globalMovieParam.height; reflectMaskMC._xscale = 100 * reflectMC._width / reflectMaskMC.OriginalWidth; reflectMaskMC._yscale = 100 * reflectMC._height / reflectMaskMC.OriginalHeight; reflectMaskMC._x = 0; reflectMaskMC._y = globalMovieParam.height; } var ParamsDefine = '<ParamsDefine><Style.ScaleModeImage category="Scale Mode" caption="Image" type="selection" selection="ScaleToFit;ScaleToFill;NoScale" default="ScaleToFill"/><Style.ScaleModeVideo category="Scale Mode" caption="Video" type="selection" selection="ScaleToFit;ScaleToFill;NoScale" default="ScaleToFit"/><Style.ScaleModePreview category="Scale Mode" caption="Preview" type="selection" selection="ScaleToFit;ScaleToFill" default="ScaleToFit"/><Style.ScaleModeFullscreen category="Scale Mode" caption="Resize on Fullscreen" type="selection" selection="Yes;No" default="Yes"/><Style.ShowAlbums category="Startup" caption="Show Albums" type="bool" default="False"/><Style.ShowPreloader category="Preloader" caption="Display" type="bool" default="True"/><Style.PreloaderStyle category="Preloader" caption="Style" type="selection" selection="Spin;Pie;Circle" default="Pie"/><Style.PreloaderColor category="Preloader" caption="Color" type="color" default="0xC0C0C0"/><Style.PreloaderAlpha category="Preloader" caption="Alpha" type="integer" min="0" max="100" default="80"/><Style.PreloaderPos category="Preloader" caption="Position" type="selection" selection="Top Left;Top Right;Bottom Left;Bottom Right;Center" default="Center"/><Style.ShowInformation category="Information Bar" caption="Display" type="selection" selection="Show;Hide;Auto Hide" default="Auto Hide"/><Style.InformationPos category="Information Bar" caption="Position" type="selection" selection="Top;Bottom" default="Top"/><Style.InformationAlign category="Information Bar" caption="Text Align" type="selection" selection="Left;Center;Right" default="Left"/><Style.InformationAlignLong category="Information Bar" caption="Long Text Align" type="selection" selection="Left;Center;Right" default="Left"/><Style.InformationMargin category="Information Bar" caption="Text Margin" type="integer" min="0" max="100" default="8"/><Style.InformationColor category="Information Bar" caption="Background Color" type="color" default="0x000000"/><Style.InformationAlpha category="Information Bar" caption="Background Alpha" type="integer" min="0" max="100" default="30"/><Style.InformationColor2 category="Information Bar" caption="Background Color 2" type="color" default="0x000000"/><Style.InformationAlpha2 category="Information Bar" caption="Background Alpha 2" type="integer" min="0" max="100" default="30"/><Style.ReflectShow category="Reflection" caption="Display" type="selection" selection="Yes;No" default="No"/><Style.ReflectHeight category="Reflection" caption="Height" type="integer" min="0" max="1000" default="40"/><Style.ReflectAlpha category="Reflection" caption="Alpha" type="integer" min="0" max="100" default="40"/><Style.ReflectRefresh category="Reflection" caption="Refresh (Seconds)" type="integer" min="1" max="100" default="1"/><Style.ShowImageBorder category="Border on Image" caption="Display" type="bool" default="False"/><Style.ImageBorderWidth category="Border on Image" caption="Width" type="integer" min="0" max="100" default="6"/><Style.ImageBorderColor category="Border on Image" caption="Color" type="color" default="0xFFFFFF"/><Style.ImageBorderMargin category="Border on Image" caption="Margin on Image" type="integer" min="0" max="100" default="0"/><Style.SwitchonKeyDown category="Key Down" caption="Switch on Key Down" type="selection" selection="Yes;No" default="Yes"/><Style.ShowNavigationBar category="Navigation Bar" caption="Display" type="selection" selection="Show;Hide" default="Show"/><Style.NavigationBarBgColor category="Navigation Bar" caption="Background Color" type="color" default="0x000000"/><Style.NavigationBarGradientStyle category="Navigation Bar" caption="Bg Gradient Style" type="selection" selection="None;Slope;Gradient;" default="Slope"/><Style.NavigationBarThumbnailStyle category="Navigation Bar" caption="ThumbNail Style" type="selection" selection="Image;Number" default="Image"/><Style.NavigationBarThumbnailPreloader category="Navigation Bar" caption="TN Preloader" type="selection" selection="Show;Hide" default="Hide"/><Style.NavigationBarThumbnailBgColor category="Navigation Bar" caption="TN Background Color" type="color" default="0x333333"/><Style.NavigationBarThumbnailImageWidth category="Navigation Bar" caption="TN Image Width" type="integer" min="2" max="800" default="32"/><Style.NavigationBarThumbnailImageHeight category="Navigation Bar" caption="TN Image Height" type="integer" min="2" max="600" default="24"/><Style.NavigationBarThumbnailNumberFont category="Navigation Bar" caption="TN Num Font" type="font" fontsize="Style.NavigationBarThumbnailNumberFontSize" embedchars="0123456789" default="Tahoma"/><Style.NavigationBarThumbnailNumberFontSize category="Navigation Bar" caption="TN Num Font Size" type="integer" min="6" max="60" default="12"/><Style.NavigationBarThumbnailNumberFontColor category="Navigation Bar" caption="TN Num Color" type="color" default="0x333333"/><Style.NavigationBarThumbnailNumberRolloverFontColor category="Navigation Bar" caption="TN Num Rollover Color" type="color" default="0x000000"/><Style.NavigationBarThumbnailAreaMargin category="Navigation Bar" caption="TN Area Margin" type="integer" min="0" max="100" default="4"/><Style.NavigationBarThumbnailImageMargin category="Navigation Bar" caption="TN Image Margin" type="integer" min="0" max="100" default="4"/><Style.NavigationBarThumbnailImageSpace category="Navigation Bar" caption="TN Image Space" type="integer" min="0" max="100" default="4"/><Style.NavigationBarThumbnailBorderColor category="Navigation Bar" caption="TN Border Color" type="color" default="0x666666"/><Style.NavigationBarThumbnailBorderWidth category="Navigation Bar" caption="TN Border Width" type="integer" min="0" max="20" default="1"/><Style.NavigationBarThumbnailBorderRolloverColor category="Navigation Bar" caption="TN Border Rollover Color" type="color" default="0xFFFFFF"/><Style.NavigationBarPreviewImageWidth category="Navigation Bar" caption="Preview Image Width" type="integer" min="2" max="800" default="120"/><Style.NavigationBarPreviewImageHeight category="Navigation Bar" caption="Preview Image Height" type="integer" min="2" max="600" default="90"/><Style.NavigationBarPreviewBorderColor category="Navigation Bar" caption="Preview Border Color" type="color" default="0xFFFFFF"/><Style.NavigationBarPreviewBorderWidth category="Navigation Bar" caption="Preview Border Width" type="integer" min="0" max="40" default="2"/><Style.NavigationBarBtnStyle category="Navigation Bar" caption="Button Style" type="selection" selection="Simple;Gradient" default="Gradient"/><Style.NavigationBarBtnColor category="Navigation Bar" caption="Button Color" type="color" default="0xFFFFFF"/><Style.NavigationBarBtnSpace category="Navigation Bar" caption="Button Space" type="integer" min="0" max="100" default="8"/><Style.NavigationBarBtnGallery category="Navigation Bar" caption="Button Gallery" type="selection" selection="Show;Hide" default="Show"/><Style.NavigationBarBtnPause category="Navigation Bar" caption="Button Pause" type="selection" selection="Show;Hide" default="Show"/><Style.NavigationBarBtnFirstSlide category="Navigation Bar" caption="Button First Slide" type="selection" selection="Show;Hide" default="Show"/><Style.NavigationBarBtnPrevSlide category="Navigation Bar" caption="Button Prev Slide" type="selection" selection="Show;Hide" default="Show"/><Style.NavigationBarBtnLastSlide category="Navigation Bar" caption="Button Last Slide" type="selection" selection="Show;Hide" default="Show"/><Style.NavigationBarBtnNextSlide category="Navigation Bar" caption="Button Next Slide" type="selection" selection="Show;Hide" default="Show"/><Style.NavigationBarBtnSound category="Navigation Bar" caption="Button Sound" type="selection" selection="Show;Hide" default="Show"/><Style.NavigationBarBtnFullScreen category="Navigation Bar" caption="Button Full Screen" type="selection" selection="Show;Hide" default="Show"/><Style.NavigationBarGalleryColor category="Navigation Bar" caption="Gallery Color" type="color" default="0x333333"/><Style.NavigationBarGallerySpace category="Navigation Bar" caption="Gallery Space" type="integer" min="0" max="600" default="20"/><Style.NavigationBarGalleryWidth category="Navigation Bar" caption="Gallery Width" type="integer" min="30" max="600" default="160"/><Style.NavigationBarGalleryHeight category="Navigation Bar" caption="Gallery Height" type="integer" min="20" max="600" default="80"/><Style.NavigationBarGalleryImagePos category="Navigation Bar" caption="Gallery Image Pos" type="selection" selection="Left;Top" default="Left"/><Style.NavigationBarGalleryImageWidth category="Navigation Bar" caption="Gallery Image Width" type="integer" min="10" max="600" default="64"/><Style.NavigationBarGalleryImageHeight category="Navigation Bar" caption="Gallery Image Height" type="integer" min="10" max="600" default="48"/><Style.NavigationBarGalleryArrowColor category="Navigation Bar" caption="Gallery Arrow Color" type="color" default="0xFFFFFF"/><Style.NavigationBarGalleryArrowHeight category="Navigation Bar" caption="Gallery Arrow Height" type="integer" min="10" max="600" default="30"/><Style.FullScreenBackgroundColorMode category="Full Screen" caption="Background Color Mode" type="selection" selection="Transparent;Color" default="Transparent"/><Style.FullScreenBackgroundColor category="Full Screen" caption="Background Color" type="color" default="0xFFFFFF"/></ParamsDefine>'; Stage.scaleMode = 'noScale'; Stage.align = 'TL'; var SWITCH_NEXT = -1; var SWITCH_PREV = -2; var HIGHEST_DEPTH = 8191; var globalXMLListLoaded = false; var globalAlbumList; var globalSlideList; var globalSwitch; var globalSwitchTo = new Array(); var globalCurrent = new Array(); var globalPrevSlideMovie; var globalCurrSlideMovie; var globalPrevSlideMaskMovie; var globalCurrSlideMaskMovie; var SLIDE_BEGIN_DEPTH = 2; var globalSlideDepth = SLIDE_BEGIN_DEPTH; var globalMovieParam; var globalMovieParamLoaded = false; var globalStyleParam; var globalStyleParamLoaded = false; var globalSlideSizeAndPos; var globalFirstLoaded = true; var globalPaused = false; var globalManualSwitch = false; var globalLoop = -1; var globalFullScreen = false; var globalMovieBgColorMC = this._parent.movieBgColorMC; var globalMovieWatermarkMC = this._parent.watermarkMC; var globalOriginalWidth = 400; var globalOriginalHeight = 300; var globalReflectRefresh = 1; var globalFullScreenBgMC; var stageResizeListener = new Object(); stageResizeListener.onResize = function () { globalMovieBgColorMC._xscale = Stage.width * 100 / globalOriginalWidth; globalMovieBgColorMC._yscale = Stage.height * 100 / globalOriginalHeight; globalMovieParam.width = Stage.width; globalMovieParam.height = Stage.height; if (globalStyleParam.Style.ReflectShow == 'yes' && Stage.displayState != 'fullScreen') { globalMovieParam.height -= globalStyleParam.Style.ReflectHeight; } globalMovieWatermarkMC._x = globalMovieParam.width / 2 - globalMovieWatermarkMC._width / 2; globalMovieWatermarkMC._y = globalMovieParam.height / 2 - globalMovieWatermarkMC._height / 2; if (Stage.displayState == 'fullScreen') { globalFullScreenBgMC._xscale = Stage.width * 100 / 100; globalFullScreenBgMC._yscale = Stage.height * 100 / 100; globalFullScreenBgMC._visible = true; } else { globalFullScreenBgMC._visible = false; } globalFullScreen = true; }; Stage.addListener(stageResizeListener); initGallery(); this.onEnterFrame = function () { if (!globalStyleParamLoaded) { return undefined; } if (!globalMovieParamLoaded) { return undefined; } if (!globalXMLListLoaded) { return undefined; } if (globalFirstLoaded) { if (globalStyleParam.Style.ReflectShow == 'yes' && Stage.displayState != 'fullScreen') { globalMovieParam.height -= globalStyleParam.Style.ReflectHeight; globalOriginalHeight -= globalStyleParam.Style.ReflectHeight; } calcSlideSizeAndPos(); initFullScreenBg(); initStyle(0, 0, false); initReflect(); if (globalStyleParam.Style.ShowAlbums) { showAlbums(); } globalFirstLoaded = false; } if (globalStyleParam.Style.ReflectShow == 'yes') { --globalReflectRefresh; if (globalReflectRefresh <= 0) { drawReflect(this, this.reflectMC, this.reflectMaskMC); globalReflectRefresh = globalStyleParam.Style.ReflectRefresh; } } if (globalFullScreen) { calcSlideSizeAndPos(); if (globalCurrSlideMovie.bLoading) { globalManualSwitch = true; globalSwitch = true; globalSwitchTo.album = globalCurrent.album; globalSwitchTo.slide = globalCurrent.slide; } else { globalCurrSlideMovie._slideWidth = globalSlideSizeAndPos.width; globalCurrSlideMovie._slideHeight = globalSlideSizeAndPos.height; globalCurrSlideMovie._x = globalSlideSizeAndPos.x; globalCurrSlideMovie._y = globalSlideSizeAndPos.y; globalCurrSlideMovie.checkSlide(); globalCurrSlideMovie.moveGlobalControls(); globalCurrSlideMovie.initSlideHolderMouseOver(); globalCurrSlideMovie.redrawControls(); } initStyle(globalCurrent.album, globalCurrent.slide, true); if (globalStyleParam.Style.ReflectShow == 'yes') { if (Stage.displayState == 'fullScreen') { this.reflectMC._visible = false; } else { this.reflectMC._visible = true; drawReflect(this, this.reflectMC, this.reflectMaskMC); } } globalFullScreen = false; } if (globalPaused && !globalManualSwitch) { return undefined; } if (globalSwitch) { if (!GetSwitchToAlbumSlide(globalCurrent, globalSwitchTo.album, globalSwitchTo.slide)) { return undefined; } var v2 = globalSlideDepth - 6; if (v2 >= SLIDE_BEGIN_DEPTH) { var v3 = v2 + 1; this['slideMC' + v2].removeMovieClip(); this['slideMaskMC' + v3].removeMovieClip(); } globalCurrSlideMovie.bCurrent = false; globalPrevSlideMovie = globalCurrSlideMovie; globalPrevSlideMaskMovie = globalCurrSlideMaskMovie; globalManualSwitch = false; globalSwitch = false; globalCurrSlideMovie = this.attachMovie('slideMovie', 'slideMC' + globalSlideDepth, globalSlideDepth); ++globalSlideDepth; globalCurrSlideMovie.bLoading = true; globalCurrSlideMovie.bCurrent = true; globalCurrSlideMaskMovie = this.createEmptyMovieClip('slideMaskMC' + globalSlideDepth, globalSlideDepth); globalCurrSlideMaskMovie.beginFill(16777215); globalCurrSlideMaskMovie.moveTo(0, 0); globalCurrSlideMaskMovie.lineTo(globalSlideSizeAndPos.width, 0); globalCurrSlideMaskMovie.lineTo(globalSlideSizeAndPos.width, globalSlideSizeAndPos.height); globalCurrSlideMaskMovie.lineTo(0, globalSlideSizeAndPos.height); globalCurrSlideMaskMovie.lineTo(0, 0); globalCurrSlideMaskMovie.endFill; globalCurrSlideMaskMovie.iOriginalWidth = globalSlideSizeAndPos.width; globalCurrSlideMaskMovie.iOriginalHeight = globalSlideSizeAndPos.height; globalCurrSlideMaskMovie._visible = false; globalCurrSlideMovie.setMask(globalCurrSlideMaskMovie); ++globalSlideDepth; globalCurrSlideMovie._x = globalSlideSizeAndPos.x; globalCurrSlideMovie._y = globalSlideSizeAndPos.y; globalCurrSlideMaskMovie._x = globalSlideSizeAndPos.x; globalCurrSlideMaskMovie._y = globalSlideSizeAndPos.y; globalCurrSlideMovie._globalMask = globalCurrSlideMaskMovie; globalCurrSlideMovie._inner = globalInnerXML; globalCurrSlideMovie._prevSlide = globalPrevSlideMovie; globalCurrSlideMovie._prevMaskSlide = globalPrevSlideMaskMovie; globalCurrSlideMovie._slideWidth = globalSlideSizeAndPos.width; globalCurrSlideMovie._slideHeight = globalSlideSizeAndPos.height; globalCurrSlideMovie._videoPreview = globalMovieParam.videopreview; globalCurrSlideMovie._pausemouseover = globalMovieParam.pauseonmouseover; globalCurrSlideMovie._showPreloader = globalStyleParam.Style.ShowPreloader; globalCurrSlideMovie._preloaderStyle = globalStyleParam.Style.PreloaderStyle; globalCurrSlideMovie._preloaderColor = globalStyleParam.Style.PreloaderColor; globalCurrSlideMovie._preloaderAlpha = globalStyleParam.Style.PreloaderAlpha; globalCurrSlideMovie._preloaderPos = globalStyleParam.Style.PreloaderPos; globalCurrSlideMovie._showInformation = globalStyleParam.Style.ShowInformation; globalCurrSlideMovie._informationPos = globalStyleParam.Style.InformationPos; globalCurrSlideMovie._informationAlign = globalStyleParam.Style.InformationAlign; globalCurrSlideMovie._informationAlignLong = globalStyleParam.Style.InformationAlignLong; globalCurrSlideMovie._informationMargin = globalStyleParam.Style.InformationMargin; globalCurrSlideMovie._informationColor = globalStyleParam.Style.InformationColor; globalCurrSlideMovie._informationAlpha = globalStyleParam.Style.InformationAlpha; globalCurrSlideMovie._informationColor2 = globalStyleParam.Style.InformationColor2; globalCurrSlideMovie._informationAlpha2 = globalStyleParam.Style.InformationAlpha2; globalCurrSlideMovie._showImageBorder = globalStyleParam.Style.ShowImageBorder; globalCurrSlideMovie._imageBorderWidth = globalStyleParam.Style.ImageBorderWidth; globalCurrSlideMovie._showNavigationButton = globalStyleParam.Style.ShowNavigationButton; globalCurrSlideMovie._src = globalSlideList[globalCurrent.album][globalCurrent.slide].src; globalCurrSlideMovie._type = globalSlideList[globalCurrent.album][globalCurrent.slide].type; globalCurrSlideMovie._effect = globalSlideList[globalCurrent.album][globalCurrent.slide].effect; globalCurrSlideMovie._duration = globalSlideList[globalCurrent.album][globalCurrent.slide].duration * globalMovieParam.fps; globalCurrSlideMovie._effectSpeed = globalSlideList[globalCurrent.album][globalCurrent.slide].effectspeed; globalCurrSlideMovie._panzoompoint = globalSlideList[globalCurrent.album][globalCurrent.slide].panzoompoint; globalCurrSlideMovie._scaleMode = globalSlideList[globalCurrent.album][globalCurrent.slide].scalemode; globalCurrSlideMovie._videoPreviewSrc = globalSlideList[globalCurrent.album][globalCurrent.slide].previewsrc; globalCurrSlideMovie._link = globalSlideList[globalCurrent.album][globalCurrent.slide].link; globalCurrSlideMovie._linktarget = globalSlideList[globalCurrent.album][globalCurrent.slide].target; globalCurrSlideMovie._caption = globalSlideList[globalCurrent.album][globalCurrent.slide].name; globalCurrSlideMovie._description = globalSlideList[globalCurrent.album][globalCurrent.slide].description; if (globalFullScreen) { globalCurrSlideMovie._effect = 'fadein'; globalCurrSlideMovie._effectSpeed = 100; globalFullScreen = false; } drawStyle(); if (globalStyleParam.Style.ReflectShow == 'yes') { drawReflect(this, this.reflectMC, this.reflectMaskMC); } } }; } } frame 2 { stop(); }




http://swfchan.com/32/159694/info.shtml
Created: 9/8 -2019 12:34:24 Last modified: 9/8 -2019 12:34:24 Server time: 19/04 -2024 23:24:31