Frame 1
Loaded = getBytesLoaded();
Total = getBytesTotal();
Perc = Math.floor((Loaded * 100) / Total);
Timeline = Math.floor((Loaded * 5) / Total) + 1;
_root.BasketBack.gotoAndStop(Timeline);
_root.BasketFront.gotoAndStop(Timeline);
_root.LoadText.Perc = Perc + "%";
if (Loaded == Total) {
_root.Balls.stop();
gotoAndPlay (3);
}
Frame 2
gotoAndPlay (1);
Frame 3
function Restart(Livello) {
_root.CurrentLevel = Livello;
_root.Level = "Level " + _root.CurrentLevel;
_root.CurrentTime = _root.TargetTime[_root.CurrentLevel];
_root.Time = _root.CurrentTime;
_root.CurrentScore = 0;
_root.CurrentTargetScore = _root.TargetScore[_root.CurrentLevel];
_root.UpdateScore(0);
_root.MascheraIniziale._y = -165;
_root.MascheraIniziale._visible = 0;
if (_root.CurrentLevel == 0) {
_root.Names._visible = 0;
_root.NamesEdit._visible = 1;
_root.Filtro._visible = 1;
Mouse.show();
_root.customCursor.gotoAndPlay("Off");
_root.PngHit = [0, 0, 0, 0, 0, 0];
_root.PlayerLaunch = 0;
} else {
_root.Form.gotoAndStop(1);
_root.ChangeCursor("Mirino");
_root.Names.Text00 = _root.NamesEdit.Text00;
_root.Names.Text01 = _root.NamesEdit.Text01;
_root.Names.Text02 = _root.NamesEdit.Text02;
_root.Names.Text03 = _root.NamesEdit.Text03;
_root.Names.Text04 = _root.NamesEdit.Text04;
_root.Names.Text05 = _root.NamesEdit.Text05;
_root.Filtro._visible = 0;
_root.Names._visible = 1;
_root.NamesEdit._visible = 0;
Mouse.hide();
_root.customCursor.gotoAndPlay("On");
_root.DisplayScreen(_root.Level, "Level", 70, -1);
}
}
function FineGioco() {
}
function UpdateScore(Points) {
if ((_root.CurrentLevel != 0) && (_root.Timer.ScreenCounter == 0)) {
_root.CurrentScore = _root.CurrentScore + Points;
if (_root.CurrentScore < 0) {
_root.CurrentScore = 0;
}
if (_root.CurrentScore >= _root.CurrentTargetScore) {
if (_root.CurrentLevel < 3) {
if (_root.PlayerNumber == 0) {
_root.DisplayScreen(_root.WinningText_Uomo[_root.CurrentLevel], "Vinto", 140, _root.CurrentLevel + 1);
} else {
_root.DisplayScreen(_root.WinningText_Donna[_root.CurrentLevel], "Vinto", 140, _root.CurrentLevel + 1);
}
} else {
if (_root.PlayerNumber == 0) {
_root.DisplayScreen(_root.WinningText_Uomo[_root.CurrentLevel], "Vinto", 140, 0);
} else {
_root.DisplayScreen(_root.WinningText_Donna[_root.CurrentLevel], "Vinto", 140, 0);
}
_root.FineGioco();
}
}
_root.Score = (_root.CurrentScore + " / ") + _root.CurrentTargetScore;
}
}
function ChangeCursor(movieclip) {
Mouse.hide();
_root.attachMovie(movieclip, "customCursor", 9999);
_root.customCursor.startDrag(true);
_root.customCursor.gotoAndPlay("On");
}
function rnd(min, max) {
return(Math.floor(Math.random() * ((max + 1) - min)) + min);
}
function Launch(ToPlayer) {
if ((_root.CurrentLevel != 0) && (_root.Timer.ScreenCounter == 0)) {
if (_root.Player.State != 2) {
if (_root.Player.State == 0) {
_root.Player.gotoAndPlay("Carica");
}
} else {
_root.Player.gotoAndPlay("Lancia");
}
this.ToPlayer = ToPlayer;
_root.PlayerLaunch++;
}
}
function SetCurrentPlayer(Type) {
_root.PlayerNumber = Type;
if (_root.PlayerNumber == 0) {
_root.Player = _root.Player00;
_root.Player00._visible = 1;
_root.Player01._visible = 0;
} else {
_root.Player = _root.Player01;
_root.Player01._visible = 1;
_root.Player00._visible = 0;
}
_root.Player.Launch = _root.Launch;
}
function PngLaunch() {
gotoAndPlay (3);
}
function DisplayScreen(Title, Frame, Ticks, ToLevel) {
_root.Timer.CapoState = 0;
_root.Boss.gotoAndStop(1);
_root.ScreenHolder.Text = Title;
_root.Timer.ScreenCounter = Ticks;
_root.Timer.ToLevel = ToLevel;
_root.ScreenHolder.gotoAndPlay(Frame);
}
function Duplica(ToPlayer) {
Balli = "_root.Ball" + _root.BallCounter;
_root.ToPlayer = ToPlayer;
_root.SampleSpara();
_root.BallsHolder.attachMovie("Ball_From_Player", "Ball" + _root.BallCounter, _root.BallCounter);
setProperty("Ball" + _root.BallCounter, _x , 320);
setProperty("Ball" + _root.BallCounter, _y , 260);
_root.BallCounter++;
if (50 < _root.BallCounter) {
_root.BallCounter = 0;
}
}
BallCounter = 0;
TargetScore = [5, 8, 10, 15];
TargetTime = [30, 30, 30, 30];
PngHit = [0, 0, 0, 0, 0, 0];
PlayerLaunch = 0;
_focusrect = false;
WinningText_Uomo = ["", "\n\n\nNel lavoro sai individuare e centrare i target.\n\n\n\nPromosso a responsabile di settore!", "\n\n\n\nL'alta qualita' della tua documentazione cartacea ti ha fruttato la promozione a dirigente!", "\n\n\nAnni di dure lotte sul lavoro hanno dato i loro frutti.\n\n\n\nSei il nuovo Boss!"];
WinningText_Donna = ["", "\n\n\nNel lavoro sai individuare e centrare i target.\n\n\n\nPromossa a responsabile di settore!", "\n\n\n\nL'alta qualita' della tua documentazione cartacea ti ha fruttato la promozione a dirigente!", "\n\n\nAnni di dure lotte sul lavoro hanno dato i loro frutti.\n\n\n\nSei il nuovo Boss!"];
_root.Png00.Launch = PngLaunch;
_root.Png01.Launch = PngLaunch;
_root.Png02.Launch = PngLaunch;
_root.Png03.Launch = PngLaunch;
_root.Png04.Launch = PngLaunch;
_root.Png05.Launch = PngLaunch;
fscommand ("fullscreen", false);
fscommand ("allowscale", false);
fscommand ("showmenu", false);
NamesEdit.Text00 = "Giocatore";
NamesEdit.Text01 = "Gertrude";
NamesEdit.Text02 = "Ciccio";
NamesEdit.Text03 = "Wanda";
NamesEdit.Text04 = "Bob";
NamesEdit.Text05 = "Gabriele";
_root.SetCurrentPlayer(0);
_root.Restart(0);
stop();
function SetSoundsState(State) {
_root.SoundsOn = State;
}
function Sample(Name) {
this.Name = Name;
this.Sound = new Sound();
this.Sound.attachSound(this.Name);
}
function SampleSpara() {
Random = _root.rnd(0, 100);
if (50 < Random) {
_root.Sound_Spara_00.Play();
} else {
_root.Sound_Spara_01.Play();
}
}
_root.SoundsOn = 1;
Sample.prototype.Play = function () {
if (_root.SoundsOn == 1) {
this.Sound.start();
}
};
Sample.prototype.Play = function (Ciclo) {
if (_root.SoundsOn == 1) {
this.Sound.start(0, Ciclo);
}
};
Sample.prototype.Stop = function () {
this.Sound.stop(this.Name);
};
Sound_Colpito = new Sample("colpito01_1");
Sound_Spara_00 = new Sample("spara01_1");
Sound_Spara_01 = new Sample("spara02_1");
Sound_Colpito_01 = new Sample("colpito03_00");
Instance of Symbol 36 MovieClip "Timer" in Frame 3
onClipEvent (load) {
CapoCounter = 0;
CapoMin = 300;
CapoMax = 800;
CapoState = 0;
CapoCounter = _root.rnd(CapoMin, CapoMax);
PngMin = 10;
PngMax = 30;
PngCounter = _root.rnd(PngMin, PngMax);
Azione = 0;
TimeCounter = 25;
ScreenCounter = 0;
ToLevel = -1;
}
onClipEvent (enterFrame) {
Clock = new Date();
Ore = Clock.getUTCHours() + (((-Clock.getTimezoneOffset()) + Clock.getMinutes()) / 60);
setProperty("_root.Orologio.Ore", _rotation , Ore * 30);
setProperty("_root.Orologio.Minuti", _rotation , Clock.getMinutes() * 6);
setProperty("_root.Orologio.Secondi", _rotation , Clock.getSeconds() * 6);
if (ScreenCounter != 0) {
ScreenCounter--;
if (0 >= ScreenCounter) {
if (((_root.ScreenHolder._currentFrame != 2) && (_root.ScreenHolder._currentFrame != 5)) && (_root.ScreenHolder._currentFrame != 4)) {
_root.DisplayScreen("", "Log", 1000, _root.Timer.ToLevel);
return(undefined);
}
if ((_root.ScreenHolder._currentFrame == 4) && (_root.CurrentLevel == 3)) {
_root.DisplayScreen("", "Log", 1000, _root.Timer.ToLevel);
return(undefined);
}
_root.ScreenHolder.gotoAndPlay(1);
if (_root.Timer.ToLevel != -1) {
_root.Restart(_root.Timer.ToLevel);
_root.Timer.ToLevel = -1;
}
}
return(undefined);
}
if (_root.CurrentLevel == 0) {
_root.MascheraIniziale._visible = 1;
_root.MascheraIniziale._y = _root.MascheraIniziale._y + 10;
if (_root.MascheraIniziale._y >= 0) {
_root.MascheraIniziale._y = 0;
}
return(undefined);
}
if (CapoCounter == 0) {
CapoState = 1;
CapoCounter = _root.rnd(CapoMin, CapoMax);
_root.Ragioniere.gotoAndPlay("Avverti");
_root.Png00.stop();
_root.Png00.gotoAndStop("Wait");
}
if (CapoState == 0) {
TimeCounter--;
if (0 >= TimeCounter) {
TimeCounter = 25;
_root.CurrentTime--;
if (_root.CurrentTime < 0) {
if (_root.PlayerNumber == 0) {
_root.DisplayScreen("\n\n\n\nCerca di essere piu' veloce e piu' preciso, altrimenti scordati la carriera!!", "Perso", 70, 0);
} else {
_root.DisplayScreen("\n\n\n\nCerca di essere piu' veloce e piu' precisa, altrimenti scordati la carriera!!", "Perso", 70, 0);
}
return(undefined);
}
_root.Time = _root.CurrentTime;
}
CapoCounter--;
if (PngCounter == 0) {
PngCounter = _root.rnd(0, 6);
if (PngCounter < 6) {
Azione = _root.rnd(0, 100);
if (60 >= Azione) {
tellTarget ("_root.Png0" + PngCounter) {
Azione = "Corretto";
};
} else {
tellTarget ("_root.Png0" + PngCounter) {
Azione = "Sbagliato";
};
}
tellTarget ("_root.Png0" + PngCounter) {
gotoAndPlay ("Carica");
};
}
PngCounter = _root.rnd(PngMin, PngMax);
}
PngCounter--;
}
if (CapoState == 2) {
if (_root.Player.State != 0) {
_root.Boss.gotoAndPlay("Licenziato");
}
}
if (CapoState == 4) {
_root.DisplayScreen("", "Fired", 50, 0);
CapoState = 0;
}
}
onClipEvent (mouseDown) {
if ((ScreenCounter != 0) && (_root.ScreenHolder._currentFrame == 5)) {
ScreenCounter = 1;
}
}
Symbol 7 MovieClip [Ball_From_Player] Frame 1
gotoAndPlay(_root.Player.ToPlayer);
Symbol 7 MovieClip [Ball_From_Player] Frame 2
stop();
removeMovieClip("");
Symbol 7 MovieClip [Ball_From_Player] Frame 17
if (_root.Png00.State == 1) {
_root.Png00.gotoAndPlay("Colpito");
_root.UpdateScore(1);
}
gotoAndPlay (2);
Symbol 7 MovieClip [Ball_From_Player] Frame 27
if (_root.Png01.State == 1) {
_root.Png01.gotoAndPlay("Colpito");
_root.UpdateScore(1);
}
gotoAndPlay (2);
Symbol 7 MovieClip [Ball_From_Player] Frame 32
if (_root.Png01.State == 1) {
_root.Png01.gotoAndPlay("Colpito");
}
gotoAndPlay (2);
Symbol 7 MovieClip [Ball_From_Player] Frame 47
if (_root.Png02.State == 1) {
_root.Png02.gotoAndPlay("Colpito");
_root.UpdateScore(1);
}
gotoAndPlay (2);
Symbol 7 MovieClip [Ball_From_Player] Frame 57
if (_root.Png03.State == 1) {
_root.Png03.gotoAndPlay("Colpito");
_root.UpdateScore(1);
}
gotoAndPlay (2);
Symbol 7 MovieClip [Ball_From_Player] Frame 62
if (_root.Png03.State == 1) {
_root.Png03.gotoAndPlay("Colpito");
}
gotoAndPlay (2);
Symbol 7 MovieClip [Ball_From_Player] Frame 77
if (_root.Png04.State == 1) {
_root.Png04.gotoAndPlay("Colpito");
_root.UpdateScore(1);
}
gotoAndPlay (2);
Symbol 7 MovieClip [Ball_From_Player] Frame 87
if (_root.Png05.State == 1) {
_root.Png05.gotoAndPlay("Colpito");
_root.UpdateScore(1);
}
gotoAndPlay (2);
Symbol 7 MovieClip [Ball_From_Player] Frame 92
if (_root.Png05.State == 1) {
_root.Png05.gotoAndPlay("Colpito");
}
gotoAndPlay (2);
Symbol 7 MovieClip [Ball_From_Player] Frame 107
gotoAndPlay (2);
Symbol 7 MovieClip [Ball_From_Player] Frame 122
gotoAndPlay (2);
Symbol 7 MovieClip [Ball_From_Player] Frame 137
gotoAndPlay (2);
Symbol 7 MovieClip [Ball_From_Player] Frame 148
gotoAndPlay (2);
Symbol 10 MovieClip [Mirino] Frame 1
stop();
Symbol 10 MovieClip [Mirino] Frame 2
stop();
Symbol 11 MovieClip [Ball_From_Player] Frame 1
gotoAndPlay(_root.Player.ToPlayer);
Symbol 11 MovieClip [Ball_From_Player] Frame 2
stop();
removeMovieClip("");
Symbol 11 MovieClip [Ball_From_Player] Frame 17
if (_root.Png00.State == 1) {
_root.Png00.gotoAndPlay("Colpito");
_root.UpdateScore(1);
}
gotoAndPlay (2);
Symbol 11 MovieClip [Ball_From_Player] Frame 27
if (_root.Png01.State == 1) {
_root.Png01.gotoAndPlay("Colpito");
_root.UpdateScore(1);
}
gotoAndPlay (2);
Symbol 11 MovieClip [Ball_From_Player] Frame 32
if (_root.Png01.State == 1) {
_root.Png01.gotoAndPlay("Colpito");
}
gotoAndPlay (2);
Symbol 11 MovieClip [Ball_From_Player] Frame 47
if (_root.Png02.State == 1) {
_root.Png02.gotoAndPlay("Colpito");
_root.UpdateScore(1);
}
gotoAndPlay (2);
Symbol 11 MovieClip [Ball_From_Player] Frame 57
if (_root.Png03.State == 1) {
_root.Png03.gotoAndPlay("Colpito");
_root.UpdateScore(1);
}
gotoAndPlay (2);
Symbol 11 MovieClip [Ball_From_Player] Frame 62
if (_root.Png03.State == 1) {
_root.Png03.gotoAndPlay("Colpito");
}
gotoAndPlay (2);
Symbol 11 MovieClip [Ball_From_Player] Frame 77
if (_root.Png04.State == 1) {
_root.Png04.gotoAndPlay("Colpito");
_root.UpdateScore(1);
}
gotoAndPlay (2);
Symbol 11 MovieClip [Ball_From_Player] Frame 87
if (_root.Png05.State == 1) {
_root.Png05.gotoAndPlay("Colpito");
_root.UpdateScore(1);
}
gotoAndPlay (2);
Symbol 11 MovieClip [Ball_From_Player] Frame 92
if (_root.Png05.State == 1) {
_root.Png05.gotoAndPlay("Colpito");
}
gotoAndPlay (2);
Symbol 11 MovieClip [Ball_From_Player] Frame 107
gotoAndPlay (2);
Symbol 11 MovieClip [Ball_From_Player] Frame 122
gotoAndPlay (2);
Symbol 11 MovieClip [Ball_From_Player] Frame 137
gotoAndPlay (2);
Symbol 11 MovieClip [Ball_From_Player] Frame 148
gotoAndPlay (2);
Symbol 44 MovieClip Frame 1
stop();
Symbol 52 MovieClip Frame 1
stop();
Symbol 52 MovieClip Frame 10
_root.Timer.CapoState = 2;
Symbol 52 MovieClip Frame 71
_root.Timer.CapoState = 0;
Symbol 52 MovieClip Frame 81
stop();
gotoAndPlay (1);
Symbol 52 MovieClip Frame 97
_root.Timer.CapoState = 3;
Symbol 52 MovieClip Frame 148
_root.Timer.CapoState = 4;
gotoAndPlay (1);
Symbol 54 Button
on (press) {
_root.Player.Launch("P_To_NordOvest");
}
Symbol 55 Button
on (press) {
_root.Player.Launch("P_To_NordEst");
}
Symbol 56 Button
on (press) {
_root.Player.Launch("P_To_SudOvest");
}
Symbol 57 Button
on (press) {
_root.Player.Launch("P_To_SudEst");
}
Symbol 61 Button
on (press) {
_root.Player.Launch("P_To_Topa");
}
Symbol 68 MovieClip Frame 1
State = 0;
stop();
Symbol 68 MovieClip Frame 11
State = 1;
Symbol 68 MovieClip Frame 31
_root.SampleSpara();
_root.Png03_Ball.gotoAndPlay(Azione);
Symbol 68 MovieClip Frame 49
gotoAndPlay (1);
Symbol 68 MovieClip Frame 50
_root.Sound_Colpito.Play();
_root.PngHit[3]++;
State = 2;
Symbol 68 MovieClip Frame 59
gotoAndPlay (1);
Symbol 70 MovieClip Frame 1
stop();
Symbol 70 MovieClip Frame 16
if (_root.Player.State != 0) {
_root.Player.gotoAndPlay("Colpito");
}
gotoAndPlay (1);
Symbol 73 Button
on (press) {
_root.Player.Launch("P_To_Nerd");
}
Symbol 80 MovieClip Frame 1
State = 0;
stop();
Symbol 80 MovieClip Frame 11
State = 1;
Symbol 80 MovieClip Frame 31
_root.SampleSpara();
_root.Png05_Ball.gotoAndPlay(Azione);
Symbol 80 MovieClip Frame 49
gotoAndPlay (1);
Symbol 80 MovieClip Frame 50
_root.Sound_Colpito.Play();
_root.PngHit[5]++;
State = 2;
Symbol 80 MovieClip Frame 59
gotoAndPlay (1);
Symbol 81 MovieClip Frame 1
stop();
Symbol 81 MovieClip Frame 16
if (_root.Player.State != 0) {
_root.Player.gotoAndPlay("Colpito");
}
gotoAndPlay (1);
Symbol 84 Button
on (press) {
_root.Player.Launch("P_To_Zitel");
}
Symbol 91 MovieClip Frame 1
State = 0;
stop();
Symbol 91 MovieClip Frame 11
State = 1;
Symbol 91 MovieClip Frame 31
_root.SampleSpara();
_root.Png01_Ball.gotoAndPlay(Azione);
Symbol 91 MovieClip Frame 51
gotoAndPlay (1);
Symbol 91 MovieClip Frame 52
_root.Sound_Colpito.Play();
_root.PngHit[1]++;
State = 2;
Symbol 91 MovieClip Frame 60
gotoAndPlay (1);
Symbol 92 MovieClip Frame 1
stop();
Symbol 92 MovieClip Frame 16
if (_root.Player.State != 0) {
_root.Player.gotoAndPlay("Colpito");
}
gotoAndPlay (1);
Symbol 95 Button
on (press) {
_root.Player.Launch("P_To_Ciccio");
}
Symbol 102 MovieClip Frame 1
State = 0;
stop();
Symbol 102 MovieClip Frame 11
State = 1;
Symbol 102 MovieClip Frame 31
_root.SampleSpara();
_root.Png02_Ball.gotoAndPlay(Azione);
Symbol 102 MovieClip Frame 49
gotoAndPlay (1);
Symbol 102 MovieClip Frame 50
_root.Sound_Colpito.Play();
_root.PngHit[2]++;
State = 2;
Symbol 102 MovieClip Frame 59
gotoAndPlay (1);
Symbol 103 MovieClip Frame 1
stop();
Symbol 103 MovieClip Frame 16
if (_root.Player.State != 0) {
_root.Player.gotoAndPlay("Colpito");
}
gotoAndPlay (1);
Symbol 106 Button
on (press) {
_root.Player.Launch("P_To_Figo");
}
Symbol 113 MovieClip Frame 1
State = 0;
stop();
Symbol 113 MovieClip Frame 11
State = 1;
Symbol 113 MovieClip Frame 31
_root.SampleSpara();
_root.Png04_Ball.gotoAndPlay(Azione);
Symbol 113 MovieClip Frame 49
gotoAndPlay (1);
Symbol 113 MovieClip Frame 50
_root.Sound_Colpito.Play();
_root.PngHit[4]++;
State = 2;
Symbol 113 MovieClip Frame 59
gotoAndPlay (1);
Symbol 114 MovieClip Frame 1
stop();
Symbol 114 MovieClip Frame 16
if (_root.Player.State != 0) {
_root.Player.gotoAndPlay("Colpito");
}
gotoAndPlay (1);
Symbol 115 Button
on (press) {
_root.Player.Launch("P_To_Garzone");
}
Symbol 124 MovieClip Frame 1
State = 0;
stop();
Symbol 124 MovieClip Frame 11
State = 1;
Symbol 124 MovieClip Frame 31
_root.SampleSpara();
_root.Png00_Ball.gotoAndPlay(Azione);
Symbol 124 MovieClip Frame 49
gotoAndPlay (1);
Symbol 124 MovieClip Frame 50
_root.Sound_Colpito.Play();
_root.PngHit[0]++;
State = 2;
Symbol 124 MovieClip Frame 59
gotoAndPlay (1);
Symbol 126 MovieClip Frame 1
stop();
Symbol 126 MovieClip Frame 16
if (_root.Player.State != 0) {
_root.Player.gotoAndPlay("Colpito");
}
gotoAndPlay (1);
Symbol 130 MovieClip Frame 1
stop();
Symbol 130 MovieClip Frame 25
_root.Boss.gotoAndPlay(2);
i = 0;
while (i < 6) {
tellTarget ("_root.Png0" + i) {
stop();
gotoAndStop ("Wait");
};
i++;
}
Symbol 140 MovieClip Frame 1
State = 0;
stop();
Symbol 140 MovieClip Frame 11
State = 1;
Symbol 140 MovieClip Frame 15
State = 2;
_root.Duplica(ToPlayer);
Symbol 140 MovieClip Frame 22
State = 0;
gotoAndPlay (1);
Symbol 140 MovieClip Frame 23
_root.Sound_Colpito_01.Play();
_root.UpdateScore(-1);
State = 3;
Symbol 140 MovieClip Frame 29
gotoAndPlay (1);
Symbol 149 MovieClip Frame 1
State = 0;
stop();
Symbol 149 MovieClip Frame 11
State = 1;
Symbol 149 MovieClip Frame 15
State = 2;
_root.Duplica(ToPlayer);
Symbol 149 MovieClip Frame 22
State = 0;
gotoAndPlay (1);
Symbol 149 MovieClip Frame 23
_root.Sound_Colpito_01.Play();
_root.UpdateScore(-1);
State = 3;
Symbol 149 MovieClip Frame 29
gotoAndPlay (1);
Symbol 184 MovieClip Frame 1
stop();
Symbol 184 MovieClip Frame 2
stop();
Symbol 184 MovieClip Frame 3
stop();
Symbol 184 MovieClip Frame 4
stop();
Symbol 184 MovieClip Frame 5
Png00_Name = "Garzone";
Png01_Name = _root.NamesEdit.Text01;
Png02_Name = _root.NamesEdit.Text02;
Png03_Name = _root.NamesEdit.Text03;
Png04_Name = _root.NamesEdit.Text04;
Png05_Name = _root.NamesEdit.Text05;
Png00_Hit = _root.PngHit[0];
Png01_Hit = _root.PngHit[1];
Png02_Hit = _root.PngHit[2];
Png03_Hit = _root.PngHit[3];
Png04_Hit = _root.PngHit[4];
Png05_Hit = _root.PngHit[5];
Lanciate = _root.PlayerLaunch;
TotalHit = ((((_root.PngHit[0] + _root.PngHit[1]) + _root.PngHit[2]) + _root.PngHit[3]) + _root.PngHit[4]) + _root.PngHit[5];
ASegno = TotalHit;
if (_root.PlayerLaunch == 0) {
MathPrecisione = 0;
} else {
MathPrecisione = Math.floor((TotalHit / _root.PlayerLaunch) * 100);
}
Precisione = MathPrecisione + " %";
stop();
Symbol 184 MovieClip Frame 6
stop();
Symbol 192 MovieClip Frame 1
stop();
Symbol 198 Button
on (press) {
_root.Restart(1);
}
Symbol 201 Button
on (press) {
if (_root.PlayerNumber == 0) {
_root.SetCurrentPlayer(1);
} else {
_root.SetCurrentPlayer(0);
}
}
Symbol 204 Button
on (press) {
_root.Form.gotoAndPlay(3);
}
Symbol 207 Button
on (release) {
getURL ("http://www.gmmentertainment.com", "_blank");
}
Symbol 216 Button
on (release) {
if ((((To == "") || (From == "")) || (ToEmail == "")) || (FromEmail == "")) {
Check._visible = 1;
return(undefined);
}
Mailto = "mailto:" + _root.Form.To;
Subject = "Office War 2002";
Body = (("Ehi " + _root.Form.To) + ". Questa mail te la spedisce ") + _root.Form.From;
Body = Body + " per dirti di provare Office War 2002 sul sito www.gmmentertainment.com !!";
MailToCommand = (((Mailto + "?subject=") + Subject) + "&body=") + Body;
Tokens = MailToCommand.split(" ");
MailToCommand = "";
if (1 < Tokens.length) {
MailToCommand = MailToCommand + Tokens[0];
i = 1;
while (i < Tokens.length) {
MailToCommand = MailToCommand + "%20";
MailToCommand = MailToCommand + Tokens[i];
i++;
}
}
getURL (MailToCommand);
gotoAndPlay (1);
}
Symbol 218 Button
on (press) {
gotoAndStop (1);
}
Symbol 223 MovieClip Frame 1
To = "";
From = "";
ToEmail = "";
FromEmail = "";
stop();
Symbol 223 MovieClip Frame 2
_root.Form.Check._visible = 0;
stop();
Symbol 223 MovieClip Frame 15
gotoAndPlay (1);