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();
Frame 5
gotoAndPlay ("loopstart");
Symbol 11 MovieClip Frame 1
if (this._x > this.MaxWidth) {
this._x = (-this._width) + 2;
this._y = random(4 * this._height);
var scale = (random(60) + 80);
this._xscale = scale;
this._yscale = scale;
this._alpha = random(40) + 80;
}
if (this._x < (-this._width)) {
this._x = this.MaxWidth - 2;
this._y = random(4 * this._height);
var scale = (random(60) + 80);
this._xscale = scale;
this._yscale = scale;
this._alpha = random(40) + 80;
}
this._x = this._x + this.XVelocity;
Symbol 11 MovieClip Frame 2
gotoAndPlay (1);
Symbol 13 MovieClip Frame 1
if (this._x > this.MaxWidth) {
this._x = (-this._width) + 2;
this._y = random(4 * this._height);
var scale = (random(60) + 80);
this._xscale = scale;
this._yscale = scale;
this._alpha = random(40) + 80;
}
if (this._x < (-this._width)) {
this._x = this.MaxWidth - 2;
this._y = random(4 * this._height);
var scale = (random(60) + 80);
this._xscale = scale;
this._yscale = scale;
this._alpha = random(40) + 80;
}
this._x = this._x + this.XVelocity;
Symbol 13 MovieClip Frame 2
gotoAndPlay (1);
Symbol 15 MovieClip Frame 1
if (this._x > this.MaxWidth) {
this._x = (-this._width) + 2;
this._y = random(4 * this._height);
var scale = (random(60) + 80);
this._xscale = scale;
this._yscale = scale;
this._alpha = random(40) + 80;
}
if (this._x < (-this._width)) {
this._x = this.MaxWidth - 2;
this._y = random(4 * this._height);
var scale = (random(60) + 80);
this._xscale = scale;
this._yscale = scale;
this._alpha = random(40) + 80;
}
this._x = this._x + this.XVelocity;
Symbol 15 MovieClip Frame 2
gotoAndPlay (1);
Symbol 9 MovieClip Frame 1
ParamsValue = "<ParamsValue><Movie.Width>99</Movie.Width><Movie.Height>56</Movie.Height><Movie.FPS>24</Movie.FPS><Bg.Number>6</Bg.Number><Bg.Speed>4</Bg.Speed><Bg.Direction>random</Bg.Direction></ParamsValue>";
ParamsDefine = "<ParamsDefine><Bg.Number caption=\"Cloud number\" type=\"integer\" min=\"1\" max=\"500\" default=\"6\"/><Bg.Speed caption=\"Moving speed\" type=\"integer\" min=\"1\" max=\"100\" default=\"4\"/><Bg.Direction caption=\"Moving direction\" type=\"selection\" selection=\"right;left;random\" default=\"random\"/></ParamsDefine>";
param = new Array();
if (ParamsValue != null) {
paramXML = new XML(ParamsValue);
paramXML.ignoreWhite = true;
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["Bg.Number"] = parseInt(param["Bg.Number"]);
param["Bg.Speed"] = parseInt(param["Bg.Speed"]);
param["Movie.Width"] = _parent._width;
param["Movie.Height"] = _parent._height;
} else {
param["Bg.Number"] = 6;
param["Bg.Speed"] = 4;
param["Bg.Direction"] = "right";
param["Movie.Width"] = 400;
param["Movie.Height"] = 300;
}
i = 0;
while (i < 3) {
this["symbol" + i]._visible = false;
i++;
}
i = 0;
while (i < param["Bg.Number"]) {
j = random(3);
duplicateMovieClip ("symbol" + j, "bot" + i, i);
this["bot" + i]._x = random(param["Movie.Width"] + (2 * this["bot" + i]._width));
this["bot" + i]._y = random(4 * this["bot" + i]._height);
var scale = (random(60) + 80);
this["bot" + i]._xscale = scale;
this["bot" + i]._yscale = scale;
this["bot" + i]._alpha = random(40) + 80;
var iDirection = 1;
if (param["Bg.Direction"].toLowerCase() == "left") {
iDirection = -1;
} else if (param["Bg.Direction"].toLowerCase() == "random") {
iDirection = random(2);
if (iDirection == 0) {
iDirection = -1;
}
}
this["bot" + i].XVelocity = (iDirection * ((Math.random() * param["Bg.Speed"]) + param["Bg.Speed"])) * 0.1;
this["bot" + i].MaxWidth = param["Movie.Width"] + this["bot" + i]._width;
this["bot" + i].MaxHeight = param["Movie.Height"] + this["bot" + i]._height;
i++;
}
Symbol 17 MovieClip Frame 1
ParamsValue = "<ParamsValue><Movie.Width>99</Movie.Width><Movie.Height>56</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>0</Img.PosY><Img.Rotation>0</Img.Rotation><Img.Alpha>100</Img.Alpha><Img.StaticText>true</Img.StaticText><Img.DelayFrame>0</Img.DelayFrame><Img.DurationFrame>-1</Img.DurationFrame><Img.KeepText>true</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 17 MovieClip Frame 3
param["Img.DelayFrame"] = param["Img.DelayFrame"] - 1;
if (param["Img.DelayFrame"] > 0) {
gotoAndPlay(_currentframe - 1);
}
Symbol 17 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 17 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 17 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 17 MovieClip Frame 8
if (param["Img.KeepText"] || (param["Img.StaticText"])) {
gotoAndPlay(_currentframe + 2);
}
Symbol 17 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 17 MovieClip Frame 10
stop();
if (!param["Img.StaticText"]) {
_parent.g_effectcount = _parent.g_effectcount - 1;
if (_parent.g_effectcount <= 0) {
_parent.play();
}
}