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

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

Trumpler.swf

This is the info page for
Flash #190177

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


ActionScript [AS1/AS2]
Frame 1
this.setMask(movieShapeMaskMC);
Frame 2
g_soundloopcount = -1; moviesound = new Sound(); moviesound.attachSound("moviesound"); moviesound.start(); moviesound.onSoundComplete = function () { if (g_soundloopcount != -1) { g_soundloopcount--; } if (g_soundloopcount != 0) { moviesound.start(); } }; play();
Frame 3
play();
Frame 4
stop(); g_effectcount = 1;
Frame 5
stop(); g_effectcount = 1;
Frame 6
stop(); g_effectcount = 1;
Frame 7
stop(); g_effectcount = 1;
Frame 8
stop(); g_effectcount = 1;
Frame 9
stop(); g_effectcount = 1;
Frame 10
stop(); g_effectcount = 1;
Frame 11
stop(); g_effectcount = 1;
Frame 12
stop(); g_effectcount = 1;
Frame 13
stop(); g_effectcount = 1;
Frame 14
stop(); g_effectcount = 1;
Frame 15
stop(); g_effectcount = 1;
Frame 16
stop(); g_effectcount = 1;
Frame 17
stop(); g_effectcount = 1;
Frame 18
stop(); g_effectcount = 1;
Frame 19
stop(); g_effectcount = 1;
Frame 20
stop(); g_effectcount = 1;
Frame 21
gotoAndPlay ("loopstart");
Symbol 9 MovieClip Frame 1
ParamsValue = "<ParamsValue><Movie.Width>1024</Movie.Width><Movie.Height>881</Movie.Height><Movie.FPS>24</Movie.FPS><Img.ImageExport>Img.Blinds_Image_0</Img.ImageExport><Img.ImageMovieExport>Img.Blinds_ImageMovie_0</Img.ImageMovieExport><Img.BlindWidth>12</Img.BlindWidth><Img.InEffect>Blinds horizontal</Img.InEffect><Img.InSpeed>4</Img.InSpeed><Img.StayEffect>Stay</Img.StayEffect><Img.StaySpeed>4</Img.StaySpeed><Img.StayTime>To end</Img.StayTime><Img.StayTimeCustom>3</Img.StayTimeCustom><Img.OutEffect>Blinds horizontal</Img.OutEffect><Img.OutSpeed>4</Img.OutSpeed><Img.EffectName>Img.Blinds</Img.EffectName><Img.PosX>0</Img.PosX><Img.PosY>56</Img.PosY><Img.Rotation>0</Img.Rotation><Img.Alpha>100</Img.Alpha><Img.StaticText>false</Img.StaticText><Img.DelayFrame>0</Img.DelayFrame><Img.DurationFrame>144</Img.DurationFrame><Img.KeepText>false</Img.KeepText><Img.URL>false</Img.URL><Img.URLAddress>about:blank</Img.URLAddress><Img.URLTarget></Img.URLTarget></ParamsValue>"; function InEffect_FadeIn(ImgMC, MovieWidth, MovieHeight, PosX, PosY, InSpeed, ImgAlpha) { ImgMC._x = PosX; ImgMC._y = PosY; ImgMC._alpha = 0; ImgMC.InSpeed = InSpeed; ImgMC.ImgAlpha = ImgAlpha; ImgMC.onEnterFrame = function () { if ((this._alpha + this.InSpeed) > this.ImgAlpha) { this._alpha = this.ImgAlpha; delete this.onEnterFrame; this._parent.play(); } this._alpha = this._alpha + this.InSpeed; }; } function InEffect_BlindsHorizontal(ImgMC, MovieWidth, MovieHeight, PosX, PosY, InSpeed, ImgAlpha, ImgWidth, ImgHeight, BlindWidth) { var iBlindsCount = Math.ceil(ImgHeight / BlindWidth); var ImgMask = this.createEmptyMovieClip("ImgMask", 3); var ImgMask_Slide0 = ImgMask.createEmptyMovieClip("ImgMask_Slide0", 1); with (ImgMask_Slide0) { beginFill(16777215); moveTo(0, 0); lineTo(ImgWidth, 0); lineTo(ImgWidth, BlindWidth); lineTo(0, BlindWidth); lineTo(0, 0); endFill(); } var i = 1; while (i < iBlindsCount) { ImgMask_Slide0.duplicateMovieClip("ImgMask_Slide" + i, i + 1); i++; } var i = 0; while (i < iBlindsCount) { ImgMask["ImgMask_Slide" + i]._x = 0; ImgMask["ImgMask_Slide" + i]._y = BlindWidth * i; ImgMask["ImgMask_Slide" + i]._yscale = 0; i++; } ImgMC._x = PosX; ImgMC._y = PosY; ImgMask._x = PosX; ImgMask._y = PosY; ImgMC.setMask(ImgMask); ImgMask.ScaleCount = 0; ImgMask.InSpeed = InSpeed; ImgMask.iBlindsCount = iBlindsCount; ImgMask.onEnterFrame = function () { var _local2 = 0; while (_local2 < iBlindsCount) { this["ImgMask_Slide" + _local2]._yscale = this["ImgMask_Slide" + _local2]._yscale + this.InSpeed; _local2++; } this.ScaleCount = this.ScaleCount + this.InSpeed; if (this.ScaleCount >= 110) { delete this.onEnterFrame; this._parent.play(); this.removeMovieClip(); } }; } function InEffect_BlindsVertical(ImgMC, MovieWidth, MovieHeight, PosX, PosY, InSpeed, ImgAlpha, ImgWidth, ImgHeight, BlindWidth) { var iBlindsCount = Math.ceil(ImgWidth / BlindWidth); var ImgMask = this.createEmptyMovieClip("ImgMask", 3); var ImgMask_Slide0 = ImgMask.createEmptyMovieClip("ImgMask_Slide0", 1); with (ImgMask_Slide0) { beginFill(16777215); moveTo(0, 0); lineTo(BlindWidth, 0); lineTo(BlindWidth, ImgHeight); lineTo(0, ImgHeight); lineTo(0, 0); endFill(); } var i = 1; while (i < iBlindsCount) { ImgMask_Slide0.duplicateMovieClip("ImgMask_Slide" + i, i + 1); i++; } var i = 0; while (i < iBlindsCount) { ImgMask["ImgMask_Slide" + i]._x = BlindWidth * i; ImgMask["ImgMask_Slide" + i]._y = 0; ImgMask["ImgMask_Slide" + i]._xscale = 0; i++; } ImgMC._x = PosX; ImgMC._y = PosY; ImgMask._x = PosX; ImgMask._y = PosY; ImgMC.setMask(ImgMask); ImgMask.ScaleCount = 0; ImgMask.InSpeed = InSpeed; ImgMask.iBlindsCount = iBlindsCount; ImgMask.onEnterFrame = function () { var _local2 = 0; while (_local2 < iBlindsCount) { this["ImgMask_Slide" + _local2]._xscale = this["ImgMask_Slide" + _local2]._xscale + this.InSpeed; _local2++; } this.ScaleCount = this.ScaleCount + this.InSpeed; if (this.ScaleCount >= 110) { delete this.onEnterFrame; this._parent.play(); this.removeMovieClip(); } }; } function OutEffect_FadeOut(ImgMC, MovieWidth, MovieHeight, OutSpeed) { ImgMC.OutSpeed = OutSpeed; ImgMC.onEnterFrame = function () { this._alpha = this._alpha - this.OutSpeed; if (this._alpha <= 0) { this._parent.play(); delete this.onEnterFrame; this.removeMovieClip(); } }; } function OutEffect_BlindsHorizontal(ImgMC, MovieWidth, MovieHeight, PosX, PosY, OutSpeed, ImgWidth, ImgHeight, BlindWidth) { var iBlindsCount = Math.ceil(ImgHeight / BlindWidth); var ImgMask = this.createEmptyMovieClip("ImgMask", 3); var ImgMask_Slide0 = ImgMask.createEmptyMovieClip("ImgMask_Slide0", 1); with (ImgMask_Slide0) { beginFill(16777215); moveTo(0, 0); lineTo(ImgWidth, 0); lineTo(ImgWidth, BlindWidth); lineTo(0, BlindWidth); lineTo(0, 0); endFill(); } var i = 1; while (i < iBlindsCount) { ImgMask_Slide0.duplicateMovieClip("ImgMask_Slide" + i, i + 1); i++; } var i = 0; while (i < iBlindsCount) { ImgMask["ImgMask_Slide" + i]._x = 0; ImgMask["ImgMask_Slide" + i]._y = BlindWidth * i; ImgMask["ImgMask_Slide" + i]._yscale = 100; i++; } ImgMC._x = PosX; ImgMC._y = PosY; ImgMask._x = PosX; ImgMask._y = PosY; ImgMC.setMask(ImgMask); ImgMask.ScaleCount = 100; ImgMask.OutSpeed = OutSpeed; ImgMask.iBlindsCount = iBlindsCount; ImgMask.onEnterFrame = function () { var _local2 = 0; while (_local2 < iBlindsCount) { this["ImgMask_Slide" + _local2]._yscale = this["ImgMask_Slide" + _local2]._yscale - this.OutSpeed; _local2++; } this.ScaleCount = this.ScaleCount - this.OutSpeed; if (this.ScaleCount <= 0) { delete this.onEnterFrame; this._parent.play(); ImgMask.removeMovieClip(); ImgMC.removeMovieClip(); } }; } function OutEffect_BlindsVertical(ImgMC, MovieWidth, MovieHeight, PosX, PosY, OutSpeed, ImgWidth, ImgHeight, BlindWidth) { var iBlindsCount = Math.ceil(ImgWidth / BlindWidth); var ImgMask = this.createEmptyMovieClip("ImgMask", 3); var ImgMask_Slide0 = ImgMask.createEmptyMovieClip("ImgMask_Slide0", 1); with (ImgMask_Slide0) { beginFill(16777215); moveTo(0, 0); lineTo(BlindWidth, 0); lineTo(BlindWidth, ImgHeight); lineTo(0, ImgHeight); lineTo(0, 0); endFill(); } var i = 1; while (i < iBlindsCount) { ImgMask_Slide0.duplicateMovieClip("ImgMask_Slide" + i, i + 1); i++; } var i = 0; while (i < iBlindsCount) { ImgMask["ImgMask_Slide" + i]._x = BlindWidth * i; ImgMask["ImgMask_Slide" + i]._y = 0; ImgMask["ImgMask_Slide" + i]._xscale = 100; i++; } ImgMC._x = PosX; ImgMC._y = PosY; ImgMask._x = PosX; ImgMask._y = PosY; ImgMC.setMask(ImgMask); ImgMask.ScaleCount = 100; ImgMask.OutSpeed = OutSpeed; ImgMask.iBlindsCount = iBlindsCount; ImgMask.onEnterFrame = function () { var _local2 = 0; while (_local2 < iBlindsCount) { this["ImgMask_Slide" + _local2]._xscale = this["ImgMask_Slide" + _local2]._xscale - this.OutSpeed; _local2++; } this.ScaleCount = this.ScaleCount - this.OutSpeed; if (this.ScaleCount <= 0) { delete this.onEnterFrame; this._parent.play(); ImgMask.removeMovieClip(); ImgMC.removeMovieClip(); } }; } function LeaveStayEffect(ImgMC, PosX, PosY, ImgAlpha) { ImgMC._rotation = 0; ImgMC._xscale = 100; ImgMC._yscale = 100; ImgMC._x = PosX; ImgMC._y = PosY; ImgMC._alpha = ImgAlpha; delete ImgMC.onEnterFrame; } function StayEffect_Stay(ImgMC, StayTime, MovieWidth, MovieHeight, PosX, PosY, StaySpeed, ImgAlpha, ImgWidth, ImgHeight) { ImgMC.onEnterFrame = function () { }; } function StayEffect_Flicker(ImgMC, StayTime, MovieWidth, MovieHeight, PosX, PosY, StaySpeed, ImgAlpha, ImgWidth, ImgHeight) { ImgMC.PosX = PosX; ImgMC.PosY = PosY; ImgMC.StaySpeed = StaySpeed; ImgMC.ImgAlpha = ImgAlpha; ImgMC.FlickerVisible = true; ImgMC.StayTime = StayTime; ImgMC.Switch = StaySpeed; ImgMC.onEnterFrame = function () { if (this.StayTime == 0) { this._rotation = 0; this._xscale = 100; this._yscale = 100; this._x = this.PosX; this._y = this.PosY; this._alpha = this.ImgAlpha; delete this.onEnterFrame; } else if (this.StayTime > 0) { this.StayTime--; } if ((--this.Switch) <= 0) { if (ImgMC.FlickerVisible) { ImgMC._alpha = 0; ImgMC.FlickerVisible = false; } else { ImgMC._alpha = this.ImgAlpha; ImgMC.FlickerVisible = true; } this.Switch = this.StaySpeed; } }; } function StayEffect_Rotating(ImgMC, StayTime, MovieWidth, MovieHeight, PosX, PosY, StaySpeed, ImgAlpha, ImgWidth, ImgHeight) { ImgMC.StaySpeed = StaySpeed; ImgMC.PosX = PosX; ImgMC.PosY = PosY; ImgMC.ImgAlpha = ImgAlpha; ImgMC.ImgWidth = ImgWidth; ImgMC.ImgHeight = ImgHeight; ImgMC.StayTime = StayTime; ImgMC._rotation = 0; ImgMC.onEnterFrame = function () { if (this.StayTime == 0) { this._rotation = 0; this._xscale = 100; this._yscale = 100; this._x = this.PosX; this._y = this.PosY; this._alpha = this.ImgAlpha; delete this.onEnterFrame; } else if (this.StayTime > 0) { this._rotation = this._rotation + this.StaySpeed; this._x = ((this.PosX + (this.ImgWidth / 2)) - ((this.ImgWidth / 2) * Math.cos((this._rotation / 180) * Math.PI))) + ((this.ImgHeight / 2) * Math.sin((this._rotation / 180) * Math.PI)); this._y = ((this.PosY + (this.ImgHeight / 2)) - ((this.ImgWidth / 2) * Math.sin((this._rotation / 180) * Math.PI))) - ((this.ImgHeight / 2) * Math.cos((this._rotation / 180) * Math.PI)); if (this.StayTime > 0) { this.StayTime--; } } }; } function StayEffect_ZoomInZoomOut(ImgMC, StayTime, MovieWidth, MovieHeight, PosX, PosY, StaySpeed, ImgAlpha, ImgWidth, ImgHeight) { ImgMC.StaySpeed = StaySpeed; ImgMC.ZoomOut = true; ImgMC.PosX = PosX; ImgMC.PosY = PosY; ImgMC.ImgWidth = ImgWidth; ImgMC.ImgHeight = ImgHeight; ImgMC.ImgAlpha = ImgAlpha; ImgMC.StayTime = StayTime; ImgMC.onEnterFrame = function () { if (this.StayTime == 0) { this._rotation = 0; this._xscale = 100; this._yscale = 100; this._x = this.PosX; this._y = this.PosY; this._alpha = this.ImgAlpha; delete this.onEnterFrame; } else if (this.StayTime > 0) { this.StayTime--; } if (this.ZoomOut) { this._xscale = this._xscale - this.StaySpeed; this._yscale = this._yscale - this.StaySpeed; if (this._xscale < 90) { this.ZoomOut = false; } } else { this._xscale = this._xscale + this.StaySpeed; this._yscale = this._yscale + this.StaySpeed; if (this._xscale > 110) { this.ZoomOut = true; } } this._x = (this.PosX + (this.ImgWidth / 2)) - (this._width / 2); this._y = (this.PosY + (this.ImgHeight / 2)) - (this._height / 2); }; } function StayEffect_FadeInFadeOut(ImgMC, StayTime, MovieWidth, MovieHeight, PosX, PosY, StaySpeed, ImgAlpha, ImgWidth, ImgHeight) { ImgMC.StaySpeed = StaySpeed; ImgMC.AlphaOut = true; ImgMC.PosX = PosX; ImgMC.PosY = PosY; ImgMC.ImgAlpha = ImgAlpha; ImgMC.StayTime = StayTime; ImgMC.onEnterFrame = function () { if (this.StayTime == 0) { this._rotation = 0; this._xscale = 100; this._yscale = 100; this._x = this.PosX; this._y = this.PosY; this._alpha = this.ImgAlpha; delete this.onEnterFrame; } else if (this.StayTime > 0) { this.StayTime--; } if (this.AlphaOut) { this._alpha = this._alpha - this.StaySpeed; if (this._alpha < 80) { this.AlphaOut = false; } } else { this._alpha = this._alpha + this.StaySpeed; if (this._alpha >= 100) { this.AlphaOut = true; } } }; } ParamsDefine = "<ParamsDefine><Img.BlindWidth caption=\"Blind width\" type=\"integer\" min=\"1\" max=\"50\" default=\"12\"/><Img.InEffect caption=\"In effect\" type=\"selection\" selection=\"Blinds horizontal;Blinds vertical;Fade in\" default=\"Blinds horizontal\"/><Img.InSpeed caption=\"In speed\" type=\"integer\" min=\"1\" max=\"50\" default=\"4\"/><Img.StayEffect caption=\"Stay effect\" type=\"selection\" selection=\"Stay;Rotating;Zoom in Zoom out;Fade in Fade out;Flicker\" default=\"Stay\"/><Img.StaySpeed caption=\"Stay speed\" type=\"integer\" min=\"1\" max=\"50\" default=\"4\"/><Img.StayTime caption=\"Stay effect time\" type=\"selection\" selection=\"To end;Custom\" default=\"To end\"/><Img.StayTimeCustom caption=\"Stay effect custom seconds\" type=\"integer\" min=\"1\" max=\"50\" default=\"3\"/><Img.OutEffect caption=\"Out effect\" type=\"selection\" selection=\"Blinds horizontal;Blinds vertical;Fade out\" default=\"Blinds horizontal\"/><Img.OutSpeed caption=\"Out speed\" type=\"integer\" min=\"1\" max=\"50\" default=\"4\"/><Img.EffectName caption=\"Effect Name\" type=\"const\" default=\"Img.Blinds\"/></ParamsDefine>"; var param = new Array(); param["Movie.Width"] = _parent._width; param["Movie.Height"] = _parent._height; if (ParamsValue != null) { paramXML = new XML(ParamsValue); paramXML.ignoreWhite = false; var i = 0; while (i < paramXML.childNodes[0].childNodes.length) { node = paramXML.childNodes[0].childNodes[i]; param[node.nodeName] = node.childNodes[0].nodeValue; i++; } param["Movie.Width"] = parseInt(param["Movie.Width"]); param["Movie.Height"] = parseInt(param["Movie.Height"]); param["Movie.FPS"] = parseInt(param["Movie.FPS"]); param["Img.InSpeed"] = parseInt(param["Img.InSpeed"]); param["Img.OutSpeed"] = parseInt(param["Img.OutSpeed"]); param["Img.StaySpeed"] = parseInt(param["Img.StaySpeed"]); param["Img.StayTimeCustom"] = parseInt(param["Img.StayTimeCustom"]); param["Img.BlindWidth"] = parseInt(param["Img.BlindWidth"]); param["Img.PosX"] = parseInt(param["Img.PosX"]); param["Img.PosY"] = parseInt(param["Img.PosY"]); param["Img.Rotation"] = parseInt(param["Img.Rotation"]); param["Img.Alpha"] = parseInt(param["Img.Alpha"]); param["Img.StaticText"] = param["Img.StaticText"].toLowerCase() == "true"; param["Img.DelayFrame"] = parseInt(param["Img.DelayFrame"]); param["Img.DurationFrame"] = parseInt(param["Img.DurationFrame"]); param["Img.KeepText"] = param["Img.KeepText"].toLowerCase() == "true"; param["Img.URL"] = param["Img.URL"].toLowerCase() == "true"; delete paramXML; } else { param["Movie.Width"] = 400; param["Movie.Height"] = 300; param["Img.InSpeed"] = 8; param["Img.OutSpeed"] = 8; param["Img.StaySpeed"] = 4; param["Img.StayTimeCustom"] = 3; param["Img.PosX"] = 100; param["Img.PosY"] = 100; param["Img.Rotation"] = 0; param["Img.Alpha"] = 100; param["Img.StaticText"] = false; param["Img.DelayFrame"] = 0; param["Img.DurationFrame"] = 10; param["Img.KeepText"] = false; param["Img.URL"] = false; param["Img.URLAddress"] = "about:blank"; param["Img.URLTarget"] = "_blank"; } if (param["Img.StaticText"]) { gotoAndPlay(_currentframe + 3); }
Symbol 9 MovieClip Frame 3
param["Img.DelayFrame"] = param["Img.DelayFrame"] - 1; if (param["Img.DelayFrame"] > 0) { gotoAndPlay(_currentframe - 1); }
Symbol 9 MovieClip Frame 4
stop(); var ImageMovie_MC = this.attachMovie(param["Img.ImageMovieExport"], "ImageMovie_MC", 2); if (param["Img.StaticText"]) { InEffect_FadeIn(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], 20, param["Img.Alpha"]); } else { switch (param["Img.InEffect"]) { case "Blinds horizontal" : InEffect_BlindsHorizontal(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.InSpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height, param["Img.BlindWidth"]); break; case "Blinds vertical" : InEffect_BlindsVertical(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.InSpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height, param["Img.BlindWidth"]); break; case "Fade in" : InEffect_FadeIn(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.InSpeed"], param["Img.Alpha"]); break; default : InEffect_FadeIn(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.InSpeed"], param["Img.Alpha"]); } }
Symbol 9 MovieClip Frame 5
var iStayEffectTime = -1; if (param["Img.StayTime"] != "To end") { iStayEffectTime = param["Movie.FPS"] * param["Img.StayTimeCustom"]; } switch (param["Img.StayEffect"]) { case "Stay" : StayEffect_Stay(ImageMovie_MC, iStayEffectTime, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.StaySpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height); break; case "Flicker" : StayEffect_Flicker(ImageMovie_MC, iStayEffectTime, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.StaySpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height); break; case "Rotating" : StayEffect_Rotating(ImageMovie_MC, iStayEffectTime, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.StaySpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height); break; case "Zoom in Zoom out" : StayEffect_ZoomInZoomOut(ImageMovie_MC, iStayEffectTime, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.StaySpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height); break; case "Fade in Fade out" : StayEffect_FadeInFadeOut(ImageMovie_MC, iStayEffectTime, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.StaySpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height); break; default : StayEffect_Stay(ImageMovie_MC, iStayEffectTime, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.StaySpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height); }
Symbol 9 MovieClip Frame 7
if (param["Img.DurationFrame"] < 0) { gotoAndPlay(_currentframe - 1); } else { param["Img.DurationFrame"] = param["Img.DurationFrame"] - 1; if (param["Img.DurationFrame"] > 0) { gotoAndPlay(_currentframe - 1); } else { gotoAndPlay(_currentframe + 1); } }
Symbol 9 MovieClip Frame 8
if (param["Img.KeepText"] || (param["Img.StaticText"])) { gotoAndPlay(_currentframe + 2); }
Symbol 9 MovieClip Frame 9
stop(); LeaveStayEffect(ImageMovie_MC, param["Img.PosX"], param["Img.PosY"], param["Img.Alpha"]); switch (param["Img.OutEffect"]) { case "Blinds horizontal" : OutEffect_BlindsHorizontal(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.OutSpeed"], ImageMovie_MC._width, ImageMovie_MC._height, param["Img.BlindWidth"]); break; case "Blinds vertical" : OutEffect_BlindsVertical(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.OutSpeed"], ImageMovie_MC._width, ImageMovie_MC._height, param["Img.BlindWidth"]); break; case "Fade out" : OutEffect_FadeOut(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.OutSpeed"]); break; default : OutEffect_FadeOut(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.OutSpeed"]); }
Symbol 9 MovieClip Frame 10
stop(); if (!param["Img.StaticText"]) { _parent.g_effectcount = _parent.g_effectcount - 1; if (_parent.g_effectcount <= 0) { _parent.play(); } }
Symbol 14 MovieClip Frame 1
ParamsValue = "<ParamsValue><Movie.Width>1024</Movie.Width><Movie.Height>881</Movie.Height><Movie.FPS>24</Movie.FPS><Img.ImageExport>Img.Blinds_Image_1</Img.ImageExport><Img.ImageMovieExport>Img.Blinds_ImageMovie_1</Img.ImageMovieExport><Img.BlindWidth>12</Img.BlindWidth><Img.InEffect>Blinds horizontal</Img.InEffect><Img.InSpeed>4</Img.InSpeed><Img.StayEffect>Stay</Img.StayEffect><Img.StaySpeed>4</Img.StaySpeed><Img.StayTime>To end</Img.StayTime><Img.StayTimeCustom>3</Img.StayTimeCustom><Img.OutEffect>Blinds horizontal</Img.OutEffect><Img.OutSpeed>4</Img.OutSpeed><Img.EffectName>Img.Blinds</Img.EffectName><Img.PosX>254</Img.PosX><Img.PosY>264</Img.PosY><Img.Rotation>0</Img.Rotation><Img.Alpha>100</Img.Alpha><Img.StaticText>false</Img.StaticText><Img.DelayFrame>0</Img.DelayFrame><Img.DurationFrame>144</Img.DurationFrame><Img.KeepText>false</Img.KeepText><Img.URL>false</Img.URL><Img.URLAddress>about:blank</Img.URLAddress><Img.URLTarget></Img.URLTarget></ParamsValue>"; function InEffect_FadeIn(ImgMC, MovieWidth, MovieHeight, PosX, PosY, InSpeed, ImgAlpha) { ImgMC._x = PosX; ImgMC._y = PosY; ImgMC._alpha = 0; ImgMC.InSpeed = InSpeed; ImgMC.ImgAlpha = ImgAlpha; ImgMC.onEnterFrame = function () { if ((this._alpha + this.InSpeed) > this.ImgAlpha) { this._alpha = this.ImgAlpha; delete this.onEnterFrame; this._parent.play(); } this._alpha = this._alpha + this.InSpeed; }; } function InEffect_BlindsHorizontal(ImgMC, MovieWidth, MovieHeight, PosX, PosY, InSpeed, ImgAlpha, ImgWidth, ImgHeight, BlindWidth) { var iBlindsCount = Math.ceil(ImgHeight / BlindWidth); var ImgMask = this.createEmptyMovieClip("ImgMask", 3); var ImgMask_Slide0 = ImgMask.createEmptyMovieClip("ImgMask_Slide0", 1); with (ImgMask_Slide0) { beginFill(16777215); moveTo(0, 0); lineTo(ImgWidth, 0); lineTo(ImgWidth, BlindWidth); lineTo(0, BlindWidth); lineTo(0, 0); endFill(); } var i = 1; while (i < iBlindsCount) { ImgMask_Slide0.duplicateMovieClip("ImgMask_Slide" + i, i + 1); i++; } var i = 0; while (i < iBlindsCount) { ImgMask["ImgMask_Slide" + i]._x = 0; ImgMask["ImgMask_Slide" + i]._y = BlindWidth * i; ImgMask["ImgMask_Slide" + i]._yscale = 0; i++; } ImgMC._x = PosX; ImgMC._y = PosY; ImgMask._x = PosX; ImgMask._y = PosY; ImgMC.setMask(ImgMask); ImgMask.ScaleCount = 0; ImgMask.InSpeed = InSpeed; ImgMask.iBlindsCount = iBlindsCount; ImgMask.onEnterFrame = function () { var _local2 = 0; while (_local2 < iBlindsCount) { this["ImgMask_Slide" + _local2]._yscale = this["ImgMask_Slide" + _local2]._yscale + this.InSpeed; _local2++; } this.ScaleCount = this.ScaleCount + this.InSpeed; if (this.ScaleCount >= 110) { delete this.onEnterFrame; this._parent.play(); this.removeMovieClip(); } }; } function InEffect_BlindsVertical(ImgMC, MovieWidth, MovieHeight, PosX, PosY, InSpeed, ImgAlpha, ImgWidth, ImgHeight, BlindWidth) { var iBlindsCount = Math.ceil(ImgWidth / BlindWidth); var ImgMask = this.createEmptyMovieClip("ImgMask", 3); var ImgMask_Slide0 = ImgMask.createEmptyMovieClip("ImgMask_Slide0", 1); with (ImgMask_Slide0) { beginFill(16777215); moveTo(0, 0); lineTo(BlindWidth, 0); lineTo(BlindWidth, ImgHeight); lineTo(0, ImgHeight); lineTo(0, 0); endFill(); } var i = 1; while (i < iBlindsCount) { ImgMask_Slide0.duplicateMovieClip("ImgMask_Slide" + i, i + 1); i++; } var i = 0; while (i < iBlindsCount) { ImgMask["ImgMask_Slide" + i]._x = BlindWidth * i; ImgMask["ImgMask_Slide" + i]._y = 0; ImgMask["ImgMask_Slide" + i]._xscale = 0; i++; } ImgMC._x = PosX; ImgMC._y = PosY; ImgMask._x = PosX; ImgMask._y = PosY; ImgMC.setMask(ImgMask); ImgMask.ScaleCount = 0; ImgMask.InSpeed = InSpeed; ImgMask.iBlindsCount = iBlindsCount; ImgMask.onEnterFrame = function () { var _local2 = 0; while (_local2 < iBlindsCount) { this["ImgMask_Slide" + _local2]._xscale = this["ImgMask_Slide" + _local2]._xscale + this.InSpeed; _local2++; } this.ScaleCount = this.ScaleCount + this.InSpeed; if (this.ScaleCount >= 110) { delete this.onEnterFrame; this._parent.play(); this.removeMovieClip(); } }; } function OutEffect_FadeOut(ImgMC, MovieWidth, MovieHeight, OutSpeed) { ImgMC.OutSpeed = OutSpeed; ImgMC.onEnterFrame = function () { this._alpha = this._alpha - this.OutSpeed; if (this._alpha <= 0) { this._parent.play(); delete this.onEnterFrame; this.removeMovieClip(); } }; } function OutEffect_BlindsHorizontal(ImgMC, MovieWidth, MovieHeight, PosX, PosY, OutSpeed, ImgWidth, ImgHeight, BlindWidth) { var iBlindsCount = Math.ceil(ImgHeight / BlindWidth); var ImgMask = this.createEmptyMovieClip("ImgMask", 3); var ImgMask_Slide0 = ImgMask.createEmptyMovieClip("ImgMask_Slide0", 1); with (ImgMask_Slide0) { beginFill(16777215); moveTo(0, 0); lineTo(ImgWidth, 0); lineTo(ImgWidth, BlindWidth); lineTo(0, BlindWidth); lineTo(0, 0); endFill(); } var i = 1; while (i < iBlindsCount) { ImgMask_Slide0.duplicateMovieClip("ImgMask_Slide" + i, i + 1); i++; } var i = 0; while (i < iBlindsCount) { ImgMask["ImgMask_Slide" + i]._x = 0; ImgMask["ImgMask_Slide" + i]._y = BlindWidth * i; ImgMask["ImgMask_Slide" + i]._yscale = 100; i++; } ImgMC._x = PosX; ImgMC._y = PosY; ImgMask._x = PosX; ImgMask._y = PosY; ImgMC.setMask(ImgMask); ImgMask.ScaleCount = 100; ImgMask.OutSpeed = OutSpeed; ImgMask.iBlindsCount = iBlindsCount; ImgMask.onEnterFrame = function () { var _local2 = 0; while (_local2 < iBlindsCount) { this["ImgMask_Slide" + _local2]._yscale = this["ImgMask_Slide" + _local2]._yscale - this.OutSpeed; _local2++; } this.ScaleCount = this.ScaleCount - this.OutSpeed; if (this.ScaleCount <= 0) { delete this.onEnterFrame; this._parent.play(); ImgMask.removeMovieClip(); ImgMC.removeMovieClip(); } }; } function OutEffect_BlindsVertical(ImgMC, MovieWidth, MovieHeight, PosX, PosY, OutSpeed, ImgWidth, ImgHeight, BlindWidth) { var iBlindsCount = Math.ceil(ImgWidth / BlindWidth); var ImgMask = this.createEmptyMovieClip("ImgMask", 3); var ImgMask_Slide0 = ImgMask.createEmptyMovieClip("ImgMask_Slide0", 1); with (ImgMask_Slide0) { beginFill(16777215); moveTo(0, 0); lineTo(BlindWidth, 0); lineTo(BlindWidth, ImgHeight); lineTo(0, ImgHeight); lineTo(0, 0); endFill(); } var i = 1; while (i < iBlindsCount) { ImgMask_Slide0.duplicateMovieClip("ImgMask_Slide" + i, i + 1); i++; } var i = 0; while (i < iBlindsCount) { ImgMask["ImgMask_Slide" + i]._x = BlindWidth * i; ImgMask["ImgMask_Slide" + i]._y = 0; ImgMask["ImgMask_Slide" + i]._xscale = 100; i++; } ImgMC._x = PosX; ImgMC._y = PosY; ImgMask._x = PosX; ImgMask._y = PosY; ImgMC.setMask(ImgMask); ImgMask.ScaleCount = 100; ImgMask.OutSpeed = OutSpeed; ImgMask.iBlindsCount = iBlindsCount; ImgMask.onEnterFrame = function () { var _local2 = 0; while (_local2 < iBlindsCount) { this["ImgMask_Slide" + _local2]._xscale = this["ImgMask_Slide" + _local2]._xscale - this.OutSpeed; _local2++; } this.ScaleCount = this.ScaleCount - this.OutSpeed; if (this.ScaleCount <= 0) { delete this.onEnterFrame; this._parent.play(); ImgMask.removeMovieClip(); ImgMC.removeMovieClip(); } }; } function LeaveStayEffect(ImgMC, PosX, PosY, ImgAlpha) { ImgMC._rotation = 0; ImgMC._xscale = 100; ImgMC._yscale = 100; ImgMC._x = PosX; ImgMC._y = PosY; ImgMC._alpha = ImgAlpha; delete ImgMC.onEnterFrame; } function StayEffect_Stay(ImgMC, StayTime, MovieWidth, MovieHeight, PosX, PosY, StaySpeed, ImgAlpha, ImgWidth, ImgHeight) { ImgMC.onEnterFrame = function () { }; } function StayEffect_Flicker(ImgMC, StayTime, MovieWidth, MovieHeight, PosX, PosY, StaySpeed, ImgAlpha, ImgWidth, ImgHeight) { ImgMC.PosX = PosX; ImgMC.PosY = PosY; ImgMC.StaySpeed = StaySpeed; ImgMC.ImgAlpha = ImgAlpha; ImgMC.FlickerVisible = true; ImgMC.StayTime = StayTime; ImgMC.Switch = StaySpeed; ImgMC.onEnterFrame = function () { if (this.StayTime == 0) { this._rotation = 0; this._xscale = 100; this._yscale = 100; this._x = this.PosX; this._y = this.PosY; this._alpha = this.ImgAlpha; delete this.onEnterFrame; } else if (this.StayTime > 0) { this.StayTime--; } if ((--this.Switch) <= 0) { if (ImgMC.FlickerVisible) { ImgMC._alpha = 0; ImgMC.FlickerVisible = false; } else { ImgMC._alpha = this.ImgAlpha; ImgMC.FlickerVisible = true; } this.Switch = this.StaySpeed; } }; } function StayEffect_Rotating(ImgMC, StayTime, MovieWidth, MovieHeight, PosX, PosY, StaySpeed, ImgAlpha, ImgWidth, ImgHeight) { ImgMC.StaySpeed = StaySpeed; ImgMC.PosX = PosX; ImgMC.PosY = PosY; ImgMC.ImgAlpha = ImgAlpha; ImgMC.ImgWidth = ImgWidth; ImgMC.ImgHeight = ImgHeight; ImgMC.StayTime = StayTime; ImgMC._rotation = 0; ImgMC.onEnterFrame = function () { if (this.StayTime == 0) { this._rotation = 0; this._xscale = 100; this._yscale = 100; this._x = this.PosX; this._y = this.PosY; this._alpha = this.ImgAlpha; delete this.onEnterFrame; } else if (this.StayTime > 0) { this._rotation = this._rotation + this.StaySpeed; this._x = ((this.PosX + (this.ImgWidth / 2)) - ((this.ImgWidth / 2) * Math.cos((this._rotation / 180) * Math.PI))) + ((this.ImgHeight / 2) * Math.sin((this._rotation / 180) * Math.PI)); this._y = ((this.PosY + (this.ImgHeight / 2)) - ((this.ImgWidth / 2) * Math.sin((this._rotation / 180) * Math.PI))) - ((this.ImgHeight / 2) * Math.cos((this._rotation / 180) * Math.PI)); if (this.StayTime > 0) { this.StayTime--; } } }; } function StayEffect_ZoomInZoomOut(ImgMC, StayTime, MovieWidth, MovieHeight, PosX, PosY, StaySpeed, ImgAlpha, ImgWidth, ImgHeight) { ImgMC.StaySpeed = StaySpeed; ImgMC.ZoomOut = true; ImgMC.PosX = PosX; ImgMC.PosY = PosY; ImgMC.ImgWidth = ImgWidth; ImgMC.ImgHeight = ImgHeight; ImgMC.ImgAlpha = ImgAlpha; ImgMC.StayTime = StayTime; ImgMC.onEnterFrame = function () { if (this.StayTime == 0) { this._rotation = 0; this._xscale = 100; this._yscale = 100; this._x = this.PosX; this._y = this.PosY; this._alpha = this.ImgAlpha; delete this.onEnterFrame; } else if (this.StayTime > 0) { this.StayTime--; } if (this.ZoomOut) { this._xscale = this._xscale - this.StaySpeed; this._yscale = this._yscale - this.StaySpeed; if (this._xscale < 90) { this.ZoomOut = false; } } else { this._xscale = this._xscale + this.StaySpeed; this._yscale = this._yscale + this.StaySpeed; if (this._xscale > 110) { this.ZoomOut = true; } } this._x = (this.PosX + (this.ImgWidth / 2)) - (this._width / 2); this._y = (this.PosY + (this.ImgHeight / 2)) - (this._height / 2); }; } function StayEffect_FadeInFadeOut(ImgMC, StayTime, MovieWidth, MovieHeight, PosX, PosY, StaySpeed, ImgAlpha, ImgWidth, ImgHeight) { ImgMC.StaySpeed = StaySpeed; ImgMC.AlphaOut = true; ImgMC.PosX = PosX; ImgMC.PosY = PosY; ImgMC.ImgAlpha = ImgAlpha; ImgMC.StayTime = StayTime; ImgMC.onEnterFrame = function () { if (this.StayTime == 0) { this._rotation = 0; this._xscale = 100; this._yscale = 100; this._x = this.PosX; this._y = this.PosY; this._alpha = this.ImgAlpha; delete this.onEnterFrame; } else if (this.StayTime > 0) { this.StayTime--; } if (this.AlphaOut) { this._alpha = this._alpha - this.StaySpeed; if (this._alpha < 80) { this.AlphaOut = false; } } else { this._alpha = this._alpha + this.StaySpeed; if (this._alpha >= 100) { this.AlphaOut = true; } } }; } ParamsDefine = "<ParamsDefine><Img.BlindWidth caption=\"Blind width\" type=\"integer\" min=\"1\" max=\"50\" default=\"12\"/><Img.InEffect caption=\"In effect\" type=\"selection\" selection=\"Blinds horizontal;Blinds vertical;Fade in\" default=\"Blinds horizontal\"/><Img.InSpeed caption=\"In speed\" type=\"integer\" min=\"1\" max=\"50\" default=\"4\"/><Img.StayEffect caption=\"Stay effect\" type=\"selection\" selection=\"Stay;Rotating;Zoom in Zoom out;Fade in Fade out;Flicker\" default=\"Stay\"/><Img.StaySpeed caption=\"Stay speed\" type=\"integer\" min=\"1\" max=\"50\" default=\"4\"/><Img.StayTime caption=\"Stay effect time\" type=\"selection\" selection=\"To end;Custom\" default=\"To end\"/><Img.StayTimeCustom caption=\"Stay effect custom seconds\" type=\"integer\" min=\"1\" max=\"50\" default=\"3\"/><Img.OutEffect caption=\"Out effect\" type=\"selection\" selection=\"Blinds horizontal;Blinds vertical;Fade out\" default=\"Blinds horizontal\"/><Img.OutSpeed caption=\"Out speed\" type=\"integer\" min=\"1\" max=\"50\" default=\"4\"/><Img.EffectName caption=\"Effect Name\" type=\"const\" default=\"Img.Blinds\"/></ParamsDefine>"; var param = new Array(); param["Movie.Width"] = _parent._width; param["Movie.Height"] = _parent._height; if (ParamsValue != null) { paramXML = new XML(ParamsValue); paramXML.ignoreWhite = false; var i = 0; while (i < paramXML.childNodes[0].childNodes.length) { node = paramXML.childNodes[0].childNodes[i]; param[node.nodeName] = node.childNodes[0].nodeValue; i++; } param["Movie.Width"] = parseInt(param["Movie.Width"]); param["Movie.Height"] = parseInt(param["Movie.Height"]); param["Movie.FPS"] = parseInt(param["Movie.FPS"]); param["Img.InSpeed"] = parseInt(param["Img.InSpeed"]); param["Img.OutSpeed"] = parseInt(param["Img.OutSpeed"]); param["Img.StaySpeed"] = parseInt(param["Img.StaySpeed"]); param["Img.StayTimeCustom"] = parseInt(param["Img.StayTimeCustom"]); param["Img.BlindWidth"] = parseInt(param["Img.BlindWidth"]); param["Img.PosX"] = parseInt(param["Img.PosX"]); param["Img.PosY"] = parseInt(param["Img.PosY"]); param["Img.Rotation"] = parseInt(param["Img.Rotation"]); param["Img.Alpha"] = parseInt(param["Img.Alpha"]); param["Img.StaticText"] = param["Img.StaticText"].toLowerCase() == "true"; param["Img.DelayFrame"] = parseInt(param["Img.DelayFrame"]); param["Img.DurationFrame"] = parseInt(param["Img.DurationFrame"]); param["Img.KeepText"] = param["Img.KeepText"].toLowerCase() == "true"; param["Img.URL"] = param["Img.URL"].toLowerCase() == "true"; delete paramXML; } else { param["Movie.Width"] = 400; param["Movie.Height"] = 300; param["Img.InSpeed"] = 8; param["Img.OutSpeed"] = 8; param["Img.StaySpeed"] = 4; param["Img.StayTimeCustom"] = 3; param["Img.PosX"] = 100; param["Img.PosY"] = 100; param["Img.Rotation"] = 0; param["Img.Alpha"] = 100; param["Img.StaticText"] = false; param["Img.DelayFrame"] = 0; param["Img.DurationFrame"] = 10; param["Img.KeepText"] = false; param["Img.URL"] = false; param["Img.URLAddress"] = "about:blank"; param["Img.URLTarget"] = "_blank"; } if (param["Img.StaticText"]) { gotoAndPlay(_currentframe + 3); }
Symbol 14 MovieClip Frame 3
param["Img.DelayFrame"] = param["Img.DelayFrame"] - 1; if (param["Img.DelayFrame"] > 0) { gotoAndPlay(_currentframe - 1); }
Symbol 14 MovieClip Frame 4
stop(); var ImageMovie_MC = this.attachMovie(param["Img.ImageMovieExport"], "ImageMovie_MC", 2); if (param["Img.StaticText"]) { InEffect_FadeIn(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], 20, param["Img.Alpha"]); } else { switch (param["Img.InEffect"]) { case "Blinds horizontal" : InEffect_BlindsHorizontal(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.InSpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height, param["Img.BlindWidth"]); break; case "Blinds vertical" : InEffect_BlindsVertical(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.InSpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height, param["Img.BlindWidth"]); break; case "Fade in" : InEffect_FadeIn(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.InSpeed"], param["Img.Alpha"]); break; default : InEffect_FadeIn(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.InSpeed"], param["Img.Alpha"]); } }
Symbol 14 MovieClip Frame 5
var iStayEffectTime = -1; if (param["Img.StayTime"] != "To end") { iStayEffectTime = param["Movie.FPS"] * param["Img.StayTimeCustom"]; } switch (param["Img.StayEffect"]) { case "Stay" : StayEffect_Stay(ImageMovie_MC, iStayEffectTime, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.StaySpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height); break; case "Flicker" : StayEffect_Flicker(ImageMovie_MC, iStayEffectTime, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.StaySpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height); break; case "Rotating" : StayEffect_Rotating(ImageMovie_MC, iStayEffectTime, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.StaySpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height); break; case "Zoom in Zoom out" : StayEffect_ZoomInZoomOut(ImageMovie_MC, iStayEffectTime, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.StaySpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height); break; case "Fade in Fade out" : StayEffect_FadeInFadeOut(ImageMovie_MC, iStayEffectTime, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.StaySpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height); break; default : StayEffect_Stay(ImageMovie_MC, iStayEffectTime, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.StaySpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height); }
Symbol 14 MovieClip Frame 7
if (param["Img.DurationFrame"] < 0) { gotoAndPlay(_currentframe - 1); } else { param["Img.DurationFrame"] = param["Img.DurationFrame"] - 1; if (param["Img.DurationFrame"] > 0) { gotoAndPlay(_currentframe - 1); } else { gotoAndPlay(_currentframe + 1); } }
Symbol 14 MovieClip Frame 8
if (param["Img.KeepText"] || (param["Img.StaticText"])) { gotoAndPlay(_currentframe + 2); }
Symbol 14 MovieClip Frame 9
stop(); LeaveStayEffect(ImageMovie_MC, param["Img.PosX"], param["Img.PosY"], param["Img.Alpha"]); switch (param["Img.OutEffect"]) { case "Blinds horizontal" : OutEffect_BlindsHorizontal(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.OutSpeed"], ImageMovie_MC._width, ImageMovie_MC._height, param["Img.BlindWidth"]); break; case "Blinds vertical" : OutEffect_BlindsVertical(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.OutSpeed"], ImageMovie_MC._width, ImageMovie_MC._height, param["Img.BlindWidth"]); break; case "Fade out" : OutEffect_FadeOut(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.OutSpeed"]); break; default : OutEffect_FadeOut(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.OutSpeed"]); }
Symbol 14 MovieClip Frame 10
stop(); if (!param["Img.StaticText"]) { _parent.g_effectcount = _parent.g_effectcount - 1; if (_parent.g_effectcount <= 0) { _parent.play(); } }
Symbol 19 MovieClip Frame 1
ParamsValue = "<ParamsValue><Movie.Width>1024</Movie.Width><Movie.Height>881</Movie.Height><Movie.FPS>24</Movie.FPS><Img.ImageExport>Img.Blinds_Image_2</Img.ImageExport><Img.ImageMovieExport>Img.Blinds_ImageMovie_2</Img.ImageMovieExport><Img.BlindWidth>12</Img.BlindWidth><Img.InEffect>Blinds horizontal</Img.InEffect><Img.InSpeed>4</Img.InSpeed><Img.StayEffect>Stay</Img.StayEffect><Img.StaySpeed>4</Img.StaySpeed><Img.StayTime>To end</Img.StayTime><Img.StayTimeCustom>3</Img.StayTimeCustom><Img.OutEffect>Blinds horizontal</Img.OutEffect><Img.OutSpeed>4</Img.OutSpeed><Img.EffectName>Img.Blinds</Img.EffectName><Img.PosX>201</Img.PosX><Img.PosY>232</Img.PosY><Img.Rotation>0</Img.Rotation><Img.Alpha>100</Img.Alpha><Img.StaticText>false</Img.StaticText><Img.DelayFrame>0</Img.DelayFrame><Img.DurationFrame>144</Img.DurationFrame><Img.KeepText>false</Img.KeepText><Img.URL>false</Img.URL><Img.URLAddress>about:blank</Img.URLAddress><Img.URLTarget></Img.URLTarget></ParamsValue>"; function InEffect_FadeIn(ImgMC, MovieWidth, MovieHeight, PosX, PosY, InSpeed, ImgAlpha) { ImgMC._x = PosX; ImgMC._y = PosY; ImgMC._alpha = 0; ImgMC.InSpeed = InSpeed; ImgMC.ImgAlpha = ImgAlpha; ImgMC.onEnterFrame = function () { if ((this._alpha + this.InSpeed) > this.ImgAlpha) { this._alpha = this.ImgAlpha; delete this.onEnterFrame; this._parent.play(); } this._alpha = this._alpha + this.InSpeed; }; } function InEffect_BlindsHorizontal(ImgMC, MovieWidth, MovieHeight, PosX, PosY, InSpeed, ImgAlpha, ImgWidth, ImgHeight, BlindWidth) { var iBlindsCount = Math.ceil(ImgHeight / BlindWidth); var ImgMask = this.createEmptyMovieClip("ImgMask", 3); var ImgMask_Slide0 = ImgMask.createEmptyMovieClip("ImgMask_Slide0", 1); with (ImgMask_Slide0) { beginFill(16777215); moveTo(0, 0); lineTo(ImgWidth, 0); lineTo(ImgWidth, BlindWidth); lineTo(0, BlindWidth); lineTo(0, 0); endFill(); } var i = 1; while (i < iBlindsCount) { ImgMask_Slide0.duplicateMovieClip("ImgMask_Slide" + i, i + 1); i++; } var i = 0; while (i < iBlindsCount) { ImgMask["ImgMask_Slide" + i]._x = 0; ImgMask["ImgMask_Slide" + i]._y = BlindWidth * i; ImgMask["ImgMask_Slide" + i]._yscale = 0; i++; } ImgMC._x = PosX; ImgMC._y = PosY; ImgMask._x = PosX; ImgMask._y = PosY; ImgMC.setMask(ImgMask); ImgMask.ScaleCount = 0; ImgMask.InSpeed = InSpeed; ImgMask.iBlindsCount = iBlindsCount; ImgMask.onEnterFrame = function () { var _local2 = 0; while (_local2 < iBlindsCount) { this["ImgMask_Slide" + _local2]._yscale = this["ImgMask_Slide" + _local2]._yscale + this.InSpeed; _local2++; } this.ScaleCount = this.ScaleCount + this.InSpeed; if (this.ScaleCount >= 110) { delete this.onEnterFrame; this._parent.play(); this.removeMovieClip(); } }; } function InEffect_BlindsVertical(ImgMC, MovieWidth, MovieHeight, PosX, PosY, InSpeed, ImgAlpha, ImgWidth, ImgHeight, BlindWidth) { var iBlindsCount = Math.ceil(ImgWidth / BlindWidth); var ImgMask = this.createEmptyMovieClip("ImgMask", 3); var ImgMask_Slide0 = ImgMask.createEmptyMovieClip("ImgMask_Slide0", 1); with (ImgMask_Slide0) { beginFill(16777215); moveTo(0, 0); lineTo(BlindWidth, 0); lineTo(BlindWidth, ImgHeight); lineTo(0, ImgHeight); lineTo(0, 0); endFill(); } var i = 1; while (i < iBlindsCount) { ImgMask_Slide0.duplicateMovieClip("ImgMask_Slide" + i, i + 1); i++; } var i = 0; while (i < iBlindsCount) { ImgMask["ImgMask_Slide" + i]._x = BlindWidth * i; ImgMask["ImgMask_Slide" + i]._y = 0; ImgMask["ImgMask_Slide" + i]._xscale = 0; i++; } ImgMC._x = PosX; ImgMC._y = PosY; ImgMask._x = PosX; ImgMask._y = PosY; ImgMC.setMask(ImgMask); ImgMask.ScaleCount = 0; ImgMask.InSpeed = InSpeed; ImgMask.iBlindsCount = iBlindsCount; ImgMask.onEnterFrame = function () { var _local2 = 0; while (_local2 < iBlindsCount) { this["ImgMask_Slide" + _local2]._xscale = this["ImgMask_Slide" + _local2]._xscale + this.InSpeed; _local2++; } this.ScaleCount = this.ScaleCount + this.InSpeed; if (this.ScaleCount >= 110) { delete this.onEnterFrame; this._parent.play(); this.removeMovieClip(); } }; } function OutEffect_FadeOut(ImgMC, MovieWidth, MovieHeight, OutSpeed) { ImgMC.OutSpeed = OutSpeed; ImgMC.onEnterFrame = function () { this._alpha = this._alpha - this.OutSpeed; if (this._alpha <= 0) { this._parent.play(); delete this.onEnterFrame; this.removeMovieClip(); } }; } function OutEffect_BlindsHorizontal(ImgMC, MovieWidth, MovieHeight, PosX, PosY, OutSpeed, ImgWidth, ImgHeight, BlindWidth) { var iBlindsCount = Math.ceil(ImgHeight / BlindWidth); var ImgMask = this.createEmptyMovieClip("ImgMask", 3); var ImgMask_Slide0 = ImgMask.createEmptyMovieClip("ImgMask_Slide0", 1); with (ImgMask_Slide0) { beginFill(16777215); moveTo(0, 0); lineTo(ImgWidth, 0); lineTo(ImgWidth, BlindWidth); lineTo(0, BlindWidth); lineTo(0, 0); endFill(); } var i = 1; while (i < iBlindsCount) { ImgMask_Slide0.duplicateMovieClip("ImgMask_Slide" + i, i + 1); i++; } var i = 0; while (i < iBlindsCount) { ImgMask["ImgMask_Slide" + i]._x = 0; ImgMask["ImgMask_Slide" + i]._y = BlindWidth * i; ImgMask["ImgMask_Slide" + i]._yscale = 100; i++; } ImgMC._x = PosX; ImgMC._y = PosY; ImgMask._x = PosX; ImgMask._y = PosY; ImgMC.setMask(ImgMask); ImgMask.ScaleCount = 100; ImgMask.OutSpeed = OutSpeed; ImgMask.iBlindsCount = iBlindsCount; ImgMask.onEnterFrame = function () { var _local2 = 0; while (_local2 < iBlindsCount) { this["ImgMask_Slide" + _local2]._yscale = this["ImgMask_Slide" + _local2]._yscale - this.OutSpeed; _local2++; } this.ScaleCount = this.ScaleCount - this.OutSpeed; if (this.ScaleCount <= 0) { delete this.onEnterFrame; this._parent.play(); ImgMask.removeMovieClip(); ImgMC.removeMovieClip(); } }; } function OutEffect_BlindsVertical(ImgMC, MovieWidth, MovieHeight, PosX, PosY, OutSpeed, ImgWidth, ImgHeight, BlindWidth) { var iBlindsCount = Math.ceil(ImgWidth / BlindWidth); var ImgMask = this.createEmptyMovieClip("ImgMask", 3); var ImgMask_Slide0 = ImgMask.createEmptyMovieClip("ImgMask_Slide0", 1); with (ImgMask_Slide0) { beginFill(16777215); moveTo(0, 0); lineTo(BlindWidth, 0); lineTo(BlindWidth, ImgHeight); lineTo(0, ImgHeight); lineTo(0, 0); endFill(); } var i = 1; while (i < iBlindsCount) { ImgMask_Slide0.duplicateMovieClip("ImgMask_Slide" + i, i + 1); i++; } var i = 0; while (i < iBlindsCount) { ImgMask["ImgMask_Slide" + i]._x = BlindWidth * i; ImgMask["ImgMask_Slide" + i]._y = 0; ImgMask["ImgMask_Slide" + i]._xscale = 100; i++; } ImgMC._x = PosX; ImgMC._y = PosY; ImgMask._x = PosX; ImgMask._y = PosY; ImgMC.setMask(ImgMask); ImgMask.ScaleCount = 100; ImgMask.OutSpeed = OutSpeed; ImgMask.iBlindsCount = iBlindsCount; ImgMask.onEnterFrame = function () { var _local2 = 0; while (_local2 < iBlindsCount) { this["ImgMask_Slide" + _local2]._xscale = this["ImgMask_Slide" + _local2]._xscale - this.OutSpeed; _local2++; } this.ScaleCount = this.ScaleCount - this.OutSpeed; if (this.ScaleCount <= 0) { delete this.onEnterFrame; this._parent.play(); ImgMask.removeMovieClip(); ImgMC.removeMovieClip(); } }; } function LeaveStayEffect(ImgMC, PosX, PosY, ImgAlpha) { ImgMC._rotation = 0; ImgMC._xscale = 100; ImgMC._yscale = 100; ImgMC._x = PosX; ImgMC._y = PosY; ImgMC._alpha = ImgAlpha; delete ImgMC.onEnterFrame; } function StayEffect_Stay(ImgMC, StayTime, MovieWidth, MovieHeight, PosX, PosY, StaySpeed, ImgAlpha, ImgWidth, ImgHeight) { ImgMC.onEnterFrame = function () { }; } function StayEffect_Flicker(ImgMC, StayTime, MovieWidth, MovieHeight, PosX, PosY, StaySpeed, ImgAlpha, ImgWidth, ImgHeight) { ImgMC.PosX = PosX; ImgMC.PosY = PosY; ImgMC.StaySpeed = StaySpeed; ImgMC.ImgAlpha = ImgAlpha; ImgMC.FlickerVisible = true; ImgMC.StayTime = StayTime; ImgMC.Switch = StaySpeed; ImgMC.onEnterFrame = function () { if (this.StayTime == 0) { this._rotation = 0; this._xscale = 100; this._yscale = 100; this._x = this.PosX; this._y = this.PosY; this._alpha = this.ImgAlpha; delete this.onEnterFrame; } else if (this.StayTime > 0) { this.StayTime--; } if ((--this.Switch) <= 0) { if (ImgMC.FlickerVisible) { ImgMC._alpha = 0; ImgMC.FlickerVisible = false; } else { ImgMC._alpha = this.ImgAlpha; ImgMC.FlickerVisible = true; } this.Switch = this.StaySpeed; } }; } function StayEffect_Rotating(ImgMC, StayTime, MovieWidth, MovieHeight, PosX, PosY, StaySpeed, ImgAlpha, ImgWidth, ImgHeight) { ImgMC.StaySpeed = StaySpeed; ImgMC.PosX = PosX; ImgMC.PosY = PosY; ImgMC.ImgAlpha = ImgAlpha; ImgMC.ImgWidth = ImgWidth; ImgMC.ImgHeight = ImgHeight; ImgMC.StayTime = StayTime; ImgMC._rotation = 0; ImgMC.onEnterFrame = function () { if (this.StayTime == 0) { this._rotation = 0; this._xscale = 100; this._yscale = 100; this._x = this.PosX; this._y = this.PosY; this._alpha = this.ImgAlpha; delete this.onEnterFrame; } else if (this.StayTime > 0) { this._rotation = this._rotation + this.StaySpeed; this._x = ((this.PosX + (this.ImgWidth / 2)) - ((this.ImgWidth / 2) * Math.cos((this._rotation / 180) * Math.PI))) + ((this.ImgHeight / 2) * Math.sin((this._rotation / 180) * Math.PI)); this._y = ((this.PosY + (this.ImgHeight / 2)) - ((this.ImgWidth / 2) * Math.sin((this._rotation / 180) * Math.PI))) - ((this.ImgHeight / 2) * Math.cos((this._rotation / 180) * Math.PI)); if (this.StayTime > 0) { this.StayTime--; } } }; } function StayEffect_ZoomInZoomOut(ImgMC, StayTime, MovieWidth, MovieHeight, PosX, PosY, StaySpeed, ImgAlpha, ImgWidth, ImgHeight) { ImgMC.StaySpeed = StaySpeed; ImgMC.ZoomOut = true; ImgMC.PosX = PosX; ImgMC.PosY = PosY; ImgMC.ImgWidth = ImgWidth; ImgMC.ImgHeight = ImgHeight; ImgMC.ImgAlpha = ImgAlpha; ImgMC.StayTime = StayTime; ImgMC.onEnterFrame = function () { if (this.StayTime == 0) { this._rotation = 0; this._xscale = 100; this._yscale = 100; this._x = this.PosX; this._y = this.PosY; this._alpha = this.ImgAlpha; delete this.onEnterFrame; } else if (this.StayTime > 0) { this.StayTime--; } if (this.ZoomOut) { this._xscale = this._xscale - this.StaySpeed; this._yscale = this._yscale - this.StaySpeed; if (this._xscale < 90) { this.ZoomOut = false; } } else { this._xscale = this._xscale + this.StaySpeed; this._yscale = this._yscale + this.StaySpeed; if (this._xscale > 110) { this.ZoomOut = true; } } this._x = (this.PosX + (this.ImgWidth / 2)) - (this._width / 2); this._y = (this.PosY + (this.ImgHeight / 2)) - (this._height / 2); }; } function StayEffect_FadeInFadeOut(ImgMC, StayTime, MovieWidth, MovieHeight, PosX, PosY, StaySpeed, ImgAlpha, ImgWidth, ImgHeight) { ImgMC.StaySpeed = StaySpeed; ImgMC.AlphaOut = true; ImgMC.PosX = PosX; ImgMC.PosY = PosY; ImgMC.ImgAlpha = ImgAlpha; ImgMC.StayTime = StayTime; ImgMC.onEnterFrame = function () { if (this.StayTime == 0) { this._rotation = 0; this._xscale = 100; this._yscale = 100; this._x = this.PosX; this._y = this.PosY; this._alpha = this.ImgAlpha; delete this.onEnterFrame; } else if (this.StayTime > 0) { this.StayTime--; } if (this.AlphaOut) { this._alpha = this._alpha - this.StaySpeed; if (this._alpha < 80) { this.AlphaOut = false; } } else { this._alpha = this._alpha + this.StaySpeed; if (this._alpha >= 100) { this.AlphaOut = true; } } }; } ParamsDefine = "<ParamsDefine><Img.BlindWidth caption=\"Blind width\" type=\"integer\" min=\"1\" max=\"50\" default=\"12\"/><Img.InEffect caption=\"In effect\" type=\"selection\" selection=\"Blinds horizontal;Blinds vertical;Fade in\" default=\"Blinds horizontal\"/><Img.InSpeed caption=\"In speed\" type=\"integer\" min=\"1\" max=\"50\" default=\"4\"/><Img.StayEffect caption=\"Stay effect\" type=\"selection\" selection=\"Stay;Rotating;Zoom in Zoom out;Fade in Fade out;Flicker\" default=\"Stay\"/><Img.StaySpeed caption=\"Stay speed\" type=\"integer\" min=\"1\" max=\"50\" default=\"4\"/><Img.StayTime caption=\"Stay effect time\" type=\"selection\" selection=\"To end;Custom\" default=\"To end\"/><Img.StayTimeCustom caption=\"Stay effect custom seconds\" type=\"integer\" min=\"1\" max=\"50\" default=\"3\"/><Img.OutEffect caption=\"Out effect\" type=\"selection\" selection=\"Blinds horizontal;Blinds vertical;Fade out\" default=\"Blinds horizontal\"/><Img.OutSpeed caption=\"Out speed\" type=\"integer\" min=\"1\" max=\"50\" default=\"4\"/><Img.EffectName caption=\"Effect Name\" type=\"const\" default=\"Img.Blinds\"/></ParamsDefine>"; var param = new Array(); param["Movie.Width"] = _parent._width; param["Movie.Height"] = _parent._height; if (ParamsValue != null) { paramXML = new XML(ParamsValue); paramXML.ignoreWhite = false; var i = 0; while (i < paramXML.childNodes[0].childNodes.length) { node = paramXML.childNodes[0].childNodes[i]; param[node.nodeName] = node.childNodes[0].nodeValue; i++; } param["Movie.Width"] = parseInt(param["Movie.Width"]); param["Movie.Height"] = parseInt(param["Movie.Height"]); param["Movie.FPS"] = parseInt(param["Movie.FPS"]); param["Img.InSpeed"] = parseInt(param["Img.InSpeed"]); param["Img.OutSpeed"] = parseInt(param["Img.OutSpeed"]); param["Img.StaySpeed"] = parseInt(param["Img.StaySpeed"]); param["Img.StayTimeCustom"] = parseInt(param["Img.StayTimeCustom"]); param["Img.BlindWidth"] = parseInt(param["Img.BlindWidth"]); param["Img.PosX"] = parseInt(param["Img.PosX"]); param["Img.PosY"] = parseInt(param["Img.PosY"]); param["Img.Rotation"] = parseInt(param["Img.Rotation"]); param["Img.Alpha"] = parseInt(param["Img.Alpha"]); param["Img.StaticText"] = param["Img.StaticText"].toLowerCase() == "true"; param["Img.DelayFrame"] = parseInt(param["Img.DelayFrame"]); param["Img.DurationFrame"] = parseInt(param["Img.DurationFrame"]); param["Img.KeepText"] = param["Img.KeepText"].toLowerCase() == "true"; param["Img.URL"] = param["Img.URL"].toLowerCase() == "true"; delete paramXML; } else { param["Movie.Width"] = 400; param["Movie.Height"] = 300; param["Img.InSpeed"] = 8; param["Img.OutSpeed"] = 8; param["Img.StaySpeed"] = 4; param["Img.StayTimeCustom"] = 3; param["Img.PosX"] = 100; param["Img.PosY"] = 100; param["Img.Rotation"] = 0; param["Img.Alpha"] = 100; param["Img.StaticText"] = false; param["Img.DelayFrame"] = 0; param["Img.DurationFrame"] = 10; param["Img.KeepText"] = false; param["Img.URL"] = false; param["Img.URLAddress"] = "about:blank"; param["Img.URLTarget"] = "_blank"; } if (param["Img.StaticText"]) { gotoAndPlay(_currentframe + 3); }
Symbol 19 MovieClip Frame 3
param["Img.DelayFrame"] = param["Img.DelayFrame"] - 1; if (param["Img.DelayFrame"] > 0) { gotoAndPlay(_currentframe - 1); }
Symbol 19 MovieClip Frame 4
stop(); var ImageMovie_MC = this.attachMovie(param["Img.ImageMovieExport"], "ImageMovie_MC", 2); if (param["Img.StaticText"]) { InEffect_FadeIn(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], 20, param["Img.Alpha"]); } else { switch (param["Img.InEffect"]) { case "Blinds horizontal" : InEffect_BlindsHorizontal(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.InSpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height, param["Img.BlindWidth"]); break; case "Blinds vertical" : InEffect_BlindsVertical(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.InSpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height, param["Img.BlindWidth"]); break; case "Fade in" : InEffect_FadeIn(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.InSpeed"], param["Img.Alpha"]); break; default : InEffect_FadeIn(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.InSpeed"], param["Img.Alpha"]); } }
Symbol 19 MovieClip Frame 5
var iStayEffectTime = -1; if (param["Img.StayTime"] != "To end") { iStayEffectTime = param["Movie.FPS"] * param["Img.StayTimeCustom"]; } switch (param["Img.StayEffect"]) { case "Stay" : StayEffect_Stay(ImageMovie_MC, iStayEffectTime, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.StaySpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height); break; case "Flicker" : StayEffect_Flicker(ImageMovie_MC, iStayEffectTime, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.StaySpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height); break; case "Rotating" : StayEffect_Rotating(ImageMovie_MC, iStayEffectTime, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.StaySpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height); break; case "Zoom in Zoom out" : StayEffect_ZoomInZoomOut(ImageMovie_MC, iStayEffectTime, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.StaySpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height); break; case "Fade in Fade out" : StayEffect_FadeInFadeOut(ImageMovie_MC, iStayEffectTime, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.StaySpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height); break; default : StayEffect_Stay(ImageMovie_MC, iStayEffectTime, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.StaySpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height); }
Symbol 19 MovieClip Frame 7
if (param["Img.DurationFrame"] < 0) { gotoAndPlay(_currentframe - 1); } else { param["Img.DurationFrame"] = param["Img.DurationFrame"] - 1; if (param["Img.DurationFrame"] > 0) { gotoAndPlay(_currentframe - 1); } else { gotoAndPlay(_currentframe + 1); } }
Symbol 19 MovieClip Frame 8
if (param["Img.KeepText"] || (param["Img.StaticText"])) { gotoAndPlay(_currentframe + 2); }
Symbol 19 MovieClip Frame 9
stop(); LeaveStayEffect(ImageMovie_MC, param["Img.PosX"], param["Img.PosY"], param["Img.Alpha"]); switch (param["Img.OutEffect"]) { case "Blinds horizontal" : OutEffect_BlindsHorizontal(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.OutSpeed"], ImageMovie_MC._width, ImageMovie_MC._height, param["Img.BlindWidth"]); break; case "Blinds vertical" : OutEffect_BlindsVertical(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.OutSpeed"], ImageMovie_MC._width, ImageMovie_MC._height, param["Img.BlindWidth"]); break; case "Fade out" : OutEffect_FadeOut(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.OutSpeed"]); break; default : OutEffect_FadeOut(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.OutSpeed"]); }
Symbol 19 MovieClip Frame 10
stop(); if (!param["Img.StaticText"]) { _parent.g_effectcount = _parent.g_effectcount - 1; if (_parent.g_effectcount <= 0) { _parent.play(); } }
Symbol 24 MovieClip Frame 1
ParamsValue = "<ParamsValue><Movie.Width>1024</Movie.Width><Movie.Height>881</Movie.Height><Movie.FPS>24</Movie.FPS><Img.ImageExport>Img.Blinds_Image_3</Img.ImageExport><Img.ImageMovieExport>Img.Blinds_ImageMovie_3</Img.ImageMovieExport><Img.BlindWidth>12</Img.BlindWidth><Img.InEffect>Blinds horizontal</Img.InEffect><Img.InSpeed>4</Img.InSpeed><Img.StayEffect>Stay</Img.StayEffect><Img.StaySpeed>4</Img.StaySpeed><Img.StayTime>To end</Img.StayTime><Img.StayTimeCustom>3</Img.StayTimeCustom><Img.OutEffect>Blinds horizontal</Img.OutEffect><Img.OutSpeed>4</Img.OutSpeed><Img.EffectName>Img.Blinds</Img.EffectName><Img.PosX>172</Img.PosX><Img.PosY>0</Img.PosY><Img.Rotation>0</Img.Rotation><Img.Alpha>100</Img.Alpha><Img.StaticText>false</Img.StaticText><Img.DelayFrame>0</Img.DelayFrame><Img.DurationFrame>144</Img.DurationFrame><Img.KeepText>false</Img.KeepText><Img.URL>false</Img.URL><Img.URLAddress>about:blank</Img.URLAddress><Img.URLTarget></Img.URLTarget></ParamsValue>"; function InEffect_FadeIn(ImgMC, MovieWidth, MovieHeight, PosX, PosY, InSpeed, ImgAlpha) { ImgMC._x = PosX; ImgMC._y = PosY; ImgMC._alpha = 0; ImgMC.InSpeed = InSpeed; ImgMC.ImgAlpha = ImgAlpha; ImgMC.onEnterFrame = function () { if ((this._alpha + this.InSpeed) > this.ImgAlpha) { this._alpha = this.ImgAlpha; delete this.onEnterFrame; this._parent.play(); } this._alpha = this._alpha + this.InSpeed; }; } function InEffect_BlindsHorizontal(ImgMC, MovieWidth, MovieHeight, PosX, PosY, InSpeed, ImgAlpha, ImgWidth, ImgHeight, BlindWidth) { var iBlindsCount = Math.ceil(ImgHeight / BlindWidth); var ImgMask = this.createEmptyMovieClip("ImgMask", 3); var ImgMask_Slide0 = ImgMask.createEmptyMovieClip("ImgMask_Slide0", 1); with (ImgMask_Slide0) { beginFill(16777215); moveTo(0, 0); lineTo(ImgWidth, 0); lineTo(ImgWidth, BlindWidth); lineTo(0, BlindWidth); lineTo(0, 0); endFill(); } var i = 1; while (i < iBlindsCount) { ImgMask_Slide0.duplicateMovieClip("ImgMask_Slide" + i, i + 1); i++; } var i = 0; while (i < iBlindsCount) { ImgMask["ImgMask_Slide" + i]._x = 0; ImgMask["ImgMask_Slide" + i]._y = BlindWidth * i; ImgMask["ImgMask_Slide" + i]._yscale = 0; i++; } ImgMC._x = PosX; ImgMC._y = PosY; ImgMask._x = PosX; ImgMask._y = PosY; ImgMC.setMask(ImgMask); ImgMask.ScaleCount = 0; ImgMask.InSpeed = InSpeed; ImgMask.iBlindsCount = iBlindsCount; ImgMask.onEnterFrame = function () { var _local2 = 0; while (_local2 < iBlindsCount) { this["ImgMask_Slide" + _local2]._yscale = this["ImgMask_Slide" + _local2]._yscale + this.InSpeed; _local2++; } this.ScaleCount = this.ScaleCount + this.InSpeed; if (this.ScaleCount >= 110) { delete this.onEnterFrame; this._parent.play(); this.removeMovieClip(); } }; } function InEffect_BlindsVertical(ImgMC, MovieWidth, MovieHeight, PosX, PosY, InSpeed, ImgAlpha, ImgWidth, ImgHeight, BlindWidth) { var iBlindsCount = Math.ceil(ImgWidth / BlindWidth); var ImgMask = this.createEmptyMovieClip("ImgMask", 3); var ImgMask_Slide0 = ImgMask.createEmptyMovieClip("ImgMask_Slide0", 1); with (ImgMask_Slide0) { beginFill(16777215); moveTo(0, 0); lineTo(BlindWidth, 0); lineTo(BlindWidth, ImgHeight); lineTo(0, ImgHeight); lineTo(0, 0); endFill(); } var i = 1; while (i < iBlindsCount) { ImgMask_Slide0.duplicateMovieClip("ImgMask_Slide" + i, i + 1); i++; } var i = 0; while (i < iBlindsCount) { ImgMask["ImgMask_Slide" + i]._x = BlindWidth * i; ImgMask["ImgMask_Slide" + i]._y = 0; ImgMask["ImgMask_Slide" + i]._xscale = 0; i++; } ImgMC._x = PosX; ImgMC._y = PosY; ImgMask._x = PosX; ImgMask._y = PosY; ImgMC.setMask(ImgMask); ImgMask.ScaleCount = 0; ImgMask.InSpeed = InSpeed; ImgMask.iBlindsCount = iBlindsCount; ImgMask.onEnterFrame = function () { var _local2 = 0; while (_local2 < iBlindsCount) { this["ImgMask_Slide" + _local2]._xscale = this["ImgMask_Slide" + _local2]._xscale + this.InSpeed; _local2++; } this.ScaleCount = this.ScaleCount + this.InSpeed; if (this.ScaleCount >= 110) { delete this.onEnterFrame; this._parent.play(); this.removeMovieClip(); } }; } function OutEffect_FadeOut(ImgMC, MovieWidth, MovieHeight, OutSpeed) { ImgMC.OutSpeed = OutSpeed; ImgMC.onEnterFrame = function () { this._alpha = this._alpha - this.OutSpeed; if (this._alpha <= 0) { this._parent.play(); delete this.onEnterFrame; this.removeMovieClip(); } }; } function OutEffect_BlindsHorizontal(ImgMC, MovieWidth, MovieHeight, PosX, PosY, OutSpeed, ImgWidth, ImgHeight, BlindWidth) { var iBlindsCount = Math.ceil(ImgHeight / BlindWidth); var ImgMask = this.createEmptyMovieClip("ImgMask", 3); var ImgMask_Slide0 = ImgMask.createEmptyMovieClip("ImgMask_Slide0", 1); with (ImgMask_Slide0) { beginFill(16777215); moveTo(0, 0); lineTo(ImgWidth, 0); lineTo(ImgWidth, BlindWidth); lineTo(0, BlindWidth); lineTo(0, 0); endFill(); } var i = 1; while (i < iBlindsCount) { ImgMask_Slide0.duplicateMovieClip("ImgMask_Slide" + i, i + 1); i++; } var i = 0; while (i < iBlindsCount) { ImgMask["ImgMask_Slide" + i]._x = 0; ImgMask["ImgMask_Slide" + i]._y = BlindWidth * i; ImgMask["ImgMask_Slide" + i]._yscale = 100; i++; } ImgMC._x = PosX; ImgMC._y = PosY; ImgMask._x = PosX; ImgMask._y = PosY; ImgMC.setMask(ImgMask); ImgMask.ScaleCount = 100; ImgMask.OutSpeed = OutSpeed; ImgMask.iBlindsCount = iBlindsCount; ImgMask.onEnterFrame = function () { var _local2 = 0; while (_local2 < iBlindsCount) { this["ImgMask_Slide" + _local2]._yscale = this["ImgMask_Slide" + _local2]._yscale - this.OutSpeed; _local2++; } this.ScaleCount = this.ScaleCount - this.OutSpeed; if (this.ScaleCount <= 0) { delete this.onEnterFrame; this._parent.play(); ImgMask.removeMovieClip(); ImgMC.removeMovieClip(); } }; } function OutEffect_BlindsVertical(ImgMC, MovieWidth, MovieHeight, PosX, PosY, OutSpeed, ImgWidth, ImgHeight, BlindWidth) { var iBlindsCount = Math.ceil(ImgWidth / BlindWidth); var ImgMask = this.createEmptyMovieClip("ImgMask", 3); var ImgMask_Slide0 = ImgMask.createEmptyMovieClip("ImgMask_Slide0", 1); with (ImgMask_Slide0) { beginFill(16777215); moveTo(0, 0); lineTo(BlindWidth, 0); lineTo(BlindWidth, ImgHeight); lineTo(0, ImgHeight); lineTo(0, 0); endFill(); } var i = 1; while (i < iBlindsCount) { ImgMask_Slide0.duplicateMovieClip("ImgMask_Slide" + i, i + 1); i++; } var i = 0; while (i < iBlindsCount) { ImgMask["ImgMask_Slide" + i]._x = BlindWidth * i; ImgMask["ImgMask_Slide" + i]._y = 0; ImgMask["ImgMask_Slide" + i]._xscale = 100; i++; } ImgMC._x = PosX; ImgMC._y = PosY; ImgMask._x = PosX; ImgMask._y = PosY; ImgMC.setMask(ImgMask); ImgMask.ScaleCount = 100; ImgMask.OutSpeed = OutSpeed; ImgMask.iBlindsCount = iBlindsCount; ImgMask.onEnterFrame = function () { var _local2 = 0; while (_local2 < iBlindsCount) { this["ImgMask_Slide" + _local2]._xscale = this["ImgMask_Slide" + _local2]._xscale - this.OutSpeed; _local2++; } this.ScaleCount = this.ScaleCount - this.OutSpeed; if (this.ScaleCount <= 0) { delete this.onEnterFrame; this._parent.play(); ImgMask.removeMovieClip(); ImgMC.removeMovieClip(); } }; } function LeaveStayEffect(ImgMC, PosX, PosY, ImgAlpha) { ImgMC._rotation = 0; ImgMC._xscale = 100; ImgMC._yscale = 100; ImgMC._x = PosX; ImgMC._y = PosY; ImgMC._alpha = ImgAlpha; delete ImgMC.onEnterFrame; } function StayEffect_Stay(ImgMC, StayTime, MovieWidth, MovieHeight, PosX, PosY, StaySpeed, ImgAlpha, ImgWidth, ImgHeight) { ImgMC.onEnterFrame = function () { }; } function StayEffect_Flicker(ImgMC, StayTime, MovieWidth, MovieHeight, PosX, PosY, StaySpeed, ImgAlpha, ImgWidth, ImgHeight) { ImgMC.PosX = PosX; ImgMC.PosY = PosY; ImgMC.StaySpeed = StaySpeed; ImgMC.ImgAlpha = ImgAlpha; ImgMC.FlickerVisible = true; ImgMC.StayTime = StayTime; ImgMC.Switch = StaySpeed; ImgMC.onEnterFrame = function () { if (this.StayTime == 0) { this._rotation = 0; this._xscale = 100; this._yscale = 100; this._x = this.PosX; this._y = this.PosY; this._alpha = this.ImgAlpha; delete this.onEnterFrame; } else if (this.StayTime > 0) { this.StayTime--; } if ((--this.Switch) <= 0) { if (ImgMC.FlickerVisible) { ImgMC._alpha = 0; ImgMC.FlickerVisible = false; } else { ImgMC._alpha = this.ImgAlpha; ImgMC.FlickerVisible = true; } this.Switch = this.StaySpeed; } }; } function StayEffect_Rotating(ImgMC, StayTime, MovieWidth, MovieHeight, PosX, PosY, StaySpeed, ImgAlpha, ImgWidth, ImgHeight) { ImgMC.StaySpeed = StaySpeed; ImgMC.PosX = PosX; ImgMC.PosY = PosY; ImgMC.ImgAlpha = ImgAlpha; ImgMC.ImgWidth = ImgWidth; ImgMC.ImgHeight = ImgHeight; ImgMC.StayTime = StayTime; ImgMC._rotation = 0; ImgMC.onEnterFrame = function () { if (this.StayTime == 0) { this._rotation = 0; this._xscale = 100; this._yscale = 100; this._x = this.PosX; this._y = this.PosY; this._alpha = this.ImgAlpha; delete this.onEnterFrame; } else if (this.StayTime > 0) { this._rotation = this._rotation + this.StaySpeed; this._x = ((this.PosX + (this.ImgWidth / 2)) - ((this.ImgWidth / 2) * Math.cos((this._rotation / 180) * Math.PI))) + ((this.ImgHeight / 2) * Math.sin((this._rotation / 180) * Math.PI)); this._y = ((this.PosY + (this.ImgHeight / 2)) - ((this.ImgWidth / 2) * Math.sin((this._rotation / 180) * Math.PI))) - ((this.ImgHeight / 2) * Math.cos((this._rotation / 180) * Math.PI)); if (this.StayTime > 0) { this.StayTime--; } } }; } function StayEffect_ZoomInZoomOut(ImgMC, StayTime, MovieWidth, MovieHeight, PosX, PosY, StaySpeed, ImgAlpha, ImgWidth, ImgHeight) { ImgMC.StaySpeed = StaySpeed; ImgMC.ZoomOut = true; ImgMC.PosX = PosX; ImgMC.PosY = PosY; ImgMC.ImgWidth = ImgWidth; ImgMC.ImgHeight = ImgHeight; ImgMC.ImgAlpha = ImgAlpha; ImgMC.StayTime = StayTime; ImgMC.onEnterFrame = function () { if (this.StayTime == 0) { this._rotation = 0; this._xscale = 100; this._yscale = 100; this._x = this.PosX; this._y = this.PosY; this._alpha = this.ImgAlpha; delete this.onEnterFrame; } else if (this.StayTime > 0) { this.StayTime--; } if (this.ZoomOut) { this._xscale = this._xscale - this.StaySpeed; this._yscale = this._yscale - this.StaySpeed; if (this._xscale < 90) { this.ZoomOut = false; } } else { this._xscale = this._xscale + this.StaySpeed; this._yscale = this._yscale + this.StaySpeed; if (this._xscale > 110) { this.ZoomOut = true; } } this._x = (this.PosX + (this.ImgWidth / 2)) - (this._width / 2); this._y = (this.PosY + (this.ImgHeight / 2)) - (this._height / 2); }; } function StayEffect_FadeInFadeOut(ImgMC, StayTime, MovieWidth, MovieHeight, PosX, PosY, StaySpeed, ImgAlpha, ImgWidth, ImgHeight) { ImgMC.StaySpeed = StaySpeed; ImgMC.AlphaOut = true; ImgMC.PosX = PosX; ImgMC.PosY = PosY; ImgMC.ImgAlpha = ImgAlpha; ImgMC.StayTime = StayTime; ImgMC.onEnterFrame = function () { if (this.StayTime == 0) { this._rotation = 0; this._xscale = 100; this._yscale = 100; this._x = this.PosX; this._y = this.PosY; this._alpha = this.ImgAlpha; delete this.onEnterFrame; } else if (this.StayTime > 0) { this.StayTime--; } if (this.AlphaOut) { this._alpha = this._alpha - this.StaySpeed; if (this._alpha < 80) { this.AlphaOut = false; } } else { this._alpha = this._alpha + this.StaySpeed; if (this._alpha >= 100) { this.AlphaOut = true; } } }; } ParamsDefine = "<ParamsDefine><Img.BlindWidth caption=\"Blind width\" type=\"integer\" min=\"1\" max=\"50\" default=\"12\"/><Img.InEffect caption=\"In effect\" type=\"selection\" selection=\"Blinds horizontal;Blinds vertical;Fade in\" default=\"Blinds horizontal\"/><Img.InSpeed caption=\"In speed\" type=\"integer\" min=\"1\" max=\"50\" default=\"4\"/><Img.StayEffect caption=\"Stay effect\" type=\"selection\" selection=\"Stay;Rotating;Zoom in Zoom out;Fade in Fade out;Flicker\" default=\"Stay\"/><Img.StaySpeed caption=\"Stay speed\" type=\"integer\" min=\"1\" max=\"50\" default=\"4\"/><Img.StayTime caption=\"Stay effect time\" type=\"selection\" selection=\"To end;Custom\" default=\"To end\"/><Img.StayTimeCustom caption=\"Stay effect custom seconds\" type=\"integer\" min=\"1\" max=\"50\" default=\"3\"/><Img.OutEffect caption=\"Out effect\" type=\"selection\" selection=\"Blinds horizontal;Blinds vertical;Fade out\" default=\"Blinds horizontal\"/><Img.OutSpeed caption=\"Out speed\" type=\"integer\" min=\"1\" max=\"50\" default=\"4\"/><Img.EffectName caption=\"Effect Name\" type=\"const\" default=\"Img.Blinds\"/></ParamsDefine>"; var param = new Array(); param["Movie.Width"] = _parent._width; param["Movie.Height"] = _parent._height; if (ParamsValue != null) { paramXML = new XML(ParamsValue); paramXML.ignoreWhite = false; var i = 0; while (i < paramXML.childNodes[0].childNodes.length) { node = paramXML.childNodes[0].childNodes[i]; param[node.nodeName] = node.childNodes[0].nodeValue; i++; } param["Movie.Width"] = parseInt(param["Movie.Width"]); param["Movie.Height"] = parseInt(param["Movie.Height"]); param["Movie.FPS"] = parseInt(param["Movie.FPS"]); param["Img.InSpeed"] = parseInt(param["Img.InSpeed"]); param["Img.OutSpeed"] = parseInt(param["Img.OutSpeed"]); param["Img.StaySpeed"] = parseInt(param["Img.StaySpeed"]); param["Img.StayTimeCustom"] = parseInt(param["Img.StayTimeCustom"]); param["Img.BlindWidth"] = parseInt(param["Img.BlindWidth"]); param["Img.PosX"] = parseInt(param["Img.PosX"]); param["Img.PosY"] = parseInt(param["Img.PosY"]); param["Img.Rotation"] = parseInt(param["Img.Rotation"]); param["Img.Alpha"] = parseInt(param["Img.Alpha"]); param["Img.StaticText"] = param["Img.StaticText"].toLowerCase() == "true"; param["Img.DelayFrame"] = parseInt(param["Img.DelayFrame"]); param["Img.DurationFrame"] = parseInt(param["Img.DurationFrame"]); param["Img.KeepText"] = param["Img.KeepText"].toLowerCase() == "true"; param["Img.URL"] = param["Img.URL"].toLowerCase() == "true"; delete paramXML; } else { param["Movie.Width"] = 400; param["Movie.Height"] = 300; param["Img.InSpeed"] = 8; param["Img.OutSpeed"] = 8; param["Img.StaySpeed"] = 4; param["Img.StayTimeCustom"] = 3; param["Img.PosX"] = 100; param["Img.PosY"] = 100; param["Img.Rotation"] = 0; param["Img.Alpha"] = 100; param["Img.StaticText"] = false; param["Img.DelayFrame"] = 0; param["Img.DurationFrame"] = 10; param["Img.KeepText"] = false; param["Img.URL"] = false; param["Img.URLAddress"] = "about:blank"; param["Img.URLTarget"] = "_blank"; } if (param["Img.StaticText"]) { gotoAndPlay(_currentframe + 3); }
Symbol 24 MovieClip Frame 3
param["Img.DelayFrame"] = param["Img.DelayFrame"] - 1; if (param["Img.DelayFrame"] > 0) { gotoAndPlay(_currentframe - 1); }
Symbol 24 MovieClip Frame 4
stop(); var ImageMovie_MC = this.attachMovie(param["Img.ImageMovieExport"], "ImageMovie_MC", 2); if (param["Img.StaticText"]) { InEffect_FadeIn(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], 20, param["Img.Alpha"]); } else { switch (param["Img.InEffect"]) { case "Blinds horizontal" : InEffect_BlindsHorizontal(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.InSpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height, param["Img.BlindWidth"]); break; case "Blinds vertical" : InEffect_BlindsVertical(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.InSpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height, param["Img.BlindWidth"]); break; case "Fade in" : InEffect_FadeIn(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.InSpeed"], param["Img.Alpha"]); break; default : InEffect_FadeIn(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.InSpeed"], param["Img.Alpha"]); } }
Symbol 24 MovieClip Frame 5
var iStayEffectTime = -1; if (param["Img.StayTime"] != "To end") { iStayEffectTime = param["Movie.FPS"] * param["Img.StayTimeCustom"]; } switch (param["Img.StayEffect"]) { case "Stay" : StayEffect_Stay(ImageMovie_MC, iStayEffectTime, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.StaySpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height); break; case "Flicker" : StayEffect_Flicker(ImageMovie_MC, iStayEffectTime, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.StaySpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height); break; case "Rotating" : StayEffect_Rotating(ImageMovie_MC, iStayEffectTime, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.StaySpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height); break; case "Zoom in Zoom out" : StayEffect_ZoomInZoomOut(ImageMovie_MC, iStayEffectTime, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.StaySpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height); break; case "Fade in Fade out" : StayEffect_FadeInFadeOut(ImageMovie_MC, iStayEffectTime, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.StaySpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height); break; default : StayEffect_Stay(ImageMovie_MC, iStayEffectTime, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.StaySpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height); }
Symbol 24 MovieClip Frame 7
if (param["Img.DurationFrame"] < 0) { gotoAndPlay(_currentframe - 1); } else { param["Img.DurationFrame"] = param["Img.DurationFrame"] - 1; if (param["Img.DurationFrame"] > 0) { gotoAndPlay(_currentframe - 1); } else { gotoAndPlay(_currentframe + 1); } }
Symbol 24 MovieClip Frame 8
if (param["Img.KeepText"] || (param["Img.StaticText"])) { gotoAndPlay(_currentframe + 2); }
Symbol 24 MovieClip Frame 9
stop(); LeaveStayEffect(ImageMovie_MC, param["Img.PosX"], param["Img.PosY"], param["Img.Alpha"]); switch (param["Img.OutEffect"]) { case "Blinds horizontal" : OutEffect_BlindsHorizontal(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.OutSpeed"], ImageMovie_MC._width, ImageMovie_MC._height, param["Img.BlindWidth"]); break; case "Blinds vertical" : OutEffect_BlindsVertical(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.OutSpeed"], ImageMovie_MC._width, ImageMovie_MC._height, param["Img.BlindWidth"]); break; case "Fade out" : OutEffect_FadeOut(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.OutSpeed"]); break; default : OutEffect_FadeOut(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.OutSpeed"]); }
Symbol 24 MovieClip Frame 10
stop(); if (!param["Img.StaticText"]) { _parent.g_effectcount = _parent.g_effectcount - 1; if (_parent.g_effectcount <= 0) { _parent.play(); } }
Symbol 29 MovieClip Frame 1
ParamsValue = "<ParamsValue><Movie.Width>1024</Movie.Width><Movie.Height>881</Movie.Height><Movie.FPS>24</Movie.FPS><Img.ImageExport>Img.Blinds_Image_4</Img.ImageExport><Img.ImageMovieExport>Img.Blinds_ImageMovie_4</Img.ImageMovieExport><Img.BlindWidth>12</Img.BlindWidth><Img.InEffect>Blinds horizontal</Img.InEffect><Img.InSpeed>4</Img.InSpeed><Img.StayEffect>Stay</Img.StayEffect><Img.StaySpeed>4</Img.StaySpeed><Img.StayTime>To end</Img.StayTime><Img.StayTimeCustom>3</Img.StayTimeCustom><Img.OutEffect>Blinds horizontal</Img.OutEffect><Img.OutSpeed>4</Img.OutSpeed><Img.EffectName>Img.Blinds</Img.EffectName><Img.PosX>12</Img.PosX><Img.PosY>78</Img.PosY><Img.Rotation>0</Img.Rotation><Img.Alpha>100</Img.Alpha><Img.StaticText>false</Img.StaticText><Img.DelayFrame>0</Img.DelayFrame><Img.DurationFrame>144</Img.DurationFrame><Img.KeepText>false</Img.KeepText><Img.URL>false</Img.URL><Img.URLAddress>about:blank</Img.URLAddress><Img.URLTarget></Img.URLTarget></ParamsValue>"; function InEffect_FadeIn(ImgMC, MovieWidth, MovieHeight, PosX, PosY, InSpeed, ImgAlpha) { ImgMC._x = PosX; ImgMC._y = PosY; ImgMC._alpha = 0; ImgMC.InSpeed = InSpeed; ImgMC.ImgAlpha = ImgAlpha; ImgMC.onEnterFrame = function () { if ((this._alpha + this.InSpeed) > this.ImgAlpha) { this._alpha = this.ImgAlpha; delete this.onEnterFrame; this._parent.play(); } this._alpha = this._alpha + this.InSpeed; }; } function InEffect_BlindsHorizontal(ImgMC, MovieWidth, MovieHeight, PosX, PosY, InSpeed, ImgAlpha, ImgWidth, ImgHeight, BlindWidth) { var iBlindsCount = Math.ceil(ImgHeight / BlindWidth); var ImgMask = this.createEmptyMovieClip("ImgMask", 3); var ImgMask_Slide0 = ImgMask.createEmptyMovieClip("ImgMask_Slide0", 1); with (ImgMask_Slide0) { beginFill(16777215); moveTo(0, 0); lineTo(ImgWidth, 0); lineTo(ImgWidth, BlindWidth); lineTo(0, BlindWidth); lineTo(0, 0); endFill(); } var i = 1; while (i < iBlindsCount) { ImgMask_Slide0.duplicateMovieClip("ImgMask_Slide" + i, i + 1); i++; } var i = 0; while (i < iBlindsCount) { ImgMask["ImgMask_Slide" + i]._x = 0; ImgMask["ImgMask_Slide" + i]._y = BlindWidth * i; ImgMask["ImgMask_Slide" + i]._yscale = 0; i++; } ImgMC._x = PosX; ImgMC._y = PosY; ImgMask._x = PosX; ImgMask._y = PosY; ImgMC.setMask(ImgMask); ImgMask.ScaleCount = 0; ImgMask.InSpeed = InSpeed; ImgMask.iBlindsCount = iBlindsCount; ImgMask.onEnterFrame = function () { var _local2 = 0; while (_local2 < iBlindsCount) { this["ImgMask_Slide" + _local2]._yscale = this["ImgMask_Slide" + _local2]._yscale + this.InSpeed; _local2++; } this.ScaleCount = this.ScaleCount + this.InSpeed; if (this.ScaleCount >= 110) { delete this.onEnterFrame; this._parent.play(); this.removeMovieClip(); } }; } function InEffect_BlindsVertical(ImgMC, MovieWidth, MovieHeight, PosX, PosY, InSpeed, ImgAlpha, ImgWidth, ImgHeight, BlindWidth) { var iBlindsCount = Math.ceil(ImgWidth / BlindWidth); var ImgMask = this.createEmptyMovieClip("ImgMask", 3); var ImgMask_Slide0 = ImgMask.createEmptyMovieClip("ImgMask_Slide0", 1); with (ImgMask_Slide0) { beginFill(16777215); moveTo(0, 0); lineTo(BlindWidth, 0); lineTo(BlindWidth, ImgHeight); lineTo(0, ImgHeight); lineTo(0, 0); endFill(); } var i = 1; while (i < iBlindsCount) { ImgMask_Slide0.duplicateMovieClip("ImgMask_Slide" + i, i + 1); i++; } var i = 0; while (i < iBlindsCount) { ImgMask["ImgMask_Slide" + i]._x = BlindWidth * i; ImgMask["ImgMask_Slide" + i]._y = 0; ImgMask["ImgMask_Slide" + i]._xscale = 0; i++; } ImgMC._x = PosX; ImgMC._y = PosY; ImgMask._x = PosX; ImgMask._y = PosY; ImgMC.setMask(ImgMask); ImgMask.ScaleCount = 0; ImgMask.InSpeed = InSpeed; ImgMask.iBlindsCount = iBlindsCount; ImgMask.onEnterFrame = function () { var _local2 = 0; while (_local2 < iBlindsCount) { this["ImgMask_Slide" + _local2]._xscale = this["ImgMask_Slide" + _local2]._xscale + this.InSpeed; _local2++; } this.ScaleCount = this.ScaleCount + this.InSpeed; if (this.ScaleCount >= 110) { delete this.onEnterFrame; this._parent.play(); this.removeMovieClip(); } }; } function OutEffect_FadeOut(ImgMC, MovieWidth, MovieHeight, OutSpeed) { ImgMC.OutSpeed = OutSpeed; ImgMC.onEnterFrame = function () { this._alpha = this._alpha - this.OutSpeed; if (this._alpha <= 0) { this._parent.play(); delete this.onEnterFrame; this.removeMovieClip(); } }; } function OutEffect_BlindsHorizontal(ImgMC, MovieWidth, MovieHeight, PosX, PosY, OutSpeed, ImgWidth, ImgHeight, BlindWidth) { var iBlindsCount = Math.ceil(ImgHeight / BlindWidth); var ImgMask = this.createEmptyMovieClip("ImgMask", 3); var ImgMask_Slide0 = ImgMask.createEmptyMovieClip("ImgMask_Slide0", 1); with (ImgMask_Slide0) { beginFill(16777215); moveTo(0, 0); lineTo(ImgWidth, 0); lineTo(ImgWidth, BlindWidth); lineTo(0, BlindWidth); lineTo(0, 0); endFill(); } var i = 1; while (i < iBlindsCount) { ImgMask_Slide0.duplicateMovieClip("ImgMask_Slide" + i, i + 1); i++; } var i = 0; while (i < iBlindsCount) { ImgMask["ImgMask_Slide" + i]._x = 0; ImgMask["ImgMask_Slide" + i]._y = BlindWidth * i; ImgMask["ImgMask_Slide" + i]._yscale = 100; i++; } ImgMC._x = PosX; ImgMC._y = PosY; ImgMask._x = PosX; ImgMask._y = PosY; ImgMC.setMask(ImgMask); ImgMask.ScaleCount = 100; ImgMask.OutSpeed = OutSpeed; ImgMask.iBlindsCount = iBlindsCount; ImgMask.onEnterFrame = function () { var _local2 = 0; while (_local2 < iBlindsCount) { this["ImgMask_Slide" + _local2]._yscale = this["ImgMask_Slide" + _local2]._yscale - this.OutSpeed; _local2++; } this.ScaleCount = this.ScaleCount - this.OutSpeed; if (this.ScaleCount <= 0) { delete this.onEnterFrame; this._parent.play(); ImgMask.removeMovieClip(); ImgMC.removeMovieClip(); } }; } function OutEffect_BlindsVertical(ImgMC, MovieWidth, MovieHeight, PosX, PosY, OutSpeed, ImgWidth, ImgHeight, BlindWidth) { var iBlindsCount = Math.ceil(ImgWidth / BlindWidth); var ImgMask = this.createEmptyMovieClip("ImgMask", 3); var ImgMask_Slide0 = ImgMask.createEmptyMovieClip("ImgMask_Slide0", 1); with (ImgMask_Slide0) { beginFill(16777215); moveTo(0, 0); lineTo(BlindWidth, 0); lineTo(BlindWidth, ImgHeight); lineTo(0, ImgHeight); lineTo(0, 0); endFill(); } var i = 1; while (i < iBlindsCount) { ImgMask_Slide0.duplicateMovieClip("ImgMask_Slide" + i, i + 1); i++; } var i = 0; while (i < iBlindsCount) { ImgMask["ImgMask_Slide" + i]._x = BlindWidth * i; ImgMask["ImgMask_Slide" + i]._y = 0; ImgMask["ImgMask_Slide" + i]._xscale = 100; i++; } ImgMC._x = PosX; ImgMC._y = PosY; ImgMask._x = PosX; ImgMask._y = PosY; ImgMC.setMask(ImgMask); ImgMask.ScaleCount = 100; ImgMask.OutSpeed = OutSpeed; ImgMask.iBlindsCount = iBlindsCount; ImgMask.onEnterFrame = function () { var _local2 = 0; while (_local2 < iBlindsCount) { this["ImgMask_Slide" + _local2]._xscale = this["ImgMask_Slide" + _local2]._xscale - this.OutSpeed; _local2++; } this.ScaleCount = this.ScaleCount - this.OutSpeed; if (this.ScaleCount <= 0) { delete this.onEnterFrame; this._parent.play(); ImgMask.removeMovieClip(); ImgMC.removeMovieClip(); } }; } function LeaveStayEffect(ImgMC, PosX, PosY, ImgAlpha) { ImgMC._rotation = 0; ImgMC._xscale = 100; ImgMC._yscale = 100; ImgMC._x = PosX; ImgMC._y = PosY; ImgMC._alpha = ImgAlpha; delete ImgMC.onEnterFrame; } function StayEffect_Stay(ImgMC, StayTime, MovieWidth, MovieHeight, PosX, PosY, StaySpeed, ImgAlpha, ImgWidth, ImgHeight) { ImgMC.onEnterFrame = function () { }; } function StayEffect_Flicker(ImgMC, StayTime, MovieWidth, MovieHeight, PosX, PosY, StaySpeed, ImgAlpha, ImgWidth, ImgHeight) { ImgMC.PosX = PosX; ImgMC.PosY = PosY; ImgMC.StaySpeed = StaySpeed; ImgMC.ImgAlpha = ImgAlpha; ImgMC.FlickerVisible = true; ImgMC.StayTime = StayTime; ImgMC.Switch = StaySpeed; ImgMC.onEnterFrame = function () { if (this.StayTime == 0) { this._rotation = 0; this._xscale = 100; this._yscale = 100; this._x = this.PosX; this._y = this.PosY; this._alpha = this.ImgAlpha; delete this.onEnterFrame; } else if (this.StayTime > 0) { this.StayTime--; } if ((--this.Switch) <= 0) { if (ImgMC.FlickerVisible) { ImgMC._alpha = 0; ImgMC.FlickerVisible = false; } else { ImgMC._alpha = this.ImgAlpha; ImgMC.FlickerVisible = true; } this.Switch = this.StaySpeed; } }; } function StayEffect_Rotating(ImgMC, StayTime, MovieWidth, MovieHeight, PosX, PosY, StaySpeed, ImgAlpha, ImgWidth, ImgHeight) { ImgMC.StaySpeed = StaySpeed; ImgMC.PosX = PosX; ImgMC.PosY = PosY; ImgMC.ImgAlpha = ImgAlpha; ImgMC.ImgWidth = ImgWidth; ImgMC.ImgHeight = ImgHeight; ImgMC.StayTime = StayTime; ImgMC._rotation = 0; ImgMC.onEnterFrame = function () { if (this.StayTime == 0) { this._rotation = 0; this._xscale = 100; this._yscale = 100; this._x = this.PosX; this._y = this.PosY; this._alpha = this.ImgAlpha; delete this.onEnterFrame; } else if (this.StayTime > 0) { this._rotation = this._rotation + this.StaySpeed; this._x = ((this.PosX + (this.ImgWidth / 2)) - ((this.ImgWidth / 2) * Math.cos((this._rotation / 180) * Math.PI))) + ((this.ImgHeight / 2) * Math.sin((this._rotation / 180) * Math.PI)); this._y = ((this.PosY + (this.ImgHeight / 2)) - ((this.ImgWidth / 2) * Math.sin((this._rotation / 180) * Math.PI))) - ((this.ImgHeight / 2) * Math.cos((this._rotation / 180) * Math.PI)); if (this.StayTime > 0) { this.StayTime--; } } }; } function StayEffect_ZoomInZoomOut(ImgMC, StayTime, MovieWidth, MovieHeight, PosX, PosY, StaySpeed, ImgAlpha, ImgWidth, ImgHeight) { ImgMC.StaySpeed = StaySpeed; ImgMC.ZoomOut = true; ImgMC.PosX = PosX; ImgMC.PosY = PosY; ImgMC.ImgWidth = ImgWidth; ImgMC.ImgHeight = ImgHeight; ImgMC.ImgAlpha = ImgAlpha; ImgMC.StayTime = StayTime; ImgMC.onEnterFrame = function () { if (this.StayTime == 0) { this._rotation = 0; this._xscale = 100; this._yscale = 100; this._x = this.PosX; this._y = this.PosY; this._alpha = this.ImgAlpha; delete this.onEnterFrame; } else if (this.StayTime > 0) { this.StayTime--; } if (this.ZoomOut) { this._xscale = this._xscale - this.StaySpeed; this._yscale = this._yscale - this.StaySpeed; if (this._xscale < 90) { this.ZoomOut = false; } } else { this._xscale = this._xscale + this.StaySpeed; this._yscale = this._yscale + this.StaySpeed; if (this._xscale > 110) { this.ZoomOut = true; } } this._x = (this.PosX + (this.ImgWidth / 2)) - (this._width / 2); this._y = (this.PosY + (this.ImgHeight / 2)) - (this._height / 2); }; } function StayEffect_FadeInFadeOut(ImgMC, StayTime, MovieWidth, MovieHeight, PosX, PosY, StaySpeed, ImgAlpha, ImgWidth, ImgHeight) { ImgMC.StaySpeed = StaySpeed; ImgMC.AlphaOut = true; ImgMC.PosX = PosX; ImgMC.PosY = PosY; ImgMC.ImgAlpha = ImgAlpha; ImgMC.StayTime = StayTime; ImgMC.onEnterFrame = function () { if (this.StayTime == 0) { this._rotation = 0; this._xscale = 100; this._yscale = 100; this._x = this.PosX; this._y = this.PosY; this._alpha = this.ImgAlpha; delete this.onEnterFrame; } else if (this.StayTime > 0) { this.StayTime--; } if (this.AlphaOut) { this._alpha = this._alpha - this.StaySpeed; if (this._alpha < 80) { this.AlphaOut = false; } } else { this._alpha = this._alpha + this.StaySpeed; if (this._alpha >= 100) { this.AlphaOut = true; } } }; } ParamsDefine = "<ParamsDefine><Img.BlindWidth caption=\"Blind width\" type=\"integer\" min=\"1\" max=\"50\" default=\"12\"/><Img.InEffect caption=\"In effect\" type=\"selection\" selection=\"Blinds horizontal;Blinds vertical;Fade in\" default=\"Blinds horizontal\"/><Img.InSpeed caption=\"In speed\" type=\"integer\" min=\"1\" max=\"50\" default=\"4\"/><Img.StayEffect caption=\"Stay effect\" type=\"selection\" selection=\"Stay;Rotating;Zoom in Zoom out;Fade in Fade out;Flicker\" default=\"Stay\"/><Img.StaySpeed caption=\"Stay speed\" type=\"integer\" min=\"1\" max=\"50\" default=\"4\"/><Img.StayTime caption=\"Stay effect time\" type=\"selection\" selection=\"To end;Custom\" default=\"To end\"/><Img.StayTimeCustom caption=\"Stay effect custom seconds\" type=\"integer\" min=\"1\" max=\"50\" default=\"3\"/><Img.OutEffect caption=\"Out effect\" type=\"selection\" selection=\"Blinds horizontal;Blinds vertical;Fade out\" default=\"Blinds horizontal\"/><Img.OutSpeed caption=\"Out speed\" type=\"integer\" min=\"1\" max=\"50\" default=\"4\"/><Img.EffectName caption=\"Effect Name\" type=\"const\" default=\"Img.Blinds\"/></ParamsDefine>"; var param = new Array(); param["Movie.Width"] = _parent._width; param["Movie.Height"] = _parent._height; if (ParamsValue != null) { paramXML = new XML(ParamsValue); paramXML.ignoreWhite = false; var i = 0; while (i < paramXML.childNodes[0].childNodes.length) { node = paramXML.childNodes[0].childNodes[i]; param[node.nodeName] = node.childNodes[0].nodeValue; i++; } param["Movie.Width"] = parseInt(param["Movie.Width"]); param["Movie.Height"] = parseInt(param["Movie.Height"]); param["Movie.FPS"] = parseInt(param["Movie.FPS"]); param["Img.InSpeed"] = parseInt(param["Img.InSpeed"]); param["Img.OutSpeed"] = parseInt(param["Img.OutSpeed"]); param["Img.StaySpeed"] = parseInt(param["Img.StaySpeed"]); param["Img.StayTimeCustom"] = parseInt(param["Img.StayTimeCustom"]); param["Img.BlindWidth"] = parseInt(param["Img.BlindWidth"]); param["Img.PosX"] = parseInt(param["Img.PosX"]); param["Img.PosY"] = parseInt(param["Img.PosY"]); param["Img.Rotation"] = parseInt(param["Img.Rotation"]); param["Img.Alpha"] = parseInt(param["Img.Alpha"]); param["Img.StaticText"] = param["Img.StaticText"].toLowerCase() == "true"; param["Img.DelayFrame"] = parseInt(param["Img.DelayFrame"]); param["Img.DurationFrame"] = parseInt(param["Img.DurationFrame"]); param["Img.KeepText"] = param["Img.KeepText"].toLowerCase() == "true"; param["Img.URL"] = param["Img.URL"].toLowerCase() == "true"; delete paramXML; } else { param["Movie.Width"] = 400; param["Movie.Height"] = 300; param["Img.InSpeed"] = 8; param["Img.OutSpeed"] = 8; param["Img.StaySpeed"] = 4; param["Img.StayTimeCustom"] = 3; param["Img.PosX"] = 100; param["Img.PosY"] = 100; param["Img.Rotation"] = 0; param["Img.Alpha"] = 100; param["Img.StaticText"] = false; param["Img.DelayFrame"] = 0; param["Img.DurationFrame"] = 10; param["Img.KeepText"] = false; param["Img.URL"] = false; param["Img.URLAddress"] = "about:blank"; param["Img.URLTarget"] = "_blank"; } if (param["Img.StaticText"]) { gotoAndPlay(_currentframe + 3); }
Symbol 29 MovieClip Frame 3
param["Img.DelayFrame"] = param["Img.DelayFrame"] - 1; if (param["Img.DelayFrame"] > 0) { gotoAndPlay(_currentframe - 1); }
Symbol 29 MovieClip Frame 4
stop(); var ImageMovie_MC = this.attachMovie(param["Img.ImageMovieExport"], "ImageMovie_MC", 2); if (param["Img.StaticText"]) { InEffect_FadeIn(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], 20, param["Img.Alpha"]); } else { switch (param["Img.InEffect"]) { case "Blinds horizontal" : InEffect_BlindsHorizontal(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.InSpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height, param["Img.BlindWidth"]); break; case "Blinds vertical" : InEffect_BlindsVertical(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.InSpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height, param["Img.BlindWidth"]); break; case "Fade in" : InEffect_FadeIn(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.InSpeed"], param["Img.Alpha"]); break; default : InEffect_FadeIn(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.InSpeed"], param["Img.Alpha"]); } }
Symbol 29 MovieClip Frame 5
var iStayEffectTime = -1; if (param["Img.StayTime"] != "To end") { iStayEffectTime = param["Movie.FPS"] * param["Img.StayTimeCustom"]; } switch (param["Img.StayEffect"]) { case "Stay" : StayEffect_Stay(ImageMovie_MC, iStayEffectTime, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.StaySpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height); break; case "Flicker" : StayEffect_Flicker(ImageMovie_MC, iStayEffectTime, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.StaySpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height); break; case "Rotating" : StayEffect_Rotating(ImageMovie_MC, iStayEffectTime, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.StaySpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height); break; case "Zoom in Zoom out" : StayEffect_ZoomInZoomOut(ImageMovie_MC, iStayEffectTime, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.StaySpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height); break; case "Fade in Fade out" : StayEffect_FadeInFadeOut(ImageMovie_MC, iStayEffectTime, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.StaySpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height); break; default : StayEffect_Stay(ImageMovie_MC, iStayEffectTime, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.StaySpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height); }
Symbol 29 MovieClip Frame 7
if (param["Img.DurationFrame"] < 0) { gotoAndPlay(_currentframe - 1); } else { param["Img.DurationFrame"] = param["Img.DurationFrame"] - 1; if (param["Img.DurationFrame"] > 0) { gotoAndPlay(_currentframe - 1); } else { gotoAndPlay(_currentframe + 1); } }
Symbol 29 MovieClip Frame 8
if (param["Img.KeepText"] || (param["Img.StaticText"])) { gotoAndPlay(_currentframe + 2); }
Symbol 29 MovieClip Frame 9
stop(); LeaveStayEffect(ImageMovie_MC, param["Img.PosX"], param["Img.PosY"], param["Img.Alpha"]); switch (param["Img.OutEffect"]) { case "Blinds horizontal" : OutEffect_BlindsHorizontal(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.OutSpeed"], ImageMovie_MC._width, ImageMovie_MC._height, param["Img.BlindWidth"]); break; case "Blinds vertical" : OutEffect_BlindsVertical(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.OutSpeed"], ImageMovie_MC._width, ImageMovie_MC._height, param["Img.BlindWidth"]); break; case "Fade out" : OutEffect_FadeOut(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.OutSpeed"]); break; default : OutEffect_FadeOut(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.OutSpeed"]); }
Symbol 29 MovieClip Frame 10
stop(); if (!param["Img.StaticText"]) { _parent.g_effectcount = _parent.g_effectcount - 1; if (_parent.g_effectcount <= 0) { _parent.play(); } }
Symbol 34 MovieClip Frame 1
ParamsValue = "<ParamsValue><Movie.Width>1024</Movie.Width><Movie.Height>881</Movie.Height><Movie.FPS>24</Movie.FPS><Img.ImageExport>Img.Blinds_Image_5</Img.ImageExport><Img.ImageMovieExport>Img.Blinds_ImageMovie_5</Img.ImageMovieExport><Img.BlindWidth>12</Img.BlindWidth><Img.InEffect>Blinds horizontal</Img.InEffect><Img.InSpeed>4</Img.InSpeed><Img.StayEffect>Stay</Img.StayEffect><Img.StaySpeed>4</Img.StaySpeed><Img.StayTime>To end</Img.StayTime><Img.StayTimeCustom>3</Img.StayTimeCustom><Img.OutEffect>Blinds horizontal</Img.OutEffect><Img.OutSpeed>4</Img.OutSpeed><Img.EffectName>Img.Blinds</Img.EffectName><Img.PosX>341</Img.PosX><Img.PosY>215</Img.PosY><Img.Rotation>0</Img.Rotation><Img.Alpha>100</Img.Alpha><Img.StaticText>false</Img.StaticText><Img.DelayFrame>0</Img.DelayFrame><Img.DurationFrame>144</Img.DurationFrame><Img.KeepText>false</Img.KeepText><Img.URL>false</Img.URL><Img.URLAddress>about:blank</Img.URLAddress><Img.URLTarget></Img.URLTarget></ParamsValue>"; function InEffect_FadeIn(ImgMC, MovieWidth, MovieHeight, PosX, PosY, InSpeed, ImgAlpha) { ImgMC._x = PosX; ImgMC._y = PosY; ImgMC._alpha = 0; ImgMC.InSpeed = InSpeed; ImgMC.ImgAlpha = ImgAlpha; ImgMC.onEnterFrame = function () { if ((this._alpha + this.InSpeed) > this.ImgAlpha) { this._alpha = this.ImgAlpha; delete this.onEnterFrame; this._parent.play(); } this._alpha = this._alpha + this.InSpeed; }; } function InEffect_BlindsHorizontal(ImgMC, MovieWidth, MovieHeight, PosX, PosY, InSpeed, ImgAlpha, ImgWidth, ImgHeight, BlindWidth) { var iBlindsCount = Math.ceil(ImgHeight / BlindWidth); var ImgMask = this.createEmptyMovieClip("ImgMask", 3); var ImgMask_Slide0 = ImgMask.createEmptyMovieClip("ImgMask_Slide0", 1); with (ImgMask_Slide0) { beginFill(16777215); moveTo(0, 0); lineTo(ImgWidth, 0); lineTo(ImgWidth, BlindWidth); lineTo(0, BlindWidth); lineTo(0, 0); endFill(); } var i = 1; while (i < iBlindsCount) { ImgMask_Slide0.duplicateMovieClip("ImgMask_Slide" + i, i + 1); i++; } var i = 0; while (i < iBlindsCount) { ImgMask["ImgMask_Slide" + i]._x = 0; ImgMask["ImgMask_Slide" + i]._y = BlindWidth * i; ImgMask["ImgMask_Slide" + i]._yscale = 0; i++; } ImgMC._x = PosX; ImgMC._y = PosY; ImgMask._x = PosX; ImgMask._y = PosY; ImgMC.setMask(ImgMask); ImgMask.ScaleCount = 0; ImgMask.InSpeed = InSpeed; ImgMask.iBlindsCount = iBlindsCount; ImgMask.onEnterFrame = function () { var _local2 = 0; while (_local2 < iBlindsCount) { this["ImgMask_Slide" + _local2]._yscale = this["ImgMask_Slide" + _local2]._yscale + this.InSpeed; _local2++; } this.ScaleCount = this.ScaleCount + this.InSpeed; if (this.ScaleCount >= 110) { delete this.onEnterFrame; this._parent.play(); this.removeMovieClip(); } }; } function InEffect_BlindsVertical(ImgMC, MovieWidth, MovieHeight, PosX, PosY, InSpeed, ImgAlpha, ImgWidth, ImgHeight, BlindWidth) { var iBlindsCount = Math.ceil(ImgWidth / BlindWidth); var ImgMask = this.createEmptyMovieClip("ImgMask", 3); var ImgMask_Slide0 = ImgMask.createEmptyMovieClip("ImgMask_Slide0", 1); with (ImgMask_Slide0) { beginFill(16777215); moveTo(0, 0); lineTo(BlindWidth, 0); lineTo(BlindWidth, ImgHeight); lineTo(0, ImgHeight); lineTo(0, 0); endFill(); } var i = 1; while (i < iBlindsCount) { ImgMask_Slide0.duplicateMovieClip("ImgMask_Slide" + i, i + 1); i++; } var i = 0; while (i < iBlindsCount) { ImgMask["ImgMask_Slide" + i]._x = BlindWidth * i; ImgMask["ImgMask_Slide" + i]._y = 0; ImgMask["ImgMask_Slide" + i]._xscale = 0; i++; } ImgMC._x = PosX; ImgMC._y = PosY; ImgMask._x = PosX; ImgMask._y = PosY; ImgMC.setMask(ImgMask); ImgMask.ScaleCount = 0; ImgMask.InSpeed = InSpeed; ImgMask.iBlindsCount = iBlindsCount; ImgMask.onEnterFrame = function () { var _local2 = 0; while (_local2 < iBlindsCount) { this["ImgMask_Slide" + _local2]._xscale = this["ImgMask_Slide" + _local2]._xscale + this.InSpeed; _local2++; } this.ScaleCount = this.ScaleCount + this.InSpeed; if (this.ScaleCount >= 110) { delete this.onEnterFrame; this._parent.play(); this.removeMovieClip(); } }; } function OutEffect_FadeOut(ImgMC, MovieWidth, MovieHeight, OutSpeed) { ImgMC.OutSpeed = OutSpeed; ImgMC.onEnterFrame = function () { this._alpha = this._alpha - this.OutSpeed; if (this._alpha <= 0) { this._parent.play(); delete this.onEnterFrame; this.removeMovieClip(); } }; } function OutEffect_BlindsHorizontal(ImgMC, MovieWidth, MovieHeight, PosX, PosY, OutSpeed, ImgWidth, ImgHeight, BlindWidth) { var iBlindsCount = Math.ceil(ImgHeight / BlindWidth); var ImgMask = this.createEmptyMovieClip("ImgMask", 3); var ImgMask_Slide0 = ImgMask.createEmptyMovieClip("ImgMask_Slide0", 1); with (ImgMask_Slide0) { beginFill(16777215); moveTo(0, 0); lineTo(ImgWidth, 0); lineTo(ImgWidth, BlindWidth); lineTo(0, BlindWidth); lineTo(0, 0); endFill(); } var i = 1; while (i < iBlindsCount) { ImgMask_Slide0.duplicateMovieClip("ImgMask_Slide" + i, i + 1); i++; } var i = 0; while (i < iBlindsCount) { ImgMask["ImgMask_Slide" + i]._x = 0; ImgMask["ImgMask_Slide" + i]._y = BlindWidth * i; ImgMask["ImgMask_Slide" + i]._yscale = 100; i++; } ImgMC._x = PosX; ImgMC._y = PosY; ImgMask._x = PosX; ImgMask._y = PosY; ImgMC.setMask(ImgMask); ImgMask.ScaleCount = 100; ImgMask.OutSpeed = OutSpeed; ImgMask.iBlindsCount = iBlindsCount; ImgMask.onEnterFrame = function () { var _local2 = 0; while (_local2 < iBlindsCount) { this["ImgMask_Slide" + _local2]._yscale = this["ImgMask_Slide" + _local2]._yscale - this.OutSpeed; _local2++; } this.ScaleCount = this.ScaleCount - this.OutSpeed; if (this.ScaleCount <= 0) { delete this.onEnterFrame; this._parent.play(); ImgMask.removeMovieClip(); ImgMC.removeMovieClip(); } }; } function OutEffect_BlindsVertical(ImgMC, MovieWidth, MovieHeight, PosX, PosY, OutSpeed, ImgWidth, ImgHeight, BlindWidth) { var iBlindsCount = Math.ceil(ImgWidth / BlindWidth); var ImgMask = this.createEmptyMovieClip("ImgMask", 3); var ImgMask_Slide0 = ImgMask.createEmptyMovieClip("ImgMask_Slide0", 1); with (ImgMask_Slide0) { beginFill(16777215); moveTo(0, 0); lineTo(BlindWidth, 0); lineTo(BlindWidth, ImgHeight); lineTo(0, ImgHeight); lineTo(0, 0); endFill(); } var i = 1; while (i < iBlindsCount) { ImgMask_Slide0.duplicateMovieClip("ImgMask_Slide" + i, i + 1); i++; } var i = 0; while (i < iBlindsCount) { ImgMask["ImgMask_Slide" + i]._x = BlindWidth * i; ImgMask["ImgMask_Slide" + i]._y = 0; ImgMask["ImgMask_Slide" + i]._xscale = 100; i++; } ImgMC._x = PosX; ImgMC._y = PosY; ImgMask._x = PosX; ImgMask._y = PosY; ImgMC.setMask(ImgMask); ImgMask.ScaleCount = 100; ImgMask.OutSpeed = OutSpeed; ImgMask.iBlindsCount = iBlindsCount; ImgMask.onEnterFrame = function () { var _local2 = 0; while (_local2 < iBlindsCount) { this["ImgMask_Slide" + _local2]._xscale = this["ImgMask_Slide" + _local2]._xscale - this.OutSpeed; _local2++; } this.ScaleCount = this.ScaleCount - this.OutSpeed; if (this.ScaleCount <= 0) { delete this.onEnterFrame; this._parent.play(); ImgMask.removeMovieClip(); ImgMC.removeMovieClip(); } }; } function LeaveStayEffect(ImgMC, PosX, PosY, ImgAlpha) { ImgMC._rotation = 0; ImgMC._xscale = 100; ImgMC._yscale = 100; ImgMC._x = PosX; ImgMC._y = PosY; ImgMC._alpha = ImgAlpha; delete ImgMC.onEnterFrame; } function StayEffect_Stay(ImgMC, StayTime, MovieWidth, MovieHeight, PosX, PosY, StaySpeed, ImgAlpha, ImgWidth, ImgHeight) { ImgMC.onEnterFrame = function () { }; } function StayEffect_Flicker(ImgMC, StayTime, MovieWidth, MovieHeight, PosX, PosY, StaySpeed, ImgAlpha, ImgWidth, ImgHeight) { ImgMC.PosX = PosX; ImgMC.PosY = PosY; ImgMC.StaySpeed = StaySpeed; ImgMC.ImgAlpha = ImgAlpha; ImgMC.FlickerVisible = true; ImgMC.StayTime = StayTime; ImgMC.Switch = StaySpeed; ImgMC.onEnterFrame = function () { if (this.StayTime == 0) { this._rotation = 0; this._xscale = 100; this._yscale = 100; this._x = this.PosX; this._y = this.PosY; this._alpha = this.ImgAlpha; delete this.onEnterFrame; } else if (this.StayTime > 0) { this.StayTime--; } if ((--this.Switch) <= 0) { if (ImgMC.FlickerVisible) { ImgMC._alpha = 0; ImgMC.FlickerVisible = false; } else { ImgMC._alpha = this.ImgAlpha; ImgMC.FlickerVisible = true; } this.Switch = this.StaySpeed; } }; } function StayEffect_Rotating(ImgMC, StayTime, MovieWidth, MovieHeight, PosX, PosY, StaySpeed, ImgAlpha, ImgWidth, ImgHeight) { ImgMC.StaySpeed = StaySpeed; ImgMC.PosX = PosX; ImgMC.PosY = PosY; ImgMC.ImgAlpha = ImgAlpha; ImgMC.ImgWidth = ImgWidth; ImgMC.ImgHeight = ImgHeight; ImgMC.StayTime = StayTime; ImgMC._rotation = 0; ImgMC.onEnterFrame = function () { if (this.StayTime == 0) { this._rotation = 0; this._xscale = 100; this._yscale = 100; this._x = this.PosX; this._y = this.PosY; this._alpha = this.ImgAlpha; delete this.onEnterFrame; } else if (this.StayTime > 0) { this._rotation = this._rotation + this.StaySpeed; this._x = ((this.PosX + (this.ImgWidth / 2)) - ((this.ImgWidth / 2) * Math.cos((this._rotation / 180) * Math.PI))) + ((this.ImgHeight / 2) * Math.sin((this._rotation / 180) * Math.PI)); this._y = ((this.PosY + (this.ImgHeight / 2)) - ((this.ImgWidth / 2) * Math.sin((this._rotation / 180) * Math.PI))) - ((this.ImgHeight / 2) * Math.cos((this._rotation / 180) * Math.PI)); if (this.StayTime > 0) { this.StayTime--; } } }; } function StayEffect_ZoomInZoomOut(ImgMC, StayTime, MovieWidth, MovieHeight, PosX, PosY, StaySpeed, ImgAlpha, ImgWidth, ImgHeight) { ImgMC.StaySpeed = StaySpeed; ImgMC.ZoomOut = true; ImgMC.PosX = PosX; ImgMC.PosY = PosY; ImgMC.ImgWidth = ImgWidth; ImgMC.ImgHeight = ImgHeight; ImgMC.ImgAlpha = ImgAlpha; ImgMC.StayTime = StayTime; ImgMC.onEnterFrame = function () { if (this.StayTime == 0) { this._rotation = 0; this._xscale = 100; this._yscale = 100; this._x = this.PosX; this._y = this.PosY; this._alpha = this.ImgAlpha; delete this.onEnterFrame; } else if (this.StayTime > 0) { this.StayTime--; } if (this.ZoomOut) { this._xscale = this._xscale - this.StaySpeed; this._yscale = this._yscale - this.StaySpeed; if (this._xscale < 90) { this.ZoomOut = false; } } else { this._xscale = this._xscale + this.StaySpeed; this._yscale = this._yscale + this.StaySpeed; if (this._xscale > 110) { this.ZoomOut = true; } } this._x = (this.PosX + (this.ImgWidth / 2)) - (this._width / 2); this._y = (this.PosY + (this.ImgHeight / 2)) - (this._height / 2); }; } function StayEffect_FadeInFadeOut(ImgMC, StayTime, MovieWidth, MovieHeight, PosX, PosY, StaySpeed, ImgAlpha, ImgWidth, ImgHeight) { ImgMC.StaySpeed = StaySpeed; ImgMC.AlphaOut = true; ImgMC.PosX = PosX; ImgMC.PosY = PosY; ImgMC.ImgAlpha = ImgAlpha; ImgMC.StayTime = StayTime; ImgMC.onEnterFrame = function () { if (this.StayTime == 0) { this._rotation = 0; this._xscale = 100; this._yscale = 100; this._x = this.PosX; this._y = this.PosY; this._alpha = this.ImgAlpha; delete this.onEnterFrame; } else if (this.StayTime > 0) { this.StayTime--; } if (this.AlphaOut) { this._alpha = this._alpha - this.StaySpeed; if (this._alpha < 80) { this.AlphaOut = false; } } else { this._alpha = this._alpha + this.StaySpeed; if (this._alpha >= 100) { this.AlphaOut = true; } } }; } ParamsDefine = "<ParamsDefine><Img.BlindWidth caption=\"Blind width\" type=\"integer\" min=\"1\" max=\"50\" default=\"12\"/><Img.InEffect caption=\"In effect\" type=\"selection\" selection=\"Blinds horizontal;Blinds vertical;Fade in\" default=\"Blinds horizontal\"/><Img.InSpeed caption=\"In speed\" type=\"integer\" min=\"1\" max=\"50\" default=\"4\"/><Img.StayEffect caption=\"Stay effect\" type=\"selection\" selection=\"Stay;Rotating;Zoom in Zoom out;Fade in Fade out;Flicker\" default=\"Stay\"/><Img.StaySpeed caption=\"Stay speed\" type=\"integer\" min=\"1\" max=\"50\" default=\"4\"/><Img.StayTime caption=\"Stay effect time\" type=\"selection\" selection=\"To end;Custom\" default=\"To end\"/><Img.StayTimeCustom caption=\"Stay effect custom seconds\" type=\"integer\" min=\"1\" max=\"50\" default=\"3\"/><Img.OutEffect caption=\"Out effect\" type=\"selection\" selection=\"Blinds horizontal;Blinds vertical;Fade out\" default=\"Blinds horizontal\"/><Img.OutSpeed caption=\"Out speed\" type=\"integer\" min=\"1\" max=\"50\" default=\"4\"/><Img.EffectName caption=\"Effect Name\" type=\"const\" default=\"Img.Blinds\"/></ParamsDefine>"; var param = new Array(); param["Movie.Width"] = _parent._width; param["Movie.Height"] = _parent._height; if (ParamsValue != null) { paramXML = new XML(ParamsValue); paramXML.ignoreWhite = false; var i = 0; while (i < paramXML.childNodes[0].childNodes.length) { node = paramXML.childNodes[0].childNodes[i]; param[node.nodeName] = node.childNodes[0].nodeValue; i++; } param["Movie.Width"] = parseInt(param["Movie.Width"]); param["Movie.Height"] = parseInt(param["Movie.Height"]); param["Movie.FPS"] = parseInt(param["Movie.FPS"]); param["Img.InSpeed"] = parseInt(param["Img.InSpeed"]); param["Img.OutSpeed"] = parseInt(param["Img.OutSpeed"]); param["Img.StaySpeed"] = parseInt(param["Img.StaySpeed"]); param["Img.StayTimeCustom"] = parseInt(param["Img.StayTimeCustom"]); param["Img.BlindWidth"] = parseInt(param["Img.BlindWidth"]); param["Img.PosX"] = parseInt(param["Img.PosX"]); param["Img.PosY"] = parseInt(param["Img.PosY"]); param["Img.Rotation"] = parseInt(param["Img.Rotation"]); param["Img.Alpha"] = parseInt(param["Img.Alpha"]); param["Img.StaticText"] = param["Img.StaticText"].toLowerCase() == "true"; param["Img.DelayFrame"] = parseInt(param["Img.DelayFrame"]); param["Img.DurationFrame"] = parseInt(param["Img.DurationFrame"]); param["Img.KeepText"] = param["Img.KeepText"].toLowerCase() == "true"; param["Img.URL"] = param["Img.URL"].toLowerCase() == "true"; delete paramXML; } else { param["Movie.Width"] = 400; param["Movie.Height"] = 300; param["Img.InSpeed"] = 8; param["Img.OutSpeed"] = 8; param["Img.StaySpeed"] = 4; param["Img.StayTimeCustom"] = 3; param["Img.PosX"] = 100; param["Img.PosY"] = 100; param["Img.Rotation"] = 0; param["Img.Alpha"] = 100; param["Img.StaticText"] = false; param["Img.DelayFrame"] = 0; param["Img.DurationFrame"] = 10; param["Img.KeepText"] = false; param["Img.URL"] = false; param["Img.URLAddress"] = "about:blank"; param["Img.URLTarget"] = "_blank"; } if (param["Img.StaticText"]) { gotoAndPlay(_currentframe + 3); }
Symbol 34 MovieClip Frame 3
param["Img.DelayFrame"] = param["Img.DelayFrame"] - 1; if (param["Img.DelayFrame"] > 0) { gotoAndPlay(_currentframe - 1); }
Symbol 34 MovieClip Frame 4
stop(); var ImageMovie_MC = this.attachMovie(param["Img.ImageMovieExport"], "ImageMovie_MC", 2); if (param["Img.StaticText"]) { InEffect_FadeIn(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], 20, param["Img.Alpha"]); } else { switch (param["Img.InEffect"]) { case "Blinds horizontal" : InEffect_BlindsHorizontal(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.InSpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height, param["Img.BlindWidth"]); break; case "Blinds vertical" : InEffect_BlindsVertical(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.InSpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height, param["Img.BlindWidth"]); break; case "Fade in" : InEffect_FadeIn(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.InSpeed"], param["Img.Alpha"]); break; default : InEffect_FadeIn(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.InSpeed"], param["Img.Alpha"]); } }
Symbol 34 MovieClip Frame 5
var iStayEffectTime = -1; if (param["Img.StayTime"] != "To end") { iStayEffectTime = param["Movie.FPS"] * param["Img.StayTimeCustom"]; } switch (param["Img.StayEffect"]) { case "Stay" : StayEffect_Stay(ImageMovie_MC, iStayEffectTime, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.StaySpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height); break; case "Flicker" : StayEffect_Flicker(ImageMovie_MC, iStayEffectTime, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.StaySpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height); break; case "Rotating" : StayEffect_Rotating(ImageMovie_MC, iStayEffectTime, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.StaySpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height); break; case "Zoom in Zoom out" : StayEffect_ZoomInZoomOut(ImageMovie_MC, iStayEffectTime, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.StaySpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height); break; case "Fade in Fade out" : StayEffect_FadeInFadeOut(ImageMovie_MC, iStayEffectTime, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.StaySpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height); break; default : StayEffect_Stay(ImageMovie_MC, iStayEffectTime, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.StaySpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height); }
Symbol 34 MovieClip Frame 7
if (param["Img.DurationFrame"] < 0) { gotoAndPlay(_currentframe - 1); } else { param["Img.DurationFrame"] = param["Img.DurationFrame"] - 1; if (param["Img.DurationFrame"] > 0) { gotoAndPlay(_currentframe - 1); } else { gotoAndPlay(_currentframe + 1); } }
Symbol 34 MovieClip Frame 8
if (param["Img.KeepText"] || (param["Img.StaticText"])) { gotoAndPlay(_currentframe + 2); }
Symbol 34 MovieClip Frame 9
stop(); LeaveStayEffect(ImageMovie_MC, param["Img.PosX"], param["Img.PosY"], param["Img.Alpha"]); switch (param["Img.OutEffect"]) { case "Blinds horizontal" : OutEffect_BlindsHorizontal(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.OutSpeed"], ImageMovie_MC._width, ImageMovie_MC._height, param["Img.BlindWidth"]); break; case "Blinds vertical" : OutEffect_BlindsVertical(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.OutSpeed"], ImageMovie_MC._width, ImageMovie_MC._height, param["Img.BlindWidth"]); break; case "Fade out" : OutEffect_FadeOut(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.OutSpeed"]); break; default : OutEffect_FadeOut(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.OutSpeed"]); }
Symbol 34 MovieClip Frame 10
stop(); if (!param["Img.StaticText"]) { _parent.g_effectcount = _parent.g_effectcount - 1; if (_parent.g_effectcount <= 0) { _parent.play(); } }
Symbol 39 MovieClip Frame 1
ParamsValue = "<ParamsValue><Movie.Width>1024</Movie.Width><Movie.Height>881</Movie.Height><Movie.FPS>24</Movie.FPS><Img.ImageExport>Img.Blinds_Image_6</Img.ImageExport><Img.ImageMovieExport>Img.Blinds_ImageMovie_6</Img.ImageMovieExport><Img.BlindWidth>12</Img.BlindWidth><Img.InEffect>Blinds horizontal</Img.InEffect><Img.InSpeed>4</Img.InSpeed><Img.StayEffect>Stay</Img.StayEffect><Img.StaySpeed>4</Img.StaySpeed><Img.StayTime>To end</Img.StayTime><Img.StayTimeCustom>3</Img.StayTimeCustom><Img.OutEffect>Blinds horizontal</Img.OutEffect><Img.OutSpeed>4</Img.OutSpeed><Img.EffectName>Img.Blinds</Img.EffectName><Img.PosX>130</Img.PosX><Img.PosY>183</Img.PosY><Img.Rotation>0</Img.Rotation><Img.Alpha>100</Img.Alpha><Img.StaticText>false</Img.StaticText><Img.DelayFrame>0</Img.DelayFrame><Img.DurationFrame>144</Img.DurationFrame><Img.KeepText>false</Img.KeepText><Img.URL>false</Img.URL><Img.URLAddress>about:blank</Img.URLAddress><Img.URLTarget></Img.URLTarget></ParamsValue>"; function InEffect_FadeIn(ImgMC, MovieWidth, MovieHeight, PosX, PosY, InSpeed, ImgAlpha) { ImgMC._x = PosX; ImgMC._y = PosY; ImgMC._alpha = 0; ImgMC.InSpeed = InSpeed; ImgMC.ImgAlpha = ImgAlpha; ImgMC.onEnterFrame = function () { if ((this._alpha + this.InSpeed) > this.ImgAlpha) { this._alpha = this.ImgAlpha; delete this.onEnterFrame; this._parent.play(); } this._alpha = this._alpha + this.InSpeed; }; } function InEffect_BlindsHorizontal(ImgMC, MovieWidth, MovieHeight, PosX, PosY, InSpeed, ImgAlpha, ImgWidth, ImgHeight, BlindWidth) { var iBlindsCount = Math.ceil(ImgHeight / BlindWidth); var ImgMask = this.createEmptyMovieClip("ImgMask", 3); var ImgMask_Slide0 = ImgMask.createEmptyMovieClip("ImgMask_Slide0", 1); with (ImgMask_Slide0) { beginFill(16777215); moveTo(0, 0); lineTo(ImgWidth, 0); lineTo(ImgWidth, BlindWidth); lineTo(0, BlindWidth); lineTo(0, 0); endFill(); } var i = 1; while (i < iBlindsCount) { ImgMask_Slide0.duplicateMovieClip("ImgMask_Slide" + i, i + 1); i++; } var i = 0; while (i < iBlindsCount) { ImgMask["ImgMask_Slide" + i]._x = 0; ImgMask["ImgMask_Slide" + i]._y = BlindWidth * i; ImgMask["ImgMask_Slide" + i]._yscale = 0; i++; } ImgMC._x = PosX; ImgMC._y = PosY; ImgMask._x = PosX; ImgMask._y = PosY; ImgMC.setMask(ImgMask); ImgMask.ScaleCount = 0; ImgMask.InSpeed = InSpeed; ImgMask.iBlindsCount = iBlindsCount; ImgMask.onEnterFrame = function () { var _local2 = 0; while (_local2 < iBlindsCount) { this["ImgMask_Slide" + _local2]._yscale = this["ImgMask_Slide" + _local2]._yscale + this.InSpeed; _local2++; } this.ScaleCount = this.ScaleCount + this.InSpeed; if (this.ScaleCount >= 110) { delete this.onEnterFrame; this._parent.play(); this.removeMovieClip(); } }; } function InEffect_BlindsVertical(ImgMC, MovieWidth, MovieHeight, PosX, PosY, InSpeed, ImgAlpha, ImgWidth, ImgHeight, BlindWidth) { var iBlindsCount = Math.ceil(ImgWidth / BlindWidth); var ImgMask = this.createEmptyMovieClip("ImgMask", 3); var ImgMask_Slide0 = ImgMask.createEmptyMovieClip("ImgMask_Slide0", 1); with (ImgMask_Slide0) { beginFill(16777215); moveTo(0, 0); lineTo(BlindWidth, 0); lineTo(BlindWidth, ImgHeight); lineTo(0, ImgHeight); lineTo(0, 0); endFill(); } var i = 1; while (i < iBlindsCount) { ImgMask_Slide0.duplicateMovieClip("ImgMask_Slide" + i, i + 1); i++; } var i = 0; while (i < iBlindsCount) { ImgMask["ImgMask_Slide" + i]._x = BlindWidth * i; ImgMask["ImgMask_Slide" + i]._y = 0; ImgMask["ImgMask_Slide" + i]._xscale = 0; i++; } ImgMC._x = PosX; ImgMC._y = PosY; ImgMask._x = PosX; ImgMask._y = PosY; ImgMC.setMask(ImgMask); ImgMask.ScaleCount = 0; ImgMask.InSpeed = InSpeed; ImgMask.iBlindsCount = iBlindsCount; ImgMask.onEnterFrame = function () { var _local2 = 0; while (_local2 < iBlindsCount) { this["ImgMask_Slide" + _local2]._xscale = this["ImgMask_Slide" + _local2]._xscale + this.InSpeed; _local2++; } this.ScaleCount = this.ScaleCount + this.InSpeed; if (this.ScaleCount >= 110) { delete this.onEnterFrame; this._parent.play(); this.removeMovieClip(); } }; } function OutEffect_FadeOut(ImgMC, MovieWidth, MovieHeight, OutSpeed) { ImgMC.OutSpeed = OutSpeed; ImgMC.onEnterFrame = function () { this._alpha = this._alpha - this.OutSpeed; if (this._alpha <= 0) { this._parent.play(); delete this.onEnterFrame; this.removeMovieClip(); } }; } function OutEffect_BlindsHorizontal(ImgMC, MovieWidth, MovieHeight, PosX, PosY, OutSpeed, ImgWidth, ImgHeight, BlindWidth) { var iBlindsCount = Math.ceil(ImgHeight / BlindWidth); var ImgMask = this.createEmptyMovieClip("ImgMask", 3); var ImgMask_Slide0 = ImgMask.createEmptyMovieClip("ImgMask_Slide0", 1); with (ImgMask_Slide0) { beginFill(16777215); moveTo(0, 0); lineTo(ImgWidth, 0); lineTo(ImgWidth, BlindWidth); lineTo(0, BlindWidth); lineTo(0, 0); endFill(); } var i = 1; while (i < iBlindsCount) { ImgMask_Slide0.duplicateMovieClip("ImgMask_Slide" + i, i + 1); i++; } var i = 0; while (i < iBlindsCount) { ImgMask["ImgMask_Slide" + i]._x = 0; ImgMask["ImgMask_Slide" + i]._y = BlindWidth * i; ImgMask["ImgMask_Slide" + i]._yscale = 100; i++; } ImgMC._x = PosX; ImgMC._y = PosY; ImgMask._x = PosX; ImgMask._y = PosY; ImgMC.setMask(ImgMask); ImgMask.ScaleCount = 100; ImgMask.OutSpeed = OutSpeed; ImgMask.iBlindsCount = iBlindsCount; ImgMask.onEnterFrame = function () { var _local2 = 0; while (_local2 < iBlindsCount) { this["ImgMask_Slide" + _local2]._yscale = this["ImgMask_Slide" + _local2]._yscale - this.OutSpeed; _local2++; } this.ScaleCount = this.ScaleCount - this.OutSpeed; if (this.ScaleCount <= 0) { delete this.onEnterFrame; this._parent.play(); ImgMask.removeMovieClip(); ImgMC.removeMovieClip(); } }; } function OutEffect_BlindsVertical(ImgMC, MovieWidth, MovieHeight, PosX, PosY, OutSpeed, ImgWidth, ImgHeight, BlindWidth) { var iBlindsCount = Math.ceil(ImgWidth / BlindWidth); var ImgMask = this.createEmptyMovieClip("ImgMask", 3); var ImgMask_Slide0 = ImgMask.createEmptyMovieClip("ImgMask_Slide0", 1); with (ImgMask_Slide0) { beginFill(16777215); moveTo(0, 0); lineTo(BlindWidth, 0); lineTo(BlindWidth, ImgHeight); lineTo(0, ImgHeight); lineTo(0, 0); endFill(); } var i = 1; while (i < iBlindsCount) { ImgMask_Slide0.duplicateMovieClip("ImgMask_Slide" + i, i + 1); i++; } var i = 0; while (i < iBlindsCount) { ImgMask["ImgMask_Slide" + i]._x = BlindWidth * i; ImgMask["ImgMask_Slide" + i]._y = 0; ImgMask["ImgMask_Slide" + i]._xscale = 100; i++; } ImgMC._x = PosX; ImgMC._y = PosY; ImgMask._x = PosX; ImgMask._y = PosY; ImgMC.setMask(ImgMask); ImgMask.ScaleCount = 100; ImgMask.OutSpeed = OutSpeed; ImgMask.iBlindsCount = iBlindsCount; ImgMask.onEnterFrame = function () { var _local2 = 0; while (_local2 < iBlindsCount) { this["ImgMask_Slide" + _local2]._xscale = this["ImgMask_Slide" + _local2]._xscale - this.OutSpeed; _local2++; } this.ScaleCount = this.ScaleCount - this.OutSpeed; if (this.ScaleCount <= 0) { delete this.onEnterFrame; this._parent.play(); ImgMask.removeMovieClip(); ImgMC.removeMovieClip(); } }; } function LeaveStayEffect(ImgMC, PosX, PosY, ImgAlpha) { ImgMC._rotation = 0; ImgMC._xscale = 100; ImgMC._yscale = 100; ImgMC._x = PosX; ImgMC._y = PosY; ImgMC._alpha = ImgAlpha; delete ImgMC.onEnterFrame; } function StayEffect_Stay(ImgMC, StayTime, MovieWidth, MovieHeight, PosX, PosY, StaySpeed, ImgAlpha, ImgWidth, ImgHeight) { ImgMC.onEnterFrame = function () { }; } function StayEffect_Flicker(ImgMC, StayTime, MovieWidth, MovieHeight, PosX, PosY, StaySpeed, ImgAlpha, ImgWidth, ImgHeight) { ImgMC.PosX = PosX; ImgMC.PosY = PosY; ImgMC.StaySpeed = StaySpeed; ImgMC.ImgAlpha = ImgAlpha; ImgMC.FlickerVisible = true; ImgMC.StayTime = StayTime; ImgMC.Switch = StaySpeed; ImgMC.onEnterFrame = function () { if (this.StayTime == 0) { this._rotation = 0; this._xscale = 100; this._yscale = 100; this._x = this.PosX; this._y = this.PosY; this._alpha = this.ImgAlpha; delete this.onEnterFrame; } else if (this.StayTime > 0) { this.StayTime--; } if ((--this.Switch) <= 0) { if (ImgMC.FlickerVisible) { ImgMC._alpha = 0; ImgMC.FlickerVisible = false; } else { ImgMC._alpha = this.ImgAlpha; ImgMC.FlickerVisible = true; } this.Switch = this.StaySpeed; } }; } function StayEffect_Rotating(ImgMC, StayTime, MovieWidth, MovieHeight, PosX, PosY, StaySpeed, ImgAlpha, ImgWidth, ImgHeight) { ImgMC.StaySpeed = StaySpeed; ImgMC.PosX = PosX; ImgMC.PosY = PosY; ImgMC.ImgAlpha = ImgAlpha; ImgMC.ImgWidth = ImgWidth; ImgMC.ImgHeight = ImgHeight; ImgMC.StayTime = StayTime; ImgMC._rotation = 0; ImgMC.onEnterFrame = function () { if (this.StayTime == 0) { this._rotation = 0; this._xscale = 100; this._yscale = 100; this._x = this.PosX; this._y = this.PosY; this._alpha = this.ImgAlpha; delete this.onEnterFrame; } else if (this.StayTime > 0) { this._rotation = this._rotation + this.StaySpeed; this._x = ((this.PosX + (this.ImgWidth / 2)) - ((this.ImgWidth / 2) * Math.cos((this._rotation / 180) * Math.PI))) + ((this.ImgHeight / 2) * Math.sin((this._rotation / 180) * Math.PI)); this._y = ((this.PosY + (this.ImgHeight / 2)) - ((this.ImgWidth / 2) * Math.sin((this._rotation / 180) * Math.PI))) - ((this.ImgHeight / 2) * Math.cos((this._rotation / 180) * Math.PI)); if (this.StayTime > 0) { this.StayTime--; } } }; } function StayEffect_ZoomInZoomOut(ImgMC, StayTime, MovieWidth, MovieHeight, PosX, PosY, StaySpeed, ImgAlpha, ImgWidth, ImgHeight) { ImgMC.StaySpeed = StaySpeed; ImgMC.ZoomOut = true; ImgMC.PosX = PosX; ImgMC.PosY = PosY; ImgMC.ImgWidth = ImgWidth; ImgMC.ImgHeight = ImgHeight; ImgMC.ImgAlpha = ImgAlpha; ImgMC.StayTime = StayTime; ImgMC.onEnterFrame = function () { if (this.StayTime == 0) { this._rotation = 0; this._xscale = 100; this._yscale = 100; this._x = this.PosX; this._y = this.PosY; this._alpha = this.ImgAlpha; delete this.onEnterFrame; } else if (this.StayTime > 0) { this.StayTime--; } if (this.ZoomOut) { this._xscale = this._xscale - this.StaySpeed; this._yscale = this._yscale - this.StaySpeed; if (this._xscale < 90) { this.ZoomOut = false; } } else { this._xscale = this._xscale + this.StaySpeed; this._yscale = this._yscale + this.StaySpeed; if (this._xscale > 110) { this.ZoomOut = true; } } this._x = (this.PosX + (this.ImgWidth / 2)) - (this._width / 2); this._y = (this.PosY + (this.ImgHeight / 2)) - (this._height / 2); }; } function StayEffect_FadeInFadeOut(ImgMC, StayTime, MovieWidth, MovieHeight, PosX, PosY, StaySpeed, ImgAlpha, ImgWidth, ImgHeight) { ImgMC.StaySpeed = StaySpeed; ImgMC.AlphaOut = true; ImgMC.PosX = PosX; ImgMC.PosY = PosY; ImgMC.ImgAlpha = ImgAlpha; ImgMC.StayTime = StayTime; ImgMC.onEnterFrame = function () { if (this.StayTime == 0) { this._rotation = 0; this._xscale = 100; this._yscale = 100; this._x = this.PosX; this._y = this.PosY; this._alpha = this.ImgAlpha; delete this.onEnterFrame; } else if (this.StayTime > 0) { this.StayTime--; } if (this.AlphaOut) { this._alpha = this._alpha - this.StaySpeed; if (this._alpha < 80) { this.AlphaOut = false; } } else { this._alpha = this._alpha + this.StaySpeed; if (this._alpha >= 100) { this.AlphaOut = true; } } }; } ParamsDefine = "<ParamsDefine><Img.BlindWidth caption=\"Blind width\" type=\"integer\" min=\"1\" max=\"50\" default=\"12\"/><Img.InEffect caption=\"In effect\" type=\"selection\" selection=\"Blinds horizontal;Blinds vertical;Fade in\" default=\"Blinds horizontal\"/><Img.InSpeed caption=\"In speed\" type=\"integer\" min=\"1\" max=\"50\" default=\"4\"/><Img.StayEffect caption=\"Stay effect\" type=\"selection\" selection=\"Stay;Rotating;Zoom in Zoom out;Fade in Fade out;Flicker\" default=\"Stay\"/><Img.StaySpeed caption=\"Stay speed\" type=\"integer\" min=\"1\" max=\"50\" default=\"4\"/><Img.StayTime caption=\"Stay effect time\" type=\"selection\" selection=\"To end;Custom\" default=\"To end\"/><Img.StayTimeCustom caption=\"Stay effect custom seconds\" type=\"integer\" min=\"1\" max=\"50\" default=\"3\"/><Img.OutEffect caption=\"Out effect\" type=\"selection\" selection=\"Blinds horizontal;Blinds vertical;Fade out\" default=\"Blinds horizontal\"/><Img.OutSpeed caption=\"Out speed\" type=\"integer\" min=\"1\" max=\"50\" default=\"4\"/><Img.EffectName caption=\"Effect Name\" type=\"const\" default=\"Img.Blinds\"/></ParamsDefine>"; var param = new Array(); param["Movie.Width"] = _parent._width; param["Movie.Height"] = _parent._height; if (ParamsValue != null) { paramXML = new XML(ParamsValue); paramXML.ignoreWhite = false; var i = 0; while (i < paramXML.childNodes[0].childNodes.length) { node = paramXML.childNodes[0].childNodes[i]; param[node.nodeName] = node.childNodes[0].nodeValue; i++; } param["Movie.Width"] = parseInt(param["Movie.Width"]); param["Movie.Height"] = parseInt(param["Movie.Height"]); param["Movie.FPS"] = parseInt(param["Movie.FPS"]); param["Img.InSpeed"] = parseInt(param["Img.InSpeed"]); param["Img.OutSpeed"] = parseInt(param["Img.OutSpeed"]); param["Img.StaySpeed"] = parseInt(param["Img.StaySpeed"]); param["Img.StayTimeCustom"] = parseInt(param["Img.StayTimeCustom"]); param["Img.BlindWidth"] = parseInt(param["Img.BlindWidth"]); param["Img.PosX"] = parseInt(param["Img.PosX"]); param["Img.PosY"] = parseInt(param["Img.PosY"]); param["Img.Rotation"] = parseInt(param["Img.Rotation"]); param["Img.Alpha"] = parseInt(param["Img.Alpha"]); param["Img.StaticText"] = param["Img.StaticText"].toLowerCase() == "true"; param["Img.DelayFrame"] = parseInt(param["Img.DelayFrame"]); param["Img.DurationFrame"] = parseInt(param["Img.DurationFrame"]); param["Img.KeepText"] = param["Img.KeepText"].toLowerCase() == "true"; param["Img.URL"] = param["Img.URL"].toLowerCase() == "true"; delete paramXML; } else { param["Movie.Width"] = 400; param["Movie.Height"] = 300; param["Img.InSpeed"] = 8; param["Img.OutSpeed"] = 8; param["Img.StaySpeed"] = 4; param["Img.StayTimeCustom"] = 3; param["Img.PosX"] = 100; param["Img.PosY"] = 100; param["Img.Rotation"] = 0; param["Img.Alpha"] = 100; param["Img.StaticText"] = false; param["Img.DelayFrame"] = 0; param["Img.DurationFrame"] = 10; param["Img.KeepText"] = false; param["Img.URL"] = false; param["Img.URLAddress"] = "about:blank"; param["Img.URLTarget"] = "_blank"; } if (param["Img.StaticText"]) { gotoAndPlay(_currentframe + 3); }
Symbol 39 MovieClip Frame 3
param["Img.DelayFrame"] = param["Img.DelayFrame"] - 1; if (param["Img.DelayFrame"] > 0) { gotoAndPlay(_currentframe - 1); }
Symbol 39 MovieClip Frame 4
stop(); var ImageMovie_MC = this.attachMovie(param["Img.ImageMovieExport"], "ImageMovie_MC", 2); if (param["Img.StaticText"]) { InEffect_FadeIn(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], 20, param["Img.Alpha"]); } else { switch (param["Img.InEffect"]) { case "Blinds horizontal" : InEffect_BlindsHorizontal(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.InSpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height, param["Img.BlindWidth"]); break; case "Blinds vertical" : InEffect_BlindsVertical(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.InSpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height, param["Img.BlindWidth"]); break; case "Fade in" : InEffect_FadeIn(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.InSpeed"], param["Img.Alpha"]); break; default : InEffect_FadeIn(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.InSpeed"], param["Img.Alpha"]); } }
Symbol 39 MovieClip Frame 5
var iStayEffectTime = -1; if (param["Img.StayTime"] != "To end") { iStayEffectTime = param["Movie.FPS"] * param["Img.StayTimeCustom"]; } switch (param["Img.StayEffect"]) { case "Stay" : StayEffect_Stay(ImageMovie_MC, iStayEffectTime, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.StaySpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height); break; case "Flicker" : StayEffect_Flicker(ImageMovie_MC, iStayEffectTime, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.StaySpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height); break; case "Rotating" : StayEffect_Rotating(ImageMovie_MC, iStayEffectTime, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.StaySpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height); break; case "Zoom in Zoom out" : StayEffect_ZoomInZoomOut(ImageMovie_MC, iStayEffectTime, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.StaySpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height); break; case "Fade in Fade out" : StayEffect_FadeInFadeOut(ImageMovie_MC, iStayEffectTime, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.StaySpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height); break; default : StayEffect_Stay(ImageMovie_MC, iStayEffectTime, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.StaySpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height); }
Symbol 39 MovieClip Frame 7
if (param["Img.DurationFrame"] < 0) { gotoAndPlay(_currentframe - 1); } else { param["Img.DurationFrame"] = param["Img.DurationFrame"] - 1; if (param["Img.DurationFrame"] > 0) { gotoAndPlay(_currentframe - 1); } else { gotoAndPlay(_currentframe + 1); } }
Symbol 39 MovieClip Frame 8
if (param["Img.KeepText"] || (param["Img.StaticText"])) { gotoAndPlay(_currentframe + 2); }
Symbol 39 MovieClip Frame 9
stop(); LeaveStayEffect(ImageMovie_MC, param["Img.PosX"], param["Img.PosY"], param["Img.Alpha"]); switch (param["Img.OutEffect"]) { case "Blinds horizontal" : OutEffect_BlindsHorizontal(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.OutSpeed"], ImageMovie_MC._width, ImageMovie_MC._height, param["Img.BlindWidth"]); break; case "Blinds vertical" : OutEffect_BlindsVertical(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.OutSpeed"], ImageMovie_MC._width, ImageMovie_MC._height, param["Img.BlindWidth"]); break; case "Fade out" : OutEffect_FadeOut(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.OutSpeed"]); break; default : OutEffect_FadeOut(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.OutSpeed"]); }
Symbol 39 MovieClip Frame 10
stop(); if (!param["Img.StaticText"]) { _parent.g_effectcount = _parent.g_effectcount - 1; if (_parent.g_effectcount <= 0) { _parent.play(); } }
Symbol 44 MovieClip Frame 1
ParamsValue = "<ParamsValue><Movie.Width>1024</Movie.Width><Movie.Height>881</Movie.Height><Movie.FPS>24</Movie.FPS><Img.ImageExport>Img.Blinds_Image_7</Img.ImageExport><Img.ImageMovieExport>Img.Blinds_ImageMovie_7</Img.ImageMovieExport><Img.BlindWidth>12</Img.BlindWidth><Img.InEffect>Blinds horizontal</Img.InEffect><Img.InSpeed>4</Img.InSpeed><Img.StayEffect>Stay</Img.StayEffect><Img.StaySpeed>4</Img.StaySpeed><Img.StayTime>To end</Img.StayTime><Img.StayTimeCustom>3</Img.StayTimeCustom><Img.OutEffect>Blinds horizontal</Img.OutEffect><Img.OutSpeed>4</Img.OutSpeed><Img.EffectName>Img.Blinds</Img.EffectName><Img.PosX>12</Img.PosX><Img.PosY>183</Img.PosY><Img.Rotation>0</Img.Rotation><Img.Alpha>100</Img.Alpha><Img.StaticText>false</Img.StaticText><Img.DelayFrame>0</Img.DelayFrame><Img.DurationFrame>144</Img.DurationFrame><Img.KeepText>false</Img.KeepText><Img.URL>false</Img.URL><Img.URLAddress>about:blank</Img.URLAddress><Img.URLTarget></Img.URLTarget></ParamsValue>"; function InEffect_FadeIn(ImgMC, MovieWidth, MovieHeight, PosX, PosY, InSpeed, ImgAlpha) { ImgMC._x = PosX; ImgMC._y = PosY; ImgMC._alpha = 0; ImgMC.InSpeed = InSpeed; ImgMC.ImgAlpha = ImgAlpha; ImgMC.onEnterFrame = function () { if ((this._alpha + this.InSpeed) > this.ImgAlpha) { this._alpha = this.ImgAlpha; delete this.onEnterFrame; this._parent.play(); } this._alpha = this._alpha + this.InSpeed; }; } function InEffect_BlindsHorizontal(ImgMC, MovieWidth, MovieHeight, PosX, PosY, InSpeed, ImgAlpha, ImgWidth, ImgHeight, BlindWidth) { var iBlindsCount = Math.ceil(ImgHeight / BlindWidth); var ImgMask = this.createEmptyMovieClip("ImgMask", 3); var ImgMask_Slide0 = ImgMask.createEmptyMovieClip("ImgMask_Slide0", 1); with (ImgMask_Slide0) { beginFill(16777215); moveTo(0, 0); lineTo(ImgWidth, 0); lineTo(ImgWidth, BlindWidth); lineTo(0, BlindWidth); lineTo(0, 0); endFill(); } var i = 1; while (i < iBlindsCount) { ImgMask_Slide0.duplicateMovieClip("ImgMask_Slide" + i, i + 1); i++; } var i = 0; while (i < iBlindsCount) { ImgMask["ImgMask_Slide" + i]._x = 0; ImgMask["ImgMask_Slide" + i]._y = BlindWidth * i; ImgMask["ImgMask_Slide" + i]._yscale = 0; i++; } ImgMC._x = PosX; ImgMC._y = PosY; ImgMask._x = PosX; ImgMask._y = PosY; ImgMC.setMask(ImgMask); ImgMask.ScaleCount = 0; ImgMask.InSpeed = InSpeed; ImgMask.iBlindsCount = iBlindsCount; ImgMask.onEnterFrame = function () { var _local2 = 0; while (_local2 < iBlindsCount) { this["ImgMask_Slide" + _local2]._yscale = this["ImgMask_Slide" + _local2]._yscale + this.InSpeed; _local2++; } this.ScaleCount = this.ScaleCount + this.InSpeed; if (this.ScaleCount >= 110) { delete this.onEnterFrame; this._parent.play(); this.removeMovieClip(); } }; } function InEffect_BlindsVertical(ImgMC, MovieWidth, MovieHeight, PosX, PosY, InSpeed, ImgAlpha, ImgWidth, ImgHeight, BlindWidth) { var iBlindsCount = Math.ceil(ImgWidth / BlindWidth); var ImgMask = this.createEmptyMovieClip("ImgMask", 3); var ImgMask_Slide0 = ImgMask.createEmptyMovieClip("ImgMask_Slide0", 1); with (ImgMask_Slide0) { beginFill(16777215); moveTo(0, 0); lineTo(BlindWidth, 0); lineTo(BlindWidth, ImgHeight); lineTo(0, ImgHeight); lineTo(0, 0); endFill(); } var i = 1; while (i < iBlindsCount) { ImgMask_Slide0.duplicateMovieClip("ImgMask_Slide" + i, i + 1); i++; } var i = 0; while (i < iBlindsCount) { ImgMask["ImgMask_Slide" + i]._x = BlindWidth * i; ImgMask["ImgMask_Slide" + i]._y = 0; ImgMask["ImgMask_Slide" + i]._xscale = 0; i++; } ImgMC._x = PosX; ImgMC._y = PosY; ImgMask._x = PosX; ImgMask._y = PosY; ImgMC.setMask(ImgMask); ImgMask.ScaleCount = 0; ImgMask.InSpeed = InSpeed; ImgMask.iBlindsCount = iBlindsCount; ImgMask.onEnterFrame = function () { var _local2 = 0; while (_local2 < iBlindsCount) { this["ImgMask_Slide" + _local2]._xscale = this["ImgMask_Slide" + _local2]._xscale + this.InSpeed; _local2++; } this.ScaleCount = this.ScaleCount + this.InSpeed; if (this.ScaleCount >= 110) { delete this.onEnterFrame; this._parent.play(); this.removeMovieClip(); } }; } function OutEffect_FadeOut(ImgMC, MovieWidth, MovieHeight, OutSpeed) { ImgMC.OutSpeed = OutSpeed; ImgMC.onEnterFrame = function () { this._alpha = this._alpha - this.OutSpeed; if (this._alpha <= 0) { this._parent.play(); delete this.onEnterFrame; this.removeMovieClip(); } }; } function OutEffect_BlindsHorizontal(ImgMC, MovieWidth, MovieHeight, PosX, PosY, OutSpeed, ImgWidth, ImgHeight, BlindWidth) { var iBlindsCount = Math.ceil(ImgHeight / BlindWidth); var ImgMask = this.createEmptyMovieClip("ImgMask", 3); var ImgMask_Slide0 = ImgMask.createEmptyMovieClip("ImgMask_Slide0", 1); with (ImgMask_Slide0) { beginFill(16777215); moveTo(0, 0); lineTo(ImgWidth, 0); lineTo(ImgWidth, BlindWidth); lineTo(0, BlindWidth); lineTo(0, 0); endFill(); } var i = 1; while (i < iBlindsCount) { ImgMask_Slide0.duplicateMovieClip("ImgMask_Slide" + i, i + 1); i++; } var i = 0; while (i < iBlindsCount) { ImgMask["ImgMask_Slide" + i]._x = 0; ImgMask["ImgMask_Slide" + i]._y = BlindWidth * i; ImgMask["ImgMask_Slide" + i]._yscale = 100; i++; } ImgMC._x = PosX; ImgMC._y = PosY; ImgMask._x = PosX; ImgMask._y = PosY; ImgMC.setMask(ImgMask); ImgMask.ScaleCount = 100; ImgMask.OutSpeed = OutSpeed; ImgMask.iBlindsCount = iBlindsCount; ImgMask.onEnterFrame = function () { var _local2 = 0; while (_local2 < iBlindsCount) { this["ImgMask_Slide" + _local2]._yscale = this["ImgMask_Slide" + _local2]._yscale - this.OutSpeed; _local2++; } this.ScaleCount = this.ScaleCount - this.OutSpeed; if (this.ScaleCount <= 0) { delete this.onEnterFrame; this._parent.play(); ImgMask.removeMovieClip(); ImgMC.removeMovieClip(); } }; } function OutEffect_BlindsVertical(ImgMC, MovieWidth, MovieHeight, PosX, PosY, OutSpeed, ImgWidth, ImgHeight, BlindWidth) { var iBlindsCount = Math.ceil(ImgWidth / BlindWidth); var ImgMask = this.createEmptyMovieClip("ImgMask", 3); var ImgMask_Slide0 = ImgMask.createEmptyMovieClip("ImgMask_Slide0", 1); with (ImgMask_Slide0) { beginFill(16777215); moveTo(0, 0); lineTo(BlindWidth, 0); lineTo(BlindWidth, ImgHeight); lineTo(0, ImgHeight); lineTo(0, 0); endFill(); } var i = 1; while (i < iBlindsCount) { ImgMask_Slide0.duplicateMovieClip("ImgMask_Slide" + i, i + 1); i++; } var i = 0; while (i < iBlindsCount) { ImgMask["ImgMask_Slide" + i]._x = BlindWidth * i; ImgMask["ImgMask_Slide" + i]._y = 0; ImgMask["ImgMask_Slide" + i]._xscale = 100; i++; } ImgMC._x = PosX; ImgMC._y = PosY; ImgMask._x = PosX; ImgMask._y = PosY; ImgMC.setMask(ImgMask); ImgMask.ScaleCount = 100; ImgMask.OutSpeed = OutSpeed; ImgMask.iBlindsCount = iBlindsCount; ImgMask.onEnterFrame = function () { var _local2 = 0; while (_local2 < iBlindsCount) { this["ImgMask_Slide" + _local2]._xscale = this["ImgMask_Slide" + _local2]._xscale - this.OutSpeed; _local2++; } this.ScaleCount = this.ScaleCount - this.OutSpeed; if (this.ScaleCount <= 0) { delete this.onEnterFrame; this._parent.play(); ImgMask.removeMovieClip(); ImgMC.removeMovieClip(); } }; } function LeaveStayEffect(ImgMC, PosX, PosY, ImgAlpha) { ImgMC._rotation = 0; ImgMC._xscale = 100; ImgMC._yscale = 100; ImgMC._x = PosX; ImgMC._y = PosY; ImgMC._alpha = ImgAlpha; delete ImgMC.onEnterFrame; } function StayEffect_Stay(ImgMC, StayTime, MovieWidth, MovieHeight, PosX, PosY, StaySpeed, ImgAlpha, ImgWidth, ImgHeight) { ImgMC.onEnterFrame = function () { }; } function StayEffect_Flicker(ImgMC, StayTime, MovieWidth, MovieHeight, PosX, PosY, StaySpeed, ImgAlpha, ImgWidth, ImgHeight) { ImgMC.PosX = PosX; ImgMC.PosY = PosY; ImgMC.StaySpeed = StaySpeed; ImgMC.ImgAlpha = ImgAlpha; ImgMC.FlickerVisible = true; ImgMC.StayTime = StayTime; ImgMC.Switch = StaySpeed; ImgMC.onEnterFrame = function () { if (this.StayTime == 0) { this._rotation = 0; this._xscale = 100; this._yscale = 100; this._x = this.PosX; this._y = this.PosY; this._alpha = this.ImgAlpha; delete this.onEnterFrame; } else if (this.StayTime > 0) { this.StayTime--; } if ((--this.Switch) <= 0) { if (ImgMC.FlickerVisible) { ImgMC._alpha = 0; ImgMC.FlickerVisible = false; } else { ImgMC._alpha = this.ImgAlpha; ImgMC.FlickerVisible = true; } this.Switch = this.StaySpeed; } }; } function StayEffect_Rotating(ImgMC, StayTime, MovieWidth, MovieHeight, PosX, PosY, StaySpeed, ImgAlpha, ImgWidth, ImgHeight) { ImgMC.StaySpeed = StaySpeed; ImgMC.PosX = PosX; ImgMC.PosY = PosY; ImgMC.ImgAlpha = ImgAlpha; ImgMC.ImgWidth = ImgWidth; ImgMC.ImgHeight = ImgHeight; ImgMC.StayTime = StayTime; ImgMC._rotation = 0; ImgMC.onEnterFrame = function () { if (this.StayTime == 0) { this._rotation = 0; this._xscale = 100; this._yscale = 100; this._x = this.PosX; this._y = this.PosY; this._alpha = this.ImgAlpha; delete this.onEnterFrame; } else if (this.StayTime > 0) { this._rotation = this._rotation + this.StaySpeed; this._x = ((this.PosX + (this.ImgWidth / 2)) - ((this.ImgWidth / 2) * Math.cos((this._rotation / 180) * Math.PI))) + ((this.ImgHeight / 2) * Math.sin((this._rotation / 180) * Math.PI)); this._y = ((this.PosY + (this.ImgHeight / 2)) - ((this.ImgWidth / 2) * Math.sin((this._rotation / 180) * Math.PI))) - ((this.ImgHeight / 2) * Math.cos((this._rotation / 180) * Math.PI)); if (this.StayTime > 0) { this.StayTime--; } } }; } function StayEffect_ZoomInZoomOut(ImgMC, StayTime, MovieWidth, MovieHeight, PosX, PosY, StaySpeed, ImgAlpha, ImgWidth, ImgHeight) { ImgMC.StaySpeed = StaySpeed; ImgMC.ZoomOut = true; ImgMC.PosX = PosX; ImgMC.PosY = PosY; ImgMC.ImgWidth = ImgWidth; ImgMC.ImgHeight = ImgHeight; ImgMC.ImgAlpha = ImgAlpha; ImgMC.StayTime = StayTime; ImgMC.onEnterFrame = function () { if (this.StayTime == 0) { this._rotation = 0; this._xscale = 100; this._yscale = 100; this._x = this.PosX; this._y = this.PosY; this._alpha = this.ImgAlpha; delete this.onEnterFrame; } else if (this.StayTime > 0) { this.StayTime--; } if (this.ZoomOut) { this._xscale = this._xscale - this.StaySpeed; this._yscale = this._yscale - this.StaySpeed; if (this._xscale < 90) { this.ZoomOut = false; } } else { this._xscale = this._xscale + this.StaySpeed; this._yscale = this._yscale + this.StaySpeed; if (this._xscale > 110) { this.ZoomOut = true; } } this._x = (this.PosX + (this.ImgWidth / 2)) - (this._width / 2); this._y = (this.PosY + (this.ImgHeight / 2)) - (this._height / 2); }; } function StayEffect_FadeInFadeOut(ImgMC, StayTime, MovieWidth, MovieHeight, PosX, PosY, StaySpeed, ImgAlpha, ImgWidth, ImgHeight) { ImgMC.StaySpeed = StaySpeed; ImgMC.AlphaOut = true; ImgMC.PosX = PosX; ImgMC.PosY = PosY; ImgMC.ImgAlpha = ImgAlpha; ImgMC.StayTime = StayTime; ImgMC.onEnterFrame = function () { if (this.StayTime == 0) { this._rotation = 0; this._xscale = 100; this._yscale = 100; this._x = this.PosX; this._y = this.PosY; this._alpha = this.ImgAlpha; delete this.onEnterFrame; } else if (this.StayTime > 0) { this.StayTime--; } if (this.AlphaOut) { this._alpha = this._alpha - this.StaySpeed; if (this._alpha < 80) { this.AlphaOut = false; } } else { this._alpha = this._alpha + this.StaySpeed; if (this._alpha >= 100) { this.AlphaOut = true; } } }; } ParamsDefine = "<ParamsDefine><Img.BlindWidth caption=\"Blind width\" type=\"integer\" min=\"1\" max=\"50\" default=\"12\"/><Img.InEffect caption=\"In effect\" type=\"selection\" selection=\"Blinds horizontal;Blinds vertical;Fade in\" default=\"Blinds horizontal\"/><Img.InSpeed caption=\"In speed\" type=\"integer\" min=\"1\" max=\"50\" default=\"4\"/><Img.StayEffect caption=\"Stay effect\" type=\"selection\" selection=\"Stay;Rotating;Zoom in Zoom out;Fade in Fade out;Flicker\" default=\"Stay\"/><Img.StaySpeed caption=\"Stay speed\" type=\"integer\" min=\"1\" max=\"50\" default=\"4\"/><Img.StayTime caption=\"Stay effect time\" type=\"selection\" selection=\"To end;Custom\" default=\"To end\"/><Img.StayTimeCustom caption=\"Stay effect custom seconds\" type=\"integer\" min=\"1\" max=\"50\" default=\"3\"/><Img.OutEffect caption=\"Out effect\" type=\"selection\" selection=\"Blinds horizontal;Blinds vertical;Fade out\" default=\"Blinds horizontal\"/><Img.OutSpeed caption=\"Out speed\" type=\"integer\" min=\"1\" max=\"50\" default=\"4\"/><Img.EffectName caption=\"Effect Name\" type=\"const\" default=\"Img.Blinds\"/></ParamsDefine>"; var param = new Array(); param["Movie.Width"] = _parent._width; param["Movie.Height"] = _parent._height; if (ParamsValue != null) { paramXML = new XML(ParamsValue); paramXML.ignoreWhite = false; var i = 0; while (i < paramXML.childNodes[0].childNodes.length) { node = paramXML.childNodes[0].childNodes[i]; param[node.nodeName] = node.childNodes[0].nodeValue; i++; } param["Movie.Width"] = parseInt(param["Movie.Width"]); param["Movie.Height"] = parseInt(param["Movie.Height"]); param["Movie.FPS"] = parseInt(param["Movie.FPS"]); param["Img.InSpeed"] = parseInt(param["Img.InSpeed"]); param["Img.OutSpeed"] = parseInt(param["Img.OutSpeed"]); param["Img.StaySpeed"] = parseInt(param["Img.StaySpeed"]); param["Img.StayTimeCustom"] = parseInt(param["Img.StayTimeCustom"]); param["Img.BlindWidth"] = parseInt(param["Img.BlindWidth"]); param["Img.PosX"] = parseInt(param["Img.PosX"]); param["Img.PosY"] = parseInt(param["Img.PosY"]); param["Img.Rotation"] = parseInt(param["Img.Rotation"]); param["Img.Alpha"] = parseInt(param["Img.Alpha"]); param["Img.StaticText"] = param["Img.StaticText"].toLowerCase() == "true"; param["Img.DelayFrame"] = parseInt(param["Img.DelayFrame"]); param["Img.DurationFrame"] = parseInt(param["Img.DurationFrame"]); param["Img.KeepText"] = param["Img.KeepText"].toLowerCase() == "true"; param["Img.URL"] = param["Img.URL"].toLowerCase() == "true"; delete paramXML; } else { param["Movie.Width"] = 400; param["Movie.Height"] = 300; param["Img.InSpeed"] = 8; param["Img.OutSpeed"] = 8; param["Img.StaySpeed"] = 4; param["Img.StayTimeCustom"] = 3; param["Img.PosX"] = 100; param["Img.PosY"] = 100; param["Img.Rotation"] = 0; param["Img.Alpha"] = 100; param["Img.StaticText"] = false; param["Img.DelayFrame"] = 0; param["Img.DurationFrame"] = 10; param["Img.KeepText"] = false; param["Img.URL"] = false; param["Img.URLAddress"] = "about:blank"; param["Img.URLTarget"] = "_blank"; } if (param["Img.StaticText"]) { gotoAndPlay(_currentframe + 3); }
Symbol 44 MovieClip Frame 3
param["Img.DelayFrame"] = param["Img.DelayFrame"] - 1; if (param["Img.DelayFrame"] > 0) { gotoAndPlay(_currentframe - 1); }
Symbol 44 MovieClip Frame 4
stop(); var ImageMovie_MC = this.attachMovie(param["Img.ImageMovieExport"], "ImageMovie_MC", 2); if (param["Img.StaticText"]) { InEffect_FadeIn(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], 20, param["Img.Alpha"]); } else { switch (param["Img.InEffect"]) { case "Blinds horizontal" : InEffect_BlindsHorizontal(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.InSpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height, param["Img.BlindWidth"]); break; case "Blinds vertical" : InEffect_BlindsVertical(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.InSpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height, param["Img.BlindWidth"]); break; case "Fade in" : InEffect_FadeIn(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.InSpeed"], param["Img.Alpha"]); break; default : InEffect_FadeIn(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.InSpeed"], param["Img.Alpha"]); } }
Symbol 44 MovieClip Frame 5
var iStayEffectTime = -1; if (param["Img.StayTime"] != "To end") { iStayEffectTime = param["Movie.FPS"] * param["Img.StayTimeCustom"]; } switch (param["Img.StayEffect"]) { case "Stay" : StayEffect_Stay(ImageMovie_MC, iStayEffectTime, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.StaySpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height); break; case "Flicker" : StayEffect_Flicker(ImageMovie_MC, iStayEffectTime, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.StaySpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height); break; case "Rotating" : StayEffect_Rotating(ImageMovie_MC, iStayEffectTime, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.StaySpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height); break; case "Zoom in Zoom out" : StayEffect_ZoomInZoomOut(ImageMovie_MC, iStayEffectTime, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.StaySpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height); break; case "Fade in Fade out" : StayEffect_FadeInFadeOut(ImageMovie_MC, iStayEffectTime, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.StaySpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height); break; default : StayEffect_Stay(ImageMovie_MC, iStayEffectTime, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.StaySpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height); }
Symbol 44 MovieClip Frame 7
if (param["Img.DurationFrame"] < 0) { gotoAndPlay(_currentframe - 1); } else { param["Img.DurationFrame"] = param["Img.DurationFrame"] - 1; if (param["Img.DurationFrame"] > 0) { gotoAndPlay(_currentframe - 1); } else { gotoAndPlay(_currentframe + 1); } }
Symbol 44 MovieClip Frame 8
if (param["Img.KeepText"] || (param["Img.StaticText"])) { gotoAndPlay(_currentframe + 2); }
Symbol 44 MovieClip Frame 9
stop(); LeaveStayEffect(ImageMovie_MC, param["Img.PosX"], param["Img.PosY"], param["Img.Alpha"]); switch (param["Img.OutEffect"]) { case "Blinds horizontal" : OutEffect_BlindsHorizontal(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.OutSpeed"], ImageMovie_MC._width, ImageMovie_MC._height, param["Img.BlindWidth"]); break; case "Blinds vertical" : OutEffect_BlindsVertical(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.OutSpeed"], ImageMovie_MC._width, ImageMovie_MC._height, param["Img.BlindWidth"]); break; case "Fade out" : OutEffect_FadeOut(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.OutSpeed"]); break; default : OutEffect_FadeOut(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.OutSpeed"]); }
Symbol 44 MovieClip Frame 10
stop(); if (!param["Img.StaticText"]) { _parent.g_effectcount = _parent.g_effectcount - 1; if (_parent.g_effectcount <= 0) { _parent.play(); } }
Symbol 49 MovieClip Frame 1
ParamsValue = "<ParamsValue><Movie.Width>1024</Movie.Width><Movie.Height>881</Movie.Height><Movie.FPS>24</Movie.FPS><Img.ImageExport>Img.Blinds_Image_8</Img.ImageExport><Img.ImageMovieExport>Img.Blinds_ImageMovie_8</Img.ImageMovieExport><Img.BlindWidth>12</Img.BlindWidth><Img.InEffect>Blinds horizontal</Img.InEffect><Img.InSpeed>4</Img.InSpeed><Img.StayEffect>Stay</Img.StayEffect><Img.StaySpeed>4</Img.StaySpeed><Img.StayTime>To end</Img.StayTime><Img.StayTimeCustom>3</Img.StayTimeCustom><Img.OutEffect>Blinds horizontal</Img.OutEffect><Img.OutSpeed>4</Img.OutSpeed><Img.EffectName>Img.Blinds</Img.EffectName><Img.PosX>153</Img.PosX><Img.PosY>64</Img.PosY><Img.Rotation>0</Img.Rotation><Img.Alpha>100</Img.Alpha><Img.StaticText>false</Img.StaticText><Img.DelayFrame>0</Img.DelayFrame><Img.DurationFrame>144</Img.DurationFrame><Img.KeepText>false</Img.KeepText><Img.URL>false</Img.URL><Img.URLAddress>about:blank</Img.URLAddress><Img.URLTarget></Img.URLTarget></ParamsValue>"; function InEffect_FadeIn(ImgMC, MovieWidth, MovieHeight, PosX, PosY, InSpeed, ImgAlpha) { ImgMC._x = PosX; ImgMC._y = PosY; ImgMC._alpha = 0; ImgMC.InSpeed = InSpeed; ImgMC.ImgAlpha = ImgAlpha; ImgMC.onEnterFrame = function () { if ((this._alpha + this.InSpeed) > this.ImgAlpha) { this._alpha = this.ImgAlpha; delete this.onEnterFrame; this._parent.play(); } this._alpha = this._alpha + this.InSpeed; }; } function InEffect_BlindsHorizontal(ImgMC, MovieWidth, MovieHeight, PosX, PosY, InSpeed, ImgAlpha, ImgWidth, ImgHeight, BlindWidth) { var iBlindsCount = Math.ceil(ImgHeight / BlindWidth); var ImgMask = this.createEmptyMovieClip("ImgMask", 3); var ImgMask_Slide0 = ImgMask.createEmptyMovieClip("ImgMask_Slide0", 1); with (ImgMask_Slide0) { beginFill(16777215); moveTo(0, 0); lineTo(ImgWidth, 0); lineTo(ImgWidth, BlindWidth); lineTo(0, BlindWidth); lineTo(0, 0); endFill(); } var i = 1; while (i < iBlindsCount) { ImgMask_Slide0.duplicateMovieClip("ImgMask_Slide" + i, i + 1); i++; } var i = 0; while (i < iBlindsCount) { ImgMask["ImgMask_Slide" + i]._x = 0; ImgMask["ImgMask_Slide" + i]._y = BlindWidth * i; ImgMask["ImgMask_Slide" + i]._yscale = 0; i++; } ImgMC._x = PosX; ImgMC._y = PosY; ImgMask._x = PosX; ImgMask._y = PosY; ImgMC.setMask(ImgMask); ImgMask.ScaleCount = 0; ImgMask.InSpeed = InSpeed; ImgMask.iBlindsCount = iBlindsCount; ImgMask.onEnterFrame = function () { var _local2 = 0; while (_local2 < iBlindsCount) { this["ImgMask_Slide" + _local2]._yscale = this["ImgMask_Slide" + _local2]._yscale + this.InSpeed; _local2++; } this.ScaleCount = this.ScaleCount + this.InSpeed; if (this.ScaleCount >= 110) { delete this.onEnterFrame; this._parent.play(); this.removeMovieClip(); } }; } function InEffect_BlindsVertical(ImgMC, MovieWidth, MovieHeight, PosX, PosY, InSpeed, ImgAlpha, ImgWidth, ImgHeight, BlindWidth) { var iBlindsCount = Math.ceil(ImgWidth / BlindWidth); var ImgMask = this.createEmptyMovieClip("ImgMask", 3); var ImgMask_Slide0 = ImgMask.createEmptyMovieClip("ImgMask_Slide0", 1); with (ImgMask_Slide0) { beginFill(16777215); moveTo(0, 0); lineTo(BlindWidth, 0); lineTo(BlindWidth, ImgHeight); lineTo(0, ImgHeight); lineTo(0, 0); endFill(); } var i = 1; while (i < iBlindsCount) { ImgMask_Slide0.duplicateMovieClip("ImgMask_Slide" + i, i + 1); i++; } var i = 0; while (i < iBlindsCount) { ImgMask["ImgMask_Slide" + i]._x = BlindWidth * i; ImgMask["ImgMask_Slide" + i]._y = 0; ImgMask["ImgMask_Slide" + i]._xscale = 0; i++; } ImgMC._x = PosX; ImgMC._y = PosY; ImgMask._x = PosX; ImgMask._y = PosY; ImgMC.setMask(ImgMask); ImgMask.ScaleCount = 0; ImgMask.InSpeed = InSpeed; ImgMask.iBlindsCount = iBlindsCount; ImgMask.onEnterFrame = function () { var _local2 = 0; while (_local2 < iBlindsCount) { this["ImgMask_Slide" + _local2]._xscale = this["ImgMask_Slide" + _local2]._xscale + this.InSpeed; _local2++; } this.ScaleCount = this.ScaleCount + this.InSpeed; if (this.ScaleCount >= 110) { delete this.onEnterFrame; this._parent.play(); this.removeMovieClip(); } }; } function OutEffect_FadeOut(ImgMC, MovieWidth, MovieHeight, OutSpeed) { ImgMC.OutSpeed = OutSpeed; ImgMC.onEnterFrame = function () { this._alpha = this._alpha - this.OutSpeed; if (this._alpha <= 0) { this._parent.play(); delete this.onEnterFrame; this.removeMovieClip(); } }; } function OutEffect_BlindsHorizontal(ImgMC, MovieWidth, MovieHeight, PosX, PosY, OutSpeed, ImgWidth, ImgHeight, BlindWidth) { var iBlindsCount = Math.ceil(ImgHeight / BlindWidth); var ImgMask = this.createEmptyMovieClip("ImgMask", 3); var ImgMask_Slide0 = ImgMask.createEmptyMovieClip("ImgMask_Slide0", 1); with (ImgMask_Slide0) { beginFill(16777215); moveTo(0, 0); lineTo(ImgWidth, 0); lineTo(ImgWidth, BlindWidth); lineTo(0, BlindWidth); lineTo(0, 0); endFill(); } var i = 1; while (i < iBlindsCount) { ImgMask_Slide0.duplicateMovieClip("ImgMask_Slide" + i, i + 1); i++; } var i = 0; while (i < iBlindsCount) { ImgMask["ImgMask_Slide" + i]._x = 0; ImgMask["ImgMask_Slide" + i]._y = BlindWidth * i; ImgMask["ImgMask_Slide" + i]._yscale = 100; i++; } ImgMC._x = PosX; ImgMC._y = PosY; ImgMask._x = PosX; ImgMask._y = PosY; ImgMC.setMask(ImgMask); ImgMask.ScaleCount = 100; ImgMask.OutSpeed = OutSpeed; ImgMask.iBlindsCount = iBlindsCount; ImgMask.onEnterFrame = function () { var _local2 = 0; while (_local2 < iBlindsCount) { this["ImgMask_Slide" + _local2]._yscale = this["ImgMask_Slide" + _local2]._yscale - this.OutSpeed; _local2++; } this.ScaleCount = this.ScaleCount - this.OutSpeed; if (this.ScaleCount <= 0) { delete this.onEnterFrame; this._parent.play(); ImgMask.removeMovieClip(); ImgMC.removeMovieClip(); } }; } function OutEffect_BlindsVertical(ImgMC, MovieWidth, MovieHeight, PosX, PosY, OutSpeed, ImgWidth, ImgHeight, BlindWidth) { var iBlindsCount = Math.ceil(ImgWidth / BlindWidth); var ImgMask = this.createEmptyMovieClip("ImgMask", 3); var ImgMask_Slide0 = ImgMask.createEmptyMovieClip("ImgMask_Slide0", 1); with (ImgMask_Slide0) { beginFill(16777215); moveTo(0, 0); lineTo(BlindWidth, 0); lineTo(BlindWidth, ImgHeight); lineTo(0, ImgHeight); lineTo(0, 0); endFill(); } var i = 1; while (i < iBlindsCount) { ImgMask_Slide0.duplicateMovieClip("ImgMask_Slide" + i, i + 1); i++; } var i = 0; while (i < iBlindsCount) { ImgMask["ImgMask_Slide" + i]._x = BlindWidth * i; ImgMask["ImgMask_Slide" + i]._y = 0; ImgMask["ImgMask_Slide" + i]._xscale = 100; i++; } ImgMC._x = PosX; ImgMC._y = PosY; ImgMask._x = PosX; ImgMask._y = PosY; ImgMC.setMask(ImgMask); ImgMask.ScaleCount = 100; ImgMask.OutSpeed = OutSpeed; ImgMask.iBlindsCount = iBlindsCount; ImgMask.onEnterFrame = function () { var _local2 = 0; while (_local2 < iBlindsCount) { this["ImgMask_Slide" + _local2]._xscale = this["ImgMask_Slide" + _local2]._xscale - this.OutSpeed; _local2++; } this.ScaleCount = this.ScaleCount - this.OutSpeed; if (this.ScaleCount <= 0) { delete this.onEnterFrame; this._parent.play(); ImgMask.removeMovieClip(); ImgMC.removeMovieClip(); } }; } function LeaveStayEffect(ImgMC, PosX, PosY, ImgAlpha) { ImgMC._rotation = 0; ImgMC._xscale = 100; ImgMC._yscale = 100; ImgMC._x = PosX; ImgMC._y = PosY; ImgMC._alpha = ImgAlpha; delete ImgMC.onEnterFrame; } function StayEffect_Stay(ImgMC, StayTime, MovieWidth, MovieHeight, PosX, PosY, StaySpeed, ImgAlpha, ImgWidth, ImgHeight) { ImgMC.onEnterFrame = function () { }; } function StayEffect_Flicker(ImgMC, StayTime, MovieWidth, MovieHeight, PosX, PosY, StaySpeed, ImgAlpha, ImgWidth, ImgHeight) { ImgMC.PosX = PosX; ImgMC.PosY = PosY; ImgMC.StaySpeed = StaySpeed; ImgMC.ImgAlpha = ImgAlpha; ImgMC.FlickerVisible = true; ImgMC.StayTime = StayTime; ImgMC.Switch = StaySpeed; ImgMC.onEnterFrame = function () { if (this.StayTime == 0) { this._rotation = 0; this._xscale = 100; this._yscale = 100; this._x = this.PosX; this._y = this.PosY; this._alpha = this.ImgAlpha; delete this.onEnterFrame; } else if (this.StayTime > 0) { this.StayTime--; } if ((--this.Switch) <= 0) { if (ImgMC.FlickerVisible) { ImgMC._alpha = 0; ImgMC.FlickerVisible = false; } else { ImgMC._alpha = this.ImgAlpha; ImgMC.FlickerVisible = true; } this.Switch = this.StaySpeed; } }; } function StayEffect_Rotating(ImgMC, StayTime, MovieWidth, MovieHeight, PosX, PosY, StaySpeed, ImgAlpha, ImgWidth, ImgHeight) { ImgMC.StaySpeed = StaySpeed; ImgMC.PosX = PosX; ImgMC.PosY = PosY; ImgMC.ImgAlpha = ImgAlpha; ImgMC.ImgWidth = ImgWidth; ImgMC.ImgHeight = ImgHeight; ImgMC.StayTime = StayTime; ImgMC._rotation = 0; ImgMC.onEnterFrame = function () { if (this.StayTime == 0) { this._rotation = 0; this._xscale = 100; this._yscale = 100; this._x = this.PosX; this._y = this.PosY; this._alpha = this.ImgAlpha; delete this.onEnterFrame; } else if (this.StayTime > 0) { this._rotation = this._rotation + this.StaySpeed; this._x = ((this.PosX + (this.ImgWidth / 2)) - ((this.ImgWidth / 2) * Math.cos((this._rotation / 180) * Math.PI))) + ((this.ImgHeight / 2) * Math.sin((this._rotation / 180) * Math.PI)); this._y = ((this.PosY + (this.ImgHeight / 2)) - ((this.ImgWidth / 2) * Math.sin((this._rotation / 180) * Math.PI))) - ((this.ImgHeight / 2) * Math.cos((this._rotation / 180) * Math.PI)); if (this.StayTime > 0) { this.StayTime--; } } }; } function StayEffect_ZoomInZoomOut(ImgMC, StayTime, MovieWidth, MovieHeight, PosX, PosY, StaySpeed, ImgAlpha, ImgWidth, ImgHeight) { ImgMC.StaySpeed = StaySpeed; ImgMC.ZoomOut = true; ImgMC.PosX = PosX; ImgMC.PosY = PosY; ImgMC.ImgWidth = ImgWidth; ImgMC.ImgHeight = ImgHeight; ImgMC.ImgAlpha = ImgAlpha; ImgMC.StayTime = StayTime; ImgMC.onEnterFrame = function () { if (this.StayTime == 0) { this._rotation = 0; this._xscale = 100; this._yscale = 100; this._x = this.PosX; this._y = this.PosY; this._alpha = this.ImgAlpha; delete this.onEnterFrame; } else if (this.StayTime > 0) { this.StayTime--; } if (this.ZoomOut) { this._xscale = this._xscale - this.StaySpeed; this._yscale = this._yscale - this.StaySpeed; if (this._xscale < 90) { this.ZoomOut = false; } } else { this._xscale = this._xscale + this.StaySpeed; this._yscale = this._yscale + this.StaySpeed; if (this._xscale > 110) { this.ZoomOut = true; } } this._x = (this.PosX + (this.ImgWidth / 2)) - (this._width / 2); this._y = (this.PosY + (this.ImgHeight / 2)) - (this._height / 2); }; } function StayEffect_FadeInFadeOut(ImgMC, StayTime, MovieWidth, MovieHeight, PosX, PosY, StaySpeed, ImgAlpha, ImgWidth, ImgHeight) { ImgMC.StaySpeed = StaySpeed; ImgMC.AlphaOut = true; ImgMC.PosX = PosX; ImgMC.PosY = PosY; ImgMC.ImgAlpha = ImgAlpha; ImgMC.StayTime = StayTime; ImgMC.onEnterFrame = function () { if (this.StayTime == 0) { this._rotation = 0; this._xscale = 100; this._yscale = 100; this._x = this.PosX; this._y = this.PosY; this._alpha = this.ImgAlpha; delete this.onEnterFrame; } else if (this.StayTime > 0) { this.StayTime--; } if (this.AlphaOut) { this._alpha = this._alpha - this.StaySpeed; if (this._alpha < 80) { this.AlphaOut = false; } } else { this._alpha = this._alpha + this.StaySpeed; if (this._alpha >= 100) { this.AlphaOut = true; } } }; } ParamsDefine = "<ParamsDefine><Img.BlindWidth caption=\"Blind width\" type=\"integer\" min=\"1\" max=\"50\" default=\"12\"/><Img.InEffect caption=\"In effect\" type=\"selection\" selection=\"Blinds horizontal;Blinds vertical;Fade in\" default=\"Blinds horizontal\"/><Img.InSpeed caption=\"In speed\" type=\"integer\" min=\"1\" max=\"50\" default=\"4\"/><Img.StayEffect caption=\"Stay effect\" type=\"selection\" selection=\"Stay;Rotating;Zoom in Zoom out;Fade in Fade out;Flicker\" default=\"Stay\"/><Img.StaySpeed caption=\"Stay speed\" type=\"integer\" min=\"1\" max=\"50\" default=\"4\"/><Img.StayTime caption=\"Stay effect time\" type=\"selection\" selection=\"To end;Custom\" default=\"To end\"/><Img.StayTimeCustom caption=\"Stay effect custom seconds\" type=\"integer\" min=\"1\" max=\"50\" default=\"3\"/><Img.OutEffect caption=\"Out effect\" type=\"selection\" selection=\"Blinds horizontal;Blinds vertical;Fade out\" default=\"Blinds horizontal\"/><Img.OutSpeed caption=\"Out speed\" type=\"integer\" min=\"1\" max=\"50\" default=\"4\"/><Img.EffectName caption=\"Effect Name\" type=\"const\" default=\"Img.Blinds\"/></ParamsDefine>"; var param = new Array(); param["Movie.Width"] = _parent._width; param["Movie.Height"] = _parent._height; if (ParamsValue != null) { paramXML = new XML(ParamsValue); paramXML.ignoreWhite = false; var i = 0; while (i < paramXML.childNodes[0].childNodes.length) { node = paramXML.childNodes[0].childNodes[i]; param[node.nodeName] = node.childNodes[0].nodeValue; i++; } param["Movie.Width"] = parseInt(param["Movie.Width"]); param["Movie.Height"] = parseInt(param["Movie.Height"]); param["Movie.FPS"] = parseInt(param["Movie.FPS"]); param["Img.InSpeed"] = parseInt(param["Img.InSpeed"]); param["Img.OutSpeed"] = parseInt(param["Img.OutSpeed"]); param["Img.StaySpeed"] = parseInt(param["Img.StaySpeed"]); param["Img.StayTimeCustom"] = parseInt(param["Img.StayTimeCustom"]); param["Img.BlindWidth"] = parseInt(param["Img.BlindWidth"]); param["Img.PosX"] = parseInt(param["Img.PosX"]); param["Img.PosY"] = parseInt(param["Img.PosY"]); param["Img.Rotation"] = parseInt(param["Img.Rotation"]); param["Img.Alpha"] = parseInt(param["Img.Alpha"]); param["Img.StaticText"] = param["Img.StaticText"].toLowerCase() == "true"; param["Img.DelayFrame"] = parseInt(param["Img.DelayFrame"]); param["Img.DurationFrame"] = parseInt(param["Img.DurationFrame"]); param["Img.KeepText"] = param["Img.KeepText"].toLowerCase() == "true"; param["Img.URL"] = param["Img.URL"].toLowerCase() == "true"; delete paramXML; } else { param["Movie.Width"] = 400; param["Movie.Height"] = 300; param["Img.InSpeed"] = 8; param["Img.OutSpeed"] = 8; param["Img.StaySpeed"] = 4; param["Img.StayTimeCustom"] = 3; param["Img.PosX"] = 100; param["Img.PosY"] = 100; param["Img.Rotation"] = 0; param["Img.Alpha"] = 100; param["Img.StaticText"] = false; param["Img.DelayFrame"] = 0; param["Img.DurationFrame"] = 10; param["Img.KeepText"] = false; param["Img.URL"] = false; param["Img.URLAddress"] = "about:blank"; param["Img.URLTarget"] = "_blank"; } if (param["Img.StaticText"]) { gotoAndPlay(_currentframe + 3); }
Symbol 49 MovieClip Frame 3
param["Img.DelayFrame"] = param["Img.DelayFrame"] - 1; if (param["Img.DelayFrame"] > 0) { gotoAndPlay(_currentframe - 1); }
Symbol 49 MovieClip Frame 4
stop(); var ImageMovie_MC = this.attachMovie(param["Img.ImageMovieExport"], "ImageMovie_MC", 2); if (param["Img.StaticText"]) { InEffect_FadeIn(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], 20, param["Img.Alpha"]); } else { switch (param["Img.InEffect"]) { case "Blinds horizontal" : InEffect_BlindsHorizontal(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.InSpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height, param["Img.BlindWidth"]); break; case "Blinds vertical" : InEffect_BlindsVertical(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.InSpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height, param["Img.BlindWidth"]); break; case "Fade in" : InEffect_FadeIn(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.InSpeed"], param["Img.Alpha"]); break; default : InEffect_FadeIn(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.InSpeed"], param["Img.Alpha"]); } }
Symbol 49 MovieClip Frame 5
var iStayEffectTime = -1; if (param["Img.StayTime"] != "To end") { iStayEffectTime = param["Movie.FPS"] * param["Img.StayTimeCustom"]; } switch (param["Img.StayEffect"]) { case "Stay" : StayEffect_Stay(ImageMovie_MC, iStayEffectTime, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.StaySpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height); break; case "Flicker" : StayEffect_Flicker(ImageMovie_MC, iStayEffectTime, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.StaySpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height); break; case "Rotating" : StayEffect_Rotating(ImageMovie_MC, iStayEffectTime, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.StaySpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height); break; case "Zoom in Zoom out" : StayEffect_ZoomInZoomOut(ImageMovie_MC, iStayEffectTime, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.StaySpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height); break; case "Fade in Fade out" : StayEffect_FadeInFadeOut(ImageMovie_MC, iStayEffectTime, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.StaySpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height); break; default : StayEffect_Stay(ImageMovie_MC, iStayEffectTime, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.StaySpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height); }
Symbol 49 MovieClip Frame 7
if (param["Img.DurationFrame"] < 0) { gotoAndPlay(_currentframe - 1); } else { param["Img.DurationFrame"] = param["Img.DurationFrame"] - 1; if (param["Img.DurationFrame"] > 0) { gotoAndPlay(_currentframe - 1); } else { gotoAndPlay(_currentframe + 1); } }
Symbol 49 MovieClip Frame 8
if (param["Img.KeepText"] || (param["Img.StaticText"])) { gotoAndPlay(_currentframe + 2); }
Symbol 49 MovieClip Frame 9
stop(); LeaveStayEffect(ImageMovie_MC, param["Img.PosX"], param["Img.PosY"], param["Img.Alpha"]); switch (param["Img.OutEffect"]) { case "Blinds horizontal" : OutEffect_BlindsHorizontal(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.OutSpeed"], ImageMovie_MC._width, ImageMovie_MC._height, param["Img.BlindWidth"]); break; case "Blinds vertical" : OutEffect_BlindsVertical(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.OutSpeed"], ImageMovie_MC._width, ImageMovie_MC._height, param["Img.BlindWidth"]); break; case "Fade out" : OutEffect_FadeOut(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.OutSpeed"]); break; default : OutEffect_FadeOut(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.OutSpeed"]); }
Symbol 49 MovieClip Frame 10
stop(); if (!param["Img.StaticText"]) { _parent.g_effectcount = _parent.g_effectcount - 1; if (_parent.g_effectcount <= 0) { _parent.play(); } }
Symbol 54 MovieClip Frame 1
ParamsValue = "<ParamsValue><Movie.Width>1024</Movie.Width><Movie.Height>881</Movie.Height><Movie.FPS>24</Movie.FPS><Img.ImageExport>Img.Blinds_Image_9</Img.ImageExport><Img.ImageMovieExport>Img.Blinds_ImageMovie_9</Img.ImageMovieExport><Img.BlindWidth>12</Img.BlindWidth><Img.InEffect>Blinds horizontal</Img.InEffect><Img.InSpeed>4</Img.InSpeed><Img.StayEffect>Stay</Img.StayEffect><Img.StaySpeed>4</Img.StaySpeed><Img.StayTime>To end</Img.StayTime><Img.StayTimeCustom>3</Img.StayTimeCustom><Img.OutEffect>Blinds horizontal</Img.OutEffect><Img.OutSpeed>4</Img.OutSpeed><Img.EffectName>Img.Blinds</Img.EffectName><Img.PosX>362</Img.PosX><Img.PosY>260</Img.PosY><Img.Rotation>0</Img.Rotation><Img.Alpha>100</Img.Alpha><Img.StaticText>false</Img.StaticText><Img.DelayFrame>0</Img.DelayFrame><Img.DurationFrame>144</Img.DurationFrame><Img.KeepText>false</Img.KeepText><Img.URL>false</Img.URL><Img.URLAddress>about:blank</Img.URLAddress><Img.URLTarget></Img.URLTarget></ParamsValue>"; function InEffect_FadeIn(ImgMC, MovieWidth, MovieHeight, PosX, PosY, InSpeed, ImgAlpha) { ImgMC._x = PosX; ImgMC._y = PosY; ImgMC._alpha = 0; ImgMC.InSpeed = InSpeed; ImgMC.ImgAlpha = ImgAlpha; ImgMC.onEnterFrame = function () { if ((this._alpha + this.InSpeed) > this.ImgAlpha) { this._alpha = this.ImgAlpha; delete this.onEnterFrame; this._parent.play(); } this._alpha = this._alpha + this.InSpeed; }; } function InEffect_BlindsHorizontal(ImgMC, MovieWidth, MovieHeight, PosX, PosY, InSpeed, ImgAlpha, ImgWidth, ImgHeight, BlindWidth) { var iBlindsCount = Math.ceil(ImgHeight / BlindWidth); var ImgMask = this.createEmptyMovieClip("ImgMask", 3); var ImgMask_Slide0 = ImgMask.createEmptyMovieClip("ImgMask_Slide0", 1); with (ImgMask_Slide0) { beginFill(16777215); moveTo(0, 0); lineTo(ImgWidth, 0); lineTo(ImgWidth, BlindWidth); lineTo(0, BlindWidth); lineTo(0, 0); endFill(); } var i = 1; while (i < iBlindsCount) { ImgMask_Slide0.duplicateMovieClip("ImgMask_Slide" + i, i + 1); i++; } var i = 0; while (i < iBlindsCount) { ImgMask["ImgMask_Slide" + i]._x = 0; ImgMask["ImgMask_Slide" + i]._y = BlindWidth * i; ImgMask["ImgMask_Slide" + i]._yscale = 0; i++; } ImgMC._x = PosX; ImgMC._y = PosY; ImgMask._x = PosX; ImgMask._y = PosY; ImgMC.setMask(ImgMask); ImgMask.ScaleCount = 0; ImgMask.InSpeed = InSpeed; ImgMask.iBlindsCount = iBlindsCount; ImgMask.onEnterFrame = function () { var _local2 = 0; while (_local2 < iBlindsCount) { this["ImgMask_Slide" + _local2]._yscale = this["ImgMask_Slide" + _local2]._yscale + this.InSpeed; _local2++; } this.ScaleCount = this.ScaleCount + this.InSpeed; if (this.ScaleCount >= 110) { delete this.onEnterFrame; this._parent.play(); this.removeMovieClip(); } }; } function InEffect_BlindsVertical(ImgMC, MovieWidth, MovieHeight, PosX, PosY, InSpeed, ImgAlpha, ImgWidth, ImgHeight, BlindWidth) { var iBlindsCount = Math.ceil(ImgWidth / BlindWidth); var ImgMask = this.createEmptyMovieClip("ImgMask", 3); var ImgMask_Slide0 = ImgMask.createEmptyMovieClip("ImgMask_Slide0", 1); with (ImgMask_Slide0) { beginFill(16777215); moveTo(0, 0); lineTo(BlindWidth, 0); lineTo(BlindWidth, ImgHeight); lineTo(0, ImgHeight); lineTo(0, 0); endFill(); } var i = 1; while (i < iBlindsCount) { ImgMask_Slide0.duplicateMovieClip("ImgMask_Slide" + i, i + 1); i++; } var i = 0; while (i < iBlindsCount) { ImgMask["ImgMask_Slide" + i]._x = BlindWidth * i; ImgMask["ImgMask_Slide" + i]._y = 0; ImgMask["ImgMask_Slide" + i]._xscale = 0; i++; } ImgMC._x = PosX; ImgMC._y = PosY; ImgMask._x = PosX; ImgMask._y = PosY; ImgMC.setMask(ImgMask); ImgMask.ScaleCount = 0; ImgMask.InSpeed = InSpeed; ImgMask.iBlindsCount = iBlindsCount; ImgMask.onEnterFrame = function () { var _local2 = 0; while (_local2 < iBlindsCount) { this["ImgMask_Slide" + _local2]._xscale = this["ImgMask_Slide" + _local2]._xscale + this.InSpeed; _local2++; } this.ScaleCount = this.ScaleCount + this.InSpeed; if (this.ScaleCount >= 110) { delete this.onEnterFrame; this._parent.play(); this.removeMovieClip(); } }; } function OutEffect_FadeOut(ImgMC, MovieWidth, MovieHeight, OutSpeed) { ImgMC.OutSpeed = OutSpeed; ImgMC.onEnterFrame = function () { this._alpha = this._alpha - this.OutSpeed; if (this._alpha <= 0) { this._parent.play(); delete this.onEnterFrame; this.removeMovieClip(); } }; } function OutEffect_BlindsHorizontal(ImgMC, MovieWidth, MovieHeight, PosX, PosY, OutSpeed, ImgWidth, ImgHeight, BlindWidth) { var iBlindsCount = Math.ceil(ImgHeight / BlindWidth); var ImgMask = this.createEmptyMovieClip("ImgMask", 3); var ImgMask_Slide0 = ImgMask.createEmptyMovieClip("ImgMask_Slide0", 1); with (ImgMask_Slide0) { beginFill(16777215); moveTo(0, 0); lineTo(ImgWidth, 0); lineTo(ImgWidth, BlindWidth); lineTo(0, BlindWidth); lineTo(0, 0); endFill(); } var i = 1; while (i < iBlindsCount) { ImgMask_Slide0.duplicateMovieClip("ImgMask_Slide" + i, i + 1); i++; } var i = 0; while (i < iBlindsCount) { ImgMask["ImgMask_Slide" + i]._x = 0; ImgMask["ImgMask_Slide" + i]._y = BlindWidth * i; ImgMask["ImgMask_Slide" + i]._yscale = 100; i++; } ImgMC._x = PosX; ImgMC._y = PosY; ImgMask._x = PosX; ImgMask._y = PosY; ImgMC.setMask(ImgMask); ImgMask.ScaleCount = 100; ImgMask.OutSpeed = OutSpeed; ImgMask.iBlindsCount = iBlindsCount; ImgMask.onEnterFrame = function () { var _local2 = 0; while (_local2 < iBlindsCount) { this["ImgMask_Slide" + _local2]._yscale = this["ImgMask_Slide" + _local2]._yscale - this.OutSpeed; _local2++; } this.ScaleCount = this.ScaleCount - this.OutSpeed; if (this.ScaleCount <= 0) { delete this.onEnterFrame; this._parent.play(); ImgMask.removeMovieClip(); ImgMC.removeMovieClip(); } }; } function OutEffect_BlindsVertical(ImgMC, MovieWidth, MovieHeight, PosX, PosY, OutSpeed, ImgWidth, ImgHeight, BlindWidth) { var iBlindsCount = Math.ceil(ImgWidth / BlindWidth); var ImgMask = this.createEmptyMovieClip("ImgMask", 3); var ImgMask_Slide0 = ImgMask.createEmptyMovieClip("ImgMask_Slide0", 1); with (ImgMask_Slide0) { beginFill(16777215); moveTo(0, 0); lineTo(BlindWidth, 0); lineTo(BlindWidth, ImgHeight); lineTo(0, ImgHeight); lineTo(0, 0); endFill(); } var i = 1; while (i < iBlindsCount) { ImgMask_Slide0.duplicateMovieClip("ImgMask_Slide" + i, i + 1); i++; } var i = 0; while (i < iBlindsCount) { ImgMask["ImgMask_Slide" + i]._x = BlindWidth * i; ImgMask["ImgMask_Slide" + i]._y = 0; ImgMask["ImgMask_Slide" + i]._xscale = 100; i++; } ImgMC._x = PosX; ImgMC._y = PosY; ImgMask._x = PosX; ImgMask._y = PosY; ImgMC.setMask(ImgMask); ImgMask.ScaleCount = 100; ImgMask.OutSpeed = OutSpeed; ImgMask.iBlindsCount = iBlindsCount; ImgMask.onEnterFrame = function () { var _local2 = 0; while (_local2 < iBlindsCount) { this["ImgMask_Slide" + _local2]._xscale = this["ImgMask_Slide" + _local2]._xscale - this.OutSpeed; _local2++; } this.ScaleCount = this.ScaleCount - this.OutSpeed; if (this.ScaleCount <= 0) { delete this.onEnterFrame; this._parent.play(); ImgMask.removeMovieClip(); ImgMC.removeMovieClip(); } }; } function LeaveStayEffect(ImgMC, PosX, PosY, ImgAlpha) { ImgMC._rotation = 0; ImgMC._xscale = 100; ImgMC._yscale = 100; ImgMC._x = PosX; ImgMC._y = PosY; ImgMC._alpha = ImgAlpha; delete ImgMC.onEnterFrame; } function StayEffect_Stay(ImgMC, StayTime, MovieWidth, MovieHeight, PosX, PosY, StaySpeed, ImgAlpha, ImgWidth, ImgHeight) { ImgMC.onEnterFrame = function () { }; } function StayEffect_Flicker(ImgMC, StayTime, MovieWidth, MovieHeight, PosX, PosY, StaySpeed, ImgAlpha, ImgWidth, ImgHeight) { ImgMC.PosX = PosX; ImgMC.PosY = PosY; ImgMC.StaySpeed = StaySpeed; ImgMC.ImgAlpha = ImgAlpha; ImgMC.FlickerVisible = true; ImgMC.StayTime = StayTime; ImgMC.Switch = StaySpeed; ImgMC.onEnterFrame = function () { if (this.StayTime == 0) { this._rotation = 0; this._xscale = 100; this._yscale = 100; this._x = this.PosX; this._y = this.PosY; this._alpha = this.ImgAlpha; delete this.onEnterFrame; } else if (this.StayTime > 0) { this.StayTime--; } if ((--this.Switch) <= 0) { if (ImgMC.FlickerVisible) { ImgMC._alpha = 0; ImgMC.FlickerVisible = false; } else { ImgMC._alpha = this.ImgAlpha; ImgMC.FlickerVisible = true; } this.Switch = this.StaySpeed; } }; } function StayEffect_Rotating(ImgMC, StayTime, MovieWidth, MovieHeight, PosX, PosY, StaySpeed, ImgAlpha, ImgWidth, ImgHeight) { ImgMC.StaySpeed = StaySpeed; ImgMC.PosX = PosX; ImgMC.PosY = PosY; ImgMC.ImgAlpha = ImgAlpha; ImgMC.ImgWidth = ImgWidth; ImgMC.ImgHeight = ImgHeight; ImgMC.StayTime = StayTime; ImgMC._rotation = 0; ImgMC.onEnterFrame = function () { if (this.StayTime == 0) { this._rotation = 0; this._xscale = 100; this._yscale = 100; this._x = this.PosX; this._y = this.PosY; this._alpha = this.ImgAlpha; delete this.onEnterFrame; } else if (this.StayTime > 0) { this._rotation = this._rotation + this.StaySpeed; this._x = ((this.PosX + (this.ImgWidth / 2)) - ((this.ImgWidth / 2) * Math.cos((this._rotation / 180) * Math.PI))) + ((this.ImgHeight / 2) * Math.sin((this._rotation / 180) * Math.PI)); this._y = ((this.PosY + (this.ImgHeight / 2)) - ((this.ImgWidth / 2) * Math.sin((this._rotation / 180) * Math.PI))) - ((this.ImgHeight / 2) * Math.cos((this._rotation / 180) * Math.PI)); if (this.StayTime > 0) { this.StayTime--; } } }; } function StayEffect_ZoomInZoomOut(ImgMC, StayTime, MovieWidth, MovieHeight, PosX, PosY, StaySpeed, ImgAlpha, ImgWidth, ImgHeight) { ImgMC.StaySpeed = StaySpeed; ImgMC.ZoomOut = true; ImgMC.PosX = PosX; ImgMC.PosY = PosY; ImgMC.ImgWidth = ImgWidth; ImgMC.ImgHeight = ImgHeight; ImgMC.ImgAlpha = ImgAlpha; ImgMC.StayTime = StayTime; ImgMC.onEnterFrame = function () { if (this.StayTime == 0) { this._rotation = 0; this._xscale = 100; this._yscale = 100; this._x = this.PosX; this._y = this.PosY; this._alpha = this.ImgAlpha; delete this.onEnterFrame; } else if (this.StayTime > 0) { this.StayTime--; } if (this.ZoomOut) { this._xscale = this._xscale - this.StaySpeed; this._yscale = this._yscale - this.StaySpeed; if (this._xscale < 90) { this.ZoomOut = false; } } else { this._xscale = this._xscale + this.StaySpeed; this._yscale = this._yscale + this.StaySpeed; if (this._xscale > 110) { this.ZoomOut = true; } } this._x = (this.PosX + (this.ImgWidth / 2)) - (this._width / 2); this._y = (this.PosY + (this.ImgHeight / 2)) - (this._height / 2); }; } function StayEffect_FadeInFadeOut(ImgMC, StayTime, MovieWidth, MovieHeight, PosX, PosY, StaySpeed, ImgAlpha, ImgWidth, ImgHeight) { ImgMC.StaySpeed = StaySpeed; ImgMC.AlphaOut = true; ImgMC.PosX = PosX; ImgMC.PosY = PosY; ImgMC.ImgAlpha = ImgAlpha; ImgMC.StayTime = StayTime; ImgMC.onEnterFrame = function () { if (this.StayTime == 0) { this._rotation = 0; this._xscale = 100; this._yscale = 100; this._x = this.PosX; this._y = this.PosY; this._alpha = this.ImgAlpha; delete this.onEnterFrame; } else if (this.StayTime > 0) { this.StayTime--; } if (this.AlphaOut) { this._alpha = this._alpha - this.StaySpeed; if (this._alpha < 80) { this.AlphaOut = false; } } else { this._alpha = this._alpha + this.StaySpeed; if (this._alpha >= 100) { this.AlphaOut = true; } } }; } ParamsDefine = "<ParamsDefine><Img.BlindWidth caption=\"Blind width\" type=\"integer\" min=\"1\" max=\"50\" default=\"12\"/><Img.InEffect caption=\"In effect\" type=\"selection\" selection=\"Blinds horizontal;Blinds vertical;Fade in\" default=\"Blinds horizontal\"/><Img.InSpeed caption=\"In speed\" type=\"integer\" min=\"1\" max=\"50\" default=\"4\"/><Img.StayEffect caption=\"Stay effect\" type=\"selection\" selection=\"Stay;Rotating;Zoom in Zoom out;Fade in Fade out;Flicker\" default=\"Stay\"/><Img.StaySpeed caption=\"Stay speed\" type=\"integer\" min=\"1\" max=\"50\" default=\"4\"/><Img.StayTime caption=\"Stay effect time\" type=\"selection\" selection=\"To end;Custom\" default=\"To end\"/><Img.StayTimeCustom caption=\"Stay effect custom seconds\" type=\"integer\" min=\"1\" max=\"50\" default=\"3\"/><Img.OutEffect caption=\"Out effect\" type=\"selection\" selection=\"Blinds horizontal;Blinds vertical;Fade out\" default=\"Blinds horizontal\"/><Img.OutSpeed caption=\"Out speed\" type=\"integer\" min=\"1\" max=\"50\" default=\"4\"/><Img.EffectName caption=\"Effect Name\" type=\"const\" default=\"Img.Blinds\"/></ParamsDefine>"; var param = new Array(); param["Movie.Width"] = _parent._width; param["Movie.Height"] = _parent._height; if (ParamsValue != null) { paramXML = new XML(ParamsValue); paramXML.ignoreWhite = false; var i = 0; while (i < paramXML.childNodes[0].childNodes.length) { node = paramXML.childNodes[0].childNodes[i]; param[node.nodeName] = node.childNodes[0].nodeValue; i++; } param["Movie.Width"] = parseInt(param["Movie.Width"]); param["Movie.Height"] = parseInt(param["Movie.Height"]); param["Movie.FPS"] = parseInt(param["Movie.FPS"]); param["Img.InSpeed"] = parseInt(param["Img.InSpeed"]); param["Img.OutSpeed"] = parseInt(param["Img.OutSpeed"]); param["Img.StaySpeed"] = parseInt(param["Img.StaySpeed"]); param["Img.StayTimeCustom"] = parseInt(param["Img.StayTimeCustom"]); param["Img.BlindWidth"] = parseInt(param["Img.BlindWidth"]); param["Img.PosX"] = parseInt(param["Img.PosX"]); param["Img.PosY"] = parseInt(param["Img.PosY"]); param["Img.Rotation"] = parseInt(param["Img.Rotation"]); param["Img.Alpha"] = parseInt(param["Img.Alpha"]); param["Img.StaticText"] = param["Img.StaticText"].toLowerCase() == "true"; param["Img.DelayFrame"] = parseInt(param["Img.DelayFrame"]); param["Img.DurationFrame"] = parseInt(param["Img.DurationFrame"]); param["Img.KeepText"] = param["Img.KeepText"].toLowerCase() == "true"; param["Img.URL"] = param["Img.URL"].toLowerCase() == "true"; delete paramXML; } else { param["Movie.Width"] = 400; param["Movie.Height"] = 300; param["Img.InSpeed"] = 8; param["Img.OutSpeed"] = 8; param["Img.StaySpeed"] = 4; param["Img.StayTimeCustom"] = 3; param["Img.PosX"] = 100; param["Img.PosY"] = 100; param["Img.Rotation"] = 0; param["Img.Alpha"] = 100; param["Img.StaticText"] = false; param["Img.DelayFrame"] = 0; param["Img.DurationFrame"] = 10; param["Img.KeepText"] = false; param["Img.URL"] = false; param["Img.URLAddress"] = "about:blank"; param["Img.URLTarget"] = "_blank"; } if (param["Img.StaticText"]) { gotoAndPlay(_currentframe + 3); }
Symbol 54 MovieClip Frame 3
param["Img.DelayFrame"] = param["Img.DelayFrame"] - 1; if (param["Img.DelayFrame"] > 0) { gotoAndPlay(_currentframe - 1); }
Symbol 54 MovieClip Frame 4
stop(); var ImageMovie_MC = this.attachMovie(param["Img.ImageMovieExport"], "ImageMovie_MC", 2); if (param["Img.StaticText"]) { InEffect_FadeIn(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], 20, param["Img.Alpha"]); } else { switch (param["Img.InEffect"]) { case "Blinds horizontal" : InEffect_BlindsHorizontal(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.InSpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height, param["Img.BlindWidth"]); break; case "Blinds vertical" : InEffect_BlindsVertical(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.InSpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height, param["Img.BlindWidth"]); break; case "Fade in" : InEffect_FadeIn(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.InSpeed"], param["Img.Alpha"]); break; default : InEffect_FadeIn(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.InSpeed"], param["Img.Alpha"]); } }
Symbol 54 MovieClip Frame 5
var iStayEffectTime = -1; if (param["Img.StayTime"] != "To end") { iStayEffectTime = param["Movie.FPS"] * param["Img.StayTimeCustom"]; } switch (param["Img.StayEffect"]) { case "Stay" : StayEffect_Stay(ImageMovie_MC, iStayEffectTime, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.StaySpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height); break; case "Flicker" : StayEffect_Flicker(ImageMovie_MC, iStayEffectTime, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.StaySpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height); break; case "Rotating" : StayEffect_Rotating(ImageMovie_MC, iStayEffectTime, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.StaySpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height); break; case "Zoom in Zoom out" : StayEffect_ZoomInZoomOut(ImageMovie_MC, iStayEffectTime, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.StaySpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height); break; case "Fade in Fade out" : StayEffect_FadeInFadeOut(ImageMovie_MC, iStayEffectTime, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.StaySpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height); break; default : StayEffect_Stay(ImageMovie_MC, iStayEffectTime, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.StaySpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height); }
Symbol 54 MovieClip Frame 7
if (param["Img.DurationFrame"] < 0) { gotoAndPlay(_currentframe - 1); } else { param["Img.DurationFrame"] = param["Img.DurationFrame"] - 1; if (param["Img.DurationFrame"] > 0) { gotoAndPlay(_currentframe - 1); } else { gotoAndPlay(_currentframe + 1); } }
Symbol 54 MovieClip Frame 8
if (param["Img.KeepText"] || (param["Img.StaticText"])) { gotoAndPlay(_currentframe + 2); }
Symbol 54 MovieClip Frame 9
stop(); LeaveStayEffect(ImageMovie_MC, param["Img.PosX"], param["Img.PosY"], param["Img.Alpha"]); switch (param["Img.OutEffect"]) { case "Blinds horizontal" : OutEffect_BlindsHorizontal(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.OutSpeed"], ImageMovie_MC._width, ImageMovie_MC._height, param["Img.BlindWidth"]); break; case "Blinds vertical" : OutEffect_BlindsVertical(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.OutSpeed"], ImageMovie_MC._width, ImageMovie_MC._height, param["Img.BlindWidth"]); break; case "Fade out" : OutEffect_FadeOut(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.OutSpeed"]); break; default : OutEffect_FadeOut(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.OutSpeed"]); }
Symbol 54 MovieClip Frame 10
stop(); if (!param["Img.StaticText"]) { _parent.g_effectcount = _parent.g_effectcount - 1; if (_parent.g_effectcount <= 0) { _parent.play(); } }
Symbol 59 MovieClip Frame 1
ParamsValue = "<ParamsValue><Movie.Width>1024</Movie.Width><Movie.Height>881</Movie.Height><Movie.FPS>24</Movie.FPS><Img.ImageExport>Img.Blinds_Image_10</Img.ImageExport><Img.ImageMovieExport>Img.Blinds_ImageMovie_10</Img.ImageMovieExport><Img.BlindWidth>12</Img.BlindWidth><Img.InEffect>Blinds horizontal</Img.InEffect><Img.InSpeed>4</Img.InSpeed><Img.StayEffect>Stay</Img.StayEffect><Img.StaySpeed>4</Img.StaySpeed><Img.StayTime>To end</Img.StayTime><Img.StayTimeCustom>3</Img.StayTimeCustom><Img.OutEffect>Blinds horizontal</Img.OutEffect><Img.OutSpeed>4</Img.OutSpeed><Img.EffectName>Img.Blinds</Img.EffectName><Img.PosX>236</Img.PosX><Img.PosY>162</Img.PosY><Img.Rotation>0</Img.Rotation><Img.Alpha>100</Img.Alpha><Img.StaticText>false</Img.StaticText><Img.DelayFrame>0</Img.DelayFrame><Img.DurationFrame>144</Img.DurationFrame><Img.KeepText>false</Img.KeepText><Img.URL>false</Img.URL><Img.URLAddress>about:blank</Img.URLAddress><Img.URLTarget></Img.URLTarget></ParamsValue>"; function InEffect_FadeIn(ImgMC, MovieWidth, MovieHeight, PosX, PosY, InSpeed, ImgAlpha) { ImgMC._x = PosX; ImgMC._y = PosY; ImgMC._alpha = 0; ImgMC.InSpeed = InSpeed; ImgMC.ImgAlpha = ImgAlpha; ImgMC.onEnterFrame = function () { if ((this._alpha + this.InSpeed) > this.ImgAlpha) { this._alpha = this.ImgAlpha; delete this.onEnterFrame; this._parent.play(); } this._alpha = this._alpha + this.InSpeed; }; } function InEffect_BlindsHorizontal(ImgMC, MovieWidth, MovieHeight, PosX, PosY, InSpeed, ImgAlpha, ImgWidth, ImgHeight, BlindWidth) { var iBlindsCount = Math.ceil(ImgHeight / BlindWidth); var ImgMask = this.createEmptyMovieClip("ImgMask", 3); var ImgMask_Slide0 = ImgMask.createEmptyMovieClip("ImgMask_Slide0", 1); with (ImgMask_Slide0) { beginFill(16777215); moveTo(0, 0); lineTo(ImgWidth, 0); lineTo(ImgWidth, BlindWidth); lineTo(0, BlindWidth); lineTo(0, 0); endFill(); } var i = 1; while (i < iBlindsCount) { ImgMask_Slide0.duplicateMovieClip("ImgMask_Slide" + i, i + 1); i++; } var i = 0; while (i < iBlindsCount) { ImgMask["ImgMask_Slide" + i]._x = 0; ImgMask["ImgMask_Slide" + i]._y = BlindWidth * i; ImgMask["ImgMask_Slide" + i]._yscale = 0; i++; } ImgMC._x = PosX; ImgMC._y = PosY; ImgMask._x = PosX; ImgMask._y = PosY; ImgMC.setMask(ImgMask); ImgMask.ScaleCount = 0; ImgMask.InSpeed = InSpeed; ImgMask.iBlindsCount = iBlindsCount; ImgMask.onEnterFrame = function () { var _local2 = 0; while (_local2 < iBlindsCount) { this["ImgMask_Slide" + _local2]._yscale = this["ImgMask_Slide" + _local2]._yscale + this.InSpeed; _local2++; } this.ScaleCount = this.ScaleCount + this.InSpeed; if (this.ScaleCount >= 110) { delete this.onEnterFrame; this._parent.play(); this.removeMovieClip(); } }; } function InEffect_BlindsVertical(ImgMC, MovieWidth, MovieHeight, PosX, PosY, InSpeed, ImgAlpha, ImgWidth, ImgHeight, BlindWidth) { var iBlindsCount = Math.ceil(ImgWidth / BlindWidth); var ImgMask = this.createEmptyMovieClip("ImgMask", 3); var ImgMask_Slide0 = ImgMask.createEmptyMovieClip("ImgMask_Slide0", 1); with (ImgMask_Slide0) { beginFill(16777215); moveTo(0, 0); lineTo(BlindWidth, 0); lineTo(BlindWidth, ImgHeight); lineTo(0, ImgHeight); lineTo(0, 0); endFill(); } var i = 1; while (i < iBlindsCount) { ImgMask_Slide0.duplicateMovieClip("ImgMask_Slide" + i, i + 1); i++; } var i = 0; while (i < iBlindsCount) { ImgMask["ImgMask_Slide" + i]._x = BlindWidth * i; ImgMask["ImgMask_Slide" + i]._y = 0; ImgMask["ImgMask_Slide" + i]._xscale = 0; i++; } ImgMC._x = PosX; ImgMC._y = PosY; ImgMask._x = PosX; ImgMask._y = PosY; ImgMC.setMask(ImgMask); ImgMask.ScaleCount = 0; ImgMask.InSpeed = InSpeed; ImgMask.iBlindsCount = iBlindsCount; ImgMask.onEnterFrame = function () { var _local2 = 0; while (_local2 < iBlindsCount) { this["ImgMask_Slide" + _local2]._xscale = this["ImgMask_Slide" + _local2]._xscale + this.InSpeed; _local2++; } this.ScaleCount = this.ScaleCount + this.InSpeed; if (this.ScaleCount >= 110) { delete this.onEnterFrame; this._parent.play(); this.removeMovieClip(); } }; } function OutEffect_FadeOut(ImgMC, MovieWidth, MovieHeight, OutSpeed) { ImgMC.OutSpeed = OutSpeed; ImgMC.onEnterFrame = function () { this._alpha = this._alpha - this.OutSpeed; if (this._alpha <= 0) { this._parent.play(); delete this.onEnterFrame; this.removeMovieClip(); } }; } function OutEffect_BlindsHorizontal(ImgMC, MovieWidth, MovieHeight, PosX, PosY, OutSpeed, ImgWidth, ImgHeight, BlindWidth) { var iBlindsCount = Math.ceil(ImgHeight / BlindWidth); var ImgMask = this.createEmptyMovieClip("ImgMask", 3); var ImgMask_Slide0 = ImgMask.createEmptyMovieClip("ImgMask_Slide0", 1); with (ImgMask_Slide0) { beginFill(16777215); moveTo(0, 0); lineTo(ImgWidth, 0); lineTo(ImgWidth, BlindWidth); lineTo(0, BlindWidth); lineTo(0, 0); endFill(); } var i = 1; while (i < iBlindsCount) { ImgMask_Slide0.duplicateMovieClip("ImgMask_Slide" + i, i + 1); i++; } var i = 0; while (i < iBlindsCount) { ImgMask["ImgMask_Slide" + i]._x = 0; ImgMask["ImgMask_Slide" + i]._y = BlindWidth * i; ImgMask["ImgMask_Slide" + i]._yscale = 100; i++; } ImgMC._x = PosX; ImgMC._y = PosY; ImgMask._x = PosX; ImgMask._y = PosY; ImgMC.setMask(ImgMask); ImgMask.ScaleCount = 100; ImgMask.OutSpeed = OutSpeed; ImgMask.iBlindsCount = iBlindsCount; ImgMask.onEnterFrame = function () { var _local2 = 0; while (_local2 < iBlindsCount) { this["ImgMask_Slide" + _local2]._yscale = this["ImgMask_Slide" + _local2]._yscale - this.OutSpeed; _local2++; } this.ScaleCount = this.ScaleCount - this.OutSpeed; if (this.ScaleCount <= 0) { delete this.onEnterFrame; this._parent.play(); ImgMask.removeMovieClip(); ImgMC.removeMovieClip(); } }; } function OutEffect_BlindsVertical(ImgMC, MovieWidth, MovieHeight, PosX, PosY, OutSpeed, ImgWidth, ImgHeight, BlindWidth) { var iBlindsCount = Math.ceil(ImgWidth / BlindWidth); var ImgMask = this.createEmptyMovieClip("ImgMask", 3); var ImgMask_Slide0 = ImgMask.createEmptyMovieClip("ImgMask_Slide0", 1); with (ImgMask_Slide0) { beginFill(16777215); moveTo(0, 0); lineTo(BlindWidth, 0); lineTo(BlindWidth, ImgHeight); lineTo(0, ImgHeight); lineTo(0, 0); endFill(); } var i = 1; while (i < iBlindsCount) { ImgMask_Slide0.duplicateMovieClip("ImgMask_Slide" + i, i + 1); i++; } var i = 0; while (i < iBlindsCount) { ImgMask["ImgMask_Slide" + i]._x = BlindWidth * i; ImgMask["ImgMask_Slide" + i]._y = 0; ImgMask["ImgMask_Slide" + i]._xscale = 100; i++; } ImgMC._x = PosX; ImgMC._y = PosY; ImgMask._x = PosX; ImgMask._y = PosY; ImgMC.setMask(ImgMask); ImgMask.ScaleCount = 100; ImgMask.OutSpeed = OutSpeed; ImgMask.iBlindsCount = iBlindsCount; ImgMask.onEnterFrame = function () { var _local2 = 0; while (_local2 < iBlindsCount) { this["ImgMask_Slide" + _local2]._xscale = this["ImgMask_Slide" + _local2]._xscale - this.OutSpeed; _local2++; } this.ScaleCount = this.ScaleCount - this.OutSpeed; if (this.ScaleCount <= 0) { delete this.onEnterFrame; this._parent.play(); ImgMask.removeMovieClip(); ImgMC.removeMovieClip(); } }; } function LeaveStayEffect(ImgMC, PosX, PosY, ImgAlpha) { ImgMC._rotation = 0; ImgMC._xscale = 100; ImgMC._yscale = 100; ImgMC._x = PosX; ImgMC._y = PosY; ImgMC._alpha = ImgAlpha; delete ImgMC.onEnterFrame; } function StayEffect_Stay(ImgMC, StayTime, MovieWidth, MovieHeight, PosX, PosY, StaySpeed, ImgAlpha, ImgWidth, ImgHeight) { ImgMC.onEnterFrame = function () { }; } function StayEffect_Flicker(ImgMC, StayTime, MovieWidth, MovieHeight, PosX, PosY, StaySpeed, ImgAlpha, ImgWidth, ImgHeight) { ImgMC.PosX = PosX; ImgMC.PosY = PosY; ImgMC.StaySpeed = StaySpeed; ImgMC.ImgAlpha = ImgAlpha; ImgMC.FlickerVisible = true; ImgMC.StayTime = StayTime; ImgMC.Switch = StaySpeed; ImgMC.onEnterFrame = function () { if (this.StayTime == 0) { this._rotation = 0; this._xscale = 100; this._yscale = 100; this._x = this.PosX; this._y = this.PosY; this._alpha = this.ImgAlpha; delete this.onEnterFrame; } else if (this.StayTime > 0) { this.StayTime--; } if ((--this.Switch) <= 0) { if (ImgMC.FlickerVisible) { ImgMC._alpha = 0; ImgMC.FlickerVisible = false; } else { ImgMC._alpha = this.ImgAlpha; ImgMC.FlickerVisible = true; } this.Switch = this.StaySpeed; } }; } function StayEffect_Rotating(ImgMC, StayTime, MovieWidth, MovieHeight, PosX, PosY, StaySpeed, ImgAlpha, ImgWidth, ImgHeight) { ImgMC.StaySpeed = StaySpeed; ImgMC.PosX = PosX; ImgMC.PosY = PosY; ImgMC.ImgAlpha = ImgAlpha; ImgMC.ImgWidth = ImgWidth; ImgMC.ImgHeight = ImgHeight; ImgMC.StayTime = StayTime; ImgMC._rotation = 0; ImgMC.onEnterFrame = function () { if (this.StayTime == 0) { this._rotation = 0; this._xscale = 100; this._yscale = 100; this._x = this.PosX; this._y = this.PosY; this._alpha = this.ImgAlpha; delete this.onEnterFrame; } else if (this.StayTime > 0) { this._rotation = this._rotation + this.StaySpeed; this._x = ((this.PosX + (this.ImgWidth / 2)) - ((this.ImgWidth / 2) * Math.cos((this._rotation / 180) * Math.PI))) + ((this.ImgHeight / 2) * Math.sin((this._rotation / 180) * Math.PI)); this._y = ((this.PosY + (this.ImgHeight / 2)) - ((this.ImgWidth / 2) * Math.sin((this._rotation / 180) * Math.PI))) - ((this.ImgHeight / 2) * Math.cos((this._rotation / 180) * Math.PI)); if (this.StayTime > 0) { this.StayTime--; } } }; } function StayEffect_ZoomInZoomOut(ImgMC, StayTime, MovieWidth, MovieHeight, PosX, PosY, StaySpeed, ImgAlpha, ImgWidth, ImgHeight) { ImgMC.StaySpeed = StaySpeed; ImgMC.ZoomOut = true; ImgMC.PosX = PosX; ImgMC.PosY = PosY; ImgMC.ImgWidth = ImgWidth; ImgMC.ImgHeight = ImgHeight; ImgMC.ImgAlpha = ImgAlpha; ImgMC.StayTime = StayTime; ImgMC.onEnterFrame = function () { if (this.StayTime == 0) { this._rotation = 0; this._xscale = 100; this._yscale = 100; this._x = this.PosX; this._y = this.PosY; this._alpha = this.ImgAlpha; delete this.onEnterFrame; } else if (this.StayTime > 0) { this.StayTime--; } if (this.ZoomOut) { this._xscale = this._xscale - this.StaySpeed; this._yscale = this._yscale - this.StaySpeed; if (this._xscale < 90) { this.ZoomOut = false; } } else { this._xscale = this._xscale + this.StaySpeed; this._yscale = this._yscale + this.StaySpeed; if (this._xscale > 110) { this.ZoomOut = true; } } this._x = (this.PosX + (this.ImgWidth / 2)) - (this._width / 2); this._y = (this.PosY + (this.ImgHeight / 2)) - (this._height / 2); }; } function StayEffect_FadeInFadeOut(ImgMC, StayTime, MovieWidth, MovieHeight, PosX, PosY, StaySpeed, ImgAlpha, ImgWidth, ImgHeight) { ImgMC.StaySpeed = StaySpeed; ImgMC.AlphaOut = true; ImgMC.PosX = PosX; ImgMC.PosY = PosY; ImgMC.ImgAlpha = ImgAlpha; ImgMC.StayTime = StayTime; ImgMC.onEnterFrame = function () { if (this.StayTime == 0) { this._rotation = 0; this._xscale = 100; this._yscale = 100; this._x = this.PosX; this._y = this.PosY; this._alpha = this.ImgAlpha; delete this.onEnterFrame; } else if (this.StayTime > 0) { this.StayTime--; } if (this.AlphaOut) { this._alpha = this._alpha - this.StaySpeed; if (this._alpha < 80) { this.AlphaOut = false; } } else { this._alpha = this._alpha + this.StaySpeed; if (this._alpha >= 100) { this.AlphaOut = true; } } }; } ParamsDefine = "<ParamsDefine><Img.BlindWidth caption=\"Blind width\" type=\"integer\" min=\"1\" max=\"50\" default=\"12\"/><Img.InEffect caption=\"In effect\" type=\"selection\" selection=\"Blinds horizontal;Blinds vertical;Fade in\" default=\"Blinds horizontal\"/><Img.InSpeed caption=\"In speed\" type=\"integer\" min=\"1\" max=\"50\" default=\"4\"/><Img.StayEffect caption=\"Stay effect\" type=\"selection\" selection=\"Stay;Rotating;Zoom in Zoom out;Fade in Fade out;Flicker\" default=\"Stay\"/><Img.StaySpeed caption=\"Stay speed\" type=\"integer\" min=\"1\" max=\"50\" default=\"4\"/><Img.StayTime caption=\"Stay effect time\" type=\"selection\" selection=\"To end;Custom\" default=\"To end\"/><Img.StayTimeCustom caption=\"Stay effect custom seconds\" type=\"integer\" min=\"1\" max=\"50\" default=\"3\"/><Img.OutEffect caption=\"Out effect\" type=\"selection\" selection=\"Blinds horizontal;Blinds vertical;Fade out\" default=\"Blinds horizontal\"/><Img.OutSpeed caption=\"Out speed\" type=\"integer\" min=\"1\" max=\"50\" default=\"4\"/><Img.EffectName caption=\"Effect Name\" type=\"const\" default=\"Img.Blinds\"/></ParamsDefine>"; var param = new Array(); param["Movie.Width"] = _parent._width; param["Movie.Height"] = _parent._height; if (ParamsValue != null) { paramXML = new XML(ParamsValue); paramXML.ignoreWhite = false; var i = 0; while (i < paramXML.childNodes[0].childNodes.length) { node = paramXML.childNodes[0].childNodes[i]; param[node.nodeName] = node.childNodes[0].nodeValue; i++; } param["Movie.Width"] = parseInt(param["Movie.Width"]); param["Movie.Height"] = parseInt(param["Movie.Height"]); param["Movie.FPS"] = parseInt(param["Movie.FPS"]); param["Img.InSpeed"] = parseInt(param["Img.InSpeed"]); param["Img.OutSpeed"] = parseInt(param["Img.OutSpeed"]); param["Img.StaySpeed"] = parseInt(param["Img.StaySpeed"]); param["Img.StayTimeCustom"] = parseInt(param["Img.StayTimeCustom"]); param["Img.BlindWidth"] = parseInt(param["Img.BlindWidth"]); param["Img.PosX"] = parseInt(param["Img.PosX"]); param["Img.PosY"] = parseInt(param["Img.PosY"]); param["Img.Rotation"] = parseInt(param["Img.Rotation"]); param["Img.Alpha"] = parseInt(param["Img.Alpha"]); param["Img.StaticText"] = param["Img.StaticText"].toLowerCase() == "true"; param["Img.DelayFrame"] = parseInt(param["Img.DelayFrame"]); param["Img.DurationFrame"] = parseInt(param["Img.DurationFrame"]); param["Img.KeepText"] = param["Img.KeepText"].toLowerCase() == "true"; param["Img.URL"] = param["Img.URL"].toLowerCase() == "true"; delete paramXML; } else { param["Movie.Width"] = 400; param["Movie.Height"] = 300; param["Img.InSpeed"] = 8; param["Img.OutSpeed"] = 8; param["Img.StaySpeed"] = 4; param["Img.StayTimeCustom"] = 3; param["Img.PosX"] = 100; param["Img.PosY"] = 100; param["Img.Rotation"] = 0; param["Img.Alpha"] = 100; param["Img.StaticText"] = false; param["Img.DelayFrame"] = 0; param["Img.DurationFrame"] = 10; param["Img.KeepText"] = false; param["Img.URL"] = false; param["Img.URLAddress"] = "about:blank"; param["Img.URLTarget"] = "_blank"; } if (param["Img.StaticText"]) { gotoAndPlay(_currentframe + 3); }
Symbol 59 MovieClip Frame 3
param["Img.DelayFrame"] = param["Img.DelayFrame"] - 1; if (param["Img.DelayFrame"] > 0) { gotoAndPlay(_currentframe - 1); }
Symbol 59 MovieClip Frame 4
stop(); var ImageMovie_MC = this.attachMovie(param["Img.ImageMovieExport"], "ImageMovie_MC", 2); if (param["Img.StaticText"]) { InEffect_FadeIn(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], 20, param["Img.Alpha"]); } else { switch (param["Img.InEffect"]) { case "Blinds horizontal" : InEffect_BlindsHorizontal(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.InSpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height, param["Img.BlindWidth"]); break; case "Blinds vertical" : InEffect_BlindsVertical(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.InSpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height, param["Img.BlindWidth"]); break; case "Fade in" : InEffect_FadeIn(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.InSpeed"], param["Img.Alpha"]); break; default : InEffect_FadeIn(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.InSpeed"], param["Img.Alpha"]); } }
Symbol 59 MovieClip Frame 5
var iStayEffectTime = -1; if (param["Img.StayTime"] != "To end") { iStayEffectTime = param["Movie.FPS"] * param["Img.StayTimeCustom"]; } switch (param["Img.StayEffect"]) { case "Stay" : StayEffect_Stay(ImageMovie_MC, iStayEffectTime, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.StaySpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height); break; case "Flicker" : StayEffect_Flicker(ImageMovie_MC, iStayEffectTime, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.StaySpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height); break; case "Rotating" : StayEffect_Rotating(ImageMovie_MC, iStayEffectTime, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.StaySpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height); break; case "Zoom in Zoom out" : StayEffect_ZoomInZoomOut(ImageMovie_MC, iStayEffectTime, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.StaySpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height); break; case "Fade in Fade out" : StayEffect_FadeInFadeOut(ImageMovie_MC, iStayEffectTime, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.StaySpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height); break; default : StayEffect_Stay(ImageMovie_MC, iStayEffectTime, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.StaySpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height); }
Symbol 59 MovieClip Frame 7
if (param["Img.DurationFrame"] < 0) { gotoAndPlay(_currentframe - 1); } else { param["Img.DurationFrame"] = param["Img.DurationFrame"] - 1; if (param["Img.DurationFrame"] > 0) { gotoAndPlay(_currentframe - 1); } else { gotoAndPlay(_currentframe + 1); } }
Symbol 59 MovieClip Frame 8
if (param["Img.KeepText"] || (param["Img.StaticText"])) { gotoAndPlay(_currentframe + 2); }
Symbol 59 MovieClip Frame 9
stop(); LeaveStayEffect(ImageMovie_MC, param["Img.PosX"], param["Img.PosY"], param["Img.Alpha"]); switch (param["Img.OutEffect"]) { case "Blinds horizontal" : OutEffect_BlindsHorizontal(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.OutSpeed"], ImageMovie_MC._width, ImageMovie_MC._height, param["Img.BlindWidth"]); break; case "Blinds vertical" : OutEffect_BlindsVertical(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.OutSpeed"], ImageMovie_MC._width, ImageMovie_MC._height, param["Img.BlindWidth"]); break; case "Fade out" : OutEffect_FadeOut(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.OutSpeed"]); break; default : OutEffect_FadeOut(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.OutSpeed"]); }
Symbol 59 MovieClip Frame 10
stop(); if (!param["Img.StaticText"]) { _parent.g_effectcount = _parent.g_effectcount - 1; if (_parent.g_effectcount <= 0) { _parent.play(); } }
Symbol 64 MovieClip Frame 1
ParamsValue = "<ParamsValue><Movie.Width>1024</Movie.Width><Movie.Height>881</Movie.Height><Movie.FPS>24</Movie.FPS><Img.ImageExport>Img.Blinds_Image_11</Img.ImageExport><Img.ImageMovieExport>Img.Blinds_ImageMovie_11</Img.ImageMovieExport><Img.BlindWidth>12</Img.BlindWidth><Img.InEffect>Blinds horizontal</Img.InEffect><Img.InSpeed>4</Img.InSpeed><Img.StayEffect>Stay</Img.StayEffect><Img.StaySpeed>4</Img.StaySpeed><Img.StayTime>To end</Img.StayTime><Img.StayTimeCustom>3</Img.StayTimeCustom><Img.OutEffect>Blinds horizontal</Img.OutEffect><Img.OutSpeed>4</Img.OutSpeed><Img.EffectName>Img.Blinds</Img.EffectName><Img.PosX>252</Img.PosX><Img.PosY>93</Img.PosY><Img.Rotation>0</Img.Rotation><Img.Alpha>100</Img.Alpha><Img.StaticText>false</Img.StaticText><Img.DelayFrame>0</Img.DelayFrame><Img.DurationFrame>144</Img.DurationFrame><Img.KeepText>false</Img.KeepText><Img.URL>false</Img.URL><Img.URLAddress>about:blank</Img.URLAddress><Img.URLTarget></Img.URLTarget></ParamsValue>"; function InEffect_FadeIn(ImgMC, MovieWidth, MovieHeight, PosX, PosY, InSpeed, ImgAlpha) { ImgMC._x = PosX; ImgMC._y = PosY; ImgMC._alpha = 0; ImgMC.InSpeed = InSpeed; ImgMC.ImgAlpha = ImgAlpha; ImgMC.onEnterFrame = function () { if ((this._alpha + this.InSpeed) > this.ImgAlpha) { this._alpha = this.ImgAlpha; delete this.onEnterFrame; this._parent.play(); } this._alpha = this._alpha + this.InSpeed; }; } function InEffect_BlindsHorizontal(ImgMC, MovieWidth, MovieHeight, PosX, PosY, InSpeed, ImgAlpha, ImgWidth, ImgHeight, BlindWidth) { var iBlindsCount = Math.ceil(ImgHeight / BlindWidth); var ImgMask = this.createEmptyMovieClip("ImgMask", 3); var ImgMask_Slide0 = ImgMask.createEmptyMovieClip("ImgMask_Slide0", 1); with (ImgMask_Slide0) { beginFill(16777215); moveTo(0, 0); lineTo(ImgWidth, 0); lineTo(ImgWidth, BlindWidth); lineTo(0, BlindWidth); lineTo(0, 0); endFill(); } var i = 1; while (i < iBlindsCount) { ImgMask_Slide0.duplicateMovieClip("ImgMask_Slide" + i, i + 1); i++; } var i = 0; while (i < iBlindsCount) { ImgMask["ImgMask_Slide" + i]._x = 0; ImgMask["ImgMask_Slide" + i]._y = BlindWidth * i; ImgMask["ImgMask_Slide" + i]._yscale = 0; i++; } ImgMC._x = PosX; ImgMC._y = PosY; ImgMask._x = PosX; ImgMask._y = PosY; ImgMC.setMask(ImgMask); ImgMask.ScaleCount = 0; ImgMask.InSpeed = InSpeed; ImgMask.iBlindsCount = iBlindsCount; ImgMask.onEnterFrame = function () { var _local2 = 0; while (_local2 < iBlindsCount) { this["ImgMask_Slide" + _local2]._yscale = this["ImgMask_Slide" + _local2]._yscale + this.InSpeed; _local2++; } this.ScaleCount = this.ScaleCount + this.InSpeed; if (this.ScaleCount >= 110) { delete this.onEnterFrame; this._parent.play(); this.removeMovieClip(); } }; } function InEffect_BlindsVertical(ImgMC, MovieWidth, MovieHeight, PosX, PosY, InSpeed, ImgAlpha, ImgWidth, ImgHeight, BlindWidth) { var iBlindsCount = Math.ceil(ImgWidth / BlindWidth); var ImgMask = this.createEmptyMovieClip("ImgMask", 3); var ImgMask_Slide0 = ImgMask.createEmptyMovieClip("ImgMask_Slide0", 1); with (ImgMask_Slide0) { beginFill(16777215); moveTo(0, 0); lineTo(BlindWidth, 0); lineTo(BlindWidth, ImgHeight); lineTo(0, ImgHeight); lineTo(0, 0); endFill(); } var i = 1; while (i < iBlindsCount) { ImgMask_Slide0.duplicateMovieClip("ImgMask_Slide" + i, i + 1); i++; } var i = 0; while (i < iBlindsCount) { ImgMask["ImgMask_Slide" + i]._x = BlindWidth * i; ImgMask["ImgMask_Slide" + i]._y = 0; ImgMask["ImgMask_Slide" + i]._xscale = 0; i++; } ImgMC._x = PosX; ImgMC._y = PosY; ImgMask._x = PosX; ImgMask._y = PosY; ImgMC.setMask(ImgMask); ImgMask.ScaleCount = 0; ImgMask.InSpeed = InSpeed; ImgMask.iBlindsCount = iBlindsCount; ImgMask.onEnterFrame = function () { var _local2 = 0; while (_local2 < iBlindsCount) { this["ImgMask_Slide" + _local2]._xscale = this["ImgMask_Slide" + _local2]._xscale + this.InSpeed; _local2++; } this.ScaleCount = this.ScaleCount + this.InSpeed; if (this.ScaleCount >= 110) { delete this.onEnterFrame; this._parent.play(); this.removeMovieClip(); } }; } function OutEffect_FadeOut(ImgMC, MovieWidth, MovieHeight, OutSpeed) { ImgMC.OutSpeed = OutSpeed; ImgMC.onEnterFrame = function () { this._alpha = this._alpha - this.OutSpeed; if (this._alpha <= 0) { this._parent.play(); delete this.onEnterFrame; this.removeMovieClip(); } }; } function OutEffect_BlindsHorizontal(ImgMC, MovieWidth, MovieHeight, PosX, PosY, OutSpeed, ImgWidth, ImgHeight, BlindWidth) { var iBlindsCount = Math.ceil(ImgHeight / BlindWidth); var ImgMask = this.createEmptyMovieClip("ImgMask", 3); var ImgMask_Slide0 = ImgMask.createEmptyMovieClip("ImgMask_Slide0", 1); with (ImgMask_Slide0) { beginFill(16777215); moveTo(0, 0); lineTo(ImgWidth, 0); lineTo(ImgWidth, BlindWidth); lineTo(0, BlindWidth); lineTo(0, 0); endFill(); } var i = 1; while (i < iBlindsCount) { ImgMask_Slide0.duplicateMovieClip("ImgMask_Slide" + i, i + 1); i++; } var i = 0; while (i < iBlindsCount) { ImgMask["ImgMask_Slide" + i]._x = 0; ImgMask["ImgMask_Slide" + i]._y = BlindWidth * i; ImgMask["ImgMask_Slide" + i]._yscale = 100; i++; } ImgMC._x = PosX; ImgMC._y = PosY; ImgMask._x = PosX; ImgMask._y = PosY; ImgMC.setMask(ImgMask); ImgMask.ScaleCount = 100; ImgMask.OutSpeed = OutSpeed; ImgMask.iBlindsCount = iBlindsCount; ImgMask.onEnterFrame = function () { var _local2 = 0; while (_local2 < iBlindsCount) { this["ImgMask_Slide" + _local2]._yscale = this["ImgMask_Slide" + _local2]._yscale - this.OutSpeed; _local2++; } this.ScaleCount = this.ScaleCount - this.OutSpeed; if (this.ScaleCount <= 0) { delete this.onEnterFrame; this._parent.play(); ImgMask.removeMovieClip(); ImgMC.removeMovieClip(); } }; } function OutEffect_BlindsVertical(ImgMC, MovieWidth, MovieHeight, PosX, PosY, OutSpeed, ImgWidth, ImgHeight, BlindWidth) { var iBlindsCount = Math.ceil(ImgWidth / BlindWidth); var ImgMask = this.createEmptyMovieClip("ImgMask", 3); var ImgMask_Slide0 = ImgMask.createEmptyMovieClip("ImgMask_Slide0", 1); with (ImgMask_Slide0) { beginFill(16777215); moveTo(0, 0); lineTo(BlindWidth, 0); lineTo(BlindWidth, ImgHeight); lineTo(0, ImgHeight); lineTo(0, 0); endFill(); } var i = 1; while (i < iBlindsCount) { ImgMask_Slide0.duplicateMovieClip("ImgMask_Slide" + i, i + 1); i++; } var i = 0; while (i < iBlindsCount) { ImgMask["ImgMask_Slide" + i]._x = BlindWidth * i; ImgMask["ImgMask_Slide" + i]._y = 0; ImgMask["ImgMask_Slide" + i]._xscale = 100; i++; } ImgMC._x = PosX; ImgMC._y = PosY; ImgMask._x = PosX; ImgMask._y = PosY; ImgMC.setMask(ImgMask); ImgMask.ScaleCount = 100; ImgMask.OutSpeed = OutSpeed; ImgMask.iBlindsCount = iBlindsCount; ImgMask.onEnterFrame = function () { var _local2 = 0; while (_local2 < iBlindsCount) { this["ImgMask_Slide" + _local2]._xscale = this["ImgMask_Slide" + _local2]._xscale - this.OutSpeed; _local2++; } this.ScaleCount = this.ScaleCount - this.OutSpeed; if (this.ScaleCount <= 0) { delete this.onEnterFrame; this._parent.play(); ImgMask.removeMovieClip(); ImgMC.removeMovieClip(); } }; } function LeaveStayEffect(ImgMC, PosX, PosY, ImgAlpha) { ImgMC._rotation = 0; ImgMC._xscale = 100; ImgMC._yscale = 100; ImgMC._x = PosX; ImgMC._y = PosY; ImgMC._alpha = ImgAlpha; delete ImgMC.onEnterFrame; } function StayEffect_Stay(ImgMC, StayTime, MovieWidth, MovieHeight, PosX, PosY, StaySpeed, ImgAlpha, ImgWidth, ImgHeight) { ImgMC.onEnterFrame = function () { }; } function StayEffect_Flicker(ImgMC, StayTime, MovieWidth, MovieHeight, PosX, PosY, StaySpeed, ImgAlpha, ImgWidth, ImgHeight) { ImgMC.PosX = PosX; ImgMC.PosY = PosY; ImgMC.StaySpeed = StaySpeed; ImgMC.ImgAlpha = ImgAlpha; ImgMC.FlickerVisible = true; ImgMC.StayTime = StayTime; ImgMC.Switch = StaySpeed; ImgMC.onEnterFrame = function () { if (this.StayTime == 0) { this._rotation = 0; this._xscale = 100; this._yscale = 100; this._x = this.PosX; this._y = this.PosY; this._alpha = this.ImgAlpha; delete this.onEnterFrame; } else if (this.StayTime > 0) { this.StayTime--; } if ((--this.Switch) <= 0) { if (ImgMC.FlickerVisible) { ImgMC._alpha = 0; ImgMC.FlickerVisible = false; } else { ImgMC._alpha = this.ImgAlpha; ImgMC.FlickerVisible = true; } this.Switch = this.StaySpeed; } }; } function StayEffect_Rotating(ImgMC, StayTime, MovieWidth, MovieHeight, PosX, PosY, StaySpeed, ImgAlpha, ImgWidth, ImgHeight) { ImgMC.StaySpeed = StaySpeed; ImgMC.PosX = PosX; ImgMC.PosY = PosY; ImgMC.ImgAlpha = ImgAlpha; ImgMC.ImgWidth = ImgWidth; ImgMC.ImgHeight = ImgHeight; ImgMC.StayTime = StayTime; ImgMC._rotation = 0; ImgMC.onEnterFrame = function () { if (this.StayTime == 0) { this._rotation = 0; this._xscale = 100; this._yscale = 100; this._x = this.PosX; this._y = this.PosY; this._alpha = this.ImgAlpha; delete this.onEnterFrame; } else if (this.StayTime > 0) { this._rotation = this._rotation + this.StaySpeed; this._x = ((this.PosX + (this.ImgWidth / 2)) - ((this.ImgWidth / 2) * Math.cos((this._rotation / 180) * Math.PI))) + ((this.ImgHeight / 2) * Math.sin((this._rotation / 180) * Math.PI)); this._y = ((this.PosY + (this.ImgHeight / 2)) - ((this.ImgWidth / 2) * Math.sin((this._rotation / 180) * Math.PI))) - ((this.ImgHeight / 2) * Math.cos((this._rotation / 180) * Math.PI)); if (this.StayTime > 0) { this.StayTime--; } } }; } function StayEffect_ZoomInZoomOut(ImgMC, StayTime, MovieWidth, MovieHeight, PosX, PosY, StaySpeed, ImgAlpha, ImgWidth, ImgHeight) { ImgMC.StaySpeed = StaySpeed; ImgMC.ZoomOut = true; ImgMC.PosX = PosX; ImgMC.PosY = PosY; ImgMC.ImgWidth = ImgWidth; ImgMC.ImgHeight = ImgHeight; ImgMC.ImgAlpha = ImgAlpha; ImgMC.StayTime = StayTime; ImgMC.onEnterFrame = function () { if (this.StayTime == 0) { this._rotation = 0; this._xscale = 100; this._yscale = 100; this._x = this.PosX; this._y = this.PosY; this._alpha = this.ImgAlpha; delete this.onEnterFrame; } else if (this.StayTime > 0) { this.StayTime--; } if (this.ZoomOut) { this._xscale = this._xscale - this.StaySpeed; this._yscale = this._yscale - this.StaySpeed; if (this._xscale < 90) { this.ZoomOut = false; } } else { this._xscale = this._xscale + this.StaySpeed; this._yscale = this._yscale + this.StaySpeed; if (this._xscale > 110) { this.ZoomOut = true; } } this._x = (this.PosX + (this.ImgWidth / 2)) - (this._width / 2); this._y = (this.PosY + (this.ImgHeight / 2)) - (this._height / 2); }; } function StayEffect_FadeInFadeOut(ImgMC, StayTime, MovieWidth, MovieHeight, PosX, PosY, StaySpeed, ImgAlpha, ImgWidth, ImgHeight) { ImgMC.StaySpeed = StaySpeed; ImgMC.AlphaOut = true; ImgMC.PosX = PosX; ImgMC.PosY = PosY; ImgMC.ImgAlpha = ImgAlpha; ImgMC.StayTime = StayTime; ImgMC.onEnterFrame = function () { if (this.StayTime == 0) { this._rotation = 0; this._xscale = 100; this._yscale = 100; this._x = this.PosX; this._y = this.PosY; this._alpha = this.ImgAlpha; delete this.onEnterFrame; } else if (this.StayTime > 0) { this.StayTime--; } if (this.AlphaOut) { this._alpha = this._alpha - this.StaySpeed; if (this._alpha < 80) { this.AlphaOut = false; } } else { this._alpha = this._alpha + this.StaySpeed; if (this._alpha >= 100) { this.AlphaOut = true; } } }; } ParamsDefine = "<ParamsDefine><Img.BlindWidth caption=\"Blind width\" type=\"integer\" min=\"1\" max=\"50\" default=\"12\"/><Img.InEffect caption=\"In effect\" type=\"selection\" selection=\"Blinds horizontal;Blinds vertical;Fade in\" default=\"Blinds horizontal\"/><Img.InSpeed caption=\"In speed\" type=\"integer\" min=\"1\" max=\"50\" default=\"4\"/><Img.StayEffect caption=\"Stay effect\" type=\"selection\" selection=\"Stay;Rotating;Zoom in Zoom out;Fade in Fade out;Flicker\" default=\"Stay\"/><Img.StaySpeed caption=\"Stay speed\" type=\"integer\" min=\"1\" max=\"50\" default=\"4\"/><Img.StayTime caption=\"Stay effect time\" type=\"selection\" selection=\"To end;Custom\" default=\"To end\"/><Img.StayTimeCustom caption=\"Stay effect custom seconds\" type=\"integer\" min=\"1\" max=\"50\" default=\"3\"/><Img.OutEffect caption=\"Out effect\" type=\"selection\" selection=\"Blinds horizontal;Blinds vertical;Fade out\" default=\"Blinds horizontal\"/><Img.OutSpeed caption=\"Out speed\" type=\"integer\" min=\"1\" max=\"50\" default=\"4\"/><Img.EffectName caption=\"Effect Name\" type=\"const\" default=\"Img.Blinds\"/></ParamsDefine>"; var param = new Array(); param["Movie.Width"] = _parent._width; param["Movie.Height"] = _parent._height; if (ParamsValue != null) { paramXML = new XML(ParamsValue); paramXML.ignoreWhite = false; var i = 0; while (i < paramXML.childNodes[0].childNodes.length) { node = paramXML.childNodes[0].childNodes[i]; param[node.nodeName] = node.childNodes[0].nodeValue; i++; } param["Movie.Width"] = parseInt(param["Movie.Width"]); param["Movie.Height"] = parseInt(param["Movie.Height"]); param["Movie.FPS"] = parseInt(param["Movie.FPS"]); param["Img.InSpeed"] = parseInt(param["Img.InSpeed"]); param["Img.OutSpeed"] = parseInt(param["Img.OutSpeed"]); param["Img.StaySpeed"] = parseInt(param["Img.StaySpeed"]); param["Img.StayTimeCustom"] = parseInt(param["Img.StayTimeCustom"]); param["Img.BlindWidth"] = parseInt(param["Img.BlindWidth"]); param["Img.PosX"] = parseInt(param["Img.PosX"]); param["Img.PosY"] = parseInt(param["Img.PosY"]); param["Img.Rotation"] = parseInt(param["Img.Rotation"]); param["Img.Alpha"] = parseInt(param["Img.Alpha"]); param["Img.StaticText"] = param["Img.StaticText"].toLowerCase() == "true"; param["Img.DelayFrame"] = parseInt(param["Img.DelayFrame"]); param["Img.DurationFrame"] = parseInt(param["Img.DurationFrame"]); param["Img.KeepText"] = param["Img.KeepText"].toLowerCase() == "true"; param["Img.URL"] = param["Img.URL"].toLowerCase() == "true"; delete paramXML; } else { param["Movie.Width"] = 400; param["Movie.Height"] = 300; param["Img.InSpeed"] = 8; param["Img.OutSpeed"] = 8; param["Img.StaySpeed"] = 4; param["Img.StayTimeCustom"] = 3; param["Img.PosX"] = 100; param["Img.PosY"] = 100; param["Img.Rotation"] = 0; param["Img.Alpha"] = 100; param["Img.StaticText"] = false; param["Img.DelayFrame"] = 0; param["Img.DurationFrame"] = 10; param["Img.KeepText"] = false; param["Img.URL"] = false; param["Img.URLAddress"] = "about:blank"; param["Img.URLTarget"] = "_blank"; } if (param["Img.StaticText"]) { gotoAndPlay(_currentframe + 3); }
Symbol 64 MovieClip Frame 3
param["Img.DelayFrame"] = param["Img.DelayFrame"] - 1; if (param["Img.DelayFrame"] > 0) { gotoAndPlay(_currentframe - 1); }
Symbol 64 MovieClip Frame 4
stop(); var ImageMovie_MC = this.attachMovie(param["Img.ImageMovieExport"], "ImageMovie_MC", 2); if (param["Img.StaticText"]) { InEffect_FadeIn(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], 20, param["Img.Alpha"]); } else { switch (param["Img.InEffect"]) { case "Blinds horizontal" : InEffect_BlindsHorizontal(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.InSpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height, param["Img.BlindWidth"]); break; case "Blinds vertical" : InEffect_BlindsVertical(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.InSpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height, param["Img.BlindWidth"]); break; case "Fade in" : InEffect_FadeIn(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.InSpeed"], param["Img.Alpha"]); break; default : InEffect_FadeIn(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.InSpeed"], param["Img.Alpha"]); } }
Symbol 64 MovieClip Frame 5
var iStayEffectTime = -1; if (param["Img.StayTime"] != "To end") { iStayEffectTime = param["Movie.FPS"] * param["Img.StayTimeCustom"]; } switch (param["Img.StayEffect"]) { case "Stay" : StayEffect_Stay(ImageMovie_MC, iStayEffectTime, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.StaySpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height); break; case "Flicker" : StayEffect_Flicker(ImageMovie_MC, iStayEffectTime, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.StaySpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height); break; case "Rotating" : StayEffect_Rotating(ImageMovie_MC, iStayEffectTime, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.StaySpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height); break; case "Zoom in Zoom out" : StayEffect_ZoomInZoomOut(ImageMovie_MC, iStayEffectTime, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.StaySpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height); break; case "Fade in Fade out" : StayEffect_FadeInFadeOut(ImageMovie_MC, iStayEffectTime, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.StaySpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height); break; default : StayEffect_Stay(ImageMovie_MC, iStayEffectTime, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.StaySpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height); }
Symbol 64 MovieClip Frame 7
if (param["Img.DurationFrame"] < 0) { gotoAndPlay(_currentframe - 1); } else { param["Img.DurationFrame"] = param["Img.DurationFrame"] - 1; if (param["Img.DurationFrame"] > 0) { gotoAndPlay(_currentframe - 1); } else { gotoAndPlay(_currentframe + 1); } }
Symbol 64 MovieClip Frame 8
if (param["Img.KeepText"] || (param["Img.StaticText"])) { gotoAndPlay(_currentframe + 2); }
Symbol 64 MovieClip Frame 9
stop(); LeaveStayEffect(ImageMovie_MC, param["Img.PosX"], param["Img.PosY"], param["Img.Alpha"]); switch (param["Img.OutEffect"]) { case "Blinds horizontal" : OutEffect_BlindsHorizontal(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.OutSpeed"], ImageMovie_MC._width, ImageMovie_MC._height, param["Img.BlindWidth"]); break; case "Blinds vertical" : OutEffect_BlindsVertical(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.OutSpeed"], ImageMovie_MC._width, ImageMovie_MC._height, param["Img.BlindWidth"]); break; case "Fade out" : OutEffect_FadeOut(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.OutSpeed"]); break; default : OutEffect_FadeOut(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.OutSpeed"]); }
Symbol 64 MovieClip Frame 10
stop(); if (!param["Img.StaticText"]) { _parent.g_effectcount = _parent.g_effectcount - 1; if (_parent.g_effectcount <= 0) { _parent.play(); } }
Symbol 69 MovieClip Frame 1
ParamsValue = "<ParamsValue><Movie.Width>1024</Movie.Width><Movie.Height>881</Movie.Height><Movie.FPS>24</Movie.FPS><Img.ImageExport>Img.Blinds_Image_12</Img.ImageExport><Img.ImageMovieExport>Img.Blinds_ImageMovie_12</Img.ImageMovieExport><Img.BlindWidth>12</Img.BlindWidth><Img.InEffect>Blinds horizontal</Img.InEffect><Img.InSpeed>4</Img.InSpeed><Img.StayEffect>Stay</Img.StayEffect><Img.StaySpeed>4</Img.StaySpeed><Img.StayTime>To end</Img.StayTime><Img.StayTimeCustom>3</Img.StayTimeCustom><Img.OutEffect>Blinds horizontal</Img.OutEffect><Img.OutSpeed>4</Img.OutSpeed><Img.EffectName>Img.Blinds</Img.EffectName><Img.PosX>137</Img.PosX><Img.PosY>85</Img.PosY><Img.Rotation>0</Img.Rotation><Img.Alpha>100</Img.Alpha><Img.StaticText>false</Img.StaticText><Img.DelayFrame>0</Img.DelayFrame><Img.DurationFrame>144</Img.DurationFrame><Img.KeepText>false</Img.KeepText><Img.URL>false</Img.URL><Img.URLAddress>about:blank</Img.URLAddress><Img.URLTarget></Img.URLTarget></ParamsValue>"; function InEffect_FadeIn(ImgMC, MovieWidth, MovieHeight, PosX, PosY, InSpeed, ImgAlpha) { ImgMC._x = PosX; ImgMC._y = PosY; ImgMC._alpha = 0; ImgMC.InSpeed = InSpeed; ImgMC.ImgAlpha = ImgAlpha; ImgMC.onEnterFrame = function () { if ((this._alpha + this.InSpeed) > this.ImgAlpha) { this._alpha = this.ImgAlpha; delete this.onEnterFrame; this._parent.play(); } this._alpha = this._alpha + this.InSpeed; }; } function InEffect_BlindsHorizontal(ImgMC, MovieWidth, MovieHeight, PosX, PosY, InSpeed, ImgAlpha, ImgWidth, ImgHeight, BlindWidth) { var iBlindsCount = Math.ceil(ImgHeight / BlindWidth); var ImgMask = this.createEmptyMovieClip("ImgMask", 3); var ImgMask_Slide0 = ImgMask.createEmptyMovieClip("ImgMask_Slide0", 1); with (ImgMask_Slide0) { beginFill(16777215); moveTo(0, 0); lineTo(ImgWidth, 0); lineTo(ImgWidth, BlindWidth); lineTo(0, BlindWidth); lineTo(0, 0); endFill(); } var i = 1; while (i < iBlindsCount) { ImgMask_Slide0.duplicateMovieClip("ImgMask_Slide" + i, i + 1); i++; } var i = 0; while (i < iBlindsCount) { ImgMask["ImgMask_Slide" + i]._x = 0; ImgMask["ImgMask_Slide" + i]._y = BlindWidth * i; ImgMask["ImgMask_Slide" + i]._yscale = 0; i++; } ImgMC._x = PosX; ImgMC._y = PosY; ImgMask._x = PosX; ImgMask._y = PosY; ImgMC.setMask(ImgMask); ImgMask.ScaleCount = 0; ImgMask.InSpeed = InSpeed; ImgMask.iBlindsCount = iBlindsCount; ImgMask.onEnterFrame = function () { var _local2 = 0; while (_local2 < iBlindsCount) { this["ImgMask_Slide" + _local2]._yscale = this["ImgMask_Slide" + _local2]._yscale + this.InSpeed; _local2++; } this.ScaleCount = this.ScaleCount + this.InSpeed; if (this.ScaleCount >= 110) { delete this.onEnterFrame; this._parent.play(); this.removeMovieClip(); } }; } function InEffect_BlindsVertical(ImgMC, MovieWidth, MovieHeight, PosX, PosY, InSpeed, ImgAlpha, ImgWidth, ImgHeight, BlindWidth) { var iBlindsCount = Math.ceil(ImgWidth / BlindWidth); var ImgMask = this.createEmptyMovieClip("ImgMask", 3); var ImgMask_Slide0 = ImgMask.createEmptyMovieClip("ImgMask_Slide0", 1); with (ImgMask_Slide0) { beginFill(16777215); moveTo(0, 0); lineTo(BlindWidth, 0); lineTo(BlindWidth, ImgHeight); lineTo(0, ImgHeight); lineTo(0, 0); endFill(); } var i = 1; while (i < iBlindsCount) { ImgMask_Slide0.duplicateMovieClip("ImgMask_Slide" + i, i + 1); i++; } var i = 0; while (i < iBlindsCount) { ImgMask["ImgMask_Slide" + i]._x = BlindWidth * i; ImgMask["ImgMask_Slide" + i]._y = 0; ImgMask["ImgMask_Slide" + i]._xscale = 0; i++; } ImgMC._x = PosX; ImgMC._y = PosY; ImgMask._x = PosX; ImgMask._y = PosY; ImgMC.setMask(ImgMask); ImgMask.ScaleCount = 0; ImgMask.InSpeed = InSpeed; ImgMask.iBlindsCount = iBlindsCount; ImgMask.onEnterFrame = function () { var _local2 = 0; while (_local2 < iBlindsCount) { this["ImgMask_Slide" + _local2]._xscale = this["ImgMask_Slide" + _local2]._xscale + this.InSpeed; _local2++; } this.ScaleCount = this.ScaleCount + this.InSpeed; if (this.ScaleCount >= 110) { delete this.onEnterFrame; this._parent.play(); this.removeMovieClip(); } }; } function OutEffect_FadeOut(ImgMC, MovieWidth, MovieHeight, OutSpeed) { ImgMC.OutSpeed = OutSpeed; ImgMC.onEnterFrame = function () { this._alpha = this._alpha - this.OutSpeed; if (this._alpha <= 0) { this._parent.play(); delete this.onEnterFrame; this.removeMovieClip(); } }; } function OutEffect_BlindsHorizontal(ImgMC, MovieWidth, MovieHeight, PosX, PosY, OutSpeed, ImgWidth, ImgHeight, BlindWidth) { var iBlindsCount = Math.ceil(ImgHeight / BlindWidth); var ImgMask = this.createEmptyMovieClip("ImgMask", 3); var ImgMask_Slide0 = ImgMask.createEmptyMovieClip("ImgMask_Slide0", 1); with (ImgMask_Slide0) { beginFill(16777215); moveTo(0, 0); lineTo(ImgWidth, 0); lineTo(ImgWidth, BlindWidth); lineTo(0, BlindWidth); lineTo(0, 0); endFill(); } var i = 1; while (i < iBlindsCount) { ImgMask_Slide0.duplicateMovieClip("ImgMask_Slide" + i, i + 1); i++; } var i = 0; while (i < iBlindsCount) { ImgMask["ImgMask_Slide" + i]._x = 0; ImgMask["ImgMask_Slide" + i]._y = BlindWidth * i; ImgMask["ImgMask_Slide" + i]._yscale = 100; i++; } ImgMC._x = PosX; ImgMC._y = PosY; ImgMask._x = PosX; ImgMask._y = PosY; ImgMC.setMask(ImgMask); ImgMask.ScaleCount = 100; ImgMask.OutSpeed = OutSpeed; ImgMask.iBlindsCount = iBlindsCount; ImgMask.onEnterFrame = function () { var _local2 = 0; while (_local2 < iBlindsCount) { this["ImgMask_Slide" + _local2]._yscale = this["ImgMask_Slide" + _local2]._yscale - this.OutSpeed; _local2++; } this.ScaleCount = this.ScaleCount - this.OutSpeed; if (this.ScaleCount <= 0) { delete this.onEnterFrame; this._parent.play(); ImgMask.removeMovieClip(); ImgMC.removeMovieClip(); } }; } function OutEffect_BlindsVertical(ImgMC, MovieWidth, MovieHeight, PosX, PosY, OutSpeed, ImgWidth, ImgHeight, BlindWidth) { var iBlindsCount = Math.ceil(ImgWidth / BlindWidth); var ImgMask = this.createEmptyMovieClip("ImgMask", 3); var ImgMask_Slide0 = ImgMask.createEmptyMovieClip("ImgMask_Slide0", 1); with (ImgMask_Slide0) { beginFill(16777215); moveTo(0, 0); lineTo(BlindWidth, 0); lineTo(BlindWidth, ImgHeight); lineTo(0, ImgHeight); lineTo(0, 0); endFill(); } var i = 1; while (i < iBlindsCount) { ImgMask_Slide0.duplicateMovieClip("ImgMask_Slide" + i, i + 1); i++; } var i = 0; while (i < iBlindsCount) { ImgMask["ImgMask_Slide" + i]._x = BlindWidth * i; ImgMask["ImgMask_Slide" + i]._y = 0; ImgMask["ImgMask_Slide" + i]._xscale = 100; i++; } ImgMC._x = PosX; ImgMC._y = PosY; ImgMask._x = PosX; ImgMask._y = PosY; ImgMC.setMask(ImgMask); ImgMask.ScaleCount = 100; ImgMask.OutSpeed = OutSpeed; ImgMask.iBlindsCount = iBlindsCount; ImgMask.onEnterFrame = function () { var _local2 = 0; while (_local2 < iBlindsCount) { this["ImgMask_Slide" + _local2]._xscale = this["ImgMask_Slide" + _local2]._xscale - this.OutSpeed; _local2++; } this.ScaleCount = this.ScaleCount - this.OutSpeed; if (this.ScaleCount <= 0) { delete this.onEnterFrame; this._parent.play(); ImgMask.removeMovieClip(); ImgMC.removeMovieClip(); } }; } function LeaveStayEffect(ImgMC, PosX, PosY, ImgAlpha) { ImgMC._rotation = 0; ImgMC._xscale = 100; ImgMC._yscale = 100; ImgMC._x = PosX; ImgMC._y = PosY; ImgMC._alpha = ImgAlpha; delete ImgMC.onEnterFrame; } function StayEffect_Stay(ImgMC, StayTime, MovieWidth, MovieHeight, PosX, PosY, StaySpeed, ImgAlpha, ImgWidth, ImgHeight) { ImgMC.onEnterFrame = function () { }; } function StayEffect_Flicker(ImgMC, StayTime, MovieWidth, MovieHeight, PosX, PosY, StaySpeed, ImgAlpha, ImgWidth, ImgHeight) { ImgMC.PosX = PosX; ImgMC.PosY = PosY; ImgMC.StaySpeed = StaySpeed; ImgMC.ImgAlpha = ImgAlpha; ImgMC.FlickerVisible = true; ImgMC.StayTime = StayTime; ImgMC.Switch = StaySpeed; ImgMC.onEnterFrame = function () { if (this.StayTime == 0) { this._rotation = 0; this._xscale = 100; this._yscale = 100; this._x = this.PosX; this._y = this.PosY; this._alpha = this.ImgAlpha; delete this.onEnterFrame; } else if (this.StayTime > 0) { this.StayTime--; } if ((--this.Switch) <= 0) { if (ImgMC.FlickerVisible) { ImgMC._alpha = 0; ImgMC.FlickerVisible = false; } else { ImgMC._alpha = this.ImgAlpha; ImgMC.FlickerVisible = true; } this.Switch = this.StaySpeed; } }; } function StayEffect_Rotating(ImgMC, StayTime, MovieWidth, MovieHeight, PosX, PosY, StaySpeed, ImgAlpha, ImgWidth, ImgHeight) { ImgMC.StaySpeed = StaySpeed; ImgMC.PosX = PosX; ImgMC.PosY = PosY; ImgMC.ImgAlpha = ImgAlpha; ImgMC.ImgWidth = ImgWidth; ImgMC.ImgHeight = ImgHeight; ImgMC.StayTime = StayTime; ImgMC._rotation = 0; ImgMC.onEnterFrame = function () { if (this.StayTime == 0) { this._rotation = 0; this._xscale = 100; this._yscale = 100; this._x = this.PosX; this._y = this.PosY; this._alpha = this.ImgAlpha; delete this.onEnterFrame; } else if (this.StayTime > 0) { this._rotation = this._rotation + this.StaySpeed; this._x = ((this.PosX + (this.ImgWidth / 2)) - ((this.ImgWidth / 2) * Math.cos((this._rotation / 180) * Math.PI))) + ((this.ImgHeight / 2) * Math.sin((this._rotation / 180) * Math.PI)); this._y = ((this.PosY + (this.ImgHeight / 2)) - ((this.ImgWidth / 2) * Math.sin((this._rotation / 180) * Math.PI))) - ((this.ImgHeight / 2) * Math.cos((this._rotation / 180) * Math.PI)); if (this.StayTime > 0) { this.StayTime--; } } }; } function StayEffect_ZoomInZoomOut(ImgMC, StayTime, MovieWidth, MovieHeight, PosX, PosY, StaySpeed, ImgAlpha, ImgWidth, ImgHeight) { ImgMC.StaySpeed = StaySpeed; ImgMC.ZoomOut = true; ImgMC.PosX = PosX; ImgMC.PosY = PosY; ImgMC.ImgWidth = ImgWidth; ImgMC.ImgHeight = ImgHeight; ImgMC.ImgAlpha = ImgAlpha; ImgMC.StayTime = StayTime; ImgMC.onEnterFrame = function () { if (this.StayTime == 0) { this._rotation = 0; this._xscale = 100; this._yscale = 100; this._x = this.PosX; this._y = this.PosY; this._alpha = this.ImgAlpha; delete this.onEnterFrame; } else if (this.StayTime > 0) { this.StayTime--; } if (this.ZoomOut) { this._xscale = this._xscale - this.StaySpeed; this._yscale = this._yscale - this.StaySpeed; if (this._xscale < 90) { this.ZoomOut = false; } } else { this._xscale = this._xscale + this.StaySpeed; this._yscale = this._yscale + this.StaySpeed; if (this._xscale > 110) { this.ZoomOut = true; } } this._x = (this.PosX + (this.ImgWidth / 2)) - (this._width / 2); this._y = (this.PosY + (this.ImgHeight / 2)) - (this._height / 2); }; } function StayEffect_FadeInFadeOut(ImgMC, StayTime, MovieWidth, MovieHeight, PosX, PosY, StaySpeed, ImgAlpha, ImgWidth, ImgHeight) { ImgMC.StaySpeed = StaySpeed; ImgMC.AlphaOut = true; ImgMC.PosX = PosX; ImgMC.PosY = PosY; ImgMC.ImgAlpha = ImgAlpha; ImgMC.StayTime = StayTime; ImgMC.onEnterFrame = function () { if (this.StayTime == 0) { this._rotation = 0; this._xscale = 100; this._yscale = 100; this._x = this.PosX; this._y = this.PosY; this._alpha = this.ImgAlpha; delete this.onEnterFrame; } else if (this.StayTime > 0) { this.StayTime--; } if (this.AlphaOut) { this._alpha = this._alpha - this.StaySpeed; if (this._alpha < 80) { this.AlphaOut = false; } } else { this._alpha = this._alpha + this.StaySpeed; if (this._alpha >= 100) { this.AlphaOut = true; } } }; } ParamsDefine = "<ParamsDefine><Img.BlindWidth caption=\"Blind width\" type=\"integer\" min=\"1\" max=\"50\" default=\"12\"/><Img.InEffect caption=\"In effect\" type=\"selection\" selection=\"Blinds horizontal;Blinds vertical;Fade in\" default=\"Blinds horizontal\"/><Img.InSpeed caption=\"In speed\" type=\"integer\" min=\"1\" max=\"50\" default=\"4\"/><Img.StayEffect caption=\"Stay effect\" type=\"selection\" selection=\"Stay;Rotating;Zoom in Zoom out;Fade in Fade out;Flicker\" default=\"Stay\"/><Img.StaySpeed caption=\"Stay speed\" type=\"integer\" min=\"1\" max=\"50\" default=\"4\"/><Img.StayTime caption=\"Stay effect time\" type=\"selection\" selection=\"To end;Custom\" default=\"To end\"/><Img.StayTimeCustom caption=\"Stay effect custom seconds\" type=\"integer\" min=\"1\" max=\"50\" default=\"3\"/><Img.OutEffect caption=\"Out effect\" type=\"selection\" selection=\"Blinds horizontal;Blinds vertical;Fade out\" default=\"Blinds horizontal\"/><Img.OutSpeed caption=\"Out speed\" type=\"integer\" min=\"1\" max=\"50\" default=\"4\"/><Img.EffectName caption=\"Effect Name\" type=\"const\" default=\"Img.Blinds\"/></ParamsDefine>"; var param = new Array(); param["Movie.Width"] = _parent._width; param["Movie.Height"] = _parent._height; if (ParamsValue != null) { paramXML = new XML(ParamsValue); paramXML.ignoreWhite = false; var i = 0; while (i < paramXML.childNodes[0].childNodes.length) { node = paramXML.childNodes[0].childNodes[i]; param[node.nodeName] = node.childNodes[0].nodeValue; i++; } param["Movie.Width"] = parseInt(param["Movie.Width"]); param["Movie.Height"] = parseInt(param["Movie.Height"]); param["Movie.FPS"] = parseInt(param["Movie.FPS"]); param["Img.InSpeed"] = parseInt(param["Img.InSpeed"]); param["Img.OutSpeed"] = parseInt(param["Img.OutSpeed"]); param["Img.StaySpeed"] = parseInt(param["Img.StaySpeed"]); param["Img.StayTimeCustom"] = parseInt(param["Img.StayTimeCustom"]); param["Img.BlindWidth"] = parseInt(param["Img.BlindWidth"]); param["Img.PosX"] = parseInt(param["Img.PosX"]); param["Img.PosY"] = parseInt(param["Img.PosY"]); param["Img.Rotation"] = parseInt(param["Img.Rotation"]); param["Img.Alpha"] = parseInt(param["Img.Alpha"]); param["Img.StaticText"] = param["Img.StaticText"].toLowerCase() == "true"; param["Img.DelayFrame"] = parseInt(param["Img.DelayFrame"]); param["Img.DurationFrame"] = parseInt(param["Img.DurationFrame"]); param["Img.KeepText"] = param["Img.KeepText"].toLowerCase() == "true"; param["Img.URL"] = param["Img.URL"].toLowerCase() == "true"; delete paramXML; } else { param["Movie.Width"] = 400; param["Movie.Height"] = 300; param["Img.InSpeed"] = 8; param["Img.OutSpeed"] = 8; param["Img.StaySpeed"] = 4; param["Img.StayTimeCustom"] = 3; param["Img.PosX"] = 100; param["Img.PosY"] = 100; param["Img.Rotation"] = 0; param["Img.Alpha"] = 100; param["Img.StaticText"] = false; param["Img.DelayFrame"] = 0; param["Img.DurationFrame"] = 10; param["Img.KeepText"] = false; param["Img.URL"] = false; param["Img.URLAddress"] = "about:blank"; param["Img.URLTarget"] = "_blank"; } if (param["Img.StaticText"]) { gotoAndPlay(_currentframe + 3); }
Symbol 69 MovieClip Frame 3
param["Img.DelayFrame"] = param["Img.DelayFrame"] - 1; if (param["Img.DelayFrame"] > 0) { gotoAndPlay(_currentframe - 1); }
Symbol 69 MovieClip Frame 4
stop(); var ImageMovie_MC = this.attachMovie(param["Img.ImageMovieExport"], "ImageMovie_MC", 2); if (param["Img.StaticText"]) { InEffect_FadeIn(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], 20, param["Img.Alpha"]); } else { switch (param["Img.InEffect"]) { case "Blinds horizontal" : InEffect_BlindsHorizontal(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.InSpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height, param["Img.BlindWidth"]); break; case "Blinds vertical" : InEffect_BlindsVertical(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.InSpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height, param["Img.BlindWidth"]); break; case "Fade in" : InEffect_FadeIn(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.InSpeed"], param["Img.Alpha"]); break; default : InEffect_FadeIn(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.InSpeed"], param["Img.Alpha"]); } }
Symbol 69 MovieClip Frame 5
var iStayEffectTime = -1; if (param["Img.StayTime"] != "To end") { iStayEffectTime = param["Movie.FPS"] * param["Img.StayTimeCustom"]; } switch (param["Img.StayEffect"]) { case "Stay" : StayEffect_Stay(ImageMovie_MC, iStayEffectTime, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.StaySpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height); break; case "Flicker" : StayEffect_Flicker(ImageMovie_MC, iStayEffectTime, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.StaySpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height); break; case "Rotating" : StayEffect_Rotating(ImageMovie_MC, iStayEffectTime, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.StaySpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height); break; case "Zoom in Zoom out" : StayEffect_ZoomInZoomOut(ImageMovie_MC, iStayEffectTime, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.StaySpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height); break; case "Fade in Fade out" : StayEffect_FadeInFadeOut(ImageMovie_MC, iStayEffectTime, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.StaySpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height); break; default : StayEffect_Stay(ImageMovie_MC, iStayEffectTime, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.StaySpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height); }
Symbol 69 MovieClip Frame 7
if (param["Img.DurationFrame"] < 0) { gotoAndPlay(_currentframe - 1); } else { param["Img.DurationFrame"] = param["Img.DurationFrame"] - 1; if (param["Img.DurationFrame"] > 0) { gotoAndPlay(_currentframe - 1); } else { gotoAndPlay(_currentframe + 1); } }
Symbol 69 MovieClip Frame 8
if (param["Img.KeepText"] || (param["Img.StaticText"])) { gotoAndPlay(_currentframe + 2); }
Symbol 69 MovieClip Frame 9
stop(); LeaveStayEffect(ImageMovie_MC, param["Img.PosX"], param["Img.PosY"], param["Img.Alpha"]); switch (param["Img.OutEffect"]) { case "Blinds horizontal" : OutEffect_BlindsHorizontal(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.OutSpeed"], ImageMovie_MC._width, ImageMovie_MC._height, param["Img.BlindWidth"]); break; case "Blinds vertical" : OutEffect_BlindsVertical(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.OutSpeed"], ImageMovie_MC._width, ImageMovie_MC._height, param["Img.BlindWidth"]); break; case "Fade out" : OutEffect_FadeOut(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.OutSpeed"]); break; default : OutEffect_FadeOut(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.OutSpeed"]); }
Symbol 69 MovieClip Frame 10
stop(); if (!param["Img.StaticText"]) { _parent.g_effectcount = _parent.g_effectcount - 1; if (_parent.g_effectcount <= 0) { _parent.play(); } }
Symbol 74 MovieClip Frame 1
ParamsValue = "<ParamsValue><Movie.Width>1024</Movie.Width><Movie.Height>881</Movie.Height><Movie.FPS>24</Movie.FPS><Img.ImageExport>Img.Blinds_Image_13</Img.ImageExport><Img.ImageMovieExport>Img.Blinds_ImageMovie_13</Img.ImageMovieExport><Img.BlindWidth>12</Img.BlindWidth><Img.InEffect>Blinds horizontal</Img.InEffect><Img.InSpeed>4</Img.InSpeed><Img.StayEffect>Stay</Img.StayEffect><Img.StaySpeed>4</Img.StaySpeed><Img.StayTime>To end</Img.StayTime><Img.StayTimeCustom>3</Img.StayTimeCustom><Img.OutEffect>Blinds horizontal</Img.OutEffect><Img.OutSpeed>4</Img.OutSpeed><Img.EffectName>Img.Blinds</Img.EffectName><Img.PosX>62</Img.PosX><Img.PosY>99</Img.PosY><Img.Rotation>0</Img.Rotation><Img.Alpha>100</Img.Alpha><Img.StaticText>false</Img.StaticText><Img.DelayFrame>0</Img.DelayFrame><Img.DurationFrame>144</Img.DurationFrame><Img.KeepText>false</Img.KeepText><Img.URL>false</Img.URL><Img.URLAddress>about:blank</Img.URLAddress><Img.URLTarget></Img.URLTarget></ParamsValue>"; function InEffect_FadeIn(ImgMC, MovieWidth, MovieHeight, PosX, PosY, InSpeed, ImgAlpha) { ImgMC._x = PosX; ImgMC._y = PosY; ImgMC._alpha = 0; ImgMC.InSpeed = InSpeed; ImgMC.ImgAlpha = ImgAlpha; ImgMC.onEnterFrame = function () { if ((this._alpha + this.InSpeed) > this.ImgAlpha) { this._alpha = this.ImgAlpha; delete this.onEnterFrame; this._parent.play(); } this._alpha = this._alpha + this.InSpeed; }; } function InEffect_BlindsHorizontal(ImgMC, MovieWidth, MovieHeight, PosX, PosY, InSpeed, ImgAlpha, ImgWidth, ImgHeight, BlindWidth) { var iBlindsCount = Math.ceil(ImgHeight / BlindWidth); var ImgMask = this.createEmptyMovieClip("ImgMask", 3); var ImgMask_Slide0 = ImgMask.createEmptyMovieClip("ImgMask_Slide0", 1); with (ImgMask_Slide0) { beginFill(16777215); moveTo(0, 0); lineTo(ImgWidth, 0); lineTo(ImgWidth, BlindWidth); lineTo(0, BlindWidth); lineTo(0, 0); endFill(); } var i = 1; while (i < iBlindsCount) { ImgMask_Slide0.duplicateMovieClip("ImgMask_Slide" + i, i + 1); i++; } var i = 0; while (i < iBlindsCount) { ImgMask["ImgMask_Slide" + i]._x = 0; ImgMask["ImgMask_Slide" + i]._y = BlindWidth * i; ImgMask["ImgMask_Slide" + i]._yscale = 0; i++; } ImgMC._x = PosX; ImgMC._y = PosY; ImgMask._x = PosX; ImgMask._y = PosY; ImgMC.setMask(ImgMask); ImgMask.ScaleCount = 0; ImgMask.InSpeed = InSpeed; ImgMask.iBlindsCount = iBlindsCount; ImgMask.onEnterFrame = function () { var _local2 = 0; while (_local2 < iBlindsCount) { this["ImgMask_Slide" + _local2]._yscale = this["ImgMask_Slide" + _local2]._yscale + this.InSpeed; _local2++; } this.ScaleCount = this.ScaleCount + this.InSpeed; if (this.ScaleCount >= 110) { delete this.onEnterFrame; this._parent.play(); this.removeMovieClip(); } }; } function InEffect_BlindsVertical(ImgMC, MovieWidth, MovieHeight, PosX, PosY, InSpeed, ImgAlpha, ImgWidth, ImgHeight, BlindWidth) { var iBlindsCount = Math.ceil(ImgWidth / BlindWidth); var ImgMask = this.createEmptyMovieClip("ImgMask", 3); var ImgMask_Slide0 = ImgMask.createEmptyMovieClip("ImgMask_Slide0", 1); with (ImgMask_Slide0) { beginFill(16777215); moveTo(0, 0); lineTo(BlindWidth, 0); lineTo(BlindWidth, ImgHeight); lineTo(0, ImgHeight); lineTo(0, 0); endFill(); } var i = 1; while (i < iBlindsCount) { ImgMask_Slide0.duplicateMovieClip("ImgMask_Slide" + i, i + 1); i++; } var i = 0; while (i < iBlindsCount) { ImgMask["ImgMask_Slide" + i]._x = BlindWidth * i; ImgMask["ImgMask_Slide" + i]._y = 0; ImgMask["ImgMask_Slide" + i]._xscale = 0; i++; } ImgMC._x = PosX; ImgMC._y = PosY; ImgMask._x = PosX; ImgMask._y = PosY; ImgMC.setMask(ImgMask); ImgMask.ScaleCount = 0; ImgMask.InSpeed = InSpeed; ImgMask.iBlindsCount = iBlindsCount; ImgMask.onEnterFrame = function () { var _local2 = 0; while (_local2 < iBlindsCount) { this["ImgMask_Slide" + _local2]._xscale = this["ImgMask_Slide" + _local2]._xscale + this.InSpeed; _local2++; } this.ScaleCount = this.ScaleCount + this.InSpeed; if (this.ScaleCount >= 110) { delete this.onEnterFrame; this._parent.play(); this.removeMovieClip(); } }; } function OutEffect_FadeOut(ImgMC, MovieWidth, MovieHeight, OutSpeed) { ImgMC.OutSpeed = OutSpeed; ImgMC.onEnterFrame = function () { this._alpha = this._alpha - this.OutSpeed; if (this._alpha <= 0) { this._parent.play(); delete this.onEnterFrame; this.removeMovieClip(); } }; } function OutEffect_BlindsHorizontal(ImgMC, MovieWidth, MovieHeight, PosX, PosY, OutSpeed, ImgWidth, ImgHeight, BlindWidth) { var iBlindsCount = Math.ceil(ImgHeight / BlindWidth); var ImgMask = this.createEmptyMovieClip("ImgMask", 3); var ImgMask_Slide0 = ImgMask.createEmptyMovieClip("ImgMask_Slide0", 1); with (ImgMask_Slide0) { beginFill(16777215); moveTo(0, 0); lineTo(ImgWidth, 0); lineTo(ImgWidth, BlindWidth); lineTo(0, BlindWidth); lineTo(0, 0); endFill(); } var i = 1; while (i < iBlindsCount) { ImgMask_Slide0.duplicateMovieClip("ImgMask_Slide" + i, i + 1); i++; } var i = 0; while (i < iBlindsCount) { ImgMask["ImgMask_Slide" + i]._x = 0; ImgMask["ImgMask_Slide" + i]._y = BlindWidth * i; ImgMask["ImgMask_Slide" + i]._yscale = 100; i++; } ImgMC._x = PosX; ImgMC._y = PosY; ImgMask._x = PosX; ImgMask._y = PosY; ImgMC.setMask(ImgMask); ImgMask.ScaleCount = 100; ImgMask.OutSpeed = OutSpeed; ImgMask.iBlindsCount = iBlindsCount; ImgMask.onEnterFrame = function () { var _local2 = 0; while (_local2 < iBlindsCount) { this["ImgMask_Slide" + _local2]._yscale = this["ImgMask_Slide" + _local2]._yscale - this.OutSpeed; _local2++; } this.ScaleCount = this.ScaleCount - this.OutSpeed; if (this.ScaleCount <= 0) { delete this.onEnterFrame; this._parent.play(); ImgMask.removeMovieClip(); ImgMC.removeMovieClip(); } }; } function OutEffect_BlindsVertical(ImgMC, MovieWidth, MovieHeight, PosX, PosY, OutSpeed, ImgWidth, ImgHeight, BlindWidth) { var iBlindsCount = Math.ceil(ImgWidth / BlindWidth); var ImgMask = this.createEmptyMovieClip("ImgMask", 3); var ImgMask_Slide0 = ImgMask.createEmptyMovieClip("ImgMask_Slide0", 1); with (ImgMask_Slide0) { beginFill(16777215); moveTo(0, 0); lineTo(BlindWidth, 0); lineTo(BlindWidth, ImgHeight); lineTo(0, ImgHeight); lineTo(0, 0); endFill(); } var i = 1; while (i < iBlindsCount) { ImgMask_Slide0.duplicateMovieClip("ImgMask_Slide" + i, i + 1); i++; } var i = 0; while (i < iBlindsCount) { ImgMask["ImgMask_Slide" + i]._x = BlindWidth * i; ImgMask["ImgMask_Slide" + i]._y = 0; ImgMask["ImgMask_Slide" + i]._xscale = 100; i++; } ImgMC._x = PosX; ImgMC._y = PosY; ImgMask._x = PosX; ImgMask._y = PosY; ImgMC.setMask(ImgMask); ImgMask.ScaleCount = 100; ImgMask.OutSpeed = OutSpeed; ImgMask.iBlindsCount = iBlindsCount; ImgMask.onEnterFrame = function () { var _local2 = 0; while (_local2 < iBlindsCount) { this["ImgMask_Slide" + _local2]._xscale = this["ImgMask_Slide" + _local2]._xscale - this.OutSpeed; _local2++; } this.ScaleCount = this.ScaleCount - this.OutSpeed; if (this.ScaleCount <= 0) { delete this.onEnterFrame; this._parent.play(); ImgMask.removeMovieClip(); ImgMC.removeMovieClip(); } }; } function LeaveStayEffect(ImgMC, PosX, PosY, ImgAlpha) { ImgMC._rotation = 0; ImgMC._xscale = 100; ImgMC._yscale = 100; ImgMC._x = PosX; ImgMC._y = PosY; ImgMC._alpha = ImgAlpha; delete ImgMC.onEnterFrame; } function StayEffect_Stay(ImgMC, StayTime, MovieWidth, MovieHeight, PosX, PosY, StaySpeed, ImgAlpha, ImgWidth, ImgHeight) { ImgMC.onEnterFrame = function () { }; } function StayEffect_Flicker(ImgMC, StayTime, MovieWidth, MovieHeight, PosX, PosY, StaySpeed, ImgAlpha, ImgWidth, ImgHeight) { ImgMC.PosX = PosX; ImgMC.PosY = PosY; ImgMC.StaySpeed = StaySpeed; ImgMC.ImgAlpha = ImgAlpha; ImgMC.FlickerVisible = true; ImgMC.StayTime = StayTime; ImgMC.Switch = StaySpeed; ImgMC.onEnterFrame = function () { if (this.StayTime == 0) { this._rotation = 0; this._xscale = 100; this._yscale = 100; this._x = this.PosX; this._y = this.PosY; this._alpha = this.ImgAlpha; delete this.onEnterFrame; } else if (this.StayTime > 0) { this.StayTime--; } if ((--this.Switch) <= 0) { if (ImgMC.FlickerVisible) { ImgMC._alpha = 0; ImgMC.FlickerVisible = false; } else { ImgMC._alpha = this.ImgAlpha; ImgMC.FlickerVisible = true; } this.Switch = this.StaySpeed; } }; } function StayEffect_Rotating(ImgMC, StayTime, MovieWidth, MovieHeight, PosX, PosY, StaySpeed, ImgAlpha, ImgWidth, ImgHeight) { ImgMC.StaySpeed = StaySpeed; ImgMC.PosX = PosX; ImgMC.PosY = PosY; ImgMC.ImgAlpha = ImgAlpha; ImgMC.ImgWidth = ImgWidth; ImgMC.ImgHeight = ImgHeight; ImgMC.StayTime = StayTime; ImgMC._rotation = 0; ImgMC.onEnterFrame = function () { if (this.StayTime == 0) { this._rotation = 0; this._xscale = 100; this._yscale = 100; this._x = this.PosX; this._y = this.PosY; this._alpha = this.ImgAlpha; delete this.onEnterFrame; } else if (this.StayTime > 0) { this._rotation = this._rotation + this.StaySpeed; this._x = ((this.PosX + (this.ImgWidth / 2)) - ((this.ImgWidth / 2) * Math.cos((this._rotation / 180) * Math.PI))) + ((this.ImgHeight / 2) * Math.sin((this._rotation / 180) * Math.PI)); this._y = ((this.PosY + (this.ImgHeight / 2)) - ((this.ImgWidth / 2) * Math.sin((this._rotation / 180) * Math.PI))) - ((this.ImgHeight / 2) * Math.cos((this._rotation / 180) * Math.PI)); if (this.StayTime > 0) { this.StayTime--; } } }; } function StayEffect_ZoomInZoomOut(ImgMC, StayTime, MovieWidth, MovieHeight, PosX, PosY, StaySpeed, ImgAlpha, ImgWidth, ImgHeight) { ImgMC.StaySpeed = StaySpeed; ImgMC.ZoomOut = true; ImgMC.PosX = PosX; ImgMC.PosY = PosY; ImgMC.ImgWidth = ImgWidth; ImgMC.ImgHeight = ImgHeight; ImgMC.ImgAlpha = ImgAlpha; ImgMC.StayTime = StayTime; ImgMC.onEnterFrame = function () { if (this.StayTime == 0) { this._rotation = 0; this._xscale = 100; this._yscale = 100; this._x = this.PosX; this._y = this.PosY; this._alpha = this.ImgAlpha; delete this.onEnterFrame; } else if (this.StayTime > 0) { this.StayTime--; } if (this.ZoomOut) { this._xscale = this._xscale - this.StaySpeed; this._yscale = this._yscale - this.StaySpeed; if (this._xscale < 90) { this.ZoomOut = false; } } else { this._xscale = this._xscale + this.StaySpeed; this._yscale = this._yscale + this.StaySpeed; if (this._xscale > 110) { this.ZoomOut = true; } } this._x = (this.PosX + (this.ImgWidth / 2)) - (this._width / 2); this._y = (this.PosY + (this.ImgHeight / 2)) - (this._height / 2); }; } function StayEffect_FadeInFadeOut(ImgMC, StayTime, MovieWidth, MovieHeight, PosX, PosY, StaySpeed, ImgAlpha, ImgWidth, ImgHeight) { ImgMC.StaySpeed = StaySpeed; ImgMC.AlphaOut = true; ImgMC.PosX = PosX; ImgMC.PosY = PosY; ImgMC.ImgAlpha = ImgAlpha; ImgMC.StayTime = StayTime; ImgMC.onEnterFrame = function () { if (this.StayTime == 0) { this._rotation = 0; this._xscale = 100; this._yscale = 100; this._x = this.PosX; this._y = this.PosY; this._alpha = this.ImgAlpha; delete this.onEnterFrame; } else if (this.StayTime > 0) { this.StayTime--; } if (this.AlphaOut) { this._alpha = this._alpha - this.StaySpeed; if (this._alpha < 80) { this.AlphaOut = false; } } else { this._alpha = this._alpha + this.StaySpeed; if (this._alpha >= 100) { this.AlphaOut = true; } } }; } ParamsDefine = "<ParamsDefine><Img.BlindWidth caption=\"Blind width\" type=\"integer\" min=\"1\" max=\"50\" default=\"12\"/><Img.InEffect caption=\"In effect\" type=\"selection\" selection=\"Blinds horizontal;Blinds vertical;Fade in\" default=\"Blinds horizontal\"/><Img.InSpeed caption=\"In speed\" type=\"integer\" min=\"1\" max=\"50\" default=\"4\"/><Img.StayEffect caption=\"Stay effect\" type=\"selection\" selection=\"Stay;Rotating;Zoom in Zoom out;Fade in Fade out;Flicker\" default=\"Stay\"/><Img.StaySpeed caption=\"Stay speed\" type=\"integer\" min=\"1\" max=\"50\" default=\"4\"/><Img.StayTime caption=\"Stay effect time\" type=\"selection\" selection=\"To end;Custom\" default=\"To end\"/><Img.StayTimeCustom caption=\"Stay effect custom seconds\" type=\"integer\" min=\"1\" max=\"50\" default=\"3\"/><Img.OutEffect caption=\"Out effect\" type=\"selection\" selection=\"Blinds horizontal;Blinds vertical;Fade out\" default=\"Blinds horizontal\"/><Img.OutSpeed caption=\"Out speed\" type=\"integer\" min=\"1\" max=\"50\" default=\"4\"/><Img.EffectName caption=\"Effect Name\" type=\"const\" default=\"Img.Blinds\"/></ParamsDefine>"; var param = new Array(); param["Movie.Width"] = _parent._width; param["Movie.Height"] = _parent._height; if (ParamsValue != null) { paramXML = new XML(ParamsValue); paramXML.ignoreWhite = false; var i = 0; while (i < paramXML.childNodes[0].childNodes.length) { node = paramXML.childNodes[0].childNodes[i]; param[node.nodeName] = node.childNodes[0].nodeValue; i++; } param["Movie.Width"] = parseInt(param["Movie.Width"]); param["Movie.Height"] = parseInt(param["Movie.Height"]); param["Movie.FPS"] = parseInt(param["Movie.FPS"]); param["Img.InSpeed"] = parseInt(param["Img.InSpeed"]); param["Img.OutSpeed"] = parseInt(param["Img.OutSpeed"]); param["Img.StaySpeed"] = parseInt(param["Img.StaySpeed"]); param["Img.StayTimeCustom"] = parseInt(param["Img.StayTimeCustom"]); param["Img.BlindWidth"] = parseInt(param["Img.BlindWidth"]); param["Img.PosX"] = parseInt(param["Img.PosX"]); param["Img.PosY"] = parseInt(param["Img.PosY"]); param["Img.Rotation"] = parseInt(param["Img.Rotation"]); param["Img.Alpha"] = parseInt(param["Img.Alpha"]); param["Img.StaticText"] = param["Img.StaticText"].toLowerCase() == "true"; param["Img.DelayFrame"] = parseInt(param["Img.DelayFrame"]); param["Img.DurationFrame"] = parseInt(param["Img.DurationFrame"]); param["Img.KeepText"] = param["Img.KeepText"].toLowerCase() == "true"; param["Img.URL"] = param["Img.URL"].toLowerCase() == "true"; delete paramXML; } else { param["Movie.Width"] = 400; param["Movie.Height"] = 300; param["Img.InSpeed"] = 8; param["Img.OutSpeed"] = 8; param["Img.StaySpeed"] = 4; param["Img.StayTimeCustom"] = 3; param["Img.PosX"] = 100; param["Img.PosY"] = 100; param["Img.Rotation"] = 0; param["Img.Alpha"] = 100; param["Img.StaticText"] = false; param["Img.DelayFrame"] = 0; param["Img.DurationFrame"] = 10; param["Img.KeepText"] = false; param["Img.URL"] = false; param["Img.URLAddress"] = "about:blank"; param["Img.URLTarget"] = "_blank"; } if (param["Img.StaticText"]) { gotoAndPlay(_currentframe + 3); }
Symbol 74 MovieClip Frame 3
param["Img.DelayFrame"] = param["Img.DelayFrame"] - 1; if (param["Img.DelayFrame"] > 0) { gotoAndPlay(_currentframe - 1); }
Symbol 74 MovieClip Frame 4
stop(); var ImageMovie_MC = this.attachMovie(param["Img.ImageMovieExport"], "ImageMovie_MC", 2); if (param["Img.StaticText"]) { InEffect_FadeIn(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], 20, param["Img.Alpha"]); } else { switch (param["Img.InEffect"]) { case "Blinds horizontal" : InEffect_BlindsHorizontal(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.InSpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height, param["Img.BlindWidth"]); break; case "Blinds vertical" : InEffect_BlindsVertical(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.InSpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height, param["Img.BlindWidth"]); break; case "Fade in" : InEffect_FadeIn(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.InSpeed"], param["Img.Alpha"]); break; default : InEffect_FadeIn(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.InSpeed"], param["Img.Alpha"]); } }
Symbol 74 MovieClip Frame 5
var iStayEffectTime = -1; if (param["Img.StayTime"] != "To end") { iStayEffectTime = param["Movie.FPS"] * param["Img.StayTimeCustom"]; } switch (param["Img.StayEffect"]) { case "Stay" : StayEffect_Stay(ImageMovie_MC, iStayEffectTime, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.StaySpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height); break; case "Flicker" : StayEffect_Flicker(ImageMovie_MC, iStayEffectTime, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.StaySpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height); break; case "Rotating" : StayEffect_Rotating(ImageMovie_MC, iStayEffectTime, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.StaySpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height); break; case "Zoom in Zoom out" : StayEffect_ZoomInZoomOut(ImageMovie_MC, iStayEffectTime, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.StaySpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height); break; case "Fade in Fade out" : StayEffect_FadeInFadeOut(ImageMovie_MC, iStayEffectTime, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.StaySpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height); break; default : StayEffect_Stay(ImageMovie_MC, iStayEffectTime, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.StaySpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height); }
Symbol 74 MovieClip Frame 7
if (param["Img.DurationFrame"] < 0) { gotoAndPlay(_currentframe - 1); } else { param["Img.DurationFrame"] = param["Img.DurationFrame"] - 1; if (param["Img.DurationFrame"] > 0) { gotoAndPlay(_currentframe - 1); } else { gotoAndPlay(_currentframe + 1); } }
Symbol 74 MovieClip Frame 8
if (param["Img.KeepText"] || (param["Img.StaticText"])) { gotoAndPlay(_currentframe + 2); }
Symbol 74 MovieClip Frame 9
stop(); LeaveStayEffect(ImageMovie_MC, param["Img.PosX"], param["Img.PosY"], param["Img.Alpha"]); switch (param["Img.OutEffect"]) { case "Blinds horizontal" : OutEffect_BlindsHorizontal(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.OutSpeed"], ImageMovie_MC._width, ImageMovie_MC._height, param["Img.BlindWidth"]); break; case "Blinds vertical" : OutEffect_BlindsVertical(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.OutSpeed"], ImageMovie_MC._width, ImageMovie_MC._height, param["Img.BlindWidth"]); break; case "Fade out" : OutEffect_FadeOut(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.OutSpeed"]); break; default : OutEffect_FadeOut(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.OutSpeed"]); }
Symbol 74 MovieClip Frame 10
stop(); if (!param["Img.StaticText"]) { _parent.g_effectcount = _parent.g_effectcount - 1; if (_parent.g_effectcount <= 0) { _parent.play(); } }
Symbol 79 MovieClip Frame 1
ParamsValue = "<ParamsValue><Movie.Width>1024</Movie.Width><Movie.Height>881</Movie.Height><Movie.FPS>24</Movie.FPS><Img.ImageExport>Img.Blinds_Image_14</Img.ImageExport><Img.ImageMovieExport>Img.Blinds_ImageMovie_14</Img.ImageMovieExport><Img.BlindWidth>12</Img.BlindWidth><Img.InEffect>Blinds horizontal</Img.InEffect><Img.InSpeed>4</Img.InSpeed><Img.StayEffect>Stay</Img.StayEffect><Img.StaySpeed>4</Img.StaySpeed><Img.StayTime>To end</Img.StayTime><Img.StayTimeCustom>3</Img.StayTimeCustom><Img.OutEffect>Blinds horizontal</Img.OutEffect><Img.OutSpeed>4</Img.OutSpeed><Img.EffectName>Img.Blinds</Img.EffectName><Img.PosX>212</Img.PosX><Img.PosY>41</Img.PosY><Img.Rotation>0</Img.Rotation><Img.Alpha>100</Img.Alpha><Img.StaticText>false</Img.StaticText><Img.DelayFrame>0</Img.DelayFrame><Img.DurationFrame>144</Img.DurationFrame><Img.KeepText>false</Img.KeepText><Img.URL>false</Img.URL><Img.URLAddress>about:blank</Img.URLAddress><Img.URLTarget></Img.URLTarget></ParamsValue>"; function InEffect_FadeIn(ImgMC, MovieWidth, MovieHeight, PosX, PosY, InSpeed, ImgAlpha) { ImgMC._x = PosX; ImgMC._y = PosY; ImgMC._alpha = 0; ImgMC.InSpeed = InSpeed; ImgMC.ImgAlpha = ImgAlpha; ImgMC.onEnterFrame = function () { if ((this._alpha + this.InSpeed) > this.ImgAlpha) { this._alpha = this.ImgAlpha; delete this.onEnterFrame; this._parent.play(); } this._alpha = this._alpha + this.InSpeed; }; } function InEffect_BlindsHorizontal(ImgMC, MovieWidth, MovieHeight, PosX, PosY, InSpeed, ImgAlpha, ImgWidth, ImgHeight, BlindWidth) { var iBlindsCount = Math.ceil(ImgHeight / BlindWidth); var ImgMask = this.createEmptyMovieClip("ImgMask", 3); var ImgMask_Slide0 = ImgMask.createEmptyMovieClip("ImgMask_Slide0", 1); with (ImgMask_Slide0) { beginFill(16777215); moveTo(0, 0); lineTo(ImgWidth, 0); lineTo(ImgWidth, BlindWidth); lineTo(0, BlindWidth); lineTo(0, 0); endFill(); } var i = 1; while (i < iBlindsCount) { ImgMask_Slide0.duplicateMovieClip("ImgMask_Slide" + i, i + 1); i++; } var i = 0; while (i < iBlindsCount) { ImgMask["ImgMask_Slide" + i]._x = 0; ImgMask["ImgMask_Slide" + i]._y = BlindWidth * i; ImgMask["ImgMask_Slide" + i]._yscale = 0; i++; } ImgMC._x = PosX; ImgMC._y = PosY; ImgMask._x = PosX; ImgMask._y = PosY; ImgMC.setMask(ImgMask); ImgMask.ScaleCount = 0; ImgMask.InSpeed = InSpeed; ImgMask.iBlindsCount = iBlindsCount; ImgMask.onEnterFrame = function () { var _local2 = 0; while (_local2 < iBlindsCount) { this["ImgMask_Slide" + _local2]._yscale = this["ImgMask_Slide" + _local2]._yscale + this.InSpeed; _local2++; } this.ScaleCount = this.ScaleCount + this.InSpeed; if (this.ScaleCount >= 110) { delete this.onEnterFrame; this._parent.play(); this.removeMovieClip(); } }; } function InEffect_BlindsVertical(ImgMC, MovieWidth, MovieHeight, PosX, PosY, InSpeed, ImgAlpha, ImgWidth, ImgHeight, BlindWidth) { var iBlindsCount = Math.ceil(ImgWidth / BlindWidth); var ImgMask = this.createEmptyMovieClip("ImgMask", 3); var ImgMask_Slide0 = ImgMask.createEmptyMovieClip("ImgMask_Slide0", 1); with (ImgMask_Slide0) { beginFill(16777215); moveTo(0, 0); lineTo(BlindWidth, 0); lineTo(BlindWidth, ImgHeight); lineTo(0, ImgHeight); lineTo(0, 0); endFill(); } var i = 1; while (i < iBlindsCount) { ImgMask_Slide0.duplicateMovieClip("ImgMask_Slide" + i, i + 1); i++; } var i = 0; while (i < iBlindsCount) { ImgMask["ImgMask_Slide" + i]._x = BlindWidth * i; ImgMask["ImgMask_Slide" + i]._y = 0; ImgMask["ImgMask_Slide" + i]._xscale = 0; i++; } ImgMC._x = PosX; ImgMC._y = PosY; ImgMask._x = PosX; ImgMask._y = PosY; ImgMC.setMask(ImgMask); ImgMask.ScaleCount = 0; ImgMask.InSpeed = InSpeed; ImgMask.iBlindsCount = iBlindsCount; ImgMask.onEnterFrame = function () { var _local2 = 0; while (_local2 < iBlindsCount) { this["ImgMask_Slide" + _local2]._xscale = this["ImgMask_Slide" + _local2]._xscale + this.InSpeed; _local2++; } this.ScaleCount = this.ScaleCount + this.InSpeed; if (this.ScaleCount >= 110) { delete this.onEnterFrame; this._parent.play(); this.removeMovieClip(); } }; } function OutEffect_FadeOut(ImgMC, MovieWidth, MovieHeight, OutSpeed) { ImgMC.OutSpeed = OutSpeed; ImgMC.onEnterFrame = function () { this._alpha = this._alpha - this.OutSpeed; if (this._alpha <= 0) { this._parent.play(); delete this.onEnterFrame; this.removeMovieClip(); } }; } function OutEffect_BlindsHorizontal(ImgMC, MovieWidth, MovieHeight, PosX, PosY, OutSpeed, ImgWidth, ImgHeight, BlindWidth) { var iBlindsCount = Math.ceil(ImgHeight / BlindWidth); var ImgMask = this.createEmptyMovieClip("ImgMask", 3); var ImgMask_Slide0 = ImgMask.createEmptyMovieClip("ImgMask_Slide0", 1); with (ImgMask_Slide0) { beginFill(16777215); moveTo(0, 0); lineTo(ImgWidth, 0); lineTo(ImgWidth, BlindWidth); lineTo(0, BlindWidth); lineTo(0, 0); endFill(); } var i = 1; while (i < iBlindsCount) { ImgMask_Slide0.duplicateMovieClip("ImgMask_Slide" + i, i + 1); i++; } var i = 0; while (i < iBlindsCount) { ImgMask["ImgMask_Slide" + i]._x = 0; ImgMask["ImgMask_Slide" + i]._y = BlindWidth * i; ImgMask["ImgMask_Slide" + i]._yscale = 100; i++; } ImgMC._x = PosX; ImgMC._y = PosY; ImgMask._x = PosX; ImgMask._y = PosY; ImgMC.setMask(ImgMask); ImgMask.ScaleCount = 100; ImgMask.OutSpeed = OutSpeed; ImgMask.iBlindsCount = iBlindsCount; ImgMask.onEnterFrame = function () { var _local2 = 0; while (_local2 < iBlindsCount) { this["ImgMask_Slide" + _local2]._yscale = this["ImgMask_Slide" + _local2]._yscale - this.OutSpeed; _local2++; } this.ScaleCount = this.ScaleCount - this.OutSpeed; if (this.ScaleCount <= 0) { delete this.onEnterFrame; this._parent.play(); ImgMask.removeMovieClip(); ImgMC.removeMovieClip(); } }; } function OutEffect_BlindsVertical(ImgMC, MovieWidth, MovieHeight, PosX, PosY, OutSpeed, ImgWidth, ImgHeight, BlindWidth) { var iBlindsCount = Math.ceil(ImgWidth / BlindWidth); var ImgMask = this.createEmptyMovieClip("ImgMask", 3); var ImgMask_Slide0 = ImgMask.createEmptyMovieClip("ImgMask_Slide0", 1); with (ImgMask_Slide0) { beginFill(16777215); moveTo(0, 0); lineTo(BlindWidth, 0); lineTo(BlindWidth, ImgHeight); lineTo(0, ImgHeight); lineTo(0, 0); endFill(); } var i = 1; while (i < iBlindsCount) { ImgMask_Slide0.duplicateMovieClip("ImgMask_Slide" + i, i + 1); i++; } var i = 0; while (i < iBlindsCount) { ImgMask["ImgMask_Slide" + i]._x = BlindWidth * i; ImgMask["ImgMask_Slide" + i]._y = 0; ImgMask["ImgMask_Slide" + i]._xscale = 100; i++; } ImgMC._x = PosX; ImgMC._y = PosY; ImgMask._x = PosX; ImgMask._y = PosY; ImgMC.setMask(ImgMask); ImgMask.ScaleCount = 100; ImgMask.OutSpeed = OutSpeed; ImgMask.iBlindsCount = iBlindsCount; ImgMask.onEnterFrame = function () { var _local2 = 0; while (_local2 < iBlindsCount) { this["ImgMask_Slide" + _local2]._xscale = this["ImgMask_Slide" + _local2]._xscale - this.OutSpeed; _local2++; } this.ScaleCount = this.ScaleCount - this.OutSpeed; if (this.ScaleCount <= 0) { delete this.onEnterFrame; this._parent.play(); ImgMask.removeMovieClip(); ImgMC.removeMovieClip(); } }; } function LeaveStayEffect(ImgMC, PosX, PosY, ImgAlpha) { ImgMC._rotation = 0; ImgMC._xscale = 100; ImgMC._yscale = 100; ImgMC._x = PosX; ImgMC._y = PosY; ImgMC._alpha = ImgAlpha; delete ImgMC.onEnterFrame; } function StayEffect_Stay(ImgMC, StayTime, MovieWidth, MovieHeight, PosX, PosY, StaySpeed, ImgAlpha, ImgWidth, ImgHeight) { ImgMC.onEnterFrame = function () { }; } function StayEffect_Flicker(ImgMC, StayTime, MovieWidth, MovieHeight, PosX, PosY, StaySpeed, ImgAlpha, ImgWidth, ImgHeight) { ImgMC.PosX = PosX; ImgMC.PosY = PosY; ImgMC.StaySpeed = StaySpeed; ImgMC.ImgAlpha = ImgAlpha; ImgMC.FlickerVisible = true; ImgMC.StayTime = StayTime; ImgMC.Switch = StaySpeed; ImgMC.onEnterFrame = function () { if (this.StayTime == 0) { this._rotation = 0; this._xscale = 100; this._yscale = 100; this._x = this.PosX; this._y = this.PosY; this._alpha = this.ImgAlpha; delete this.onEnterFrame; } else if (this.StayTime > 0) { this.StayTime--; } if ((--this.Switch) <= 0) { if (ImgMC.FlickerVisible) { ImgMC._alpha = 0; ImgMC.FlickerVisible = false; } else { ImgMC._alpha = this.ImgAlpha; ImgMC.FlickerVisible = true; } this.Switch = this.StaySpeed; } }; } function StayEffect_Rotating(ImgMC, StayTime, MovieWidth, MovieHeight, PosX, PosY, StaySpeed, ImgAlpha, ImgWidth, ImgHeight) { ImgMC.StaySpeed = StaySpeed; ImgMC.PosX = PosX; ImgMC.PosY = PosY; ImgMC.ImgAlpha = ImgAlpha; ImgMC.ImgWidth = ImgWidth; ImgMC.ImgHeight = ImgHeight; ImgMC.StayTime = StayTime; ImgMC._rotation = 0; ImgMC.onEnterFrame = function () { if (this.StayTime == 0) { this._rotation = 0; this._xscale = 100; this._yscale = 100; this._x = this.PosX; this._y = this.PosY; this._alpha = this.ImgAlpha; delete this.onEnterFrame; } else if (this.StayTime > 0) { this._rotation = this._rotation + this.StaySpeed; this._x = ((this.PosX + (this.ImgWidth / 2)) - ((this.ImgWidth / 2) * Math.cos((this._rotation / 180) * Math.PI))) + ((this.ImgHeight / 2) * Math.sin((this._rotation / 180) * Math.PI)); this._y = ((this.PosY + (this.ImgHeight / 2)) - ((this.ImgWidth / 2) * Math.sin((this._rotation / 180) * Math.PI))) - ((this.ImgHeight / 2) * Math.cos((this._rotation / 180) * Math.PI)); if (this.StayTime > 0) { this.StayTime--; } } }; } function StayEffect_ZoomInZoomOut(ImgMC, StayTime, MovieWidth, MovieHeight, PosX, PosY, StaySpeed, ImgAlpha, ImgWidth, ImgHeight) { ImgMC.StaySpeed = StaySpeed; ImgMC.ZoomOut = true; ImgMC.PosX = PosX; ImgMC.PosY = PosY; ImgMC.ImgWidth = ImgWidth; ImgMC.ImgHeight = ImgHeight; ImgMC.ImgAlpha = ImgAlpha; ImgMC.StayTime = StayTime; ImgMC.onEnterFrame = function () { if (this.StayTime == 0) { this._rotation = 0; this._xscale = 100; this._yscale = 100; this._x = this.PosX; this._y = this.PosY; this._alpha = this.ImgAlpha; delete this.onEnterFrame; } else if (this.StayTime > 0) { this.StayTime--; } if (this.ZoomOut) { this._xscale = this._xscale - this.StaySpeed; this._yscale = this._yscale - this.StaySpeed; if (this._xscale < 90) { this.ZoomOut = false; } } else { this._xscale = this._xscale + this.StaySpeed; this._yscale = this._yscale + this.StaySpeed; if (this._xscale > 110) { this.ZoomOut = true; } } this._x = (this.PosX + (this.ImgWidth / 2)) - (this._width / 2); this._y = (this.PosY + (this.ImgHeight / 2)) - (this._height / 2); }; } function StayEffect_FadeInFadeOut(ImgMC, StayTime, MovieWidth, MovieHeight, PosX, PosY, StaySpeed, ImgAlpha, ImgWidth, ImgHeight) { ImgMC.StaySpeed = StaySpeed; ImgMC.AlphaOut = true; ImgMC.PosX = PosX; ImgMC.PosY = PosY; ImgMC.ImgAlpha = ImgAlpha; ImgMC.StayTime = StayTime; ImgMC.onEnterFrame = function () { if (this.StayTime == 0) { this._rotation = 0; this._xscale = 100; this._yscale = 100; this._x = this.PosX; this._y = this.PosY; this._alpha = this.ImgAlpha; delete this.onEnterFrame; } else if (this.StayTime > 0) { this.StayTime--; } if (this.AlphaOut) { this._alpha = this._alpha - this.StaySpeed; if (this._alpha < 80) { this.AlphaOut = false; } } else { this._alpha = this._alpha + this.StaySpeed; if (this._alpha >= 100) { this.AlphaOut = true; } } }; } ParamsDefine = "<ParamsDefine><Img.BlindWidth caption=\"Blind width\" type=\"integer\" min=\"1\" max=\"50\" default=\"12\"/><Img.InEffect caption=\"In effect\" type=\"selection\" selection=\"Blinds horizontal;Blinds vertical;Fade in\" default=\"Blinds horizontal\"/><Img.InSpeed caption=\"In speed\" type=\"integer\" min=\"1\" max=\"50\" default=\"4\"/><Img.StayEffect caption=\"Stay effect\" type=\"selection\" selection=\"Stay;Rotating;Zoom in Zoom out;Fade in Fade out;Flicker\" default=\"Stay\"/><Img.StaySpeed caption=\"Stay speed\" type=\"integer\" min=\"1\" max=\"50\" default=\"4\"/><Img.StayTime caption=\"Stay effect time\" type=\"selection\" selection=\"To end;Custom\" default=\"To end\"/><Img.StayTimeCustom caption=\"Stay effect custom seconds\" type=\"integer\" min=\"1\" max=\"50\" default=\"3\"/><Img.OutEffect caption=\"Out effect\" type=\"selection\" selection=\"Blinds horizontal;Blinds vertical;Fade out\" default=\"Blinds horizontal\"/><Img.OutSpeed caption=\"Out speed\" type=\"integer\" min=\"1\" max=\"50\" default=\"4\"/><Img.EffectName caption=\"Effect Name\" type=\"const\" default=\"Img.Blinds\"/></ParamsDefine>"; var param = new Array(); param["Movie.Width"] = _parent._width; param["Movie.Height"] = _parent._height; if (ParamsValue != null) { paramXML = new XML(ParamsValue); paramXML.ignoreWhite = false; var i = 0; while (i < paramXML.childNodes[0].childNodes.length) { node = paramXML.childNodes[0].childNodes[i]; param[node.nodeName] = node.childNodes[0].nodeValue; i++; } param["Movie.Width"] = parseInt(param["Movie.Width"]); param["Movie.Height"] = parseInt(param["Movie.Height"]); param["Movie.FPS"] = parseInt(param["Movie.FPS"]); param["Img.InSpeed"] = parseInt(param["Img.InSpeed"]); param["Img.OutSpeed"] = parseInt(param["Img.OutSpeed"]); param["Img.StaySpeed"] = parseInt(param["Img.StaySpeed"]); param["Img.StayTimeCustom"] = parseInt(param["Img.StayTimeCustom"]); param["Img.BlindWidth"] = parseInt(param["Img.BlindWidth"]); param["Img.PosX"] = parseInt(param["Img.PosX"]); param["Img.PosY"] = parseInt(param["Img.PosY"]); param["Img.Rotation"] = parseInt(param["Img.Rotation"]); param["Img.Alpha"] = parseInt(param["Img.Alpha"]); param["Img.StaticText"] = param["Img.StaticText"].toLowerCase() == "true"; param["Img.DelayFrame"] = parseInt(param["Img.DelayFrame"]); param["Img.DurationFrame"] = parseInt(param["Img.DurationFrame"]); param["Img.KeepText"] = param["Img.KeepText"].toLowerCase() == "true"; param["Img.URL"] = param["Img.URL"].toLowerCase() == "true"; delete paramXML; } else { param["Movie.Width"] = 400; param["Movie.Height"] = 300; param["Img.InSpeed"] = 8; param["Img.OutSpeed"] = 8; param["Img.StaySpeed"] = 4; param["Img.StayTimeCustom"] = 3; param["Img.PosX"] = 100; param["Img.PosY"] = 100; param["Img.Rotation"] = 0; param["Img.Alpha"] = 100; param["Img.StaticText"] = false; param["Img.DelayFrame"] = 0; param["Img.DurationFrame"] = 10; param["Img.KeepText"] = false; param["Img.URL"] = false; param["Img.URLAddress"] = "about:blank"; param["Img.URLTarget"] = "_blank"; } if (param["Img.StaticText"]) { gotoAndPlay(_currentframe + 3); }
Symbol 79 MovieClip Frame 3
param["Img.DelayFrame"] = param["Img.DelayFrame"] - 1; if (param["Img.DelayFrame"] > 0) { gotoAndPlay(_currentframe - 1); }
Symbol 79 MovieClip Frame 4
stop(); var ImageMovie_MC = this.attachMovie(param["Img.ImageMovieExport"], "ImageMovie_MC", 2); if (param["Img.StaticText"]) { InEffect_FadeIn(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], 20, param["Img.Alpha"]); } else { switch (param["Img.InEffect"]) { case "Blinds horizontal" : InEffect_BlindsHorizontal(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.InSpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height, param["Img.BlindWidth"]); break; case "Blinds vertical" : InEffect_BlindsVertical(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.InSpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height, param["Img.BlindWidth"]); break; case "Fade in" : InEffect_FadeIn(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.InSpeed"], param["Img.Alpha"]); break; default : InEffect_FadeIn(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.InSpeed"], param["Img.Alpha"]); } }
Symbol 79 MovieClip Frame 5
var iStayEffectTime = -1; if (param["Img.StayTime"] != "To end") { iStayEffectTime = param["Movie.FPS"] * param["Img.StayTimeCustom"]; } switch (param["Img.StayEffect"]) { case "Stay" : StayEffect_Stay(ImageMovie_MC, iStayEffectTime, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.StaySpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height); break; case "Flicker" : StayEffect_Flicker(ImageMovie_MC, iStayEffectTime, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.StaySpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height); break; case "Rotating" : StayEffect_Rotating(ImageMovie_MC, iStayEffectTime, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.StaySpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height); break; case "Zoom in Zoom out" : StayEffect_ZoomInZoomOut(ImageMovie_MC, iStayEffectTime, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.StaySpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height); break; case "Fade in Fade out" : StayEffect_FadeInFadeOut(ImageMovie_MC, iStayEffectTime, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.StaySpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height); break; default : StayEffect_Stay(ImageMovie_MC, iStayEffectTime, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.StaySpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height); }
Symbol 79 MovieClip Frame 7
if (param["Img.DurationFrame"] < 0) { gotoAndPlay(_currentframe - 1); } else { param["Img.DurationFrame"] = param["Img.DurationFrame"] - 1; if (param["Img.DurationFrame"] > 0) { gotoAndPlay(_currentframe - 1); } else { gotoAndPlay(_currentframe + 1); } }
Symbol 79 MovieClip Frame 8
if (param["Img.KeepText"] || (param["Img.StaticText"])) { gotoAndPlay(_currentframe + 2); }
Symbol 79 MovieClip Frame 9
stop(); LeaveStayEffect(ImageMovie_MC, param["Img.PosX"], param["Img.PosY"], param["Img.Alpha"]); switch (param["Img.OutEffect"]) { case "Blinds horizontal" : OutEffect_BlindsHorizontal(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.OutSpeed"], ImageMovie_MC._width, ImageMovie_MC._height, param["Img.BlindWidth"]); break; case "Blinds vertical" : OutEffect_BlindsVertical(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.OutSpeed"], ImageMovie_MC._width, ImageMovie_MC._height, param["Img.BlindWidth"]); break; case "Fade out" : OutEffect_FadeOut(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.OutSpeed"]); break; default : OutEffect_FadeOut(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.OutSpeed"]); }
Symbol 79 MovieClip Frame 10
stop(); if (!param["Img.StaticText"]) { _parent.g_effectcount = _parent.g_effectcount - 1; if (_parent.g_effectcount <= 0) { _parent.play(); } }
Symbol 84 MovieClip Frame 1
ParamsValue = "<ParamsValue><Movie.Width>1024</Movie.Width><Movie.Height>881</Movie.Height><Movie.FPS>24</Movie.FPS><Img.ImageExport>Img.Blinds_Image_15</Img.ImageExport><Img.ImageMovieExport>Img.Blinds_ImageMovie_15</Img.ImageMovieExport><Img.BlindWidth>12</Img.BlindWidth><Img.InEffect>Blinds horizontal</Img.InEffect><Img.InSpeed>4</Img.InSpeed><Img.StayEffect>Stay</Img.StayEffect><Img.StaySpeed>4</Img.StaySpeed><Img.StayTime>To end</Img.StayTime><Img.StayTimeCustom>3</Img.StayTimeCustom><Img.OutEffect>Blinds horizontal</Img.OutEffect><Img.OutSpeed>4</Img.OutSpeed><Img.EffectName>Img.Blinds</Img.EffectName><Img.PosX>144</Img.PosX><Img.PosY>80</Img.PosY><Img.Rotation>0</Img.Rotation><Img.Alpha>100</Img.Alpha><Img.StaticText>false</Img.StaticText><Img.DelayFrame>0</Img.DelayFrame><Img.DurationFrame>144</Img.DurationFrame><Img.KeepText>false</Img.KeepText><Img.URL>false</Img.URL><Img.URLAddress>about:blank</Img.URLAddress><Img.URLTarget></Img.URLTarget></ParamsValue>"; function InEffect_FadeIn(ImgMC, MovieWidth, MovieHeight, PosX, PosY, InSpeed, ImgAlpha) { ImgMC._x = PosX; ImgMC._y = PosY; ImgMC._alpha = 0; ImgMC.InSpeed = InSpeed; ImgMC.ImgAlpha = ImgAlpha; ImgMC.onEnterFrame = function () { if ((this._alpha + this.InSpeed) > this.ImgAlpha) { this._alpha = this.ImgAlpha; delete this.onEnterFrame; this._parent.play(); } this._alpha = this._alpha + this.InSpeed; }; } function InEffect_BlindsHorizontal(ImgMC, MovieWidth, MovieHeight, PosX, PosY, InSpeed, ImgAlpha, ImgWidth, ImgHeight, BlindWidth) { var iBlindsCount = Math.ceil(ImgHeight / BlindWidth); var ImgMask = this.createEmptyMovieClip("ImgMask", 3); var ImgMask_Slide0 = ImgMask.createEmptyMovieClip("ImgMask_Slide0", 1); with (ImgMask_Slide0) { beginFill(16777215); moveTo(0, 0); lineTo(ImgWidth, 0); lineTo(ImgWidth, BlindWidth); lineTo(0, BlindWidth); lineTo(0, 0); endFill(); } var i = 1; while (i < iBlindsCount) { ImgMask_Slide0.duplicateMovieClip("ImgMask_Slide" + i, i + 1); i++; } var i = 0; while (i < iBlindsCount) { ImgMask["ImgMask_Slide" + i]._x = 0; ImgMask["ImgMask_Slide" + i]._y = BlindWidth * i; ImgMask["ImgMask_Slide" + i]._yscale = 0; i++; } ImgMC._x = PosX; ImgMC._y = PosY; ImgMask._x = PosX; ImgMask._y = PosY; ImgMC.setMask(ImgMask); ImgMask.ScaleCount = 0; ImgMask.InSpeed = InSpeed; ImgMask.iBlindsCount = iBlindsCount; ImgMask.onEnterFrame = function () { var _local2 = 0; while (_local2 < iBlindsCount) { this["ImgMask_Slide" + _local2]._yscale = this["ImgMask_Slide" + _local2]._yscale + this.InSpeed; _local2++; } this.ScaleCount = this.ScaleCount + this.InSpeed; if (this.ScaleCount >= 110) { delete this.onEnterFrame; this._parent.play(); this.removeMovieClip(); } }; } function InEffect_BlindsVertical(ImgMC, MovieWidth, MovieHeight, PosX, PosY, InSpeed, ImgAlpha, ImgWidth, ImgHeight, BlindWidth) { var iBlindsCount = Math.ceil(ImgWidth / BlindWidth); var ImgMask = this.createEmptyMovieClip("ImgMask", 3); var ImgMask_Slide0 = ImgMask.createEmptyMovieClip("ImgMask_Slide0", 1); with (ImgMask_Slide0) { beginFill(16777215); moveTo(0, 0); lineTo(BlindWidth, 0); lineTo(BlindWidth, ImgHeight); lineTo(0, ImgHeight); lineTo(0, 0); endFill(); } var i = 1; while (i < iBlindsCount) { ImgMask_Slide0.duplicateMovieClip("ImgMask_Slide" + i, i + 1); i++; } var i = 0; while (i < iBlindsCount) { ImgMask["ImgMask_Slide" + i]._x = BlindWidth * i; ImgMask["ImgMask_Slide" + i]._y = 0; ImgMask["ImgMask_Slide" + i]._xscale = 0; i++; } ImgMC._x = PosX; ImgMC._y = PosY; ImgMask._x = PosX; ImgMask._y = PosY; ImgMC.setMask(ImgMask); ImgMask.ScaleCount = 0; ImgMask.InSpeed = InSpeed; ImgMask.iBlindsCount = iBlindsCount; ImgMask.onEnterFrame = function () { var _local2 = 0; while (_local2 < iBlindsCount) { this["ImgMask_Slide" + _local2]._xscale = this["ImgMask_Slide" + _local2]._xscale + this.InSpeed; _local2++; } this.ScaleCount = this.ScaleCount + this.InSpeed; if (this.ScaleCount >= 110) { delete this.onEnterFrame; this._parent.play(); this.removeMovieClip(); } }; } function OutEffect_FadeOut(ImgMC, MovieWidth, MovieHeight, OutSpeed) { ImgMC.OutSpeed = OutSpeed; ImgMC.onEnterFrame = function () { this._alpha = this._alpha - this.OutSpeed; if (this._alpha <= 0) { this._parent.play(); delete this.onEnterFrame; this.removeMovieClip(); } }; } function OutEffect_BlindsHorizontal(ImgMC, MovieWidth, MovieHeight, PosX, PosY, OutSpeed, ImgWidth, ImgHeight, BlindWidth) { var iBlindsCount = Math.ceil(ImgHeight / BlindWidth); var ImgMask = this.createEmptyMovieClip("ImgMask", 3); var ImgMask_Slide0 = ImgMask.createEmptyMovieClip("ImgMask_Slide0", 1); with (ImgMask_Slide0) { beginFill(16777215); moveTo(0, 0); lineTo(ImgWidth, 0); lineTo(ImgWidth, BlindWidth); lineTo(0, BlindWidth); lineTo(0, 0); endFill(); } var i = 1; while (i < iBlindsCount) { ImgMask_Slide0.duplicateMovieClip("ImgMask_Slide" + i, i + 1); i++; } var i = 0; while (i < iBlindsCount) { ImgMask["ImgMask_Slide" + i]._x = 0; ImgMask["ImgMask_Slide" + i]._y = BlindWidth * i; ImgMask["ImgMask_Slide" + i]._yscale = 100; i++; } ImgMC._x = PosX; ImgMC._y = PosY; ImgMask._x = PosX; ImgMask._y = PosY; ImgMC.setMask(ImgMask); ImgMask.ScaleCount = 100; ImgMask.OutSpeed = OutSpeed; ImgMask.iBlindsCount = iBlindsCount; ImgMask.onEnterFrame = function () { var _local2 = 0; while (_local2 < iBlindsCount) { this["ImgMask_Slide" + _local2]._yscale = this["ImgMask_Slide" + _local2]._yscale - this.OutSpeed; _local2++; } this.ScaleCount = this.ScaleCount - this.OutSpeed; if (this.ScaleCount <= 0) { delete this.onEnterFrame; this._parent.play(); ImgMask.removeMovieClip(); ImgMC.removeMovieClip(); } }; } function OutEffect_BlindsVertical(ImgMC, MovieWidth, MovieHeight, PosX, PosY, OutSpeed, ImgWidth, ImgHeight, BlindWidth) { var iBlindsCount = Math.ceil(ImgWidth / BlindWidth); var ImgMask = this.createEmptyMovieClip("ImgMask", 3); var ImgMask_Slide0 = ImgMask.createEmptyMovieClip("ImgMask_Slide0", 1); with (ImgMask_Slide0) { beginFill(16777215); moveTo(0, 0); lineTo(BlindWidth, 0); lineTo(BlindWidth, ImgHeight); lineTo(0, ImgHeight); lineTo(0, 0); endFill(); } var i = 1; while (i < iBlindsCount) { ImgMask_Slide0.duplicateMovieClip("ImgMask_Slide" + i, i + 1); i++; } var i = 0; while (i < iBlindsCount) { ImgMask["ImgMask_Slide" + i]._x = BlindWidth * i; ImgMask["ImgMask_Slide" + i]._y = 0; ImgMask["ImgMask_Slide" + i]._xscale = 100; i++; } ImgMC._x = PosX; ImgMC._y = PosY; ImgMask._x = PosX; ImgMask._y = PosY; ImgMC.setMask(ImgMask); ImgMask.ScaleCount = 100; ImgMask.OutSpeed = OutSpeed; ImgMask.iBlindsCount = iBlindsCount; ImgMask.onEnterFrame = function () { var _local2 = 0; while (_local2 < iBlindsCount) { this["ImgMask_Slide" + _local2]._xscale = this["ImgMask_Slide" + _local2]._xscale - this.OutSpeed; _local2++; } this.ScaleCount = this.ScaleCount - this.OutSpeed; if (this.ScaleCount <= 0) { delete this.onEnterFrame; this._parent.play(); ImgMask.removeMovieClip(); ImgMC.removeMovieClip(); } }; } function LeaveStayEffect(ImgMC, PosX, PosY, ImgAlpha) { ImgMC._rotation = 0; ImgMC._xscale = 100; ImgMC._yscale = 100; ImgMC._x = PosX; ImgMC._y = PosY; ImgMC._alpha = ImgAlpha; delete ImgMC.onEnterFrame; } function StayEffect_Stay(ImgMC, StayTime, MovieWidth, MovieHeight, PosX, PosY, StaySpeed, ImgAlpha, ImgWidth, ImgHeight) { ImgMC.onEnterFrame = function () { }; } function StayEffect_Flicker(ImgMC, StayTime, MovieWidth, MovieHeight, PosX, PosY, StaySpeed, ImgAlpha, ImgWidth, ImgHeight) { ImgMC.PosX = PosX; ImgMC.PosY = PosY; ImgMC.StaySpeed = StaySpeed; ImgMC.ImgAlpha = ImgAlpha; ImgMC.FlickerVisible = true; ImgMC.StayTime = StayTime; ImgMC.Switch = StaySpeed; ImgMC.onEnterFrame = function () { if (this.StayTime == 0) { this._rotation = 0; this._xscale = 100; this._yscale = 100; this._x = this.PosX; this._y = this.PosY; this._alpha = this.ImgAlpha; delete this.onEnterFrame; } else if (this.StayTime > 0) { this.StayTime--; } if ((--this.Switch) <= 0) { if (ImgMC.FlickerVisible) { ImgMC._alpha = 0; ImgMC.FlickerVisible = false; } else { ImgMC._alpha = this.ImgAlpha; ImgMC.FlickerVisible = true; } this.Switch = this.StaySpeed; } }; } function StayEffect_Rotating(ImgMC, StayTime, MovieWidth, MovieHeight, PosX, PosY, StaySpeed, ImgAlpha, ImgWidth, ImgHeight) { ImgMC.StaySpeed = StaySpeed; ImgMC.PosX = PosX; ImgMC.PosY = PosY; ImgMC.ImgAlpha = ImgAlpha; ImgMC.ImgWidth = ImgWidth; ImgMC.ImgHeight = ImgHeight; ImgMC.StayTime = StayTime; ImgMC._rotation = 0; ImgMC.onEnterFrame = function () { if (this.StayTime == 0) { this._rotation = 0; this._xscale = 100; this._yscale = 100; this._x = this.PosX; this._y = this.PosY; this._alpha = this.ImgAlpha; delete this.onEnterFrame; } else if (this.StayTime > 0) { this._rotation = this._rotation + this.StaySpeed; this._x = ((this.PosX + (this.ImgWidth / 2)) - ((this.ImgWidth / 2) * Math.cos((this._rotation / 180) * Math.PI))) + ((this.ImgHeight / 2) * Math.sin((this._rotation / 180) * Math.PI)); this._y = ((this.PosY + (this.ImgHeight / 2)) - ((this.ImgWidth / 2) * Math.sin((this._rotation / 180) * Math.PI))) - ((this.ImgHeight / 2) * Math.cos((this._rotation / 180) * Math.PI)); if (this.StayTime > 0) { this.StayTime--; } } }; } function StayEffect_ZoomInZoomOut(ImgMC, StayTime, MovieWidth, MovieHeight, PosX, PosY, StaySpeed, ImgAlpha, ImgWidth, ImgHeight) { ImgMC.StaySpeed = StaySpeed; ImgMC.ZoomOut = true; ImgMC.PosX = PosX; ImgMC.PosY = PosY; ImgMC.ImgWidth = ImgWidth; ImgMC.ImgHeight = ImgHeight; ImgMC.ImgAlpha = ImgAlpha; ImgMC.StayTime = StayTime; ImgMC.onEnterFrame = function () { if (this.StayTime == 0) { this._rotation = 0; this._xscale = 100; this._yscale = 100; this._x = this.PosX; this._y = this.PosY; this._alpha = this.ImgAlpha; delete this.onEnterFrame; } else if (this.StayTime > 0) { this.StayTime--; } if (this.ZoomOut) { this._xscale = this._xscale - this.StaySpeed; this._yscale = this._yscale - this.StaySpeed; if (this._xscale < 90) { this.ZoomOut = false; } } else { this._xscale = this._xscale + this.StaySpeed; this._yscale = this._yscale + this.StaySpeed; if (this._xscale > 110) { this.ZoomOut = true; } } this._x = (this.PosX + (this.ImgWidth / 2)) - (this._width / 2); this._y = (this.PosY + (this.ImgHeight / 2)) - (this._height / 2); }; } function StayEffect_FadeInFadeOut(ImgMC, StayTime, MovieWidth, MovieHeight, PosX, PosY, StaySpeed, ImgAlpha, ImgWidth, ImgHeight) { ImgMC.StaySpeed = StaySpeed; ImgMC.AlphaOut = true; ImgMC.PosX = PosX; ImgMC.PosY = PosY; ImgMC.ImgAlpha = ImgAlpha; ImgMC.StayTime = StayTime; ImgMC.onEnterFrame = function () { if (this.StayTime == 0) { this._rotation = 0; this._xscale = 100; this._yscale = 100; this._x = this.PosX; this._y = this.PosY; this._alpha = this.ImgAlpha; delete this.onEnterFrame; } else if (this.StayTime > 0) { this.StayTime--; } if (this.AlphaOut) { this._alpha = this._alpha - this.StaySpeed; if (this._alpha < 80) { this.AlphaOut = false; } } else { this._alpha = this._alpha + this.StaySpeed; if (this._alpha >= 100) { this.AlphaOut = true; } } }; } ParamsDefine = "<ParamsDefine><Img.BlindWidth caption=\"Blind width\" type=\"integer\" min=\"1\" max=\"50\" default=\"12\"/><Img.InEffect caption=\"In effect\" type=\"selection\" selection=\"Blinds horizontal;Blinds vertical;Fade in\" default=\"Blinds horizontal\"/><Img.InSpeed caption=\"In speed\" type=\"integer\" min=\"1\" max=\"50\" default=\"4\"/><Img.StayEffect caption=\"Stay effect\" type=\"selection\" selection=\"Stay;Rotating;Zoom in Zoom out;Fade in Fade out;Flicker\" default=\"Stay\"/><Img.StaySpeed caption=\"Stay speed\" type=\"integer\" min=\"1\" max=\"50\" default=\"4\"/><Img.StayTime caption=\"Stay effect time\" type=\"selection\" selection=\"To end;Custom\" default=\"To end\"/><Img.StayTimeCustom caption=\"Stay effect custom seconds\" type=\"integer\" min=\"1\" max=\"50\" default=\"3\"/><Img.OutEffect caption=\"Out effect\" type=\"selection\" selection=\"Blinds horizontal;Blinds vertical;Fade out\" default=\"Blinds horizontal\"/><Img.OutSpeed caption=\"Out speed\" type=\"integer\" min=\"1\" max=\"50\" default=\"4\"/><Img.EffectName caption=\"Effect Name\" type=\"const\" default=\"Img.Blinds\"/></ParamsDefine>"; var param = new Array(); param["Movie.Width"] = _parent._width; param["Movie.Height"] = _parent._height; if (ParamsValue != null) { paramXML = new XML(ParamsValue); paramXML.ignoreWhite = false; var i = 0; while (i < paramXML.childNodes[0].childNodes.length) { node = paramXML.childNodes[0].childNodes[i]; param[node.nodeName] = node.childNodes[0].nodeValue; i++; } param["Movie.Width"] = parseInt(param["Movie.Width"]); param["Movie.Height"] = parseInt(param["Movie.Height"]); param["Movie.FPS"] = parseInt(param["Movie.FPS"]); param["Img.InSpeed"] = parseInt(param["Img.InSpeed"]); param["Img.OutSpeed"] = parseInt(param["Img.OutSpeed"]); param["Img.StaySpeed"] = parseInt(param["Img.StaySpeed"]); param["Img.StayTimeCustom"] = parseInt(param["Img.StayTimeCustom"]); param["Img.BlindWidth"] = parseInt(param["Img.BlindWidth"]); param["Img.PosX"] = parseInt(param["Img.PosX"]); param["Img.PosY"] = parseInt(param["Img.PosY"]); param["Img.Rotation"] = parseInt(param["Img.Rotation"]); param["Img.Alpha"] = parseInt(param["Img.Alpha"]); param["Img.StaticText"] = param["Img.StaticText"].toLowerCase() == "true"; param["Img.DelayFrame"] = parseInt(param["Img.DelayFrame"]); param["Img.DurationFrame"] = parseInt(param["Img.DurationFrame"]); param["Img.KeepText"] = param["Img.KeepText"].toLowerCase() == "true"; param["Img.URL"] = param["Img.URL"].toLowerCase() == "true"; delete paramXML; } else { param["Movie.Width"] = 400; param["Movie.Height"] = 300; param["Img.InSpeed"] = 8; param["Img.OutSpeed"] = 8; param["Img.StaySpeed"] = 4; param["Img.StayTimeCustom"] = 3; param["Img.PosX"] = 100; param["Img.PosY"] = 100; param["Img.Rotation"] = 0; param["Img.Alpha"] = 100; param["Img.StaticText"] = false; param["Img.DelayFrame"] = 0; param["Img.DurationFrame"] = 10; param["Img.KeepText"] = false; param["Img.URL"] = false; param["Img.URLAddress"] = "about:blank"; param["Img.URLTarget"] = "_blank"; } if (param["Img.StaticText"]) { gotoAndPlay(_currentframe + 3); }
Symbol 84 MovieClip Frame 3
param["Img.DelayFrame"] = param["Img.DelayFrame"] - 1; if (param["Img.DelayFrame"] > 0) { gotoAndPlay(_currentframe - 1); }
Symbol 84 MovieClip Frame 4
stop(); var ImageMovie_MC = this.attachMovie(param["Img.ImageMovieExport"], "ImageMovie_MC", 2); if (param["Img.StaticText"]) { InEffect_FadeIn(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], 20, param["Img.Alpha"]); } else { switch (param["Img.InEffect"]) { case "Blinds horizontal" : InEffect_BlindsHorizontal(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.InSpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height, param["Img.BlindWidth"]); break; case "Blinds vertical" : InEffect_BlindsVertical(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.InSpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height, param["Img.BlindWidth"]); break; case "Fade in" : InEffect_FadeIn(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.InSpeed"], param["Img.Alpha"]); break; default : InEffect_FadeIn(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.InSpeed"], param["Img.Alpha"]); } }
Symbol 84 MovieClip Frame 5
var iStayEffectTime = -1; if (param["Img.StayTime"] != "To end") { iStayEffectTime = param["Movie.FPS"] * param["Img.StayTimeCustom"]; } switch (param["Img.StayEffect"]) { case "Stay" : StayEffect_Stay(ImageMovie_MC, iStayEffectTime, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.StaySpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height); break; case "Flicker" : StayEffect_Flicker(ImageMovie_MC, iStayEffectTime, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.StaySpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height); break; case "Rotating" : StayEffect_Rotating(ImageMovie_MC, iStayEffectTime, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.StaySpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height); break; case "Zoom in Zoom out" : StayEffect_ZoomInZoomOut(ImageMovie_MC, iStayEffectTime, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.StaySpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height); break; case "Fade in Fade out" : StayEffect_FadeInFadeOut(ImageMovie_MC, iStayEffectTime, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.StaySpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height); break; default : StayEffect_Stay(ImageMovie_MC, iStayEffectTime, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.StaySpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height); }
Symbol 84 MovieClip Frame 7
if (param["Img.DurationFrame"] < 0) { gotoAndPlay(_currentframe - 1); } else { param["Img.DurationFrame"] = param["Img.DurationFrame"] - 1; if (param["Img.DurationFrame"] > 0) { gotoAndPlay(_currentframe - 1); } else { gotoAndPlay(_currentframe + 1); } }
Symbol 84 MovieClip Frame 8
if (param["Img.KeepText"] || (param["Img.StaticText"])) { gotoAndPlay(_currentframe + 2); }
Symbol 84 MovieClip Frame 9
stop(); LeaveStayEffect(ImageMovie_MC, param["Img.PosX"], param["Img.PosY"], param["Img.Alpha"]); switch (param["Img.OutEffect"]) { case "Blinds horizontal" : OutEffect_BlindsHorizontal(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.OutSpeed"], ImageMovie_MC._width, ImageMovie_MC._height, param["Img.BlindWidth"]); break; case "Blinds vertical" : OutEffect_BlindsVertical(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.OutSpeed"], ImageMovie_MC._width, ImageMovie_MC._height, param["Img.BlindWidth"]); break; case "Fade out" : OutEffect_FadeOut(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.OutSpeed"]); break; default : OutEffect_FadeOut(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.OutSpeed"]); }
Symbol 84 MovieClip Frame 10
stop(); if (!param["Img.StaticText"]) { _parent.g_effectcount = _parent.g_effectcount - 1; if (_parent.g_effectcount <= 0) { _parent.play(); } }
Symbol 89 MovieClip Frame 1
ParamsValue = "<ParamsValue><Movie.Width>1024</Movie.Width><Movie.Height>881</Movie.Height><Movie.FPS>24</Movie.FPS><Img.ImageExport>Img.Blinds_Image_16</Img.ImageExport><Img.ImageMovieExport>Img.Blinds_ImageMovie_16</Img.ImageMovieExport><Img.BlindWidth>12</Img.BlindWidth><Img.InEffect>Blinds horizontal</Img.InEffect><Img.InSpeed>4</Img.InSpeed><Img.StayEffect>Stay</Img.StayEffect><Img.StaySpeed>4</Img.StaySpeed><Img.StayTime>To end</Img.StayTime><Img.StayTimeCustom>3</Img.StayTimeCustom><Img.OutEffect>Blinds horizontal</Img.OutEffect><Img.OutSpeed>4</Img.OutSpeed><Img.EffectName>Img.Blinds</Img.EffectName><Img.PosX>50</Img.PosX><Img.PosY>181</Img.PosY><Img.Rotation>0</Img.Rotation><Img.Alpha>100</Img.Alpha><Img.StaticText>false</Img.StaticText><Img.DelayFrame>0</Img.DelayFrame><Img.DurationFrame>144</Img.DurationFrame><Img.KeepText>false</Img.KeepText><Img.URL>false</Img.URL><Img.URLAddress>about:blank</Img.URLAddress><Img.URLTarget></Img.URLTarget></ParamsValue>"; function InEffect_FadeIn(ImgMC, MovieWidth, MovieHeight, PosX, PosY, InSpeed, ImgAlpha) { ImgMC._x = PosX; ImgMC._y = PosY; ImgMC._alpha = 0; ImgMC.InSpeed = InSpeed; ImgMC.ImgAlpha = ImgAlpha; ImgMC.onEnterFrame = function () { if ((this._alpha + this.InSpeed) > this.ImgAlpha) { this._alpha = this.ImgAlpha; delete this.onEnterFrame; this._parent.play(); } this._alpha = this._alpha + this.InSpeed; }; } function InEffect_BlindsHorizontal(ImgMC, MovieWidth, MovieHeight, PosX, PosY, InSpeed, ImgAlpha, ImgWidth, ImgHeight, BlindWidth) { var iBlindsCount = Math.ceil(ImgHeight / BlindWidth); var ImgMask = this.createEmptyMovieClip("ImgMask", 3); var ImgMask_Slide0 = ImgMask.createEmptyMovieClip("ImgMask_Slide0", 1); with (ImgMask_Slide0) { beginFill(16777215); moveTo(0, 0); lineTo(ImgWidth, 0); lineTo(ImgWidth, BlindWidth); lineTo(0, BlindWidth); lineTo(0, 0); endFill(); } var i = 1; while (i < iBlindsCount) { ImgMask_Slide0.duplicateMovieClip("ImgMask_Slide" + i, i + 1); i++; } var i = 0; while (i < iBlindsCount) { ImgMask["ImgMask_Slide" + i]._x = 0; ImgMask["ImgMask_Slide" + i]._y = BlindWidth * i; ImgMask["ImgMask_Slide" + i]._yscale = 0; i++; } ImgMC._x = PosX; ImgMC._y = PosY; ImgMask._x = PosX; ImgMask._y = PosY; ImgMC.setMask(ImgMask); ImgMask.ScaleCount = 0; ImgMask.InSpeed = InSpeed; ImgMask.iBlindsCount = iBlindsCount; ImgMask.onEnterFrame = function () { var _local2 = 0; while (_local2 < iBlindsCount) { this["ImgMask_Slide" + _local2]._yscale = this["ImgMask_Slide" + _local2]._yscale + this.InSpeed; _local2++; } this.ScaleCount = this.ScaleCount + this.InSpeed; if (this.ScaleCount >= 110) { delete this.onEnterFrame; this._parent.play(); this.removeMovieClip(); } }; } function InEffect_BlindsVertical(ImgMC, MovieWidth, MovieHeight, PosX, PosY, InSpeed, ImgAlpha, ImgWidth, ImgHeight, BlindWidth) { var iBlindsCount = Math.ceil(ImgWidth / BlindWidth); var ImgMask = this.createEmptyMovieClip("ImgMask", 3); var ImgMask_Slide0 = ImgMask.createEmptyMovieClip("ImgMask_Slide0", 1); with (ImgMask_Slide0) { beginFill(16777215); moveTo(0, 0); lineTo(BlindWidth, 0); lineTo(BlindWidth, ImgHeight); lineTo(0, ImgHeight); lineTo(0, 0); endFill(); } var i = 1; while (i < iBlindsCount) { ImgMask_Slide0.duplicateMovieClip("ImgMask_Slide" + i, i + 1); i++; } var i = 0; while (i < iBlindsCount) { ImgMask["ImgMask_Slide" + i]._x = BlindWidth * i; ImgMask["ImgMask_Slide" + i]._y = 0; ImgMask["ImgMask_Slide" + i]._xscale = 0; i++; } ImgMC._x = PosX; ImgMC._y = PosY; ImgMask._x = PosX; ImgMask._y = PosY; ImgMC.setMask(ImgMask); ImgMask.ScaleCount = 0; ImgMask.InSpeed = InSpeed; ImgMask.iBlindsCount = iBlindsCount; ImgMask.onEnterFrame = function () { var _local2 = 0; while (_local2 < iBlindsCount) { this["ImgMask_Slide" + _local2]._xscale = this["ImgMask_Slide" + _local2]._xscale + this.InSpeed; _local2++; } this.ScaleCount = this.ScaleCount + this.InSpeed; if (this.ScaleCount >= 110) { delete this.onEnterFrame; this._parent.play(); this.removeMovieClip(); } }; } function OutEffect_FadeOut(ImgMC, MovieWidth, MovieHeight, OutSpeed) { ImgMC.OutSpeed = OutSpeed; ImgMC.onEnterFrame = function () { this._alpha = this._alpha - this.OutSpeed; if (this._alpha <= 0) { this._parent.play(); delete this.onEnterFrame; this.removeMovieClip(); } }; } function OutEffect_BlindsHorizontal(ImgMC, MovieWidth, MovieHeight, PosX, PosY, OutSpeed, ImgWidth, ImgHeight, BlindWidth) { var iBlindsCount = Math.ceil(ImgHeight / BlindWidth); var ImgMask = this.createEmptyMovieClip("ImgMask", 3); var ImgMask_Slide0 = ImgMask.createEmptyMovieClip("ImgMask_Slide0", 1); with (ImgMask_Slide0) { beginFill(16777215); moveTo(0, 0); lineTo(ImgWidth, 0); lineTo(ImgWidth, BlindWidth); lineTo(0, BlindWidth); lineTo(0, 0); endFill(); } var i = 1; while (i < iBlindsCount) { ImgMask_Slide0.duplicateMovieClip("ImgMask_Slide" + i, i + 1); i++; } var i = 0; while (i < iBlindsCount) { ImgMask["ImgMask_Slide" + i]._x = 0; ImgMask["ImgMask_Slide" + i]._y = BlindWidth * i; ImgMask["ImgMask_Slide" + i]._yscale = 100; i++; } ImgMC._x = PosX; ImgMC._y = PosY; ImgMask._x = PosX; ImgMask._y = PosY; ImgMC.setMask(ImgMask); ImgMask.ScaleCount = 100; ImgMask.OutSpeed = OutSpeed; ImgMask.iBlindsCount = iBlindsCount; ImgMask.onEnterFrame = function () { var _local2 = 0; while (_local2 < iBlindsCount) { this["ImgMask_Slide" + _local2]._yscale = this["ImgMask_Slide" + _local2]._yscale - this.OutSpeed; _local2++; } this.ScaleCount = this.ScaleCount - this.OutSpeed; if (this.ScaleCount <= 0) { delete this.onEnterFrame; this._parent.play(); ImgMask.removeMovieClip(); ImgMC.removeMovieClip(); } }; } function OutEffect_BlindsVertical(ImgMC, MovieWidth, MovieHeight, PosX, PosY, OutSpeed, ImgWidth, ImgHeight, BlindWidth) { var iBlindsCount = Math.ceil(ImgWidth / BlindWidth); var ImgMask = this.createEmptyMovieClip("ImgMask", 3); var ImgMask_Slide0 = ImgMask.createEmptyMovieClip("ImgMask_Slide0", 1); with (ImgMask_Slide0) { beginFill(16777215); moveTo(0, 0); lineTo(BlindWidth, 0); lineTo(BlindWidth, ImgHeight); lineTo(0, ImgHeight); lineTo(0, 0); endFill(); } var i = 1; while (i < iBlindsCount) { ImgMask_Slide0.duplicateMovieClip("ImgMask_Slide" + i, i + 1); i++; } var i = 0; while (i < iBlindsCount) { ImgMask["ImgMask_Slide" + i]._x = BlindWidth * i; ImgMask["ImgMask_Slide" + i]._y = 0; ImgMask["ImgMask_Slide" + i]._xscale = 100; i++; } ImgMC._x = PosX; ImgMC._y = PosY; ImgMask._x = PosX; ImgMask._y = PosY; ImgMC.setMask(ImgMask); ImgMask.ScaleCount = 100; ImgMask.OutSpeed = OutSpeed; ImgMask.iBlindsCount = iBlindsCount; ImgMask.onEnterFrame = function () { var _local2 = 0; while (_local2 < iBlindsCount) { this["ImgMask_Slide" + _local2]._xscale = this["ImgMask_Slide" + _local2]._xscale - this.OutSpeed; _local2++; } this.ScaleCount = this.ScaleCount - this.OutSpeed; if (this.ScaleCount <= 0) { delete this.onEnterFrame; this._parent.play(); ImgMask.removeMovieClip(); ImgMC.removeMovieClip(); } }; } function LeaveStayEffect(ImgMC, PosX, PosY, ImgAlpha) { ImgMC._rotation = 0; ImgMC._xscale = 100; ImgMC._yscale = 100; ImgMC._x = PosX; ImgMC._y = PosY; ImgMC._alpha = ImgAlpha; delete ImgMC.onEnterFrame; } function StayEffect_Stay(ImgMC, StayTime, MovieWidth, MovieHeight, PosX, PosY, StaySpeed, ImgAlpha, ImgWidth, ImgHeight) { ImgMC.onEnterFrame = function () { }; } function StayEffect_Flicker(ImgMC, StayTime, MovieWidth, MovieHeight, PosX, PosY, StaySpeed, ImgAlpha, ImgWidth, ImgHeight) { ImgMC.PosX = PosX; ImgMC.PosY = PosY; ImgMC.StaySpeed = StaySpeed; ImgMC.ImgAlpha = ImgAlpha; ImgMC.FlickerVisible = true; ImgMC.StayTime = StayTime; ImgMC.Switch = StaySpeed; ImgMC.onEnterFrame = function () { if (this.StayTime == 0) { this._rotation = 0; this._xscale = 100; this._yscale = 100; this._x = this.PosX; this._y = this.PosY; this._alpha = this.ImgAlpha; delete this.onEnterFrame; } else if (this.StayTime > 0) { this.StayTime--; } if ((--this.Switch) <= 0) { if (ImgMC.FlickerVisible) { ImgMC._alpha = 0; ImgMC.FlickerVisible = false; } else { ImgMC._alpha = this.ImgAlpha; ImgMC.FlickerVisible = true; } this.Switch = this.StaySpeed; } }; } function StayEffect_Rotating(ImgMC, StayTime, MovieWidth, MovieHeight, PosX, PosY, StaySpeed, ImgAlpha, ImgWidth, ImgHeight) { ImgMC.StaySpeed = StaySpeed; ImgMC.PosX = PosX; ImgMC.PosY = PosY; ImgMC.ImgAlpha = ImgAlpha; ImgMC.ImgWidth = ImgWidth; ImgMC.ImgHeight = ImgHeight; ImgMC.StayTime = StayTime; ImgMC._rotation = 0; ImgMC.onEnterFrame = function () { if (this.StayTime == 0) { this._rotation = 0; this._xscale = 100; this._yscale = 100; this._x = this.PosX; this._y = this.PosY; this._alpha = this.ImgAlpha; delete this.onEnterFrame; } else if (this.StayTime > 0) { this._rotation = this._rotation + this.StaySpeed; this._x = ((this.PosX + (this.ImgWidth / 2)) - ((this.ImgWidth / 2) * Math.cos((this._rotation / 180) * Math.PI))) + ((this.ImgHeight / 2) * Math.sin((this._rotation / 180) * Math.PI)); this._y = ((this.PosY + (this.ImgHeight / 2)) - ((this.ImgWidth / 2) * Math.sin((this._rotation / 180) * Math.PI))) - ((this.ImgHeight / 2) * Math.cos((this._rotation / 180) * Math.PI)); if (this.StayTime > 0) { this.StayTime--; } } }; } function StayEffect_ZoomInZoomOut(ImgMC, StayTime, MovieWidth, MovieHeight, PosX, PosY, StaySpeed, ImgAlpha, ImgWidth, ImgHeight) { ImgMC.StaySpeed = StaySpeed; ImgMC.ZoomOut = true; ImgMC.PosX = PosX; ImgMC.PosY = PosY; ImgMC.ImgWidth = ImgWidth; ImgMC.ImgHeight = ImgHeight; ImgMC.ImgAlpha = ImgAlpha; ImgMC.StayTime = StayTime; ImgMC.onEnterFrame = function () { if (this.StayTime == 0) { this._rotation = 0; this._xscale = 100; this._yscale = 100; this._x = this.PosX; this._y = this.PosY; this._alpha = this.ImgAlpha; delete this.onEnterFrame; } else if (this.StayTime > 0) { this.StayTime--; } if (this.ZoomOut) { this._xscale = this._xscale - this.StaySpeed; this._yscale = this._yscale - this.StaySpeed; if (this._xscale < 90) { this.ZoomOut = false; } } else { this._xscale = this._xscale + this.StaySpeed; this._yscale = this._yscale + this.StaySpeed; if (this._xscale > 110) { this.ZoomOut = true; } } this._x = (this.PosX + (this.ImgWidth / 2)) - (this._width / 2); this._y = (this.PosY + (this.ImgHeight / 2)) - (this._height / 2); }; } function StayEffect_FadeInFadeOut(ImgMC, StayTime, MovieWidth, MovieHeight, PosX, PosY, StaySpeed, ImgAlpha, ImgWidth, ImgHeight) { ImgMC.StaySpeed = StaySpeed; ImgMC.AlphaOut = true; ImgMC.PosX = PosX; ImgMC.PosY = PosY; ImgMC.ImgAlpha = ImgAlpha; ImgMC.StayTime = StayTime; ImgMC.onEnterFrame = function () { if (this.StayTime == 0) { this._rotation = 0; this._xscale = 100; this._yscale = 100; this._x = this.PosX; this._y = this.PosY; this._alpha = this.ImgAlpha; delete this.onEnterFrame; } else if (this.StayTime > 0) { this.StayTime--; } if (this.AlphaOut) { this._alpha = this._alpha - this.StaySpeed; if (this._alpha < 80) { this.AlphaOut = false; } } else { this._alpha = this._alpha + this.StaySpeed; if (this._alpha >= 100) { this.AlphaOut = true; } } }; } ParamsDefine = "<ParamsDefine><Img.BlindWidth caption=\"Blind width\" type=\"integer\" min=\"1\" max=\"50\" default=\"12\"/><Img.InEffect caption=\"In effect\" type=\"selection\" selection=\"Blinds horizontal;Blinds vertical;Fade in\" default=\"Blinds horizontal\"/><Img.InSpeed caption=\"In speed\" type=\"integer\" min=\"1\" max=\"50\" default=\"4\"/><Img.StayEffect caption=\"Stay effect\" type=\"selection\" selection=\"Stay;Rotating;Zoom in Zoom out;Fade in Fade out;Flicker\" default=\"Stay\"/><Img.StaySpeed caption=\"Stay speed\" type=\"integer\" min=\"1\" max=\"50\" default=\"4\"/><Img.StayTime caption=\"Stay effect time\" type=\"selection\" selection=\"To end;Custom\" default=\"To end\"/><Img.StayTimeCustom caption=\"Stay effect custom seconds\" type=\"integer\" min=\"1\" max=\"50\" default=\"3\"/><Img.OutEffect caption=\"Out effect\" type=\"selection\" selection=\"Blinds horizontal;Blinds vertical;Fade out\" default=\"Blinds horizontal\"/><Img.OutSpeed caption=\"Out speed\" type=\"integer\" min=\"1\" max=\"50\" default=\"4\"/><Img.EffectName caption=\"Effect Name\" type=\"const\" default=\"Img.Blinds\"/></ParamsDefine>"; var param = new Array(); param["Movie.Width"] = _parent._width; param["Movie.Height"] = _parent._height; if (ParamsValue != null) { paramXML = new XML(ParamsValue); paramXML.ignoreWhite = false; var i = 0; while (i < paramXML.childNodes[0].childNodes.length) { node = paramXML.childNodes[0].childNodes[i]; param[node.nodeName] = node.childNodes[0].nodeValue; i++; } param["Movie.Width"] = parseInt(param["Movie.Width"]); param["Movie.Height"] = parseInt(param["Movie.Height"]); param["Movie.FPS"] = parseInt(param["Movie.FPS"]); param["Img.InSpeed"] = parseInt(param["Img.InSpeed"]); param["Img.OutSpeed"] = parseInt(param["Img.OutSpeed"]); param["Img.StaySpeed"] = parseInt(param["Img.StaySpeed"]); param["Img.StayTimeCustom"] = parseInt(param["Img.StayTimeCustom"]); param["Img.BlindWidth"] = parseInt(param["Img.BlindWidth"]); param["Img.PosX"] = parseInt(param["Img.PosX"]); param["Img.PosY"] = parseInt(param["Img.PosY"]); param["Img.Rotation"] = parseInt(param["Img.Rotation"]); param["Img.Alpha"] = parseInt(param["Img.Alpha"]); param["Img.StaticText"] = param["Img.StaticText"].toLowerCase() == "true"; param["Img.DelayFrame"] = parseInt(param["Img.DelayFrame"]); param["Img.DurationFrame"] = parseInt(param["Img.DurationFrame"]); param["Img.KeepText"] = param["Img.KeepText"].toLowerCase() == "true"; param["Img.URL"] = param["Img.URL"].toLowerCase() == "true"; delete paramXML; } else { param["Movie.Width"] = 400; param["Movie.Height"] = 300; param["Img.InSpeed"] = 8; param["Img.OutSpeed"] = 8; param["Img.StaySpeed"] = 4; param["Img.StayTimeCustom"] = 3; param["Img.PosX"] = 100; param["Img.PosY"] = 100; param["Img.Rotation"] = 0; param["Img.Alpha"] = 100; param["Img.StaticText"] = false; param["Img.DelayFrame"] = 0; param["Img.DurationFrame"] = 10; param["Img.KeepText"] = false; param["Img.URL"] = false; param["Img.URLAddress"] = "about:blank"; param["Img.URLTarget"] = "_blank"; } if (param["Img.StaticText"]) { gotoAndPlay(_currentframe + 3); }
Symbol 89 MovieClip Frame 3
param["Img.DelayFrame"] = param["Img.DelayFrame"] - 1; if (param["Img.DelayFrame"] > 0) { gotoAndPlay(_currentframe - 1); }
Symbol 89 MovieClip Frame 4
stop(); var ImageMovie_MC = this.attachMovie(param["Img.ImageMovieExport"], "ImageMovie_MC", 2); if (param["Img.StaticText"]) { InEffect_FadeIn(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], 20, param["Img.Alpha"]); } else { switch (param["Img.InEffect"]) { case "Blinds horizontal" : InEffect_BlindsHorizontal(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.InSpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height, param["Img.BlindWidth"]); break; case "Blinds vertical" : InEffect_BlindsVertical(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.InSpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height, param["Img.BlindWidth"]); break; case "Fade in" : InEffect_FadeIn(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.InSpeed"], param["Img.Alpha"]); break; default : InEffect_FadeIn(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.InSpeed"], param["Img.Alpha"]); } }
Symbol 89 MovieClip Frame 5
var iStayEffectTime = -1; if (param["Img.StayTime"] != "To end") { iStayEffectTime = param["Movie.FPS"] * param["Img.StayTimeCustom"]; } switch (param["Img.StayEffect"]) { case "Stay" : StayEffect_Stay(ImageMovie_MC, iStayEffectTime, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.StaySpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height); break; case "Flicker" : StayEffect_Flicker(ImageMovie_MC, iStayEffectTime, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.StaySpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height); break; case "Rotating" : StayEffect_Rotating(ImageMovie_MC, iStayEffectTime, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.StaySpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height); break; case "Zoom in Zoom out" : StayEffect_ZoomInZoomOut(ImageMovie_MC, iStayEffectTime, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.StaySpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height); break; case "Fade in Fade out" : StayEffect_FadeInFadeOut(ImageMovie_MC, iStayEffectTime, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.StaySpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height); break; default : StayEffect_Stay(ImageMovie_MC, iStayEffectTime, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.StaySpeed"], param["Img.Alpha"], ImageMovie_MC._width, ImageMovie_MC._height); }
Symbol 89 MovieClip Frame 7
if (param["Img.DurationFrame"] < 0) { gotoAndPlay(_currentframe - 1); } else { param["Img.DurationFrame"] = param["Img.DurationFrame"] - 1; if (param["Img.DurationFrame"] > 0) { gotoAndPlay(_currentframe - 1); } else { gotoAndPlay(_currentframe + 1); } }
Symbol 89 MovieClip Frame 8
if (param["Img.KeepText"] || (param["Img.StaticText"])) { gotoAndPlay(_currentframe + 2); }
Symbol 89 MovieClip Frame 9
stop(); LeaveStayEffect(ImageMovie_MC, param["Img.PosX"], param["Img.PosY"], param["Img.Alpha"]); switch (param["Img.OutEffect"]) { case "Blinds horizontal" : OutEffect_BlindsHorizontal(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.OutSpeed"], ImageMovie_MC._width, ImageMovie_MC._height, param["Img.BlindWidth"]); break; case "Blinds vertical" : OutEffect_BlindsVertical(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.PosX"], param["Img.PosY"], param["Img.OutSpeed"], ImageMovie_MC._width, ImageMovie_MC._height, param["Img.BlindWidth"]); break; case "Fade out" : OutEffect_FadeOut(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.OutSpeed"]); break; default : OutEffect_FadeOut(ImageMovie_MC, param["Movie.Width"], param["Movie.Height"], param["Img.OutSpeed"]); }
Symbol 89 MovieClip Frame 10
stop(); if (!param["Img.StaticText"]) { _parent.g_effectcount = _parent.g_effectcount - 1; if (_parent.g_effectcount <= 0) { _parent.play(); } }

Library Items

Symbol 2 GraphicUsed by:1
Symbol 1 MovieClipUses:2Used by:Timeline
Symbol 3 Sound [moviesound]
Symbol 4 GraphicUsed by:Timeline
Symbol 5 Font [Font11861default]
Symbol 6 Font [Font11861default large]
Symbol 7 Font [Font11861default small]
Symbol 8 Font [Font11861web link]
Symbol 10 Bitmap [Img.Blinds_Image_0]Used by:11
Symbol 11 GraphicUses:10Used by:12
Symbol 12 MovieClip [Img.Blinds_ImageMovie_0]Uses:11
Symbol 9 MovieClipUsed by:Timeline
Symbol 15 Bitmap [Img.Blinds_Image_1]Used by:16
Symbol 16 GraphicUses:15Used by:17
Symbol 17 MovieClip [Img.Blinds_ImageMovie_1]Uses:16
Symbol 14 MovieClipUsed by:Timeline
Symbol 20 Bitmap [Img.Blinds_Image_2]Used by:21
Symbol 21 GraphicUses:20Used by:22
Symbol 22 MovieClip [Img.Blinds_ImageMovie_2]Uses:21
Symbol 19 MovieClipUsed by:Timeline
Symbol 25 Bitmap [Img.Blinds_Image_3]Used by:26
Symbol 26 GraphicUses:25Used by:27
Symbol 27 MovieClip [Img.Blinds_ImageMovie_3]Uses:26
Symbol 24 MovieClipUsed by:Timeline
Symbol 30 Bitmap [Img.Blinds_Image_4]Used by:31
Symbol 31 GraphicUses:30Used by:32
Symbol 32 MovieClip [Img.Blinds_ImageMovie_4]Uses:31
Symbol 29 MovieClipUsed by:Timeline
Symbol 35 Bitmap [Img.Blinds_Image_5]Used by:36
Symbol 36 GraphicUses:35Used by:37
Symbol 37 MovieClip [Img.Blinds_ImageMovie_5]Uses:36
Symbol 34 MovieClipUsed by:Timeline
Symbol 40 Bitmap [Img.Blinds_Image_6]Used by:41
Symbol 41 GraphicUses:40Used by:42
Symbol 42 MovieClip [Img.Blinds_ImageMovie_6]Uses:41
Symbol 39 MovieClipUsed by:Timeline
Symbol 45 Bitmap [Img.Blinds_Image_7]Used by:46
Symbol 46 GraphicUses:45Used by:47
Symbol 47 MovieClip [Img.Blinds_ImageMovie_7]Uses:46
Symbol 44 MovieClipUsed by:Timeline
Symbol 50 Bitmap [Img.Blinds_Image_8]Used by:51
Symbol 51 GraphicUses:50Used by:52
Symbol 52 MovieClip [Img.Blinds_ImageMovie_8]Uses:51
Symbol 49 MovieClipUsed by:Timeline
Symbol 55 Bitmap [Img.Blinds_Image_9]Used by:56
Symbol 56 GraphicUses:55Used by:57
Symbol 57 MovieClip [Img.Blinds_ImageMovie_9]Uses:56
Symbol 54 MovieClipUsed by:Timeline
Symbol 60 Bitmap [Img.Blinds_Image_10]Used by:61
Symbol 61 GraphicUses:60Used by:62
Symbol 62 MovieClip [Img.Blinds_ImageMovie_10]Uses:61
Symbol 59 MovieClipUsed by:Timeline
Symbol 65 Bitmap [Img.Blinds_Image_11]Used by:66
Symbol 66 GraphicUses:65Used by:67
Symbol 67 MovieClip [Img.Blinds_ImageMovie_11]Uses:66
Symbol 64 MovieClipUsed by:Timeline
Symbol 70 Bitmap [Img.Blinds_Image_12]Used by:71
Symbol 71 GraphicUses:70Used by:72
Symbol 72 MovieClip [Img.Blinds_ImageMovie_12]Uses:71
Symbol 69 MovieClipUsed by:Timeline
Symbol 75 Bitmap [Img.Blinds_Image_13]Used by:76
Symbol 76 GraphicUses:75Used by:77
Symbol 77 MovieClip [Img.Blinds_ImageMovie_13]Uses:76
Symbol 74 MovieClipUsed by:Timeline
Symbol 80 Bitmap [Img.Blinds_Image_14]Used by:81
Symbol 81 GraphicUses:80Used by:82
Symbol 82 MovieClip [Img.Blinds_ImageMovie_14]Uses:81
Symbol 79 MovieClipUsed by:Timeline
Symbol 85 Bitmap [Img.Blinds_Image_15]Used by:86
Symbol 86 GraphicUses:85Used by:87
Symbol 87 MovieClip [Img.Blinds_ImageMovie_15]Uses:86
Symbol 84 MovieClipUsed by:Timeline
Symbol 90 Bitmap [Img.Blinds_Image_16]Used by:91
Symbol 91 GraphicUses:90Used by:92
Symbol 92 MovieClip [Img.Blinds_ImageMovie_16]Uses:91
Symbol 89 MovieClipUsed by:Timeline

Instance Names

"movieShapeMaskMC"Frame 1Symbol 1 MovieClip
"dynamictext0"Frame 4Symbol 9 MovieClip
"dynamictext1"Frame 5Symbol 14 MovieClip
"dynamictext2"Frame 6Symbol 19 MovieClip
"dynamictext3"Frame 7Symbol 24 MovieClip
"dynamictext4"Frame 8Symbol 29 MovieClip
"dynamictext5"Frame 9Symbol 34 MovieClip
"dynamictext6"Frame 10Symbol 39 MovieClip
"dynamictext7"Frame 11Symbol 44 MovieClip
"dynamictext8"Frame 12Symbol 49 MovieClip
"dynamictext9"Frame 13Symbol 54 MovieClip
"dynamictext10"Frame 14Symbol 59 MovieClip
"dynamictext11"Frame 15Symbol 64 MovieClip
"dynamictext12"Frame 16Symbol 69 MovieClip
"dynamictext13"Frame 17Symbol 74 MovieClip
"dynamictext14"Frame 18Symbol 79 MovieClip
"dynamictext15"Frame 19Symbol 84 MovieClip
"dynamictext16"Frame 20Symbol 89 MovieClip

Special Tags

ExportAssets (56)Timeline Frame 2Symbol 3 as "moviesound"
ExportAssets (56)Timeline Frame 3Symbol 5 as "Font11861default"
ExportAssets (56)Timeline Frame 3Symbol 6 as "Font11861default large"
ExportAssets (56)Timeline Frame 3Symbol 7 as "Font11861default small"
ExportAssets (56)Timeline Frame 3Symbol 8 as "Font11861web link"
ExportAssets (56)Timeline Frame 4Symbol 10 as "Img.Blinds_Image_0"
ExportAssets (56)Timeline Frame 4Symbol 12 as "Img.Blinds_ImageMovie_0"
ExportAssets (56)Timeline Frame 5Symbol 15 as "Img.Blinds_Image_1"
ExportAssets (56)Timeline Frame 5Symbol 17 as "Img.Blinds_ImageMovie_1"
ExportAssets (56)Timeline Frame 6Symbol 20 as "Img.Blinds_Image_2"
ExportAssets (56)Timeline Frame 6Symbol 22 as "Img.Blinds_ImageMovie_2"
ExportAssets (56)Timeline Frame 7Symbol 25 as "Img.Blinds_Image_3"
ExportAssets (56)Timeline Frame 7Symbol 27 as "Img.Blinds_ImageMovie_3"
ExportAssets (56)Timeline Frame 8Symbol 30 as "Img.Blinds_Image_4"
ExportAssets (56)Timeline Frame 8Symbol 32 as "Img.Blinds_ImageMovie_4"
ExportAssets (56)Timeline Frame 9Symbol 35 as "Img.Blinds_Image_5"
ExportAssets (56)Timeline Frame 9Symbol 37 as "Img.Blinds_ImageMovie_5"
ExportAssets (56)Timeline Frame 10Symbol 40 as "Img.Blinds_Image_6"
ExportAssets (56)Timeline Frame 10Symbol 42 as "Img.Blinds_ImageMovie_6"
ExportAssets (56)Timeline Frame 11Symbol 45 as "Img.Blinds_Image_7"
ExportAssets (56)Timeline Frame 11Symbol 47 as "Img.Blinds_ImageMovie_7"
ExportAssets (56)Timeline Frame 12Symbol 50 as "Img.Blinds_Image_8"
ExportAssets (56)Timeline Frame 12Symbol 52 as "Img.Blinds_ImageMovie_8"
ExportAssets (56)Timeline Frame 13Symbol 55 as "Img.Blinds_Image_9"
ExportAssets (56)Timeline Frame 13Symbol 57 as "Img.Blinds_ImageMovie_9"
ExportAssets (56)Timeline Frame 14Symbol 60 as "Img.Blinds_Image_10"
ExportAssets (56)Timeline Frame 14Symbol 62 as "Img.Blinds_ImageMovie_10"
ExportAssets (56)Timeline Frame 15Symbol 65 as "Img.Blinds_Image_11"
ExportAssets (56)Timeline Frame 15Symbol 67 as "Img.Blinds_ImageMovie_11"
ExportAssets (56)Timeline Frame 16Symbol 70 as "Img.Blinds_Image_12"
ExportAssets (56)Timeline Frame 16Symbol 72 as "Img.Blinds_ImageMovie_12"
ExportAssets (56)Timeline Frame 17Symbol 75 as "Img.Blinds_Image_13"
ExportAssets (56)Timeline Frame 17Symbol 77 as "Img.Blinds_ImageMovie_13"
ExportAssets (56)Timeline Frame 18Symbol 80 as "Img.Blinds_Image_14"
ExportAssets (56)Timeline Frame 18Symbol 82 as "Img.Blinds_ImageMovie_14"
ExportAssets (56)Timeline Frame 19Symbol 85 as "Img.Blinds_Image_15"
ExportAssets (56)Timeline Frame 19Symbol 87 as "Img.Blinds_ImageMovie_15"
ExportAssets (56)Timeline Frame 20Symbol 90 as "Img.Blinds_Image_16"
ExportAssets (56)Timeline Frame 20Symbol 92 as "Img.Blinds_ImageMovie_16"

Labels

"loopstart"Frame 3




http://swfchan.com/39/190177/info.shtml
Created: 15/10 -2018 08:12:36 Last modified: 15/10 -2018 08:12:36 Server time: 14/11 -2024 21:02:37