Frame 1
function fsdPlayAgain() {
theDoge.unloadMovie();
_global.contMain.fPlayAgain();
}
Stage.showMenu = false;
_focusrect = false;
System.security.allowDomain("www.disney.go.com");
System.security.allowDomain("disney.go.com");
System.security.allowDomain("psc.disney.go.com");
System.security.allowDomain("apsc.disney.go.com");
System.security.allowDomain("tv.disney.go.com");
System.security.allowDomain("atv.disney.go.com");
System.security.allowDomain("scores.disney.go.com");
var gameID = "dc_hannah_rsfc";
var subject = "Hannah Montana - Rock Star Fashion Challenge";
var playerScore = 0;
var playerName = "";
Frame 2
stop();
Instance of Symbol 26 MovieClip "contLoading" in Frame 2
onClipEvent (load) {
function fPreloadGame() {
var _local3;
_local3 = (_global.stage.getBytesLoaded() / _global.stage.getBytesTotal()) * 100;
if (_local3 != 100) {
_local3 = Math.floor(_local3);
_global.stage.mcLoadingScreen._sPercent = _local3;
} else {
_global.stage.mcLoadingScreen._sPercent = "100";
this._nDelay++;
if (this._nDelay > 4) {
_global.stage.gotoAndStop("resetMainVar");
}
}
}
stop();
this._nDelay = 0;
this._visible = false;
_global.stage = _parent;
_global.stage._sCurrentFrame = "loadingScreen";
}
onClipEvent (enterFrame) {
this.fPreloadGame();
}
Frame 3
_global.stage._sCurrentFrame = "titleScreen";
Instance of Symbol 79 MovieClip "mcVideo" in Frame 3
onClipEvent (load) {
this._visible = false;
_nStartPosX = this._x;
_nStartPosY = this._y;
this._x = 10000;
}
Instance of Symbol 114 MovieClip "mcContSound" in Frame 3
onClipEvent (load) {
this._visible = false;
_global.objSounds = this;
Items = new Object();
G_TabSonFade = new Array();
Mute = false;
Controlled = new Array("sMu_game", "sMu_tts", "sFx_bag", "sFx_box", "sFx_camera", "sFx_casier", "sFx_clotches", "sFx_clotches2", "sFx_cool", "sFx_door", "sFx_drawer", "sFx_flash", "sFx_guitar1", "sFx_guitar2", "sFx_guitar3", "sFx_guitar4", "sFx_honk", "sFx_honk2", "sFx_hurryUp", "sFx_hurryUp2", "sFx_jewel", "sFx_jewelBox", "sFx_letGo", "sFx_lookingGood", "sFx_loseScreen", "sFx_notQuiteIt", "sFx_polaroid", "sFx_wow", "sFx_btnOver", "sFx_btnDown", "sFx_getOn", "sFx_star", "sFx_negative");
for (i in Controlled) {
this.createEmptyMovieClip(Controlled[i], i + 1);
this[Controlled[i]] = new Sound(Controlled[i]);
this[Controlled[i]].attachSound(Controlled[i]);
Items[Controlled[i]] = new Object();
Items[Controlled[i]].Nom = Controlled[i];
Items[Controlled[i]].Volume = 0;
}
fPlaySounds = function (l_Name, l_Vol, l_NbLoop) {
SetVolume(l_Name, l_Vol);
eval (l_Name).start(0, l_NbLoop);
};
fStopSounds = function (l_Name) {
SetVolume(l_Name, 0);
eval (l_Name).stop();
};
SetVolume = function (l_Name, l_Vol) {
Items[l_Name].Volume = l_Vol;
if (Mute) {
eval (l_Name).setVolume(0);
} else {
eval (l_Name).setVolume(l_Vol);
}
};
DoFade = function (l_Name, l_Vol, l_DirFade, l_SpdFade, l_Index) {
var _local1 = Items[l_Name].Volume;
if (l_DirFade == "In") {
if ((_local1 + l_SpdFade) < l_Vol) {
SetVolume(l_Name, _local1 + l_SpdFade);
} else {
SetVolume(l_Name, l_Vol);
G_TabSonFade.splice(l_Index, 1);
}
} else if ((_local1 - l_SpdFade) > l_Vol) {
SetVolume(l_Name, _local1 - l_SpdFade);
} else {
SetVolume(l_Name, l_Vol);
G_TabSonFade.splice(l_Index, 1);
if (l_Vol == 0) {
StopSound(l_Name);
}
}
};
Fade = function () {
for (i in G_TabSonFade) {
DoFade(G_TabSonFade[i][0], G_TabSonFade[i][1], G_TabSonFade[i][2], G_TabSonFade[i][3], i);
}
};
fDoMute = function () {
Mute = true;
for (i in Items) {
eval (Items[i].Nom).setVolume(0);
}
};
fUndoMute = function () {
Mute = false;
for (i in Items) {
SetVolume(Items[i].Nom, Items[i].Volume);
}
};
}
Instance of Symbol 116 MovieClip "mcContMain" in Frame 3
onClipEvent (load) {
function fStyleNumber(l_nNumber, l_nMinimumChar, P_character) {
var _local8 = false;
var _local1 = String(l_nNumber);
var _local9 = _local1;
do {
if (_local1.length < l_nMinimumChar) {
_local8 = true;
_local9 = "0" + _local9;
}
} while (_local9.length < l_nMinimumChar);
_local1 = _local9;
var _local4 = "";
var _local7 = _local1.length;
_local7 = _local7 / 3;
if (_local7 <= 1) {
return(_local1);
}
var _local2 = _local7;
while (_local2 > 1) {
if (P_character != undefined) {
var _local3 = P_character;
} else {
var _local3 = " ";
}
_local4 = (_local3 + _local1.substr(-3)) + _local4;
_local1 = _local1.substr(0, -3);
_local2--;
}
_local9 = _local1 + _local4;
return(_local9);
}
function fSubLastNumberChar(_sString) {
var _local3 = "";
var _local4 = _sString.length;
var _local1 = _local4 - 1;
while (_local1 > 0) {
var _local2 = _sString.charAt(_local1);
if (isNaN(_local2)) {
return(_local3);
}
_local3 = _local2 + _local3;
_local1--;
}
}
function fSetHitTint(_mcRef, _sMode) {
switch (_sMode) {
case "good" :
var _local3 = {ra:"60", rb:"65", ga:"100", gb:"70", ba:"100", bb:"105", aa:"100", ab:"0"};
break;
case "wrong" :
_local3 = {ra:"100", rb:"255", ga:"100", gb:"-255", ba:"100", bb:"-255", aa:"100", ab:"0"};
}
_mcRef._bTinted = true;
_mcRef.onEnterFrame = function () {
if (this._bTinted == true) {
fGetNormalTint(this, 6);
} else {
delete this.onEnterFrame;
}
};
var _local5 = new Color(_mcRef);
var _local2 = _local3;
_local5.setTransform(_local2);
}
function fGetNormalTint(_mcRef, _rFactor) {
var _local2 = _rFactor;
var _local4 = true;
var _local7 = new Color(_mcRef);
var _local1 = _local7.getTransform();
var _local5 = 1;
for (var _local6 in _local1) {
if ((_local5 % 2) != 0) {
if ((_local1[_local6] <= _local2) && (_local1[_local6] >= (-_local2))) {
_local1[_local6] = 0;
}
if (_local1[_local6] < 0) {
var _local3 = 1;
} else {
var _local3 = -1;
}
if (_local1[_local6] != 0) {
_local4 = false;
_local1[_local6] = _local1[_local6] + (_local2 * _local3);
}
} else {
if ((_local1[_local6] <= (100 + _local2)) && (_local1[_local6] >= (100 - _local2))) {
_local1[_local6] = 100;
}
if (_local1[_local6] < 100) {
var _local3 = 1;
} else {
var _local3 = -1;
}
if (_local1[_local6] != 100) {
_local4 = false;
_local1[_local6] = _local1[_local6] + (_local2 * _local3);
}
}
_local5++;
}
if (_local4 == true) {
_mcRef._bTinted = false;
}
_local7.setTransform(_local1);
}
function fInitializeContMain() {
this._nStageWidth = 580;
this._nStageHeight = 430;
this._nStageFrameRate = 35;
_nTimeFashionPhoto = 4;
_nLevelMax = 5;
_nFashionPhoto = 3;
_aGameplay = [0, 1, _nFashionPhoto];
_nObjectType = 7;
_nNumberHead = 1;
_nNumberTorso = 5;
_nNumberPant = 5;
_nNumberBoots = 4;
_nNumberAcces1 = 4;
_nNumberAcces2 = 2;
_nNumberHat = 2;
_mcLastHead = undefined;
_mcLastTorso = undefined;
_mcLastPant = undefined;
_mcLastBoots = undefined;
_mcLastAcces1 = undefined;
_mcLastAcces2 = undefined;
_mcLastHat = undefined;
_aCurrentDesign = new Array();
_aCurrentDesign = [7, 7, 7, 7, 7, 7, 7];
_aDesignToDo = new Array();
_aDesignToDo = [1, 7, 7, 7, 7, 7, 7];
_aDifficultyLevel = new Array();
_aDifficultyLevel = [["--"], [[0, 3, 0], 4, 5], [[0, 2, 0], 4, 5], [[0, 1, 30], 3, 6], [[0, 1, 15], 2, 7], [[0, 1, 0], 2, 7]];
_aInitMPDesignReset = [1, 1, 1, 1, 1, 1, 1];
_bMultiplayer = false;
_nCurrentPlayer = 1;
_nMultiplayerScore = ["--", 0, 0];
_nDefaultTimer = [0, 4, 0];
_nDefaultFashionPhotoTimer = 4;
_aLocker = [];
_global.contMain.fLoadVideo();
_sPrintMode = "Poster";
}
function fResetDesignArray() {
_aCurrentDesign = [1, 7, 7, 7, 7, 7, 7];
}
function fResetMPDesignArray() {
_aCurrentDesign = [1, 1, 1, 1, 1, 1, 1];
}
function fResetPShopDesignArray() {
_aCurrentDesign = [1, 1, 1, 1, 1, 1, 1];
}
function fPause(_sMode) {
this._bPaused = true;
_global.mcHUD.btnFashion.enabled = false;
_global.mcHUD.btnReady.enabled = false;
_global.mcHUD.btnMenu.enabled = false;
_global.mcTimer.stop();
_global.b.broadcastMessage("onPause");
if (_sMode != "anim") {
_global.contPopup.gotoAndStop("instructions");
}
}
function fUnPause() {
this._bPaused = false;
_global.mcHUD.btnFashion.enabled = true;
_global.mcHUD.btnReady.enabled = true;
_global.mcHUD.btnMenu.enabled = true;
_global.mcTimer.play();
_global.b.broadcastMessage("onPlay");
_global.contPopup.gotoAndStop("idle");
}
function fAddLocker(l_mcRef) {
_aLocker.push(l_mcRef);
}
function fGetTypeArrayIndex(l_sType) {
switch (l_sType) {
case "Head" :
return(0);
case "Torso" :
return(1);
case "Pant" :
return(2);
case "Boots" :
return(3);
case "Acces1" :
return(4);
case "Acces2" :
return(5);
case "Hat" :
return(6);
}
}
function fCheckKey() {
if (_global.stage._sCurrentFrame == "levelScreen") {
var _local2 = String.fromCharCode(Key.getCode());
if ((_local2 == "Q") or (_local2 == "q")) {
fQuit();
}
}
}
function fQuit() {
if (_bMultiplayer == true) {
_global.contMain.fPause("anim");
_global.contTrans._bStopSound = true;
_global.contTrans._sNextFrameLabel = "resetMainVar";
_global.contTrans.gotoAndStop("interScreen");
} else {
_global.contMain.fPause("anim");
_global.contTrans._bStopSound = true;
_global.contTrans._sNextFrameLabel = "loseScreen";
_global.contTrans.gotoAndStop("interScreen");
}
}
function fSubmitHS() {
_global.contTrans._bStopSound = false;
_global.contTrans._sNextFrameLabel = "HighScoreScreen";
_global.contTrans.gotoAndStop("interScreen");
}
function fHelp() {
_global.contMain.fPause();
}
function fMenu() {
_global.contMain.fPause("anim");
_global.contPopup.gotoAndStop("menu");
}
function fPlayAgain() {
_global.contTrans._bStopSound = false;
_global.contTrans._sNextFrameLabel = "resetMainVar";
_global.contTrans.gotoAndStop("interScreen");
}
function fLoadVideo() {
var _local2 = new String(_global.stage._url);
if (_local2.lastIndexOf("/") == -1) {
var _local3 = _local2.lastIndexOf("\\");
} else {
var _local3 = _local2.lastIndexOf("/");
if (_local3 <= 10) {
_local3 = _local2.lastIndexOf("\\");
}
}
var _local4;
_local4 = _local2.substring(0, _local3 + 1);
ncConnection1 = new NetConnection();
ncConnection1.connect(null);
nsStream1 = new NetStream(ncConnection1);
_global.stage.mcVideo.video.attachVideo(nsStream1);
nsStream1.play(_local4 + "medias/HM_show.flv");
nsStream1.pause(true);
}
function fPlayVideo() {
_global.stage.mcVideo._visible = true;
_global.stage.mcVideo._x = _global.stage.mcVideo._nStartPosX;
_global.stage.mcVideo._y = _global.stage.mcVideo._nStartPosY;
nsStream1.pause(false);
}
function fCloseVideoPanel() {
_global.contMain.nsStream1.pause(true);
_global.contMain.nsStream1.seek(0);
_global.stage.mcVideo._visible = false;
_global.stage.mcVideo._x = 10000;
if (_global.objSounds._bUnMute == true) {
_global.objSounds.fUndoMute();
}
}
function fManageSoundBtnState(l_mcRef) {
if (_global.objSounds.Mute == false) {
l_mcRef.gotoAndStop("off");
_global.objSounds.fDoMute();
} else {
l_mcRef.gotoAndStop("on");
_global.objSounds.fUndoMute();
}
}
function fStyleNumber(l_nNumber, l_nMinimumChar, P_character) {
var _local8 = false;
var _local1 = String(l_nNumber);
var _local9 = _local1;
do {
if (_local1.length < l_nMinimumChar) {
_local8 = true;
_local9 = "0" + _local9;
}
} while (_local9.length < l_nMinimumChar);
_local1 = _local9;
var _local4 = "";
var _local7 = _local1.length;
_local7 = _local7 / 3;
if (_local7 <= 1) {
return(_local1);
}
var _local2 = _local7;
while (_local2 > 1) {
if (P_character != undefined) {
var _local3 = P_character;
} else {
var _local3 = " ";
}
_local4 = (_local3 + _local1.substr(-3)) + _local4;
_local1 = _local1.substr(0, -3);
_local2--;
}
_local9 = _local1 + _local4;
return(_local9);
}
function fSubLastNumberChar(_sString) {
var _local3 = "";
var _local4 = _sString.length;
var _local1 = _local4 - 1;
while (_local1 > 0) {
var _local2 = _sString.charAt(_local1);
if (isNaN(_local2)) {
return(_local3);
}
_local3 = _local2 + _local3;
_local1--;
}
}
function fSetHitTint(_mcRef, _sMode) {
switch (_sMode) {
case "good" :
var _local3 = {ra:"60", rb:"65", ga:"100", gb:"70", ba:"100", bb:"105", aa:"100", ab:"0"};
break;
case "wrong" :
_local3 = {ra:"100", rb:"255", ga:"100", gb:"-255", ba:"100", bb:"-255", aa:"100", ab:"0"};
}
_mcRef._bTinted = true;
_mcRef.onEnterFrame = function () {
if (this._bTinted == true) {
fGetNormalTint(this, 6);
} else {
delete this.onEnterFrame;
}
};
var _local5 = new Color(_mcRef);
var _local2 = _local3;
_local5.setTransform(_local2);
}
function fGetNormalTint(_mcRef, _rFactor) {
var _local2 = _rFactor;
var _local4 = true;
var _local7 = new Color(_mcRef);
var _local1 = _local7.getTransform();
var _local5 = 1;
for (var _local6 in _local1) {
if ((_local5 % 2) != 0) {
if ((_local1[_local6] <= _local2) && (_local1[_local6] >= (-_local2))) {
_local1[_local6] = 0;
}
if (_local1[_local6] < 0) {
var _local3 = 1;
} else {
var _local3 = -1;
}
if (_local1[_local6] != 0) {
_local4 = false;
_local1[_local6] = _local1[_local6] + (_local2 * _local3);
}
} else {
if ((_local1[_local6] <= (100 + _local2)) && (_local1[_local6] >= (100 - _local2))) {
_local1[_local6] = 100;
}
if (_local1[_local6] < 100) {
var _local3 = 1;
} else {
var _local3 = -1;
}
if (_local1[_local6] != 100) {
_local4 = false;
_local1[_local6] = _local1[_local6] + (_local2 * _local3);
}
}
_local5++;
}
if (_local4 == true) {
_mcRef._bTinted = false;
}
_local7.setTransform(_local1);
}
_global.stage = _parent;
this._visible = false;
if (_global.b == null) {
_global.b = new Object();
AsBroadcaster.initialize(_global.b);
}
_global.APE = function (obj, frameEIN) {
obj.frameE = frameEIN;
if (_global.contMain._bPaused == true) {
obj.stop();
}
obj.pf = true;
_global.b.addListener(obj);
obj.onPause = function () {
obj.stop();
};
obj.onPlay = function () {
if (obj._currentframe >= obj.frameE) {
obj.play();
}
};
obj.onUnload = function () {
_global.b.removeListener(obj);
};
};
_global.RPE = function (obj) {
delete obj.frameE;
delete obj.pf;
_global.b.removeListener(obj);
delete obj.onPause;
delete obj.onPlay;
delete obj.onUnload;
};
_global.contMain = this;
this._bHSAvailable = true;
this._bPaused = true;
_bPreview = false;
_sLastFrame = undefined;
fInitializeContMain();
stop();
if (_global.b == null) {
_global.b = new Object();
AsBroadcaster.initialize(_global.b);
}
_global.APE = function (obj, frameEIN) {
obj.frameE = frameEIN;
if (_global.contMain._bPaused == true) {
obj.stop();
}
obj.pf = true;
_global.b.addListener(obj);
obj.onPause = function () {
obj.stop();
};
obj.onPlay = function () {
if (obj._currentframe >= obj.frameE) {
obj.play();
}
};
obj.onUnload = function () {
_global.b.removeListener(obj);
};
};
_global.RPE = function (obj) {
delete obj.frameE;
delete obj.pf;
_global.b.removeListener(obj);
delete obj.onPause;
delete obj.onPlay;
delete obj.onUnload;
};
}
onClipEvent (keyUp) {
this.fCheckKey();
}
Instance of Symbol 128 MovieClip "mcTransition" in Frame 3
onClipEvent (load) {
_global.contTrans = this;
this._mcInsideMovieClip = undefined;
this._sNextFrameLabel = "";
this._bStopSound = false;
this._bGetHS = false;
this._bSubmitHS = false;
this._bGameMusicPlaying = false;
if (this._bGameMusicPlaying == false) {
this._bGameMusicPlaying = true;
_global.objSounds.fPlaySounds("sMu_tts", 50, 99999);
}
}
Frame 4
_global.stage._sCurrentFrame = "instructionsScreen";
Frame 5
_global.stage._sCurrentFrame = "multiplayerScreen";
Instance of Symbol 381 MovieClip "mcMultiplayerTimer" in Frame 5
onClipEvent (load) {
function fSetTimer(_rHour, _rMinute, _rSeconde, _rCentieme, _rShowCentieme, P_mcRef) {
this._nTickTime = 0;
this._mcRef = P_mcRef;
this._nHour = _rHour;
this._nMinute = _rMinute;
this._nSeconde = _rSeconde;
this._nCentieme = _rCentieme;
this._bShowCentieme = _rShowCentieme;
this._nFrameAnim = 300;
this._nTimeStep = 0;
this.fGetTickTime();
_nFrameToGo = 0;
_nLastTime = 0;
_nTimerRef = 0;
}
function fAddTime(l_nTime) {
_nTickTime = _nTickTime + l_nTime;
}
function fSetTimeStyle(l_minusTime) {
var _local4 = "";
var _local5 = "";
var _local6 = "";
var _local8 = "";
_nLastTime = _nLastTime + l_minusTime;
_nTickTime = _nTickTime - l_minusTime;
var _local3 = this._nTickTime;
if (_local3 >= 0) {
if (_local3 >= 3600000) {
_local4 = Math.floor(_local3 / 3600000);
_local3 = _local3 - (_local4 * 3600000);
this._nHour = _local4;
_local4 = _global.contMain.fStyleNumber(_local4, 2);
}
if (_local3 >= 60000) {
_local5 = Math.floor(_local3 / 60000);
_local3 = _local3 - (_local5 * 60000);
this._nMinute = _local5;
_local5 = _global.contMain.fStyleNumber(_local5, 2);
} else {
this._nMinute = 0;
_local5 = "00";
}
if (_local3 >= 1000) {
_local6 = Math.floor(_local3 / 1000);
_local3 = _local3 - (_local6 * 1000);
this._nSeconde = _local6;
_local6 = _global.contMain.fStyleNumber(_local6, 2);
} else {
this._nSeconde = 0;
_local6 = "00";
}
if ((_local3 > 10) and (this._bShowCentieme == true)) {
_local8 = Math.floor(_local3 / 10);
_local3 = _local3 - (_local8 * 10);
this._nCentieme = _local8;
_local8 = _global.contMain.fStyleNumber(_local8, 2);
}
var _local7 = "";
if (_local4 != "") {
_local7 = _local4 + ":";
}
_local7 = _local7 + ((_local5 + ":") + _local6);
if (this._bShowCentieme == true) {
_local7 = _local7 + (":" + _local8);
}
_mcRef._sTimer = _local7;
if ((_nLastTime - _nTimerRef) >= _nTimeStep) {
var _local9 = Math.round((_nLastTime - _nTimerRef) / this._nTimeStep);
_nTimerRef = _nTimerRef + (_local9 * _nTimeStep);
_nFrameToGo = _global.mcHUD.mcHUDTimer._currentframe + _local9;
_global.mcHUD.mcHUDTimer.onEnterFrame = function () {
if (_global.contMain._bPaused == false) {
if ((_global.mcHUD.mcHUDTimer._currentframe >= _global.mcTimer._nFrameToGo) || (_global.mcHUD.mcHUDTimer._currentframe == _global.mcHUD.mcHUDTimer._totalframes)) {
_global.mcHUD.mcHUDTimer.stop();
delete _global.mcHUD.mcHUDTimer.onEnterFrame;
} else {
_global.mcHUD.mcHUDTimer.play();
}
} else {
_global.mcHUD.mcHUDTimer.stop();
}
};
}
} else {
_global.mcHUD.mcHUDTimer.gotoAndStop(_global.mcHUD.mcHUDTimer._totalframes);
var _local7 = 0;
_nTickTime = 0;
_mcRef._sTimer = "00:00";
_global.contGame.fTimeOut();
}
}
function fGetTickTime() {
this._nTickTime = this._nTickTime + (this._nHour * 3600000);
this._nTickTime = this._nTickTime + (this._nMinute * 60000);
this._nTickTime = this._nTickTime + (this._nSeconde * 1000);
this._nTickTime = this._nTickTime + (this._nCentieme * 10);
this._nTimeStep = this._nTickTime / _nFrameAnim;
}
stop();
this._visible = false;
var _nHour = _global.contMain._nDefaultTimer[0];
var _nMinute = _global.contMain._nDefaultTimer[1];
var _nSecond = _global.contMain._nDefaultTimer[2];
fSetTimer(_nHour, _nMinute, _nSecond, 0, false, _global.stage.mcMultiplayerScreen);
fSetTimeStyle(0);
_global.stage.mcMultiplayerScreen._sFashionPhoto = _global.contMain._nTimeFashionPhoto;
_global.stage.mcMultiplayerScreen._sFashionPhotoMax = _global.contMain._nFashionPhoto;
}
Frame 6
_global.stage._sCurrentFrame = "printPreviewScreen";
_global.contMain._bPaused = false;
Frame 7
_global.stage._sCurrentFrame = "levelScreen";
Instance of Symbol 770 MovieClip "mcLevelScreen" in Frame 7
onClipEvent (load) {
this._x = 0;
this._y = 0;
}
Instance of Symbol 773 MovieClip [mcMoveableHead] in Frame 7
onClipEvent (load) {
this.swapDepths(666666);
this.removeMovieClip();
}
Instance of Symbol 785 MovieClip [mcGoodMatch] "mcGoodMatch" in Frame 7
onClipEvent (load) {
this.swapDepths(666666);
this.removeMovieClip();
}
Instance of Symbol 899 MovieClip "mcContPause" in Frame 7
onClipEvent (load) {
_global.contPopup = this;
}
Instance of Symbol 901 MovieClip "mcContGame" in Frame 7
onClipEvent (load) {
function fManageInterface(_sMode) {
if (_sMode == "init") {
_global.contMain._bPaused = true;
_global.mcHUD = _global.mcLevelScreen.mcHUD;
_global.contMain._aGameplay[2] = _global.contMain._nFashionPhoto;
_global.mcHUD.mcHUDFFPhoto._sNumber = _global.contMain._aGameplay[2];
if (_global.contMain._bMultiplayer) {
var _local5 = _global.contMain._nDefaultTimer[0];
var _local3 = _global.contMain._nDefaultTimer[1];
var _local2 = _global.contMain._nDefaultTimer[2];
} else {
var _local5 = _global.contMain._aDifficultyLevel[_global.contMain._aGameplay[1]][0][0];
var _local3 = _global.contMain._aDifficultyLevel[_global.contMain._aGameplay[1]][0][1];
var _local2 = _global.contMain._aDifficultyLevel[_global.contMain._aGameplay[1]][0][2];
_global.contMain._nTimeFashionPhoto = _global.contMain._aDifficultyLevel[_global.contMain._aGameplay[1]][1];
}
_global.mcHUD._sTimer = (_global.contMain.fStyleNumber(_local3, 2) + ":") + _global.contMain.fStyleNumber(_local2, 2);
_global.mcTimer.fSetTimer(_local5, _local3, _local2, 0, false, _global.mcHUD);
fAccessFashionFlash(0);
} else if (_sMode == "managePoint") {
_global.mcHUD._sScore = _global.contMain.fStyleNumber(_global.contMain._aGameplay[0], 9);
} else if (_sMode == "manageFashionFlash") {
_global.mcHUD.mcHUDFFPhoto._sNumber = _global.contMain._aGameplay[2];
}
}
function fTimeOut() {
if (_mcDragged != undefined) {
_mcDragged.stopDrag();
}
_global.contMain.fPause("anim");
_global.contPopup.gotoAndStop("timeOut");
}
function fChooseDesign() {
_global.contMain._aDesignToDo[0] = random(_global.contMain._nNumberHead) + 1;
_global.contMain._aDesignToDo[1] = random(_global.contMain._nNumberTorso) + 1;
_global.contMain._aDesignToDo[2] = random(_global.contMain._nNumberPant) + 1;
_global.contMain._aDesignToDo[3] = random(_global.contMain._nNumberBoots) + 1;
_global.contMain._aDesignToDo[4] = random(_global.contMain._nNumberAcces1) + 1;
_global.contMain._aDesignToDo[5] = random(_global.contMain._nNumberAcces2) + 1;
_global.contMain._aDesignToDo[6] = random(_global.contMain._nNumberHat) + 1;
}
function fManageEndLevel() {
_global.contMain.fPause("anim");
if (_global.contMain._bMultiplayer) {
_global.contPopup.gotoAndStop("bonusBoardMulti");
} else {
_global.contPopup.gotoAndStop("bonusBoard");
}
}
function fManagePoint(_rPoint) {
_global.contMain._aGameplay[0] = _global.contMain._aGameplay[0] + _rPoint;
this.fManageInterface("managePoint");
}
function fManageFashionFlash(l_nPhoto) {
_global.contMain._aGameplay[2] = _global.contMain._aGameplay[2] + l_nPhoto;
if (_global.contMain._aGameplay[2] < 0) {
_global.contMain._aGameplay[2] = 0;
}
this.fManageInterface("manageFashionFlash");
}
function fAccessFashionFlash(l_nPhoto) {
if (_global.contMain._aGameplay[2] > 0) {
fManageFashionFlash(l_nPhoto);
_global.contMain.fPause("anim");
_global.contPopup.gotoAndStop("fashionFlash");
}
}
function fAttachWord(P_mcRef, P_sType) {
var _local2 = P_mcRef.getBounds(_global.contPopup);
var _local3 = _global.contPopup.attachMovie("mcGoodMatch", "mcGoodMatch" + P_sType, _global.contGame._nIndexSwapDepth);
_local3._x = (_local2.xMin + _local2.xMax) / 2;
_local3._y = (_local2.yMin + _local2.yMax) / 2;
_local3._nWord = random(3) + 1;
_nIndexSwapDepth++;
}
function fManageDesignBonus(l_mcRef, l_index) {
var _local3 = 0;
if (_global.contMain._aDesignToDo[l_index] == _global.contMain._aCurrentDesign[l_index]) {
var _local4 = _aType[l_index];
fAttachWord(l_mcRef.mcHUDPlayer["mc" + _local4], _local4);
_global.contMain.fSetHitTint(l_mcRef.mcHUDPlayer["mc" + _local4], "good");
_nItemDone++;
l_mcRef._sItemDone = _nItemDone;
}
_nMatchBonus = 2000 * _nItemDone;
l_mcRef._sMatchBonus = _global.contMain.fStyleNumber(_nMatchBonus, 0, ",");
if (_nItemDone == _global.contMain._nObjectType) {
_local3 = 10000;
_bExactMatch = true;
}
l_mcRef._sPerfectMatchBonus = _global.contMain.fStyleNumber(_local3, 0, ",");
if (_global.contMain._bMultiplayer) {
if (_global.contMain._nCurrentPlayer == 1) {
_global.contMain._nMultiplayerScore[2] = _global.contMain._nMultiplayerScore[2] + _local3;
} else {
_global.contMain._nMultiplayerScore[1] = _global.contMain._nMultiplayerScore[1] + _local3;
}
} else {
_global.contMain._aGameplay[0] = _global.contMain._aGameplay[0] + _local3;
}
if (l_index == (_global.contMain._nObjectType - 1)) {
if (_global.contMain._bMultiplayer) {
if (_bExactMatch == true) {
if (_global.contMain._nCurrentPlayer == 1) {
_global.contMain._nMultiplayerScore[2] = _global.contMain._nMultiplayerScore[2] + _nMatchBonus;
l_mcRef._sScore2 = _global.contMain.fStyleNumber(_global.contMain._nMultiplayerScore[2], 0, ",");
} else {
_global.contMain._nMultiplayerScore[1] = _global.contMain._nMultiplayerScore[1] + _nMatchBonus;
l_mcRef._sScore1 = _global.contMain.fStyleNumber(_global.contMain._nMultiplayerScore[1], 0, ",");
}
} else {
_global.contMain._nMultiplayerScore[_global.contMain._nCurrentPlayer] = _global.contMain._nMultiplayerScore[_global.contMain._nCurrentPlayer] + _nMatchBonus;
l_mcRef["_sScore" + _global.contMain._nCurrentPlayer] = _global.contMain.fStyleNumber(_global.contMain._nMultiplayerScore[_global.contMain._nCurrentPlayer], 0, ",");
}
} else {
_global.contMain._aGameplay[0] = _global.contMain._aGameplay[0] + _nMatchBonus;
l_mcRef._sScore = _global.contMain.fStyleNumber(_global.contMain._aGameplay[0], 0, ",");
}
}
if (_bExactMatch) {
_global.contPopup.mcPerfectMatch.play();
}
}
function fManageBonusBoard(l_mcRef) {
l_mcRef._sMatchBonus = 0;
l_mcRef._sPerfectMatchBonus = 0;
l_mcRef._sItemDone = 0;
var _local4 = 0;
var _local5 = 0;
var _local3 = 0;
var _local7 = false;
for (var _local6 in _global.contMain._aDesignToDo) {
if (_global.contMain._aDesignToDo[_local6] == _global.contMain._aCurrentDesign[_local6]) {
_local3++;
}
}
l_mcRef._sItemMax = _global.contMain._nObjectType;
if (_local3 >= _global.contMain._nObjectType) {
_local7 = true;
}
if (_local3 >= int(_global.contMain._aDifficultyLevel[_global.contMain._aGameplay[1]][2])) {
_bLevelCleared = true;
}
if (_local3 == _global.contMain._nObjectType) {
l_mcRef.mcTitle.gotoAndStop(1);
l_mcRef.mcTitle2.gotoAndStop(1);
_global.objSounds.fPlaySounds("sFx_wow", 100, 1);
} else if (_local3 >= (_global.contMain._nObjectType / 2)) {
l_mcRef.mcTitle.gotoAndStop(2);
l_mcRef.mcTitle2.gotoAndStop(2);
_global.objSounds.fPlaySounds("sFx_lookingGood", 100, 1);
} else {
l_mcRef.mcTitle.gotoAndStop(3);
l_mcRef.mcTitle2.gotoAndStop(3);
_global.objSounds.fPlaySounds("sFx_notQuiteIt", 100, 1);
}
_local4 = Math.floor((_global.mcTimer._nTickTime / 1000) * 50);
_local5 = _global.contMain._aGameplay[2] * 3500;
l_mcRef._sBonus = _global.contMain.fStyleNumber(_local4 + _local5, 0, ",");
if (_local7) {
if (_global.contMain._nCurrentPlayer == 1) {
l_mcRef.mcBonusPoint.gotoAndStop(2);
}
} else if (_global.contMain._nCurrentPlayer == 2) {
l_mcRef.mcBonusPoint.gotoAndStop(2);
} else {
l_mcRef.mcBonusPoint.gotoAndStop(1);
}
if (_global.contMain._bMultiplayer) {
l_mcRef._sScore1 = _global.contMain.fStyleNumber(_global.contMain._nMultiplayerScore[1], 0, ",");
l_mcRef._sScore2 = _global.contMain.fStyleNumber(_global.contMain._nMultiplayerScore[2], 0, ",");
if (_local7) {
if (_global.contMain._nCurrentPlayer == 1) {
_global.contMain._nMultiplayerScore[2] = _global.contMain._nMultiplayerScore[2] + (_local4 + _local5);
l_mcRef._sScore2 = _global.contMain.fStyleNumber(_global.contMain._nMultiplayerScore[2], 0, ",");
} else {
_global.contMain._nMultiplayerScore[1] = _global.contMain._nMultiplayerScore[1] + (_local4 + _local5);
l_mcRef._sScore1 = _global.contMain.fStyleNumber(_global.contMain._nMultiplayerScore[1], 0, ",");
}
} else {
_global.contMain._nMultiplayerScore[_global.contMain._nCurrentPlayer] = _global.contMain._nMultiplayerScore[_global.contMain._nCurrentPlayer] + (_local4 + _local5);
l_mcRef["_sScore" + _global.contMain._nCurrentPlayer] = _global.contMain.fStyleNumber(_global.contMain._nMultiplayerScore[_global.contMain._nCurrentPlayer], 0, ",");
}
} else {
_global.contMain._aGameplay[0] = _global.contMain._aGameplay[0] + (_local4 + _local5);
l_mcRef._sScore = _global.contMain.fStyleNumber(_global.contMain._aGameplay[0], 0, ",");
}
}
function fManageLevel() {
_global.contMain._aGameplay[1] = _global.contMain._aGameplay[1] + 1;
if (_global.contMain._aGameplay[1] > 8) {
_global.contMain._aGameplay[1] = 1;
}
_global.contTrans._sNextFrameLabel = "gameEmptyVarScreen";
_global.contTrans.gotoAndStop("interScreen");
}
function fCheckActiveElement() {
for (var _local2 in this._aActiveElement) {
if (this._aActiveElement[_local2] != undefined) {
this._aActiveElement[_local2].fDoAction();
}
}
}
function fAddActiveElement(_mcInstance) {
this._aActiveElement.push(_mcInstance);
_mcInstance._nActiveIndex = this._aActiveElement.length - 1;
}
function fManageMouse() {
_global.stage.mcMouse._visible = false;
if (_mcDragged == undefined) {
if ((_global.stage._xmouse < _global.contMain._nStageWidth) && (_global.stage._xmouse > 0)) {
if ((_global.stage._ymouse < _global.contMain._nStageHeight) && (_global.stage._ymouse > 0)) {
_global.stage.mcMouse._x = _global.stage._xmouse;
_global.stage.mcMouse._y = _global.stage._ymouse;
}
}
} else {
_global.stage.mcMouse._x = _mcDragged._x;
_global.stage.mcMouse._y = _mcDragged._y;
}
}
function fAddHotSpot(mcRef) {
_aHotSpot.push(mcRef);
}
function fGenerateLevel() {
_nObstacleIndex = 1;
fPlaceGoodObject();
for (var _local14 in _aHotSpot) {
if (_aHotSpot[_local14] != undefined) {
var _local10 = new Array();
while (_aHotSpot[_local14] != undefined) {
var _local3 = random(_global.contMain._nObjectType);
var _local6 = _aType[_local3];
var _local7 = fValidTypeVsPlace(_aHotSpot[_local14], _local6);
if ((_local7[0] == true) && (_aGivenNumberPerType[_local3][0] == false)) {
var _local5 = false;
while (_local5 == false) {
if ((_aGivenNumberPerType[_local3].length - 1) < _global.contMain["_nNumber" + _local6]) {
var _local4 = random(_global.contMain["_nNumber" + _local6]) + 1;
var _local8 = false;
for (var _local12 in _aGivenNumberPerType[_local3]) {
if (_aGivenNumberPerType[_local3][_local12] == _local4) {
_local8 = true;
}
}
if (_local8 == false) {
_local5 = true;
var _local9 = "Object_" + _nObstacleIndex;
_aHotSpot[_local14]._name = _local9;
this[_local9] = new objObject(_local6, _local4, _aHotSpot[_local14], false);
_aHotSpot[_local14] = undefined;
_nObstacleIndex++;
_aGivenNumberPerType[_local3].push(_local4);
} else {
_local5 = true;
}
} else {
_local5 = true;
_aGivenNumberPerType[_local3][0] = true;
}
}
} else if (_local10.length == _local7[2].length) {
fRemoveInstance(_aHotSpot[_local14]);
_aHotSpot[_local14] = undefined;
} else {
var _local11 = false;
for (var _local13 in _local10) {
if (_local10[_local13] == _local7[1]) {
_local11 = true;
}
}
if (_local11 == false) {
_local10.push(_local7[1]);
}
}
}
}
}
fManageLocker();
}
function fManageLocker() {
_nElementIndex = 1;
for (var _local4 in _global.contMain._aLocker) {
var _local3 = "locker" + _nElementIndex;
_nElementIndex++;
_global.contMain._aLocker[_local4][0]._name = _local3;
this[_local3] = new objLocker(_global.contMain._aLocker[_local4][0], _global.contMain._aLocker[_local4][1]);
fAddActiveElement(this[_local3]);
}
_global.contMain._aLocker = [];
}
function fPlaceGoodObject() {
for (var _local9 in _global.contMain._aDesignToDo) {
if (_local9 == 0) {
_aGivenNumberPerType[_local9].push(1);
return(undefined);
}
var _local6 = _aType[_local9];
var _local7 = _global.contMain._aDesignToDo[_local9];
var _local4;
while (_local4 == undefined) {
var _local3 = random(_aHotSpot.length);
if (_aHotSpot[_local3] != undefined) {
var _local8 = fValidTypeVsPlace(_aHotSpot[_local3], _local6);
if (_local8[0] == true) {
var _local5 = "Object_" + _nObstacleIndex;
_local4 = _aHotSpot[_local3];
_local4._name = _local5;
this[_local5] = new objObject(_local6, _local7, _local4, false);
_nObstacleIndex++;
_aHotSpot[_local3] = undefined;
_aGivenNumberPerType[_local9].push(_local7);
}
}
}
}
}
function fValidTypeVsPlace(objHotSpot, l_sType) {
switch (objHotSpot._sTypeLocker) {
case "bag" :
var _local1 = ["Torso", "Pant", "Hat"];
break;
case "basket" :
_local1 = ["Torso", "Pant"];
break;
case "box" :
_local1 = ["Head", "Torso", "Pant", "Boots", "Acces2", "Hat"];
break;
case "cartonBox" :
_local1 = ["Pant"];
break;
case "casier" :
_local1 = ["Torso", "Pant", "Acces2", "Hat"];
break;
case "closet" :
_local1 = ["Torso", "Pant"];
break;
case "ground" :
_local1 = ["Head", "Boots", "Acces2", "Hat"];
break;
case "drawer" :
_local1 = ["Torso", "Pant", "Acces2", "Hat"];
break;
case "wallSide" :
_local1 = ["Boots", "Acces1"];
break;
case "jewelBox" :
_local1 = ["Acces2"];
}
for (var _local3 in _local1) {
if (_local1[_local3] == l_sType) {
return([true, l_sType, _local1]);
}
}
_aTemp = [false, l_sType, _local1];
return(_aTemp);
}
function fRemoveInstance(_mcRef) {
_mcRef.swapDepths(_nIndexSwapDepthDeleting);
_nIndexSwapDepthDeleting++;
_mcRef.removeMovieClip();
}
this._bInit = false;
this._bGenerated = false;
this._visible = false;
_global.contGame = this;
_global.mcLevelScreen = _global.stage.mcLevelScreen;
_global.mcHUD;
_nIndexSwapDepth = 100000 /* 0x0186A0 */;
_nIndexSwapDepthDeleting = 800000 /* 0x0C3500 */;
_nDelay = 0;
_bMousePressed = false;
_mcDragged = undefined;
_mcLastLockerOpened = undefined;
_nItemDone = 0;
_nMatchBonus = 0;
_bExactMatch = false;
_bLevelCleared = false;
if (_global.contMain._bMultiplayer == false) {
fChooseDesign();
}
_aActiveElement = new Array();
_bGameStarted = false;
_aActiveObstacle = new Array();
_aGivenNumberPerType = new Array();
_aGivenNumberPerType[0] = [false];
_aGivenNumberPerType[1] = [false];
_aGivenNumberPerType[2] = [false];
_aGivenNumberPerType[3] = [false];
_aGivenNumberPerType[4] = [false];
_aGivenNumberPerType[5] = [false];
_aGivenNumberPerType[6] = [false];
_aType = ["Head", "Torso", "Pant", "Boots", "Acces1", "Acces2", "Hat"];
_aHotSpot = new Array();
stopAllSounds();
_global.objSounds.fPlaySounds("sMu_game", 50, 99999);
}
onClipEvent (enterFrame) {
if (this._bInit == false) {
this._bInit = true;
_global.contMain.fPause("anim");
fManageInterface("init");
} else {
if (this._bGenerated == false) {
this._bGenerated = true;
fGenerateLevel();
}
if (_global.contMain._bPaused == false) {
fCheckActiveElement();
fManageMouse();
}
}
}
onClipEvent (keyDown) {
if (_global.contMain._bPaused == false) {
this.fCheckKey();
}
}
onClipEvent (keyUp) {
if (_global.contMain._bPaused == false) {
this.fCheckKey();
}
}
onClipEvent (mouseUp) {
if (_mcDragged != undefined) {
_mcDragged.onRelease();
}
}
Instance of Symbol 381 MovieClip "mcTimer" in Frame 7
onClipEvent (load) {
function fSetTimer(_rHour, _rMinute, _rSeconde, _rCentieme, _rShowCentieme, P_mcRef) {
this._nTickTime = 0;
this._mcRef = P_mcRef;
this._nHour = _rHour;
this._nMinute = _rMinute;
this._nSeconde = _rSeconde;
this._nCentieme = _rCentieme;
this._bShowCentieme = _rShowCentieme;
this._nFrameAnim = 300;
this._nTimeStep = 0;
this.fGetTickTime();
_nFrameToGo = 0;
_nLastTime = 0;
_nTimerRef = 0;
}
function fAddTime(l_nTime) {
_nTickTime = _nTickTime + l_nTime;
}
function fSetTimeStyle(l_minusTime) {
var _local4 = "";
var _local5 = "";
var _local6 = "";
var _local8 = "";
_nLastTime = _nLastTime + l_minusTime;
_nTickTime = _nTickTime - l_minusTime;
var _local3 = this._nTickTime;
if (_local3 >= 0) {
if (_local3 >= 3600000) {
_local4 = Math.floor(_local3 / 3600000);
_local3 = _local3 - (_local4 * 3600000);
this._nHour = _local4;
_local4 = _global.contMain.fStyleNumber(_local4, 2);
}
if (_local3 >= 60000) {
_local5 = Math.floor(_local3 / 60000);
_local3 = _local3 - (_local5 * 60000);
this._nMinute = _local5;
_local5 = _global.contMain.fStyleNumber(_local5, 2);
} else {
this._nMinute = 0;
_local5 = "00";
}
if (_local3 >= 1000) {
_local6 = Math.floor(_local3 / 1000);
_local3 = _local3 - (_local6 * 1000);
this._nSeconde = _local6;
_local6 = _global.contMain.fStyleNumber(_local6, 2);
} else {
this._nSeconde = 0;
_local6 = "00";
}
if ((_local3 > 10) and (this._bShowCentieme == true)) {
_local8 = Math.floor(_local3 / 10);
_local3 = _local3 - (_local8 * 10);
this._nCentieme = _local8;
_local8 = _global.contMain.fStyleNumber(_local8, 2);
}
var _local7 = "";
if (_local4 != "") {
_local7 = _local4 + ":";
}
_local7 = _local7 + ((_local5 + ":") + _local6);
if (this._bShowCentieme == true) {
_local7 = _local7 + (":" + _local8);
}
_mcRef._sTimer = _local7;
if ((_nLastTime - _nTimerRef) >= _nTimeStep) {
var _local9 = Math.round((_nLastTime - _nTimerRef) / this._nTimeStep);
_nTimerRef = _nTimerRef + (_local9 * _nTimeStep);
_nFrameToGo = _global.mcHUD.mcHUDTimer._currentframe + _local9;
_global.mcHUD.mcHUDTimer.onEnterFrame = function () {
if (_global.contMain._bPaused == false) {
if ((_global.mcHUD.mcHUDTimer._currentframe >= _global.mcTimer._nFrameToGo) || (_global.mcHUD.mcHUDTimer._currentframe == _global.mcHUD.mcHUDTimer._totalframes)) {
_global.mcHUD.mcHUDTimer.stop();
delete _global.mcHUD.mcHUDTimer.onEnterFrame;
} else {
_global.mcHUD.mcHUDTimer.play();
}
} else {
_global.mcHUD.mcHUDTimer.stop();
}
};
}
} else {
_global.mcHUD.mcHUDTimer.gotoAndStop(_global.mcHUD.mcHUDTimer._totalframes);
var _local7 = 0;
_nTickTime = 0;
_mcRef._sTimer = "00:00";
_global.contGame.fTimeOut();
}
}
function fGetTickTime() {
this._nTickTime = this._nTickTime + (this._nHour * 3600000);
this._nTickTime = this._nTickTime + (this._nMinute * 60000);
this._nTickTime = this._nTickTime + (this._nSeconde * 1000);
this._nTickTime = this._nTickTime + (this._nCentieme * 10);
this._nTimeStep = this._nTickTime / _nFrameAnim;
}
stop();
_global.mcTimer = this;
this._visible = false;
}
Frame 8
_global.stage._sCurrentFrame = "gameEmptyVarScreen";
play();
Frame 9
_global.stage._sCurrentFrame = "gameEmptyVarScreen";
_global.stage.gotoAndStop("levelScreen");
Frame 10
_global.stage._sCurrentFrame = "winScreen";
mcWinScreen._sScore = _global.contMain.fStyleNumber(_global.contMain._aGameplay[0], 0, ",");
stopAllSounds();
_global.contTrans._bGameMusicPlaying = true;
_global.objSounds.fPlaySounds("sMu_tts", 50, 99999);
Frame 11
_global.stage._sCurrentFrame = "loseScreen";
mcLoseScreen._sScore = _global.contMain.fStyleNumber(_global.contMain._aGameplay[0], 0, ",");
stopAllSounds();
_global.contTrans._bGameMusicPlaying = true;
_global.objSounds.fPlaySounds("sMu_tts", 50, 99999);
Frame 12
_global.stage._sCurrentFrame = "highScoreScreen";
mcHSScreen._sScore = _global.contMain.fStyleNumber(_global.contMain._aGameplay[0], 0, ",");
playerScore = _global.contMain._aGameplay[0];
theDoge.loadMovie(_level0.fsd, 1);
stop();
Frame 13
play();
Frame 14
_global.stage._sCurrentFrame = "resetMainVar";
_global.stage.gotoAndStop("titleScreen");
Symbol 55 Button
on (release) {
_global.contTrans._sNextFrameLabel = "multiplayerScreen";
_global.contTrans.gotoAndStop("interScreen");
_global.contMain._bMultiplayer = true;
_global.contMain._bPaused = true;
_global.contMain.fResetMPDesignArray();
_global.objSounds.fPlaySounds("sFx_btnDown", 100, 1);
}
on (rollOver) {
_global.objSounds.fPlaySounds("sFx_btnOver", 100, 1);
}
Symbol 59 Button
on (release) {
_global.contMain._bPreview = false;
_global.contTrans._sNextFrameLabel = "printPreviewScreen";
_global.contTrans.gotoAndStop("interScreen");
_global.contMain.fResetPShopDesignArray();
_global.objSounds.fPlaySounds("sFx_btnDown", 100, 1);
}
on (rollOver) {
_global.objSounds.fPlaySounds("sFx_btnOver", 100, 1);
}
Symbol 63 Button
on (release) {
_global.contMain._bMultiplayer = false;
_global.contTrans._sNextFrameLabel = "levelScreen";
_global.contTrans.gotoAndStop("interScreen");
_global.contMain.fResetDesignArray();
_global.objSounds.fPlaySounds("sFx_btnDown", 100, 1);
}
on (rollOver) {
_global.objSounds.fPlaySounds("sFx_btnOver", 100, 1);
}
Symbol 67 Button
on (release) {
_global.contMain._bPreview = false;
_global.contTrans._sNextFrameLabel = "instructionsScreen";
_global.contTrans.gotoAndStop("interScreen");
_global.objSounds.fPlaySounds("sFx_btnDown", 100, 1);
}
on (rollOver) {
_global.objSounds.fPlaySounds("sFx_btnOver", 100, 1);
}
Symbol 78 Button
on (release) {
_global.objSounds.fPlaySounds("sFx_btnDown", 100, 1);
_global.contMain.fCloseVideoPanel();
}
on (rollOver) {
_global.objSounds.fPlaySounds("sFx_btnOver", 100, 1);
}
Symbol 79 MovieClip Frame 2
_global.contMain.nsStream1.onStatus = function (oInfo1) {
if (oInfo1.code == "NetStream.Play.Stop") {
_global.contMain.fCloseVideoPanel();
}
};
mouseBlocker.useHandCursor = false;
stop();
Symbol 114 MovieClip Frame 1
stop();
Symbol 114 MovieClip Frame 2
gotoAndStop (1);
Symbol 127 MovieClip Frame 1
_global.objSounds.fPlaySounds("sFx_flash", 75, 1);
Symbol 127 MovieClip Frame 7
_parent.fChangeLabel();
Symbol 127 MovieClip Frame 19
stop();
_parent.gotoAndStop("idle");
Symbol 128 MovieClip Frame 1
function fChangeLabel() {
if (this._mcInsideMovieClip != undefined) {
var _local3 = this._mcInsideMovieClip;
_local3.gotoAndStop(this._sNextFrameLabel);
this._mcInsideMovieClip = undefined;
} else {
_global.stage.gotoAndStop(this._sNextFrameLabel);
}
if (this._bGetHS == true) {
this._bGetHS = false;
_global.contMain.getScores();
}
if (this._bSubmitHS == true) {
this._bSubmitHS = false;
_global.contMain.submitScore(_global.contMain._aGameplay[0]);
}
}
function fStopSound() {
if (_global.contTrans._bStopSound == true) {
_global.contTrans._bStopSound = false;
stopAllSounds();
}
}
stop();
Symbol 128 MovieClip Frame 2
stop();
fStopSound();
Symbol 947 MovieClip [__Packages.objMultiArrow] Frame 0
class objMultiArrow extends MovieClip
{
var _sType, _sDirection, mcControlled, mcRef, _nFrameMax, _nMainArrayIndex;
function objMultiArrow () {
super();
}
function fInitProps(P_sType, P_sDirection, P_mcControlled, P_mcRef) {
_sType = P_sType;
_sDirection = P_sDirection;
mcControlled = P_mcControlled;
mcRef = P_mcRef;
_nFrameMax = _global.contMain["_nNumber" + _sType];
_nMainArrayIndex = _global.contMain.fGetTypeArrayIndex(_sType);
mcRef.onPress = function () {
(this.gotoAndStop("down"));// not popped
};
mcRef.onRelease = function () {
_global.objSounds.fPlaySounds("sFx_btnDown", 100, 1);
if (this._sDirection == "next") {
switch (this._sType) {
case "Timer" :
if (this.mcControlled._nTickTime < 300000) {
this.mcControlled.fAddTime(30000);
this.mcControlled.fSetTimeStyle(0);
}
break;
case "FashionPhoto" :
if (_global.contMain._nTimeFashionPhoto < 5) {
_global.contMain._nTimeFashionPhoto++;
this.mcControlled._sFashionPhoto = _global.contMain._nTimeFashionPhoto;
}
break;
case "FashionPhotoMax" :
if (_global.contMain._nFashionPhoto < 9) {
_global.contMain._nFashionPhoto++;
this.mcControlled._sFashionPhotoMax = _global.contMain._nFashionPhoto;
}
break;
default :
if (this.mcControlled._currentframe >= this._nFrameMax) {
if (this._sType == "Torso") {
this.mcControlled._parent.mcTorsoPatch.gotoAndStop(1);
}
this.mcControlled.gotoAndStop(1);
} else {
this.mcControlled.nextFrame();
if (this._sType == "Torso") {
this.mcControlled._parent.mcTorsoPatch.nextFrame();
}
}
(this.gotoAndStop("up"));// not popped
_global.contMain._aCurrentDesign[this._nMainArrayIndex] = this.mcControlled._currentframe;
}
} else if (this._sDirection == "previous") {
switch (this._sType) {
case "Timer" :
if (this.mcControlled._nTickTime > 30000) {
this.mcControlled.fAddTime(-30000);
this.mcControlled.fSetTimeStyle(0);
}
break;
case "FashionPhoto" :
if (_global.contMain._nTimeFashionPhoto > 1) {
_global.contMain._nTimeFashionPhoto--;
this.mcControlled._sFashionPhoto = _global.contMain._nTimeFashionPhoto;
}
break;
case "FashionPhotoMax" :
if (_global.contMain._nFashionPhoto > 1) {
_global.contMain._nFashionPhoto--;
this.mcControlled._sFashionPhotoMax = _global.contMain._nFashionPhoto;
}
break;
default :
if ((this.mcControlled._currentframe == 1) || (this.mcControlled._currentframe == this.mcControlled._totalframes)) {
if (this._sType == "Torso") {
this.mcControlled._parent.mcTorsoPatch.gotoAndStop(this._nFrameMax);
}
this.mcControlled.gotoAndStop(this._nFrameMax);
} else {
this.mcControlled.prevFrame();
if (this._sType == "Torso") {
this.mcControlled._parent.mcTorsoPatch.prevFrame();
}
}
_global.contMain._aCurrentDesign[this._nMainArrayIndex] = this.mcControlled._currentframe;
}
(this.gotoAndStop("up"));// not popped
}
};
mcRef.onRollOver = function () {
_global.objSounds.fPlaySounds("sFx_btnOver", 100, 1);
(this.gotoAndStop("over"));// not popped
};
mcRef.onRollOut = (mcRef.onReleaseOutside = function () {
(this.gotoAndStop("up"));// not popped
});
}
}
Symbol 948 MovieClip [__Packages.objLocker] Frame 0
class objLocker extends MovieClip
{
var _sType, mcRef, _sStatus, _nDelayOpen, _nDelayOpenMax;
function objLocker (P_mcRef, P_sType) {
super();
_sType = P_sType;
mcRef = P_mcRef;
_sStatus = "idle";
_nDelayOpen = 0;
_nDelayOpenMax = 40;
mcRef.mcHitZone.onPress = function () {
_global.contGame._mcLastLockerOpened._sStatus = "idle";
_global.contGame._mcLastLockerOpened._nDelayOpen = 0;
_global.contGame._mcLastLockerOpened = _global.contGame[this._parent._name];
};
mcRef.mcHitZone.onRelease = function () {
if (_global.contGame[this._parent._name]._sStatus == "idle") {
_global.contGame[this._parent._name].fGetSounds();
_global.contGame[this._parent._name]._sStatus = "opened";
}
};
mcRef.mcHitZone.onReleaseOutside = (mcRef.mcHitZone.onRollOut = function () {
_global.stage.mcMouse.gotoAndStop("arrow");
this.useHandCursor = false;
});
mcRef.mcHitZone.onRollOver = function () {
if (_global.contGame[this._parent._name]._sStatus == "idle") {
_global.stage.mcMouse.gotoAndStop("hand");
this.useHandCursor = true;
}
};
}
function fDoAction() {
this[_sStatus]();
}
function idle() {
mcRef.mcHitZone._visible = true;
mcRef.gotoAndStop("idle");
}
function opened() {
mcRef.mcHitZone._visible = false;
_nDelayOpen++;
mcRef.gotoAndStop("opened");
if (_nDelayOpen >= _nDelayOpenMax) {
_nDelayOpen = 0;
_sStatus = "idle";
}
}
function fGetSounds() {
switch (_sType) {
case "bag" :
var _local3 = "sFx_bag";
break;
case "casier" :
_local3 = "sFx_casier";
break;
case "door" :
_local3 = "sFx_door";
break;
case "drawer" :
_local3 = "sFx_drawer";
break;
case "jewelBox" :
_local3 = "sFx_jewelBox";
break;
case "box" :
_local3 = "sFx_box";
}
_global.objSounds.fPlaySounds(_local3, 100, 1);
}
}
Symbol 949 MovieClip [__Packages.objObject] Frame 0
class objObject extends MovieClip
{
var _sType, _nFrame, mcRef, _bMoveable, _nMainArrayIndex;
function objObject (P_sType, P_nFrame, P_mcRef, P_bMoveable) {
super();
_sType = P_sType;
_nFrame = P_nFrame;
mcRef = P_mcRef;
_bMoveable = P_bMoveable;
_nMainArrayIndex = _global.contMain.fGetTypeArrayIndex(_sType);
if (_bMoveable) {
mcRef.gotoAndStop(_nFrame);
} else {
mcRef.gotoAndStop(P_sType);
mcRef["mc" + P_sType].gotoAndStop(_nFrame);
}
mcRef.onPress = function () {
if ((_global.contMain._bPaused == false) && (_global.contGame[this._name]._bMoveable == false)) {
var _local3 = _global.contGame[this._name];
if (_local3.mcRef["mc" + _local3._sType]._currentframe != _local3.mcRef["mc" + _local3._sType]._totalframes) {
_global.contGame[this._name].fAttachDragableObject(_global.contGame[this._name]);
_global.stage.mcMouse.gotoAndStop("grip");
}
}
};
mcRef.onRelease = function () {
var _local3 = _global.contGame[this._name];
if ((_global.contMain._bPaused == false) && (_local3._bMoveable == true)) {
_global.contGame._mcDragged = undefined;
this.stopDrag();
if (this.hitTest(_global.mcHUD.mcHUDPlayer["mc" + _local3._sType])) {
_local3.fGetSounds();
if (_global.contMain["_mcLast" + _local3._sType] != undefined) {
_global.contMain["_mcLast" + _local3._sType]["mc" + _local3._sType].gotoAndStop(_global.contGame[_global.contMain["_mcLast" + _local3._sType]._name]._nFrame);
}
_global.mcHUD.mcHUDPlayer.mcFlash.gotoAndStop(2);
_global.mcHUD.mcHUDPlayer.mcFlash._x = _global.mcHUD.mcHUDPlayer["mc" + _local3._sType]._x;
_global.mcHUD.mcHUDPlayer.mcFlash._y = _global.mcHUD.mcHUDPlayer["mc" + _local3._sType]._y;
_global.mcHUD.mcHUDPlayer["mc" + _local3._sType].gotoAndStop(_local3._nFrame);
if (_local3._sType == "Torso") {
_global.mcHUD.mcHUDPlayer.mcTorsoPatch.gotoAndStop(_local3._nFrame);
}
_global.contMain._aCurrentDesign[_local3._nMainArrayIndex] = _local3._nFrame;
_global.contMain["_mcLast" + _local3._sType] = _local3.mcFrom;
_global.contGame.fRemoveInstance(this);
_global.stage.mcMouse.gotoAndStop("hand");
this.useHandCursor = true;
} else {
_local3.mcFrom["mc" + _local3._sType].gotoAndStop(_local3._nFrame);
_global.contGame.fRemoveInstance(this);
_global.stage.mcMouse.gotoAndStop("arrow");
this.useHandCursor = false;
}
}
};
mcRef.onReleaseOutside = (mcRef.onRollOut = function () {
if (_global.contMain._bPaused == false) {
_global.stage.mcMouse.gotoAndStop("arrow");
this.useHandCursor = false;
}
});
mcRef.onRollOver = function () {
if (_global.contMain._bPaused == false) {
_global.stage.mcMouse.gotoAndStop("hand");
this.useHandCursor = true;
}
};
}
function fAttachDragableObject(_object) {
var _local3 = "ObjectDragged";
var _local2 = _global.mcLevelScreen.attachMovie("mcMoveable" + _object._sType, _local3, _global.contGame._nIndexSwapDepth);
_local2._x = _global.stage.mcMouse._x;
_local2._y = _global.stage.mcMouse._y;
_global.contGame._mcDragged = _local2;
_global.contGame[_local3] = new objObject(_object._sType, _object._nFrame, _local2, true);
_global.contGame[_local3].mcFrom = _object.mcRef;
var _local4 = _global.mcLevelScreen.mcCadre.getBounds(_global.mcLevelScreen);
_global.contGame[_local3].mcRef.startDrag(true, _local4.xMin + (_local2._width / 2), _local4.yMin + (_local2._height / 2), _local4.xMax - (_local2._width / 2), _local4.yMax - (_local2._height / 2));
_global.contGame._nIndexSwapDepth++;
_object.mcRef["mc" + _object._sType].gotoAndStop("empty");
}
function fGetSounds() {
var _local3 = 100;
switch (_sType) {
case "Torso" :
var _local4 = "sFx_clotches2";
break;
case "Pant" :
_local4 = "sFx_clotches";
break;
case "Acces1" :
_local4 = "sFx_guitar" + (random(4) + 1);
_local3 = 35;
break;
case "Acces2" :
_local4 = "sFx_jewel";
break;
default :
_local4 = "sFx_getOn";
_local3 = 50;
}
_global.objSounds.fPlaySounds(_local4, _local3, 1);
}
}
Symbol 144 Button
on (release) {
_global.objSounds.fPlaySounds("sFx_btnDown", 100, 1);
nextFrame();
}
on (rollOver) {
_global.objSounds.fPlaySounds("sFx_btnOver", 100, 1);
}
Symbol 155 Button
on (release) {
_global.objSounds.fPlaySounds("sFx_btnDown", 100, 1);
prevFrame();
}
on (rollOver) {
_global.objSounds.fPlaySounds("sFx_btnOver", 100, 1);
}
Symbol 174 Button
on (release) {
_global.objSounds.fPlaySounds("sFx_btnDown", 100, 1);
if (_global.stage._sCurrentFrame == "levelScreen") {
_global.contMain.fUnPause();
Mouse.hide();
} else {
_global.contTrans._sNextFrameLabel = "titleScreen";
_global.contTrans.gotoAndStop("interScreen");
}
}
on (rollOver) {
_global.objSounds.fPlaySounds("sFx_btnOver", 100, 1);
}
Symbol 175 MovieClip Frame 1
stop();
Symbol 191 MovieClip Frame 1
stop();
if (_global.contMain._nCurrentPlayer == 1) {
gotoAndStop (2);
}
Symbol 192 MovieClip Frame 95
_parent.nextFrame();
Symbol 198 MovieClip Frame 1
stop();
Symbol 198 MovieClip Frame 2
stop();
Symbol 216 MovieClip Frame 1
stop();
if (_parent._name == "mcFashionFlashPlayer") {
this.gotoAndStop(_global.contMain._aDesignToDo[_global.contMain.fGetTypeArrayIndex("Pant")]);
} else {
this.gotoAndStop(_global.contMain._aCurrentDesign[_global.contMain.fGetTypeArrayIndex("Pant")]);
}
Symbol 216 MovieClip Frame 7
stop();
Symbol 221 MovieClip Frame 1
this._alpha = 0;
Symbol 249 MovieClip Frame 1
stop();
if (_parent._name == "mcFashionFlashPlayer") {
this.gotoAndStop(_global.contMain._aDesignToDo[_global.contMain.fGetTypeArrayIndex("Boots")]);
} else {
this.gotoAndStop(_global.contMain._aCurrentDesign[_global.contMain.fGetTypeArrayIndex("Boots")]);
}
Symbol 249 MovieClip Frame 6
stop();
Symbol 267 MovieClip Frame 1
stop();
if (_parent._name == "mcFashionFlashPlayer") {
this.gotoAndStop(_global.contMain._aDesignToDo[_global.contMain.fGetTypeArrayIndex("Torso")]);
_parent.mcTorsoPatch.gotoAndStop(_global.contMain._aDesignToDo[_global.contMain.fGetTypeArrayIndex("Torso")]);
} else {
this.gotoAndStop(_global.contMain._aCurrentDesign[_global.contMain.fGetTypeArrayIndex("Torso")]);
_parent.mcTorsoPatch.gotoAndStop(_global.contMain._aCurrentDesign[_global.contMain.fGetTypeArrayIndex("Torso")]);
}
Symbol 267 MovieClip Frame 7
stop();
Symbol 289 MovieClip Frame 1
stop();
if (_parent._name == "mcFashionFlashPlayer") {
this.gotoAndStop(_global.contMain._aDesignToDo[_global.contMain.fGetTypeArrayIndex("Acces1")]);
} else {
this.gotoAndStop(_global.contMain._aCurrentDesign[_global.contMain.fGetTypeArrayIndex("Acces1")]);
}
Symbol 289 MovieClip Frame 6
stop();
Symbol 300 MovieClip Frame 1
stop();
if (_parent._name == "mcFashionFlashPlayer") {
this.gotoAndStop(_global.contMain._aDesignToDo[_global.contMain.fGetTypeArrayIndex("Acces2")]);
} else {
this.gotoAndStop(_global.contMain._aCurrentDesign[_global.contMain.fGetTypeArrayIndex("Acces2")]);
}
Symbol 300 MovieClip Frame 4
stop();
Symbol 309 MovieClip Frame 1
stop();
Symbol 309 MovieClip Frame 7
stop();
Symbol 316 MovieClip Frame 1
stop();
if (_parent._name == "mcFashionFlashPlayer") {
this.gotoAndStop(_global.contMain._aDesignToDo[_global.contMain.fGetTypeArrayIndex("Head")]);
} else {
this.gotoAndStop(_global.contMain._aCurrentDesign[_global.contMain.fGetTypeArrayIndex("Head")]);
}
Symbol 316 MovieClip Frame 3
stop();
Symbol 321 MovieClip Frame 1
stop();
if (_parent._name == "mcFashionFlashPlayer") {
this.gotoAndStop(_global.contMain._aDesignToDo[_global.contMain.fGetTypeArrayIndex("Hat")]);
} else {
this.gotoAndStop(_global.contMain._aCurrentDesign[_global.contMain.fGetTypeArrayIndex("Hat")]);
}
Symbol 321 MovieClip Frame 4
stop();
Symbol 329 MovieClip Frame 1
if (pf == undefined) {
APE(this, 1);
}
Symbol 329 MovieClip Frame 2
_global.objSounds.fPlaySounds("sFx_star", 75, 1);
Symbol 329 MovieClip Frame 38
stop();
_parent.gotoAndStop(1);
Symbol 330 MovieClip Frame 1
stop();
this._visible = false;
Symbol 330 MovieClip Frame 2
this._visible = true;
if (pf == undefined) {
APE(this, 2);
}
Symbol 341 MovieClip [HMF_Print01Fleche02] Frame 1
#initclip 5
Object.registerClass("HMF_Print01Fleche02", objMultiArrow);
#endinitclip
stop();
Symbol 345 Button
on (release) {
_global.objSounds.fPlaySounds("sFx_btnDown", 100, 1);
nextFrame();
}
on (rollOver) {
_global.objSounds.fPlaySounds("sFx_btnOver", 100, 1);
}
Symbol 346 Button
on (release) {
_global.objSounds.fPlaySounds("sFx_btnDown", 100, 1);
_global.contMain.fPlayAgain();
}
on (rollOver) {
_global.objSounds.fPlaySounds("sFx_btnOver", 100, 1);
}
Symbol 360 MovieClip [mcBtnArrow] Frame 1
#initclip 4
Object.registerClass("mcBtnArrow", objMultiArrow);
#endinitclip
stop();
Symbol 365 MovieClip Frame 1
stop();
Symbol 365 MovieClip Frame 2
stop();
Symbol 365 MovieClip Frame 3
stop();
Symbol 373 Button
on (release) {
_global.objSounds.fPlaySounds("sFx_btnDown", 100, 1);
for (var i in _global.contMain._aDesignToDo) {
_global.contMain._aDesignToDo[i] = _global.contMain._aCurrentDesign[i];
}
_global.contMain.fResetDesignArray();
_global.contMain._nFashionPhoto = int(_sFashionPhotoMax);
_global.contMain._nDefaultTimer = [_global.stage.mcMultiplayerTimer._nHour, _global.stage.mcMultiplayerTimer._nMinute, _global.stage.mcMultiplayerTimer._nSeconde];
nextFrame();
}
on (rollOver) {
_global.objSounds.fPlaySounds("sFx_btnOver", 100, 1);
}
Symbol 374 Button
on (release) {
_global.objSounds.fPlaySounds("sFx_btnDown", 100, 1);
prevFrame();
}
on (rollOver) {
_global.objSounds.fPlaySounds("sFx_btnOver", 100, 1);
}
Symbol 377 MovieClip Frame 1
stop();
if (_global.contMain._nCurrentPlayer == 1) {
gotoAndStop (2);
}
Symbol 378 MovieClip Frame 95
stop();
_global.contTrans._sNextFrameLabel = "levelScreen";
_global.contTrans.gotoAndStop("interScreen");
Symbol 379 MovieClip Frame 1
stop();
Instance of Symbol 198 MovieClip in Symbol 379 MovieClip Frame 2
onClipEvent (load) {
this.gotoAndStop(_global.contMain._nCurrentPlayer);
}
Instance of Symbol 341 MovieClip [HMF_Print01Fleche02] in Symbol 379 MovieClip Frame 2
onClipEvent (load) {
this.fInitProps("Hat", "next", _parent.mcMultiPlayer.mcHat, this);
}
Instance of Symbol 341 MovieClip [HMF_Print01Fleche02] in Symbol 379 MovieClip Frame 2
onClipEvent (load) {
this.fInitProps("Hat", "previous", _parent.mcMultiPlayer.mcHat, this);
}
Instance of Symbol 341 MovieClip [HMF_Print01Fleche02] in Symbol 379 MovieClip Frame 2
onClipEvent (load) {
this.fInitProps("Torso", "next", _parent.mcMultiPlayer.mcTorso, this);
}
Instance of Symbol 341 MovieClip [HMF_Print01Fleche02] in Symbol 379 MovieClip Frame 2
onClipEvent (load) {
this.fInitProps("Torso", "previous", _parent.mcMultiPlayer.mcTorso, this);
}
Instance of Symbol 341 MovieClip [HMF_Print01Fleche02] in Symbol 379 MovieClip Frame 2
onClipEvent (load) {
this.fInitProps("Pant", "next", _parent.mcMultiPlayer.mcPant, this);
}
Instance of Symbol 341 MovieClip [HMF_Print01Fleche02] in Symbol 379 MovieClip Frame 2
onClipEvent (load) {
this.fInitProps("Pant", "previous", _parent.mcMultiPlayer.mcPant, this);
}
Instance of Symbol 341 MovieClip [HMF_Print01Fleche02] in Symbol 379 MovieClip Frame 2
onClipEvent (load) {
this.fInitProps("Acces1", "next", _parent.mcMultiPlayer.mcAcces1, this);
}
Instance of Symbol 341 MovieClip [HMF_Print01Fleche02] in Symbol 379 MovieClip Frame 2
onClipEvent (load) {
this.fInitProps("Acces1", "previous", _parent.mcMultiPlayer.mcAcces1, this);
}
Instance of Symbol 341 MovieClip [HMF_Print01Fleche02] in Symbol 379 MovieClip Frame 2
onClipEvent (load) {
this.fInitProps("Acces2", "next", _parent.mcMultiPlayer.mcAcces2, this);
}
Instance of Symbol 341 MovieClip [HMF_Print01Fleche02] in Symbol 379 MovieClip Frame 2
onClipEvent (load) {
this.fInitProps("Acces2", "previous", _parent.mcMultiPlayer.mcAcces2, this);
}
Instance of Symbol 341 MovieClip [HMF_Print01Fleche02] in Symbol 379 MovieClip Frame 2
onClipEvent (load) {
this.fInitProps("Boots", "next", _parent.mcMultiPlayer.mcBoots, this);
}
Instance of Symbol 341 MovieClip [HMF_Print01Fleche02] in Symbol 379 MovieClip Frame 2
onClipEvent (load) {
this.fInitProps("Boots", "previous", _parent.mcMultiPlayer.mcBoots, this);
}
Instance of Symbol 360 MovieClip [mcBtnArrow] in Symbol 379 MovieClip Frame 3
onClipEvent (load) {
this.fInitProps("FashionPhoto", "next", _parent, this);
}
Instance of Symbol 360 MovieClip [mcBtnArrow] in Symbol 379 MovieClip Frame 3
onClipEvent (load) {
this.fInitProps("FashionPhoto", "previous", _parent, this);
}
Instance of Symbol 365 MovieClip in Symbol 379 MovieClip Frame 3
onClipEvent (load) {
if (_global.contMain._nCurrentPlayer == 1) {
gotoAndStop (2);
}
}
Instance of Symbol 360 MovieClip [mcBtnArrow] in Symbol 379 MovieClip Frame 3
onClipEvent (load) {
this.fInitProps("Timer", "next", _global.stage.mcMultiplayerTimer, this);
}
Instance of Symbol 360 MovieClip [mcBtnArrow] in Symbol 379 MovieClip Frame 3
onClipEvent (load) {
this.fInitProps("Timer", "previous", _global.stage.mcMultiplayerTimer, this);
}
Instance of Symbol 360 MovieClip [mcBtnArrow] in Symbol 379 MovieClip Frame 3
onClipEvent (load) {
this.fInitProps("FashionPhotoMax", "next", _parent, this);
}
Instance of Symbol 360 MovieClip [mcBtnArrow] in Symbol 379 MovieClip Frame 3
onClipEvent (load) {
this.fInitProps("FashionPhotoMax", "previous", _parent, this);
}
Symbol 381 MovieClip Frame 35
fSetTimeStyle(1000);
Symbol 387 Button
on (release) {
_global.objSounds.fPlaySounds("sFx_btnDown", 100, 1);
nextFrame();
}
on (rollOver) {
_global.objSounds.fPlaySounds("sFx_btnOver", 100, 1);
}
Symbol 388 Button
on (release) {
_global.objSounds.fPlaySounds("sFx_btnDown", 100, 1);
_global.contMain.fPlayAgain();
}
on (rollOver) {
_global.objSounds.fPlaySounds("sFx_btnOver", 100, 1);
}
Symbol 404 MovieClip Frame 1
stop();
Symbol 490 Button
on (release) {
_global.objSounds.fPlaySounds("sFx_btnDown", 100, 1);
gotoAndPlay (3);
}
on (rollOver) {
_global.objSounds.fPlaySounds("sFx_btnOver", 100, 1);
}
Symbol 503 MovieClip Frame 1
stop();
if (_parent._name == "mcFashionFlashPlayer") {
this.gotoAndStop(_global.contMain._aDesignToDo[_global.contMain.fGetTypeArrayIndex("Acces1")]);
} else {
this.gotoAndStop(_global.contMain._aCurrentDesign[_global.contMain.fGetTypeArrayIndex("Acces1")]);
}
Symbol 503 MovieClip Frame 6
stop();
Symbol 509 MovieClip Frame 1
stop();
Symbol 510 MovieClip Frame 1
stop();
Instance of Symbol 341 MovieClip [HMF_Print01Fleche02] in Symbol 510 MovieClip Frame 1
onClipEvent (load) {
this.fInitProps("Hat", "next", _parent.mcPrintPlayer.mcHat, this);
}
Instance of Symbol 341 MovieClip [HMF_Print01Fleche02] in Symbol 510 MovieClip Frame 1
onClipEvent (load) {
this.fInitProps("Hat", "previous", _parent.mcPrintPlayer.mcHat, this);
}
Instance of Symbol 341 MovieClip [HMF_Print01Fleche02] in Symbol 510 MovieClip Frame 1
onClipEvent (load) {
this.fInitProps("Torso", "next", _parent.mcPrintPlayer.mcTorso, this);
}
Instance of Symbol 341 MovieClip [HMF_Print01Fleche02] in Symbol 510 MovieClip Frame 1
onClipEvent (load) {
this.fInitProps("Torso", "previous", _parent.mcPrintPlayer.mcTorso, this);
}
Instance of Symbol 341 MovieClip [HMF_Print01Fleche02] in Symbol 510 MovieClip Frame 1
onClipEvent (load) {
this.fInitProps("Pant", "next", _parent.mcPrintPlayer.mcPant, this);
}
Instance of Symbol 341 MovieClip [HMF_Print01Fleche02] in Symbol 510 MovieClip Frame 1
onClipEvent (load) {
this.fInitProps("Pant", "previous", _parent.mcPrintPlayer.mcPant, this);
}
Instance of Symbol 341 MovieClip [HMF_Print01Fleche02] in Symbol 510 MovieClip Frame 1
onClipEvent (load) {
this.fInitProps("Acces1", "next", _parent.mcPrintPlayer.mcAcces1, this);
}
Instance of Symbol 341 MovieClip [HMF_Print01Fleche02] in Symbol 510 MovieClip Frame 1
onClipEvent (load) {
this.fInitProps("Acces1", "previous", _parent.mcPrintPlayer.mcAcces1, this);
}
Instance of Symbol 341 MovieClip [HMF_Print01Fleche02] in Symbol 510 MovieClip Frame 1
onClipEvent (load) {
this.fInitProps("Acces2", "next", _parent.mcPrintPlayer.mcAcces2, this);
}
Instance of Symbol 341 MovieClip [HMF_Print01Fleche02] in Symbol 510 MovieClip Frame 1
onClipEvent (load) {
this.fInitProps("Acces2", "previous", _parent.mcPrintPlayer.mcAcces2, this);
}
Instance of Symbol 341 MovieClip [HMF_Print01Fleche02] in Symbol 510 MovieClip Frame 1
onClipEvent (load) {
this.fInitProps("Boots", "next", _parent.mcPrintPlayer.mcBoots, this);
}
Instance of Symbol 341 MovieClip [HMF_Print01Fleche02] in Symbol 510 MovieClip Frame 1
onClipEvent (load) {
this.fInitProps("Boots", "previous", _parent.mcPrintPlayer.mcBoots, this);
}
Symbol 510 MovieClip Frame 3
if (_global.contMain._sPrintMode == "Poster") {
previewStage.gotoAndStop(1);
} else if (_global.contMain._sPrintMode == "Flyers") {
previewStage.gotoAndStop(2);
} else if (_global.contMain._sPrintMode == "Card") {
previewStage.gotoAndStop(3);
}
printAsBitmap (previewStage.poster, "bmovie");
Symbol 510 MovieClip Frame 60
gotoAndStop (1);
Symbol 530 MovieClip [mcMoveableBoots] Frame 1
stop();
Symbol 538 MovieClip [mcMoveableAcces1] Frame 1
stop();
Symbol 539 MovieClip Frame 1
_sTypeLocker = "wallSide";
Symbol 539 MovieClip Frame 2
stop();
_global.contGame.fAddHotSpot(this);
Symbol 559 MovieClip Frame 1
stop();
Symbol 577 MovieClip Frame 1
stop();
Symbol 583 MovieClip Frame 1
stop();
Symbol 589 MovieClip [mcMoveableHat] Frame 1
stop();
Symbol 590 MovieClip Frame 1
_sTypeLocker = "casier";
Symbol 590 MovieClip Frame 2
stop();
_global.contGame.fAddHotSpot(this);
Symbol 594 MovieClip Frame 1
stop();
if (this._bInited == undefined) {
_bInited = true;
_global.contMain.fAddLocker([this, "drawer"]);
}
mcHitZone._visible = true;
mcHitZone._alpha = 0;
mcObject._visible = false;
Symbol 594 MovieClip Frame 2
mcHitZone._visible = false;
mcObject._visible = true;
Symbol 599 MovieClip Frame 1
stop();
Symbol 600 MovieClip Frame 1
stop();
Symbol 601 MovieClip Frame 1
_sTypeLocker = "bag";
Symbol 601 MovieClip Frame 2
stop();
_global.contGame.fAddHotSpot(this);
Symbol 605 MovieClip Frame 1
stop();
if (this._bInited == undefined) {
_bInited = true;
_global.contMain.fAddLocker([this, "bag"]);
}
mcHitZone._visible = true;
mcHitZone._alpha = 0;
mcObject._visible = false;
Symbol 605 MovieClip Frame 2
mcHitZone._visible = false;
mcObject._visible = true;
Symbol 624 MovieClip Frame 1
stop();
Symbol 631 MovieClip Frame 1
stop();
Symbol 632 MovieClip Frame 1
stop();
Symbol 633 MovieClip [mcMoveableAcces2] Frame 1
stop();
Symbol 634 MovieClip Frame 1
_sTypeLocker = "box";
Symbol 634 MovieClip Frame 2
stop();
_global.contGame.fAddHotSpot(this);
Symbol 640 MovieClip Frame 1
stop();
if (this._bInited == undefined) {
_bInited = true;
_global.contMain.fAddLocker([this, "box"]);
}
mcHitZone._visible = true;
mcHitZone._alpha = 0;
mcObject._visible = false;
Symbol 640 MovieClip Frame 2
mcHitZone._visible = false;
mcObject._visible = true;
Symbol 645 MovieClip [mcMoveableTorso] Frame 1
stop();
Symbol 646 MovieClip [mcMoveablePant] Frame 1
stop();
Symbol 647 MovieClip Frame 1
_sTypeLocker = "closet";
Symbol 647 MovieClip Frame 2
stop();
_global.contGame.fAddHotSpot(this);
Symbol 657 MovieClip Frame 1
stop();
if (this._bInited == undefined) {
_bInited = true;
_global.contMain.fAddLocker([this, "door"]);
}
mcHitZone._visible = true;
mcHitZone._alpha = 0;
mcObject._visible = false;
Symbol 657 MovieClip Frame 2
mcHitZone._visible = false;
mcObject._visible = true;
Symbol 660 MovieClip Frame 1
_sTypeLocker = "cartonBox";
Symbol 660 MovieClip Frame 2
stop();
_global.contGame.fAddHotSpot(this);
Symbol 662 MovieClip Frame 1
stop();
if (this._bInited == undefined) {
_bInited = true;
_global.contMain.fAddLocker([this, "cartonBox"]);
}
mcHitZone._visible = true;
mcHitZone._alpha = 0;
mcObject._visible = false;
Symbol 662 MovieClip Frame 2
mcHitZone._visible = false;
mcObject._visible = true;
Symbol 667 MovieClip Frame 1
stop();
if (this._bInited == undefined) {
_bInited = true;
_global.contMain.fAddLocker([this, "bag"]);
}
mcHitZone._visible = true;
mcHitZone._alpha = 0;
mcObject._visible = false;
Symbol 667 MovieClip Frame 2
mcHitZone._visible = false;
mcObject._visible = true;
Symbol 670 MovieClip Frame 1
_sTypeLocker = "ground";
Symbol 670 MovieClip Frame 2
stop();
_global.contGame.fAddHotSpot(this);
Symbol 678 MovieClip Frame 1
stop();
Symbol 679 MovieClip Frame 1
_sTypeLocker = "jewelBox";
Symbol 679 MovieClip Frame 2
stop();
_global.contGame.fAddHotSpot(this);
Symbol 689 MovieClip Frame 1
stop();
if (this._bInited == undefined) {
_bInited = true;
_global.contMain.fAddLocker([this, "jewelBox"]);
}
mcHitZone._visible = true;
mcHitZone._alpha = 0;
mcObject._visible = false;
Symbol 689 MovieClip Frame 2
mcHitZone._visible = false;
mcObject._visible = true;
Symbol 701 MovieClip Frame 1
_sTypeLocker = "basket";
Symbol 701 MovieClip Frame 2
stop();
_global.contGame.fAddHotSpot(this);
Symbol 707 MovieClip Frame 1
_sTypeLocker = "casier";
Symbol 707 MovieClip Frame 2
stop();
_global.contGame.fAddHotSpot(this);
Symbol 710 MovieClip Frame 1
stop();
if (this._bInited == undefined) {
_bInited = true;
_global.contMain.fAddLocker([this, "casier"]);
}
mcHitZone._visible = true;
mcHitZone._alpha = 0;
mcObject._visible = false;
Symbol 710 MovieClip Frame 2
mcHitZone._visible = false;
mcObject._visible = true;
Symbol 712 MovieClip Frame 1
stop();
if (this._bInited == undefined) {
_bInited = true;
_global.contMain.fAddLocker([this, "casier"]);
}
mcHitZone._visible = true;
mcHitZone._alpha = 0;
mcObject._visible = false;
Symbol 712 MovieClip Frame 2
mcHitZone._visible = false;
mcObject._visible = true;
Symbol 715 MovieClip Frame 1
stop();
if (this._bInited == undefined) {
_bInited = true;
_global.contMain.fAddLocker([this, "bag"]);
}
mcHitZone._visible = true;
mcHitZone._alpha = 0;
mcObject._visible = false;
Symbol 715 MovieClip Frame 2
mcHitZone._visible = false;
mcObject._visible = true;
Symbol 720 MovieClip Frame 1
stop();
if (this._bInited == undefined) {
_bInited = true;
_global.contMain.fAddLocker([this, "bag"]);
}
mcHitZone._visible = true;
mcHitZone._alpha = 0;
mcObject._visible = false;
Symbol 720 MovieClip Frame 2
mcHitZone._visible = false;
mcObject._visible = true;
Symbol 731 Button
on (release) {
_global.objSounds.fPlaySounds("sFx_btnDown", 100, 1);
gotoAndStop ("closet");
}
on (rollOver) {
_global.objSounds.fPlaySounds("sFx_btnOver", 100, 1);
}
Symbol 750 MovieClip Frame 1
stop();
Symbol 750 MovieClip Frame 65
_global.objSounds.fPlaySounds("sFx_letGo", 100, 1);
Symbol 750 MovieClip Frame 186
_parent.mcHurryUp.play();
_global.objSounds.fPlaySounds("sFx_hurryUp", 100, 1);
Symbol 750 MovieClip Frame 250
_global.objSounds.fPlaySounds("sFx_honk2", 100, 1);
Symbol 750 MovieClip Frame 265
_global.objSounds.fPlaySounds("sFx_honk", 100, 1);
Symbol 750 MovieClip Frame 291
_global.objSounds.fPlaySounds("sFx_honk2", 100, 1);
Symbol 750 MovieClip Frame 300
stop();
Symbol 755 MovieClip Frame 1
stop();
this._visible = false;
if (pf == undefined) {
APE(this, 2);
}
Symbol 755 MovieClip Frame 2
this._visible = true;
Symbol 755 MovieClip Frame 45
stop();
gotoAndStop (1);
Symbol 761 Button
on (release) {
_global.objSounds.fPlaySounds("sFx_btnDown", 100, 1);
_global.stage.mcMouse._visible = false;
Mouse.show();
_global.contMain.fMenu();
}
on (rollOver) {
_global.objSounds.fPlaySounds("sFx_btnOver", 100, 1);
}
Symbol 762 Button
on (release) {
Mouse.show();
_global.objSounds.fPlaySounds("sFx_btnDown", 100, 1);
_global.contGame.fManageEndLevel();
}
on (rollOver) {
_global.objSounds.fPlaySounds("sFx_btnOver", 100, 1);
}
Symbol 763 Button
on (release) {
if (_global.contMain._aGameplay[2] > 0) {
_global.objSounds.fPlaySounds("sFx_camera", 100, 1);
_global.contGame.fAccessFashionFlash(-1);
} else {
_global.objSounds.fPlaySounds("sFx_negative", 50, 1);
}
}
on (rollOver) {
_global.objSounds.fPlaySounds("sFx_btnOver", 100, 1);
}
Symbol 769 Button
on (release) {
_global.objSounds.fPlaySounds("sFx_btnDown", 100, 1);
gotoAndStop ("chamber");
}
on (rollOver) {
_global.objSounds.fPlaySounds("sFx_btnOver", 100, 1);
}
Symbol 770 MovieClip Frame 1
stop();
Symbol 773 MovieClip [mcMoveableHead] Frame 1
stop();
Symbol 784 MovieClip Frame 1
stop();
gotoAndStop(_parent._nWord);
Symbol 785 MovieClip [mcGoodMatch] Frame 1
_visible = false;
Symbol 785 MovieClip [mcGoodMatch] Frame 2
_visible = true;
_global.objSounds.fPlaySounds("sFx_star", 75, 1);
play();
Symbol 785 MovieClip [mcGoodMatch] Frame 35
stop();
Symbol 788 MovieClip Frame 1
stop();
Symbol 792 Button
on (release) {
_global.contMain.fQuit();
}
Symbol 795 Button
on (release) {
_global.contMain.fUnPause();
}
Symbol 796 Button
on (release) {
_parent.gotoAndStop("instructions");
}
Symbol 797 Button
on (release) {
_global.contMain.fQuit();
}
Symbol 798 Button
on (release) {
_global.contMain.fUnPause();
}
Symbol 802 Button
on (release) {
_global.contMain.fManageSoundBtnState(this);
}
on (rollOver) {
_global.objSounds.fPlaySounds("sFx_btnOver", 100, 1);
}
Symbol 805 Button
on (release) {
_global.contMain.fManageSoundBtnState(this);
_global.objSounds.fPlaySounds("sFx_btnDown", 100, 1);
}
on (rollOver) {
_global.objSounds.fPlaySounds("sFx_btnOver", 100, 1);
}
Symbol 806 MovieClip Frame 1
stop();
Instance of Symbol 806 MovieClip "btnSound" in Symbol 809 MovieClip Frame 1
onClipEvent (load) {
if (_global.objSounds.Mute) {
this.gotoAndStop("off");
} else {
this.gotoAndStop("on");
}
}
Symbol 819 MovieClip Frame 2
_global.objSounds.fPlaySounds("sFx_polaroid", 50, 1);
Symbol 819 MovieClip Frame 8
stop();
Symbol 819 MovieClip Frame 22
if (_global.contGame._bGameStarted == false) {
_global.contGame._bGameStarted = true;
_parent.gotoAndStop("intro");
} else {
_global.contMain.fUnPause();
}
Symbol 852 MovieClip Frame 1
stop();
Symbol 852 MovieClip Frame 2
stop();
Symbol 852 MovieClip Frame 3
stop();
Symbol 854 MovieClip Frame 1
stop();
Symbol 856 MovieClip Frame 1
stop();
Symbol 859 Button
on (release) {
if (_global.contGame._bLevelCleared) {
_global.contMain.fResetDesignArray();
if (_global.contMain._aGameplay[1] < _global.contMain._nLevelMax) {
_global.contMain._aGameplay[1]++;
_global.contTrans._sNextFrameLabel = "gameEmptyVarScreen";
_global.contTrans.gotoAndStop("interScreen");
} else {
_global.contTrans._sNextFrameLabel = "winScreen";
_global.contTrans.gotoAndStop("interScreen");
}
} else {
_global.contMain.fResetDesignArray();
_global.contTrans._sNextFrameLabel = "loseScreen";
_global.contTrans.gotoAndStop("interScreen");
}
}
Symbol 860 MovieClip Frame 20
_global.contGame.fManageDesignBonus(this, 0);
Symbol 860 MovieClip Frame 35
_global.contGame.fManageDesignBonus(this, 1);
Symbol 860 MovieClip Frame 50
_global.contGame.fManageDesignBonus(this, 2);
Symbol 860 MovieClip Frame 65
_global.contGame.fManageDesignBonus(this, 3);
Symbol 860 MovieClip Frame 80
_global.contGame.fManageDesignBonus(this, 4);
Symbol 860 MovieClip Frame 95
_global.contGame.fManageDesignBonus(this, 5);
Symbol 860 MovieClip Frame 110
_global.contGame.fManageDesignBonus(this, 6);
Symbol 860 MovieClip Frame 125
stop();
Symbol 867 MovieClip Frame 1
stop();
Symbol 868 MovieClip Frame 1
stop();
_visible = false;
Symbol 868 MovieClip Frame 2
_visible = true;
Symbol 868 MovieClip Frame 49
stop();
Symbol 885 Button
on (release) {
_global.contMain.fResetMPDesignArray();
if (_global.contMain._nCurrentPlayer == 1) {
_global.contMain._nCurrentPlayer = 2;
} else {
_global.contMain._nCurrentPlayer = 1;
}
_global.contTrans._sNextFrameLabel = "multiplayerScreen";
_global.contTrans.gotoAndStop("interScreen");
}
Instance of Symbol 198 MovieClip in Symbol 886 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(_global.contMain._nCurrentPlayer);
}
Instance of Symbol 198 MovieClip in Symbol 886 MovieClip Frame 1
onClipEvent (load) {
if (_global.contMain._nCurrentPlayer == 1) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Symbol 886 MovieClip Frame 20
_global.contGame.fManageDesignBonus(this, 0);
Symbol 886 MovieClip Frame 35
_global.contGame.fManageDesignBonus(this, 1);
Symbol 886 MovieClip Frame 50
_global.contGame.fManageDesignBonus(this, 2);
Symbol 886 MovieClip Frame 65
_global.contGame.fManageDesignBonus(this, 3);
Symbol 886 MovieClip Frame 80
_global.contGame.fManageDesignBonus(this, 4);
Symbol 886 MovieClip Frame 95
_global.contGame.fManageDesignBonus(this, 5);
Symbol 886 MovieClip Frame 110
_global.contGame.fManageDesignBonus(this, 6);
Symbol 886 MovieClip Frame 125
stop();
Symbol 891 MovieClip Frame 46
stop();
_global.contGame.fManageEndLevel();
Symbol 897 MovieClip Frame 1
stop();
gotoAndStop(_global.contMain._aGameplay[1]);
Symbol 898 MovieClip Frame 80
stop();
_global.contMain.fUnPause();
Symbol 899 MovieClip Frame 1
stop();
Symbol 899 MovieClip Frame 2
mouseBlocker.useHandCursor = false;
Symbol 899 MovieClip Frame 3
Mouse.show();
call(2);
Symbol 899 MovieClip Frame 4
this._nTimeFashionPhoto = _global.contMain._nTimeFashionPhoto * 1000;
this._nTimeToReach = getTimer() + this._nTimeFashionPhoto;
this.onEnterFrame = function () {
if (getTimer() >= this._nTimeToReach) {
mcFashionFlash.gotoAndPlay("closing");
delete this.onEnterFrame;
}
};
call(2);
Symbol 899 MovieClip Frame 5
_global.contGame.fManageBonusBoard(mcBonusBoard);
Mouse.show();
call(2);
Symbol 899 MovieClip Frame 6
_global.contGame.fManageBonusBoard(mcBonusBoard);
Mouse.show();
call(2);
Symbol 899 MovieClip Frame 7
call(2);
Symbol 899 MovieClip Frame 8
call(2);
Symbol 912 Button
on (release) {
_global.objSounds.fPlaySounds("sFx_btnDown", 100, 1);
_global.contMain.fPlayVideo();
if (_global.objSounds.Mute == false) {
_global.objSounds._bUnMute = true;
_global.objSounds.fDoMute();
} else {
_global.objSounds._bUnMute = false;
}
}
on (rollOver) {
_global.objSounds.fPlaySounds("sFx_btnOver", 100, 1);
}
Symbol 921 MovieClip Frame 1
btnVideo.enabled = false;
Symbol 927 Button
on (release) {
_global.objSounds.fPlaySounds("sFx_btnDown", 100, 1);
_global.contMain.fSubmitHS();
}
on (rollOver) {
_global.objSounds.fPlaySounds("sFx_btnOver", 100, 1);
}
Symbol 930 Button
on (release) {
_global.objSounds.fPlaySounds("sFx_btnDown", 100, 1);
_global.contMain.fPlayAgain();
}
on (rollOver) {
_global.objSounds.fPlaySounds("sFx_btnOver", 100, 1);
}
Symbol 931 MovieClip Frame 1
this.onEnterFrame = function () {
var _local3 = (_global.contMain.nsStream1.getBytesLoaded() / _global.contMain.nsStream1.getBytesTotal()) * 100;
if (_global.contMain.nsStream1.bytesLoaded == _global.contMain.nsStream1.bytesTotal) {
_sPercent = "100";
btnVideo._visible = true;
mcVideoLoading._visible = false;
delete this.onEnterFrame;
} else {
_sPercent = Math.floor(_local3);
btnVideo._visible = false;
mcVideoLoading._visible = true;
}
};