Frame 1
function EndTransLate() {
if ((isSetTimer == false) && (check == true)) {
TimeID = setInterval(OnTime, 1000, undefined);
}
}
function GetBaseUrl() {
pos = _url.lastIndexOf("\\");
if (pos == -1) {
pos = _url.lastIndexOf("/");
}
return(_url.substr(0, pos + 1));
}
function Move(Step) {
ShowPhoto(Step);
}
function ShowPhoto(PhotoID) {
clearInterval(TimeID);
isSetTimer = true;
TimeID = undefined;
CurPhotoID = PhotoID;
CurImgFileName = ImgFileName[PhotoID];
CurScale = PhotoScale[PhotoID];
CurWidth = PhotoWidth[PhotoID];
CurHeight = PhotoHeight[PhotoID];
CurInfo = PhotoInfo[PhotoID];
CurEffect = ImageEffect[PhotoID];
BasePath = GetBaseUrl();
Container.LoadPhoto(BasePath + CurImgFileName, CurScale, CurWidth, CurHeight, CurEffect);
isSetTimer = !check;
}
function OnTime() {
if (flag != true) {
clearInterval(TimeID);
TimeID = undefined;
isSetTimer = true;
} else {
CurPhotoID = CurPhotoID + 1;
if (CurPhotoID != 2) {
ShowPhoto(CurPhotoID);
} else {
if (!IsRollBack) {
CurPhotoID = CurPhotoID - 1;
clearInterval(TimeID);
TimeID = undefined;
isSetTimer = true;
} else {
Move(0);
}
return(undefined);
}
}
}
function WaitContainer() {
if (Container.Masker != undefined) {
onEnterFrame = undefined;
Move(0);
}
}
Container.LoadingBar = Loading;
Container.OnEndTrans = EndTransLate;
onEnterFrame = WaitContainer;
if (FirstRun == undefined) {
FirstRun = false;
PhotoScale = new Array();
PhotoWidth = new Array();
PhotoHeight = new Array();
ImgFileName = new Array();
ImageEffect = new Array();
flag = true;
isfull = 0;
isSetTimer = 0;
check = !isSetTimer;
IsRollBack = 1;
TotalImage = 2;
DelayTime = 1000;
getURL ("fscommand:" + "fullscreen", isfull);
getURL ("fscommand:" + "allowscale", false);
ImgFileName[0] = "omg rave.JPG";
PhotoScale[0] = 100;
PhotoWidth[0] = 640;
PhotoHeight[0] = 480;
ImageEffect[0] = 0;
ImgFileName[1] = "omg rave2.JPG";
PhotoScale[1] = 100;
PhotoWidth[1] = 640;
PhotoHeight[1] = 480;
ImageEffect[1] = 0;
}
stop();
Instance of Symbol 2 MovieClip "Container" in Frame 1
on (release) {
if (0) {
clearInterval(_root.TimeID);
_root.isSetTimer = true;
_root.flag = false;
_root.check = false;
_root.Move((_root.CurPhotoID + 1) % _root.TotalImage);
}
}
Frame 2
function EndTransLate() {
if ((isSetTimer == false) && (check == true)) {
TimeID = setInterval(OnTime, 1000, undefined);
}
}
function GetBaseUrl() {
pos = _url.lastIndexOf("\\");
if (pos == -1) {
pos = _url.lastIndexOf("/");
}
return(_url.substr(0, pos + 1));
}
function Move(Step) {
ShowPhoto(Step);
}
function ShowPhoto(PhotoID) {
clearInterval(TimeID);
isSetTimer = true;
TimeID = undefined;
CurPhotoID = PhotoID;
CurImgFileName = ImgFileName[PhotoID];
CurScale = PhotoScale[PhotoID];
CurWidth = PhotoWidth[PhotoID];
CurHeight = PhotoHeight[PhotoID];
CurInfo = PhotoInfo[PhotoID];
CurEffect = ImageEffect[PhotoID];
BasePath = GetBaseUrl();
Container.LoadPhoto(BasePath + CurImgFileName, CurScale, CurWidth, CurHeight, CurEffect);
isSetTimer = !check;
}
function OnTime() {
if (flag != true) {
clearInterval(TimeID);
TimeID = undefined;
isSetTimer = true;
} else {
CurPhotoID = CurPhotoID + 1;
if (CurPhotoID != 2) {
ShowPhoto(CurPhotoID);
} else {
if (!IsRollBack) {
CurPhotoID = CurPhotoID - 1;
clearInterval(TimeID);
TimeID = undefined;
isSetTimer = true;
} else {
Move(0);
}
return(undefined);
}
}
}
function WaitContainer() {
if (Container.Masker != undefined) {
onEnterFrame = undefined;
Move(0);
}
}
Container.LoadingBar = Loading;
Container.OnEndTrans = EndTransLate;
onEnterFrame = WaitContainer;
if (FirstRun == undefined) {
FirstRun = false;
PhotoScale = new Array();
PhotoWidth = new Array();
PhotoHeight = new Array();
ImgFileName = new Array();
ImageEffect = new Array();
flag = true;
isfull = 0;
isSetTimer = 0;
check = !isSetTimer;
IsRollBack = 1;
TotalImage = 2;
DelayTime = 1000;
getURL ("fscommand:" + "fullscreen", isfull);
getURL ("fscommand:" + "allowscale", false);
ImgFileName[0] = "omg rave.JPG";
PhotoScale[0] = 100;
PhotoWidth[0] = 640;
PhotoHeight[0] = 480;
ImageEffect[0] = 0;
ImgFileName[1] = "omg rave2.JPG";
PhotoScale[1] = 100;
PhotoWidth[1] = 640;
PhotoHeight[1] = 480;
ImageEffect[1] = 0;
}
stop();
Symbol 6 MovieClip Frame 10
stop();
if (_name == "LastMove") {
_parent.TransComplete();
this.removeMovieClip();
}
Symbol 5 MovieClip Frame 1
function TransComplete() {
OnComplete();
i = 1;
while (i < (ColCount * RowCount)) {
this["BlockMove_" + i].removemovieclip();
i++;
}
}
Symbol 5 MovieClip Frame 2
ColCount = 10;
RowCount = 10;
BlockWidth = 10;
BlockHeight = 10;
XBase = ((1 - ColCount) * BlockWidth) / 2;
YBase = ((1 - RowCount) * BlockHeight) / 2;
iCount = 0;
Row = 0;
Symbol 5 MovieClip Frame 3
Col = 0;
while (Col < ColCount) {
iCount++;
duplicateMovieClip ("BlockMove", "BlockMove_" + iCount, iCount);
x = XBase + (Col * BlockWidth);
y = YBase + (Row * BlockHeight);
setProperty("BlockMove_" + iCount, _x , x);
setProperty("BlockMove_" + iCount, _x, x);
setProperty("BlockMove_" + iCount, _y , y);
setProperty("BlockMove_" + iCount, _y, y);
if (iCount == (RowCount * ColCount)) {
setProperty("BlockMove_" + iCount, _name , "LastMove");
setProperty("BlockMove_" + iCount, _name, "LastMove");
}
Col++;
}
Row++;
Symbol 5 MovieClip Frame 5
if (Row >= RowCount) {
stop();
} else {
gotoAndPlay (3);
}
Symbol 8 MovieClip Frame 1
function TransComplete() {
OnComplete();
i = 1;
while (i < (ColCount * RowCount)) {
this["BlockMove_" + i].removemovieclip();
i++;
}
}
Symbol 8 MovieClip Frame 2
ColCount = 10;
RowCount = 10;
BlockWidth = 10;
BlockHeight = 10;
LeftXBase = ((1 - ColCount) * BlockWidth) / 2;
LeftYBase = ((1 - RowCount) * BlockHeight) / 2;
RightXBase = ((ColCount - 1) * BlockWidth) / 2;
RightYBase = ((RowCount - 1) * BlockHeight) / 2;
iCount = 0;
Row = 0;
Symbol 8 MovieClip Frame 3
i = Row;
while (i >= 0) {
iCount++;
duplicateMovieClip ("BlockMove", "BlockMove_" + iCount, (iCount + 16384) + 16384);
x = LeftXBase + (i * BlockWidth);
y = LeftYBase + ((Row - i) * BlockHeight);
setProperty("BlockMove_" + iCount, _x , x);
setProperty("BlockMove_" + iCount, _x, x);
setProperty("BlockMove_" + iCount, _y , y);
setProperty("BlockMove_" + iCount, _y, y);
if ((Row == (RowCount - 1)) && (i == 0)) {
setProperty("BlockMove_" + iCount, _name , "LastMove");
setProperty("BlockMove_" + iCount, _name, "LastMove");
}
i--;
}
i = Row;
while (i >= 0) {
if (Row == RowCount) {
break;
}
iCount++;
duplicateMovieClip ("BlockMove", "BlockMove_" + iCount, (iCount + 16384) + 16384);
x = RightXBase - (i * BlockWidth);
y = RightYBase - ((Row - i) * BlockHeight);
setProperty("BlockMove_" + iCount, _x , x);
setProperty("BlockMove_" + iCount, _x, x);
setProperty("BlockMove_" + iCount, _y , y);
setProperty("BlockMove_" + iCount, _y, y);
i--;
}
Row++;
Symbol 8 MovieClip Frame 4
if (Row >= RowCount) {
stop();
} else {
gotoAndPlay (3);
}
Symbol 9 MovieClip Frame 8
_parent.SwitchImg();
Symbol 9 MovieClip Frame 15
OnComplete();
Symbol 11 MovieClip Frame 14
stop();
if (_name == "LastMove") {
_parent.TransComplete();
this.removeMovieClip();
}
Symbol 10 MovieClip Frame 1
function TransComplete() {
OnComplete();
i = 1;
while (i < Count) {
this["BlockMove_" + i].removemovieclip();
i++;
}
}
Symbol 10 MovieClip Frame 2
Count = 100;
BlockWidth = 1;
BlockHeight = 100;
XBase = ((1 - Count) * BlockWidth) / 2;
YBase = (-BlockHeight) / 2;
iCount = 0;
tbl = new Array();
i = 0;
while (i < Count) {
tbl[i] = 0;
i++;
}
Symbol 10 MovieClip Frame 3
i = 0;
while (i < 4) {
do {
Id = Math.floor(Math.random() * Count);
} while (tbl[Id] != 0);
tbl[Id] = 1;
iCount++;
duplicateMovieClip ("BlockMove", "BlockMove_" + Id, Id);
x = XBase + (Id * BlockWidth);
y = YBase;
setProperty("BlockMove_" + Id, _x , x);
setProperty("BlockMove_" + Id, _x, x);
setProperty("BlockMove_" + Id, _y , y);
setProperty("BlockMove_" + Id, _y, y);
if (iCount == Count) {
setProperty("BlockMove_" + Id, _name , "LastMove");
setProperty("BlockMove_" + Id, _name, "LastMove");
}
i++;
}
Symbol 10 MovieClip Frame 4
if (iCount >= Count) {
stop();
} else {
gotoAndPlay (3);
}
Symbol 14 MovieClip Frame 2
stop();
if (_name == "LastMove") {
_parent.TransComplete();
this.removeMovieClip();
}
Symbol 13 MovieClip Frame 1
function TransComplete() {
OnComplete();
i = 1;
while (i < (ColCount * RowCount)) {
this["BlockMove_" + i].removemovieclip();
i++;
}
}
Symbol 13 MovieClip Frame 2
Count = 100;
BlockWidth = 100;
BlockHeight = 1;
XBase = (-BlockWidth) / 2;
YBase = ((1 - Count) * BlockHeight) / 2;
iCount = 0;
tbl = new Array();
i = 0;
while (i < Count) {
tbl[i] = 0;
i++;
}
Symbol 13 MovieClip Frame 3
i = 0;
while (i < 4) {
do {
Id = Math.floor(Math.random() * Count);
} while (tbl[Id] != 0);
tbl[Id] = 1;
iCount++;
duplicateMovieClip ("BlockMove", "BlockMove_" + Id, Id);
x = XBase;
y = YBase + (Id * BlockHeight);
setProperty("BlockMove_" + Id, _x , x);
setProperty("BlockMove_" + Id, _x, x);
setProperty("BlockMove_" + Id, _y , y);
setProperty("BlockMove_" + Id, _y, y);
if (iCount == Count) {
setProperty("BlockMove_" + Id, _name , "LastMove");
setProperty("BlockMove_" + Id, _name, "LastMove");
}
i++;
}
Symbol 13 MovieClip Frame 4
if (iCount >= Count) {
stop();
} else {
gotoAndPlay (3);
}
Symbol 16 MovieClip Frame 10
stop();
if (_name == "LastMove") {
_parent.TransComplete();
this.removemovieclip();
}
Symbol 15 MovieClip Frame 1
function TransComplete() {
OnComplete();
i = 1;
while (i < Count) {
this["BlockMove_" + i].removemovieclip();
i++;
}
}
Symbol 15 MovieClip Frame 2
Count = 10;
BlockWidth = 10;
BlockHeight = 100;
XBase = ((-Count) * BlockWidth) / 2;
YBase = 0;
iCount = 0;
Symbol 15 MovieClip Frame 3
x = XBase + (iCount * BlockWidth);
y = YBase;
iCount++;
duplicateMovieClip ("BlockMove", "BlockMove_" + iCount, iCount);
setProperty("BlockMove_" + iCount, _x , x);
setProperty("BlockMove_" + iCount, _x, x);
setProperty("BlockMove_" + iCount, _y , y);
setProperty("BlockMove_" + iCount, _y, y);
if (iCount == Count) {
setProperty("BlockMove_" + iCount, _name , "LastMove");
setProperty("BlockMove_" + iCount, _name, "LastMove");
}
Symbol 15 MovieClip Frame 4
if (iCount >= Count) {
stop();
} else {
gotoAndPlay (3);
}
Symbol 19 MovieClip Frame 44
stop();
if (_name == "LastMove") {
_parent.TransComplete();
this.removemovieclip();
}
Symbol 18 MovieClip Frame 1
function TransComplete() {
OnComplete();
i = 1;
while (i < (ColCount * RowCount)) {
this["BlockMove_" + i].removemovieclip();
i++;
}
}
Symbol 18 MovieClip Frame 2
ColCount = 3;
RowCount = 3;
BlockWidth = 33.4000015258789;
BlockHeight = 33.4000015258789;
XBase = ((1 - ColCount) * BlockWidth) / 2;
YBase = ((1 - RowCount) * BlockHeight) / 2;
iCount = 0;
Symbol 18 MovieClip Frame 3
iCount++;
duplicateMovieClip ("BlockMove", "BlockMove_" + iCount, iCount);
Row = Math.floor((iCount - 1) / ColCount);
Col = (iCount - 1) - (Row * ColCount);
x = XBase + (Col * BlockWidth);
y = YBase + (Row * BlockHeight);
setProperty("BlockMove_" + iCount, _x , x);
setProperty("BlockMove_" + iCount, _x, x);
setProperty("BlockMove_" + iCount, _y , y);
setProperty("BlockMove_" + iCount, _y, y);
if (iCount == (RowCount * ColCount)) {
setProperty("BlockMove_" + iCount, _name , "LastMove");
setProperty("BlockMove_" + iCount, _name, "LastMove");
}
Symbol 18 MovieClip Frame 5
if (iCount >= (RowCount * ColCount)) {
stop();
} else {
gotoAndPlay (3);
}
Symbol 22 MovieClip Frame 17
stop();
if (_name == "LastMove") {
_parent.TransComplete();
this.removemovieclip();
}
Symbol 21 MovieClip Frame 1
function TransComplete() {
OnComplete();
i = 1;
while (i < (ColCount * RowCount)) {
this["BlockMove_" + i].removemovieclip();
i++;
}
}
Symbol 21 MovieClip Frame 2
ColCount = 7;
RowCount = 7;
BlockWidth = 14.3000001907349;
BlockHeight = 14.3000001907349;
XBase = ((1 - ColCount) * BlockWidth) / 2;
YBase = ((1 - RowCount) * BlockHeight) / 2;
iCount = 0;
Col = 0;
Symbol 21 MovieClip Frame 3
i = 0;
while (i < 5) {
iCount++;
duplicateMovieClip ("BlockMove", "BlockMove_" + iCount, iCount);
Col = Math.floor((iCount - 1) / RowCount);
Row = (iCount - 1) - (Col * RowCount);
x = XBase + (Col * BlockWidth);
y = YBase + (Row * BlockHeight);
setProperty("BlockMove_" + iCount, _x , x);
setProperty("BlockMove_" + iCount, _x, x);
setProperty("BlockMove_" + iCount, _y , y);
setProperty("BlockMove_" + iCount, _y, y);
if (iCount == (RowCount * ColCount)) {
setProperty("BlockMove_" + iCount, _name , "LastMove");
setProperty("BlockMove_" + iCount, _name, "LastMove");
}
i++;
}
Symbol 21 MovieClip Frame 4
if (iCount >= (RowCount * ColCount)) {
stop();
} else {
gotoAndPlay (3);
}
Symbol 2 MovieClip Frame 1
function LoadPhoto(Fn, Scale, Width, Height, Style) {
if ((Style < 0) || (Style > 11)) {
Style = Math.floor((Math.random() * 11) + 1);
}
TransStyle = Style;
if (onEnterFrame != undefined) {
EndTrans();
}
Scale = Scale / 100;
OldPhotoWidth = NewPhotoWidth;
NewPhotoWidth = Width;
NewPhotoHeight = Height;
OldImg = C;
NewImg = D;
NewImg._alpha = 0;
switch (Style) {
case 1 :
NewImg._y = (-NewPhotoHeight) / 2;
NewImg._x = -NewPhotoWidth;
StopTrans = false;
Step = 15;
break;
case 2 :
NewImg.swapDepths(DepthA);
NewImg._y = (-NewPhotoHeight) / 2;
NewImg._x = (-NewPhotoWidth) / 2;
break;
case 3 :
NewImg.swapDepths(DepthA);
NewImg._y = (-NewPhotoHeight) / 2;
NewImg._x = (-NewPhotoWidth) / 2;
break;
case 4 :
NewImg._y = (-NewPhotoHeight) / 2;
NewImg._x = (-NewPhotoWidth) / 2;
break;
case 5 :
NewImg.swapDepths(DepthA);
NewImg._y = (-NewPhotoHeight) / 2;
NewImg._x = (-NewPhotoWidth) / 2;
break;
case 6 :
NewImg.swapDepths(DepthA);
NewImg._y = (-NewPhotoHeight) / 2;
NewImg._x = (-NewPhotoWidth) / 2;
break;
case 7 :
NewImg._y = (-NewPhotoHeight) / 2;
NewImg._x = (-NewPhotoWidth) / 2;
StopTrans = false;
break;
case 8 :
NewImg.swapDepths(DepthA);
NewImg._y = (-NewPhotoHeight) / 2;
NewImg._x = (-NewPhotoWidth) / 2;
break;
case 9 :
NewImg._y = (-NewPhotoHeight) / 2;
NewImg._x = (-NewPhotoWidth) / 2;
StopTrans = false;
break;
case 10 :
NewImg._y = (-NewPhotoHeight) / 2;
NewImg._x = (-NewPhotoWidth) / 2;
NewImg.swapDepths(DepthA);
OldImg._alpha = 0;
case 11 :
NewImg._y = (-NewPhotoHeight) / 2;
NewImg._x = (-NewPhotoWidth) / 2;
NewImg.swapDepths(DepthA);
OldImg._alpha = 0;
}
NewImg._xscale = Scale * 100;
NewImg._yscale = Scale * 100;
NewImg.loadMovie(Fn);
LoadingBar.WatchedMovie = NewImg;
LoadingBar.OnLoaded = Transition;
Transfering = true;
}
function Transition() {
switch (TransStyle) {
case 0 :
EndTrans();
return;
case 1 :
onEnterFrame = TransitionStep;
gotoAndStop (4);
return;
case 2 :
gotoAndStop (5);
onEnterFrame = TransitionStep;
return;
case 3 :
gotoAndStop (6);
onEnterFrame = TransitionStep;
return;
case 4 :
gotoAndStop (7);
return;
case 5 :
gotoAndStop (8);
onEnterFrame = TransitionStep;
return;
case 6 :
gotoAndStop (9);
onEnterFrame = TransitionStep;
return;
case 7 :
gotoAndStop (10);
onEnterFrame = TransitionStep;
return;
case 8 :
gotoAndStop (11);
onEnterFrame = TransitionStep;
return;
case 9 :
gotoAndStop (12);
onEnterFrame = TransitionStep;
return;
case 10 :
gotoAndStop (13);
onEnterFrame = TransitionStep;
return;
case 11 :
gotoAndStop (14);
onEnterFrame = TransitionStep;
}
}
function TransitionStep() {
switch (TransStyle) {
case 1 :
if (StopTrans) {
EndTrans();
return(undefined);
}
StopTrans = true;
if (OldImg._x < 1000) {
OldImg._x = OldImg._x + Step;
StopTrans = false;
}
if (OldImg._alpha > 0) {
OldImg._alpha = OldImg._alpha - 5;
StopTrans = false;
}
if (NewImg._x < ((NewPhotoWidth * -1) / 2)) {
NewImg._x = NewImg._x + ((((NewPhotoWidth * -1) / 2) - NewImg._x) / 5);
StopTrans = false;
}
if (NewImg._alpha < 100) {
NewImg._alpha = NewImg._alpha + 5;
StopTrans = false;
}
Step = Step + 5;
return;
case 2 :
if (Masker.iCount > 1) {
NewImg._alpha = 100;
}
if (OldImg._alpha > 0) {
OldImg._alpha = OldImg._alpha - 5;
}
return;
case 3 :
if (Masker.iCount > 1) {
NewImg._alpha = 100;
}
if (OldImg._alpha > 0) {
OldImg._alpha = OldImg._alpha - 5;
}
return;
case 5 :
if (Masker.iCount > 1) {
NewImg._alpha = 100;
}
if (OldImg._alpha > 0) {
OldImg._alpha = OldImg._alpha - 5;
}
return;
case 6 :
if (Masker.iCount > 1) {
NewImg._alpha = 100;
}
if (OldImg._alpha > 0) {
OldImg._alpha = OldImg._alpha - 5;
}
return;
case 7 :
if (StopTrans) {
EndTrans();
return(undefined);
}
StopTrans = true;
if (OldImg._alpha > 0) {
OldImg._alpha = OldImg._alpha - 5;
StopTrans = false;
}
if (NewImg._alpha < 100) {
NewImg._alpha = NewImg._alpha + 5;
StopTrans = false;
}
return;
case 8 :
if (Masker.iCount > 1) {
NewImg._alpha = 100;
}
if (OldImg._alpha > 0) {
OldImg._alpha = OldImg._alpha - 5;
}
return;
case 9 :
if (StopTrans) {
EndTrans();
return(undefined);
}
StopTrans = true;
if (OldImg._rotation > -90) {
OldImg._rotation = OldImg._rotation - 5;
StopTrans = false;
}
if (OldImg._alpha > 0) {
OldImg._alpha = OldImg._alpha - 5;
StopTrans = false;
}
if (NewImg._alpha < 100) {
NewImg._alpha = NewImg._alpha + 5;
StopTrans = false;
}
return;
case 10 :
if (Masker.iCount > 1) {
NewImg._alpha = 100;
}
return;
case 11 :
if (Masker.iCount <= 1) {
break;
}
NewImg._alpha = 100;
}
}
function EndTrans() {
gotoAndStop (3);
onEnterFrame = undefined;
NewImg._x = (-NewPhotoWidth) / 2;
NewImg._y = (-NewPhotoHeight) / 2;
NewImg._alpha = 100;
OldImg._alpha = 0;
OldImg._rotation = 0;
Masker._width = NewPhotoWidth;
Masker._height = NewPhotoHeight;
switch (TransStyle) {
case 1 :
NewImg.swapDepths(DepthC);
OldImg.swapDepths(DepthD);
break;
case 2 :
NewImg.swapDepths(DepthD);
break;
case 3 :
NewImg.swapDepths(DepthD);
break;
case 4 :
NewImg.swapDepths(DepthD);
break;
case 5 :
NewImg.swapDepths(DepthD);
break;
case 6 :
NewImg.swapDepths(DepthD);
break;
case 7 :
NewImg.swapDepths(DepthC);
OldImg.swapDepths(DepthD);
break;
case 8 :
NewImg.swapDepths(DepthD);
break;
case 9 :
OldImg.swapDepths(DepthD);
break;
case 10 :
NewImg.swapDepths(DepthD);
break;
case 11 :
NewImg.swapDepths(DepthD);
}
tmp = C;
C = D;
D = tmp;
OnEndTrans();
}
RegionWith = _width;
RegionHeight = _height;
_xscale = 100;
_yscale = 100;
TransStyle = 0;
OldPhotoWidth = 0;
NewPhotoWidth = 0;
NewPhotoHeight = 0;
Occupy._alpha = 0;
Symbol 2 MovieClip Frame 2
A._alpha = 0;
B._alpha = 0;
C._alpha = 0;
D._alpha = 0;
DepthA = A.getDepth();
DepthB = B.getDepth();
DepthC = C.getDepth();
DepthD = D.getDepth();
stop();
Symbol 2 MovieClip Frame 4
Masker._width = RegionWith;
Masker._height = RegionHeight;
OldImg.swapDepths(DepthA);
NewImg.swapDepths(DepthB);
Symbol 2 MovieClip Frame 5
Masker._width = RegionWith;
Masker._height = RegionHeight;
Masker.OnComplete = EndTrans;
Symbol 2 MovieClip Frame 6
Masker._width = RegionWith;
Masker._height = RegionHeight;
Masker.OnComplete = EndTrans;
Symbol 2 MovieClip Frame 7
function SwitchImg() {
OldImg._alpha = 0;
OldImg.swapDepths(DepthC);
NewImg.swapDepths(DepthA);
NewImg._alpha = 100;
}
Masker._width = RegionWith;
Masker._height = RegionHeight;
Masker.OnComplete = EndTrans;
OldImg.swapDepths(DepthA);
OldImg._x = (-OldPhotoWidth) / 2;
Symbol 2 MovieClip Frame 8
Masker._width = RegionWith;
Masker._height = RegionHeight;
Masker.OnComplete = EndTrans;
Symbol 2 MovieClip Frame 9
Masker._width = RegionWith;
Masker._height = RegionHeight;
Masker.OnComplete = EndTrans;
Symbol 2 MovieClip Frame 10
Masker._width = RegionWith;
Masker._height = RegionHeight;
OldImg.swapDepths(DepthA);
NewImg.swapDepths(DepthB);
Symbol 2 MovieClip Frame 11
Masker._width = RegionWith;
Masker._height = RegionHeight;
Masker.OnComplete = EndTrans;
Symbol 2 MovieClip Frame 12
Masker._width = RegionWith;
Masker._height = RegionHeight;
OldImg.swapDepths(DepthA);
NewImg.swapDepths(DepthC);
Symbol 2 MovieClip Frame 13
Masker._width = NewPhotoWidth;
Masker._height = NewPhotoHeight;
Masker.OnComplete = EndTrans;
Symbol 2 MovieClip Frame 14
Masker._width = RegionWith;
Masker._height = RegionHeight;
Masker.OnComplete = EndTrans;
Symbol 24 MovieClip Frame 1
function LoadPercent() {
TotalByes = WatchedMovie.getBytesTotal();
LoadedByes = WatchedMovie.getBytesLoaded();
return(int((LoadedByes / TotalByes) * 100));
}
function FinishLoading() {
if (!FadeOut) {
gotoAndPlay(EmptyLoopStart);
} else {
gotoAndPlay (3);
}
WatchedMovie.play();
WatchedMovie = undefined;
Delay = 0;
if (OnLoaded != undefined) {
OnLoaded();
}
}
if (FirstPlay == undefined) {
FirstPlay = false;
if (_root._currentframe == 1) {
WatchedMovie = _root;
}
EmptyLoopStart = 11;
gotoAndPlay(EmptyLoopStart);
return(undefined);
}
LoadingPercent = LoadPercent();
ProgressText = LoadingPercent + "%";
setProperty("ProgressBar", _xscale , LoadingPercent);
setProperty("ProgressBar", _xscale, LoadingPercent);
Symbol 24 MovieClip Frame 2
if (LoadingPercent != 100) {
gotoAndPlay (1);
if (OnLoading != undefined) {
OnLoading();
}
} else {
FinishLoading();
}
Symbol 24 MovieClip Frame 12
if (WatchedMovie == undefined) {
gotoAndPlay(EmptyLoopStart);
return(undefined);
}
if (Delay < 1) {
Delay++;
gotoAndPlay(EmptyLoopStart);
return(undefined);
}
WatchedMovie.stop();
LoadingPercent = LoadPercent();
if (LoadingPercent == 100) {
FinishLoading();
return(undefined);
}
gotoAndPlay (1);