Frame 1
this._lockroot = true;
tellTarget ("") {
}
Set("_level0" add (":" add String("_width_ph")), 800);
Set("_level0" add (":" add String("_height_ph")), 492);
tellTarget ("") {
}
Symbol 195 Button
on (release) {
_soundname = "http://ekladata.com/SR7pem3R9t_SFDMArpXOlmYVSeM/Csendes-Ej-Silent-Night-in-Hungarian.mp3";
_sansprechargement = true;
_phloop = 9999;
_phsound = new Sound();
(_phsound.loadSound(_soundname, _sansprechargement));// not popped
(_phsound.start(0, _phloop));// not popped
tellTarget ("") {
}
}
Symbol 211 Button
on (release) {
stopAllSounds();
tellTarget ("") {
}
}
Symbol 92 MovieClip Frame 40
gotoAndPlay (1);
Symbol 94 MovieClip Frame 1
nb_pieces = 200;
speed = 50;
amplitude = 10;
nb_add = 0;
step_add = 0;
(flash.external.ExternalInterface.call("sendCommand", "flashTrace", "toto" + this.flocon._parent, "ln"));// not popped
(pluie:action(this.flocon._parent, nb_pieces, speed, amplitude, nb_add, step_add));// not popped
tellTarget ("") {
}
Symbol 94 MovieClip Frame 3
gotoAndPlay (2);
Symbol 20480 MovieClip [__Packages.ea_text] Frame 0
class ea_text
{
function ea_text () {
}
static function traceLn(textP) {
flash.external.ExternalInterface.call("sendCommand", "flashTrace", textP, "ln");
_root.messph = textP;
}
static function getCarNamed_(textPath, carNameP, num) {
return(textPath[carNameP + num]);
}
static function getNbCarsNamed_(textPath, carNameP) {
var _local4 = 0;
for ( ; _local4 < 1000 ; _local4++) {
if (getCarNamed_(textPath, carNameP, _local4) == null) {
return(_local4);
}
}
return(0);
}
static function hideCarsNamed_(textPath, carNameP) {
var _local4 = getNbCarsNamed_(textPath, carNameP);
var _local6 = 0;
for ( ; _local6 < _local4 ; _local6++) {
var _local5 = getCarNamed_(textPath, carNameP, _local6);
_local5._visible = false;
}
}
static function moveCarsNamed_(textPathP, carNameP, moveP, timerP, intervalP, spriteEndP) {
var _local8 = getNbCarsNamed_(textPathP, carNameP);
var _local9 = (_local8 * intervalP) + moveP[0];
if ((timerP == _local9) && (spriteEndP != null)) {
var _local10 = spriteEndP;
if (_local10 == "_root") {
_root.play();
} else {
spriteEndP.play();
}
}
if (timerP > _local9) {
return(true);
}
var _local11 = 0;
for ( ; _local11 < _local8 ; _local11++) {
moveNamed_(textPathP, carNameP, _local11, moveP, timerP, intervalP);
}
return(false);
}
static function moveNamed_(textPathP, carNameP, numCarP, moveP, timerP, intervalP) {
var _local8 = getCarNamed_(textPathP, carNameP, numCarP);
var _local9 = timerP - (numCarP * intervalP);
if ((_local9 < 0) || (_local9 >= moveP[0])) {
return(true);
}
if (_local9 == 0) {
_local8._visible = true;
}
if (moveP[1] != "x") {
_local8._x = _local8._x + moveP[1][_local9];
}
if (moveP[2] != "x") {
_local8._y = _local8._y + moveP[2][_local9];
}
if (moveP[3] != "x") {
_local8._xscale = moveP[3][_local9];
}
if (moveP[4] != "x") {
_local8._yscale = moveP[4][_local9];
}
if (moveP[5] != "x") {
_local8._rotation = moveP[5][_local9];
}
if (moveP[6] != "x") {
_local8._alpha = moveP[6][_local9];
}
return(false);
}
static function getCar_(textPath, num) {
return(textPath["car" + num]);
}
static function getNbCars_(textPath) {
var _local3 = 0;
for ( ; _local3 < 1000 ; _local3++) {
if (getCar_(textPath, _local3) == null) {
return(_local3);
}
}
return(0);
}
static function hideCars_(textPath) {
var _local3 = getNbCars_(textPath);
var _local5 = 0;
for ( ; _local5 < _local3 ; _local5++) {
var _local4 = getCar_(textPath, _local5);
_local4._visible = false;
}
}
static function moveCars_(textPathP, moveP, timerP, intervalP, spriteEndP) {
var _local7 = getNbCars_(textPathP);
var _local8 = true;
var _local10 = 0;
for ( ; _local10 < _local7 ; _local10++) {
var _local9 = move_(textPathP, _local10, moveP, timerP, intervalP);
if (!_local9) {
_local8 = false;
}
}
if (!_local8) {
return(false);
}
if (spriteEndP != null) {
spriteEndP.play();
}
return(true);
}
static function move_(textPathP, numCarP, moveP, timerP, intervalP) {
var _local7 = getCar_(textPathP, numCarP);
var _local8 = timerP - (numCarP * intervalP);
if ((_local8 < 0) || (_local8 >= moveP[0])) {
return(true);
}
if (_local8 == 0) {
_local7._visible = true;
}
if (moveP[1] != "x") {
_local7._x = _local7._x + moveP[1][_local8];
}
if (moveP[2] != "x") {
_local7._y = _local7._y + moveP[2][_local8];
}
if (moveP[3] != "x") {
_local7._xscale = moveP[3][_local8];
}
if (moveP[4] != "x") {
_local7._yscale = moveP[4][_local8];
}
if (moveP[5] != "x") {
_local7._rotation = moveP[5][_local8];
}
if (moveP[6] != "x") {
_local7._alpha = moveP[6][_local8];
}
return(false);
}
static function toNum(valTxt) {
if ((valTxt.substring(0, 1) == "0") && (valTxt.substring(0, 2) != "0x")) {
if (valTxt == "0") {
return(0);
}
return(toNum(valTxt.substring(1, valTxt.length)));
}
return(Number(valTxt));
}
static function createTextField(nameP, xP, yP, lgP, htP, mcP) {
mcP.createTextField(nameP, mcP.getNextHighestDepth(), xP, yP, lgP, htP);
}
static function message(textP, xP, yP, lgP, htP) {
var _local7 = (("message" + xP) + "x") + yP;
var _local8 = _root[_local7];
if (_local8 == null) {
_root.createTextField(_local7, _root.getNextHighestDepth(), xP, yP, lgP, htP);
_local8 = _root[_local7];
}
_local8.autoSize = true;
_local8.text = textP;
_local8.wordWrap = true;
_local8.type = "dynamic";
var _local9 = _local8.getTextFormat();
_local9.size = 30;
_local9.color = 255;
_local8.setTextFormat(_local9);
return(_local8);
}
static function displayEnd(tf) {
tf.scroll = tf.maxscroll;
}
static function replaceVarsFromPiece(scriptP, groupP) {
var _local4 = 0;
var _local9 = 0;
for ( ; _local4 >= 0 ; _local9++) {
var _local5 = scriptP.indexOf(VAR_CLOSE, _local4 + 2);
if (_local5 < 0) {
return(errorCloseNotFound());
}
ea_console.add_((("ea_text#replaceVarsFromPiece() " + _local4) + " -> posEnd") + _local5);
var _local6 = scriptP.substring(_local4 + VAR_OPEN_LG, _local5);
var _local7 = groupP[_local6];
if (_local7 == null) {
return(errorPiecUnknown(groupP, _local6));
}
var _local8 = _local7.text;
if (_local8 == null) {
_local8 = _local7.getValue();
}
if (_local8 == null) {
return(errorValueUnknown(groupP, _local6));
}
scriptP = (scriptP.substring(0, _local4) + _local8) + scriptP.substring(_local5 + VAR_CLOSE_LG);
_local4 = _local4 + _local8.length;
}
return(scriptP);
}
static function errorCloseNotFound() {
ea_console.add_("ea_text#replaceVarsFromPiece()\n *** ERROR *** close not found");
return(null);
}
static function errorPiecUnknown(mc, pieceName) {
ea_console.add_(((("ea_text#replaceVarsFromPiece()\n *** ERROR *** piece " + String(mc)) + "[") + pieceName) + "] unknown");
return(null);
}
static function errorValueUnknown(mc, pieceName) {
ea_console.add_(((("ea_text#replaceVarsFromPiece()\n *** ERROR *** piece " + String(mc)) + "[") + pieceName) + "] : value unknown");
return(null);
}
static function testC001() {
var _local2 = buildStringC(["%snom=%i%s%i%%%%%i", "111", "222", "333", "444", "555"]);
}
static function buildStringC(scriptP) {
if ((scriptP == null) || (scriptP.length < 1)) {
return(null);
}
var _local3 = "";
var _local4 = scriptP[0];
var _local5 = 1;
var _local6 = _local4.length - 1;
var _local7 = 0;
var _local11 = _local4.indexOf("%");
for ( ; (_local11 >= 0) && (_local11 < _local6) ; _local11 = _local4.indexOf("%", _local7)) {
if (_local11 > _local7) {
_local3 = _local3 + _local4.substring(_local7, _local11);
}
var _local9 = _local4.charAt(_local11 + 1);
if (_local9 != "%") {
if (_local9 == "s") {
var _local10 = "\"";
} else {
var _local10 = "";
}
_local3 = _local3 + ((_local10 + scriptP[_local5++]) + _local10);
} else {
_local3 = _local3 + "%";
}
_local7 = _local11 + 2;
}
return(_local3);
}
static function indexToLetter(mcP) {
var _local3 = mcP._name;
var _local4 = ea_string.getIndex(_local3);
return(String.fromCharCode(_local4 + 65));
}
//ASSetPropFlags(_local1, null, 1);
static var VAR_OPEN = "?:";
static var VAR_OPEN_LG = 2;
static var VAR_CLOSE = ":";
static var VAR_CLOSE_LG = 1;
}
Symbol 20481 MovieClip [__Packages.ea_string] Frame 0
class ea_string
{
static var TEXT_START_CASE, TEXT_START_CASE_LG;
function ea_string () {
}
static function toPath(groupOrgP, pathP, separP) {
pathP = trim(pathP);
var _local5 = pathP.length;
if (pathP.charAt(0) == separP) {
pathP = pathP.substring(1, _local5 - 1);
_local5--;
}
if (pathP.charAt(_local5 - 1) == separP) {
pathP = pathP.substring(0, _local5 - 1);
}
var _local6 = pathP.split(separP);
if ((_local6 == null) || ((_local7 = _local6.length) < 1)) {
return(null);
}
var _local8 = groupOrgP;
var _local9 = 0;
for ( ; _local9 < _local7 ; _local9++) {
_local8 = _local8[_local6[_local9]];
_local6[_local9] = _local8;
}
return(_local6);
}
static function trim(textP) {
var _local3 = textP.length;
var _local4 = -1;
var _local5 = 0;
for ( ; _local5 < _local3 ; _local5++) {
if (textP.charCodeAt(_local5) > 32) {
_local4 = _local5;
break;
}
}
if (_local4 < 0) {
return("");
}
var _local6 = 1000000 /* 0x0F4240 */;
var _local7 = _local3 - 1;
for ( ; _local7 >= 0 ; _local7--) {
if (textP.charCodeAt(_local7) > 32) {
_local6 = _local7;
break;
}
}
return(textP.substring(_local4, _local6 + 1));
}
static function getFirstCar_AfterSpaces(textP) {
var _local3 = textP.length;
var _local4 = 0;
for ( ; _local4 < _local3 ; _local4++) {
if (textP.charCodeAt(_local4) > 32) {
return(textP.charAt(_local4));
}
}
return(" ");
}
static function codeToAscii(numP) {
return(String.fromCharCode(numP));
}
static function countLines(textP) {
var _local3 = 0;
var _local4 = -1;
var _local6 = 0;
for ( ; _local6 < 1000000 ; _local6++) {
var _local5 = _local4;
_local4 = textP.indexOf(newline, _local4 + 1);
if (_local4 < 0) {
break;
}
_local3++;
}
if (_local5 > (textP.length - 1)) {
_local3++;
}
return(_local3);
}
static function getIndex(textP) {
var _local3 = textP.length;
var _local4 = -1;
var _local6 = _local3 - 1;
for ( ; _local6 >= 0 ; _local6--) {
var _local5 = textP.substring(_local6, _local3);
for ( ; isNumber(_local5) ; _local6--) {
_local4 = toInt(_local5);
}
return(_local4);
}
return(-1);
}
static function toInt(text) {
return(Number(text));
}
static function isNumber(text) {
return(String(Number(text)) != "NaN");
}
static function getPrefixe(textP) {
var _local3 = textP.length;
var _local5 = _local3 - 1;
for ( ; _local5 >= 0 ; _local5--) {
var _local4 = textP.substring(_local5, _local3);
if (!isNumber(_local4)) {
return(textP.substring(0, _local5 + 1));
}
}
return(null);
}
static function textIndex0Separ(separP, textP) {
var _local4 = textP.indexOf(separP, 0);
if (_local4 >= 0) {
textP = textP.substring(0, _local4);
}
return(textP);
}
static function numIndex1Separ(separP, textP) {
var _local4 = textP.indexOf(separP, 0);
if (_local4 < 0) {
return(null);
}
_local4++;
var _local5 = textP.indexOf(separP, _local4);
if (_local5 < 0) {
_local5 = textP.length;
}
return(toInt(textP.substring(_local4, _local5)));
}
static function numIndex2Separ(separP, textP) {
var _local4 = textP.indexOf(separP, 0);
if (_local4 <= 0) {
return(-1);
}
_local4++;
var _local5 = textP.indexOf(separP, _local4);
if (_local5 < 0) {
return(-1);
}
_local5++;
var _local6 = textP.indexOf(separP, _local5);
if (_local6 < 0) {
_local6 = textP.length;
}
return(toInt(textP.substring(_local5, _local6)));
}
static function textIndex0_(textP) {
return(textIndex0Separ("_", textP));
}
static function numIndex1_(textP) {
return(numIndex1Separ("_", textP));
}
static function numIndex2_(textP) {
return(numIndex2Separ("_", textP));
}
static function numIndexLast(textP) {
var _local3 = textP.lastIndexOf("_");
if (_local3 < 0) {
return(null);
}
var _local4 = textP.length;
return(int(textP.substring(_local3 + 1, _local4)));
}
static function digits2_seconds_() {
var _local2 = new Date();
return(digits2_(_local2.getSeconds()));
}
static function digits2_minutes_() {
var _local2 = new Date();
return(digits2_(_local2.getMinutes()));
}
static function digits2_hours_() {
var _local2 = new Date();
return(digits2_(_local2.getHours()));
}
static function digits2_(valP) {
if (valP >= 10) {
return("" + valP);
}
return("0" + valP);
}
static function digits3_(valP) {
if (valP >= 100) {
return("" + valP);
}
if (valP >= 10) {
return("0" + valP);
}
return("00" + valP);
}
static function stringToTab(txtP, signP) {
var _local4 = 0;
var _local5 = 0;
var _local6 = signP.length;
var _local7 = new Array();
var _local8 = 0;
while (_local4 = txtP.indexOf(signP, _local4) , _local4 >= 0) {
_local7[_local8++] = txtP.substring(_local5, _local4);
_local4 = _local4 + _local6;
_local5 = _local4;
}
_local7[_local8++] = txtP.substring(_local5);
return(_local7);
}
static function supprBalises(textP) {
if (getFirstCar_AfterSpaces(textP).charAt(0) != "<") {
return(textP);
}
var _local3 = textP.length;
var _local5 = "";
var _local6 = 0;
for ( ; _local6 < _local3 ; _local6++) {
var _local4 = textP.charAt(_local6);
for ( ; _local4 != "<" ; _local6++) {
_local5 = _local5 + _local4;
}
_local6 = supprBalise(textP, _local6, _local3);
}
return(_local5);
}
static function supprBalise(textOrgP, posStartP, lgTextP) {
var _local5 = posStartP + 1;
// unexpected jump
_local5++;
if (_local5 < lgTextP) {
for ( ; textOrgP.charAt(_local5) != ">" ; _local5++) {
}
return(_local5);
}
return(lgTextP);
}
static function separToTab_2signs(textP) {
if (textP == null) {
return(null);
}
var _local3 = textP.length;
if (_local3 < 1) {
return(null);
}
var _local4 = textP.charAt(0);
var _local5 = null;
var _local7 = 1;
// unexpected jump
_local7++;
if (_local7 < _local3) {
var _local6 = textP.charAt(_local7);
for ( ; _local6 == _local4 ; _local7++) {
}
_local5 = textP.substring(0, _local7 + 1);
textP = textP.substring(_local7 + 1, _local3);
}
if ((_local5 == null) || (_local5.length < 1)) {
return(null);
}
return(textP.split(_local5));
}
static function tabToSepar(tabP) {
var _local3 = "[";
var _local4 = "]";
var _local5 = tabP.length;
var _local6 = _local3;
var _local7 = "";
var _local9 = 0;
for ( ; _local9 < _local5 ; _local9++) {
var _local8 = tabP[_local9];
_local8 = replaceAll("\"", "\\\"", _local8);
_local8 = replaceAll(newline, "<" + "br>", _local8);
_local6 = _local6 + (((_local7 + "\"") + _local8) + "\"");
if (_local9 == 0) {
_local7 = ",";
}
}
_local6 = _local6 + _local4;
return(_local6);
}
static function separToTab(textP) {
if (trim(textP) == "*") {
var _local3 = ["*"];
return(_local3);
}
var _local4 = new ea_parser(textP);
var _local5 = _local4.getCharNext_AfterSpaces();
if (_local5 == null) {
return(new Array());
}
if (_local4.isNextEnded()) {
return(new Array());
}
if (_local5 == "{") {
var _local6 = "}";
} else if (_local5 == "[") {
var _local6 = "]";
} else {
return(null);
}
var _local7 = new Array();
var _local9 = textP.length;
var _local11 = 0;
for ( ; _local11 < _local9 ; _local11++) {
if (_local4.jumpCharNext("\"") < 0) {
return(null);
}
_local4.gotoNext();
if (_local4.gotoCharNext("\"") < 0) {
return(null);
}
var _local10 = _local4.subscript();
_local10 = replaceAll("\\\"", "\"", _local10);
_local10 = replaceAll("<" + "br>", newline, _local10);
_local7[_local11] = _local10;
_local4.incNext();
var _local8 = _local4.getCharNext_AfterSpaces();
if (_local8 == _local6) {
return(_local7);
}
if ((_local8 == null) || (_local8 != ",")) {
return(null);
}
_local4.incNext();
}
return(null);
}
static function addInScriptTab(valueP, scriptP) {
var _local4 = new ea_parser(scriptP);
var _local5 = _local4.getCharNext_AfterSpaces();
if (_local5 == null) {
return(("[\"" + valueP) + "\"]");
}
if (_local4.isNextEnded()) {
return(("[\"" + valueP) + "\"]");
}
if (_local5 == "{") {
var _local6 = "}";
} else if (_local5 == "[") {
var _local6 = "]";
} else {
return(("[\"" + valueP) + "\"]");
}
var _local8 = scriptP.length;
var _local10 = ",";
var _local11 = 0;
for ( ; _local11 < _local8 ; _local11++) {
if (_local4.jumpCharNext("\"") < 0) {
return(("[\"" + valueP) + "\"]");
}
if (_local4.jumpCharNext("\"") < 0) {
return(("[\"" + valueP) + "\"]");
}
var _local7 = _local4.getCharNext_AfterSpaces();
if (_local7 == _local6) {
return(((((_local4.subscript() + _local10) + "\"") + valueP) + "\"") + _local6);
}
if ((_local7 == null) || (_local7 != ",")) {
return(null);
}
_local4.incNext();
}
return(("[\"" + valueP) + "\"]");
}
static function textToTab(textP, enteteAttendueP) {
if (textP == null) {
return(null);
}
if (enteteAttendueP == null) {
enteteAttendueP = BALISE_TAB;
}
var _local4 = initTextForTab(textP, enteteAttendueP);
if ((_local4 == null) || (_local4.length == 0)) {
return(null);
}
var _local5 = enteteAttendueP.substring(1, enteteAttendueP.length - 1);
var _local6 = new Array();
var _local7 = _local4.length;
var _local10 = 0;
for ( ; _local10 < _local7 ; _local10++) {
var _local8 = _local4[_local10];
if (isTableEnded(_local8, _local5)) {
return(_local6);
}
var _local9 = textToTabIndex(_local8);
for ( ; _local9 == null ; _local10++) {
}
if (!setValIntoTab(_local6, _local9, 1, _local9.length)) {
return(null);
}
}
ea_text.traceLn(("*** ERROR ***\nString to tab\n la balise de fin [/" + _local5) + "]est absente\n (Un tableau est tout de meme retourne)\n**************");
return(_local6);
}
static function initTextForTab(textP, enteteP) {
if (textP == null) {
return(null);
}
var _local4 = textP.indexOf(newline);
if (_local4 < 0) {
return(null);
}
var _local5 = readHeading(textP.substring(0, _local4), enteteP);
if (_local5 == null) {
return(null);
}
var _local6 = textP.indexOf("[", _local4);
if (_local6 == null) {
return(new Array());
}
TEXT_START_CASE = textP.substring(_local4, _local6 + 1);
TEXT_START_CASE_LG = (_local6 + 1) - _local4;
var _local7 = textP.substring(_local6 + 1);
if (_local5 == "") {
return(_local7.split(TEXT_START_CASE));
}
var _local9 = _local5.charAt(1);
var _local13 = new Array();
var _local14 = 0;
_local6 = 0;
while (true) {
if (_local7.charAt(_local6) == "/") {
var _local10 = _local7.indexOf("]", _local6);
if (_local10 < 0) {
return(_local13);
}
_local13[_local14++] = _local7.substring(_local6, _local10 + 1);
return(_local13);
}
var _local10 = _local7.indexOf("]", _local6);
if (_local10 < 0) {
return(_local13);
}
var _local11 = _local7.indexOf(_local9, _local10 + 1);
if (_local11 < 0) {
return(_local13);
}
var _local8 = _local9 + _local7.substring(_local10 + 1, _local11);
var _local12 = _local7.indexOf(_local8, _local11 + 1);
if (_local12 < 0) {
return(_local13);
}
_local13[_local14++] = _local7.substring(_local6, _local10 + 1) + _local7.substring(_local11 + 1, _local12);
_local6 = _local7.indexOf(TEXT_START_CASE, _local12);
if (_local6 < 0) {
return(_local13);
}
_local6 = _local6 + TEXT_START_CASE_LG;
}
return(null);
}
static function readHeading(scriptP, enteteAttendueP) {
if (scriptP == null) {
return(null);
}
if (enteteAttendueP == null) {
enteteAttendueP = BALISE_TAB;
}
var _local4 = scriptP.toLowerCase();
_local4 = replaceAll(" ", "", _local4);
var _local5 = _local4.indexOf(enteteAttendueP, 0);
if ((_local5 == null) || (_local5 < 0)) {
return(null);
}
_local5 = _local4.indexOf(DELIM_OPEN, _local5);
if (_local5 < 0) {
return("");
}
_local5 = _local5 + DELIM_OPEN_LG;
var _local6 = _local4.indexOf(DELIM_CLOSE, _local5);
if ((_local6 < 0) || ((_local6 - _local5) < 2)) {
return(null);
}
return(trim(_local4.substring(_local5, _local6)));
}
static function setValIntoTab(tabDest, indexP, nivP, nivMax) {
var _local6 = Number(indexP[nivP]);
if ((_local6 == null) || (_local6 < 0)) {
return(false);
}
if (nivP == (nivMax - 1)) {
tabDest[_local6] = indexP[0];
return(true);
}
if ((_local6 >= tabDest.length) || (tabDest[_local6] == null)) {
tabDest[_local6] = new Array();
}
setValIntoTab(tabDest[_local6], indexP, nivP + 1, nivMax);
return(true);
}
static function isTableEnded(textP, baliseTextP) {
if (textP.charAt(0) != "/") {
return(false);
}
textP = replaceAll(" ", "", textP);
return(textP.indexOf(baliseTextP) == 1);
}
static function textTabIndexToLignes(textP, baliseTableP) {
var _local4 = textToTab(textP, baliseTableP);
if (_local4 == null) {
return(null);
}
return(tabToTextList(_local4));
}
static function tabToTextList(tabP) {
return(tabTotextList_onLevel(tabP, 0, "./"));
}
static function tabTotextList_onLevel(tabP, nivP, margeP) {
var _local5 = tabP.length;
var _local6 = "";
var _local8 = 0;
for ( ; _local8 < _local5 ; _local8++) {
var _local7 = tabP[_local8];
for ( ; _local7 == null ; _local8++) {
}
for ( ; typeof(_local7) == "object" ; _local8++) {
_local6 = _local6 + tabTotextList_onLevel(tabP[_local8], nivP + 1, "." + margeP);
}
_local7 = replaceAll(newline, "\\n", _local7);
_local6 = _local6 + ((margeP + _local7) + newline);
}
return(_local6);
}
static function textToTabIndex(textP) {
var _local3 = new Array();
_local3[0] = "";
var _local4 = 0;
var _local5 = textP.length;
var _local6 = 1;
var _local7 = textP.charAt(0);
var _local9 = 0;
for ( ; _local9 < _local5 ; _local9++) {
_local7 = textP.charAt(_local9);
if ((_local7 == ",") || (_local7 == "]")) {
var _local8 = textP.substring(_local4, _local9);
_local3[_local6++] = Number(_local8);
if (String(_local3[_local6 - 1]) == "NaN") {
ea_text.traceLn(("*** ERROR ***\nString to tab\n -> index[" + _local8) + "] inconnu !\n**************");
return(null);
}
_local4 = _local9 + 1;
}
if (_local7 == "]") {
_local9++;
_local3[0] = textP.substring(_local9);
return(_local3);
}
}
return(_local3);
}
static function outQuote(textP) {
textP = replaceAll("<q>", "\"", textP);
textP = replaceAll("\\\"", "\"", textP);
return(replaceAll("''", "\"", textP));
}
static function replaceAll(oldP, newP, textp) {
if ((oldP == null) || ((oldP.length < 0) || ((newP == null) || ((textp == null) || (textp.length < 0))))) {
return(null);
}
var _local5 = "";
var _local6 = 0;
var _local7 = 0;
var _local8 = oldP.length;
if (_local8 < 1) {
return(textp);
}
var _local9 = -1;
var _local10 = 0;
for ( ; _local7 >= 0 ; _local10++) {
if (_local6 <= _local9) {
return(textp);
}
_local9 = _local6;
_local7 = textp.indexOf(oldP, _local6);
if ((_local7 == null) || (_local7 < 0)) {
_local5 = _local5 + textp.substring(_local6);
return(_local5);
}
if (_local7 == _local6) {
_local5 = _local5 + newP;
} else {
_local5 = _local5 + (textp.substring(_local6, _local7) + newP);
}
_local6 = _local7 + _local8;
}
return(null);
}
static function inputSupprBalise(textP) {
var _local3 = "";
_local3 = _local3 + textP;
return(_local3);
}
static function tabToText(tabP, enteteP) {
if (enteteP == null) {
enteteP = BALISE_TAB_;
}
var _local4 = ((("[" + enteteP) + "][delim]") + DELIM_TAB_DEFAULT) + "[/delim]\n";
return((((_local4 + tabToText_(tabP, "")) + "~[/") + enteteP) + "]\n");
}
static function tabToText_(tabP, dims) {
var _local4 = "";
var _local5 = tabP.length;
var _local10 = 0;
for ( ; _local10 < _local5 ; _local10++) {
var _local6 = tabP[_local10];
for ( ; _local6 == null ; _local10++) {
}
var _local11 = typeof(_local6);
for ( ; _local11 == "object" ; _local10++) {
_local4 = _local4 + tabToText_(tabP[_local10], (dims + _local10) + ",");
}
var _local7 = _local6;
var _local8 = DELIM_TAB_DEFAULT;
var _local9 = DELIM_TAB_END_DEFAULT;
if (_local11 == "string") {
while (_local7.indexOf(_local9, 0) >= 0) {
_local8 = "." + _local8;
_local9 = _local9 + ".";
}
}
_local4 = _local4 + ((((((("~[" + dims) + _local10) + "]") + _local8) + _local6) + _local9) + newline);
}
return(_local4);
}
static function toUpperCase(texte_saisie) {
var _local3 = 0;
for ( ; _local3 < t1.length ; _local3++) {
texte_saisie = texte_saisie.split(t1[_local3]).join(t2[_local3]);
}
return(texte_saisie);
}
static function firstIndexOfCollection(nameP, groupP, isPrefixeP) {
if (isPrefixeP) {
var _local5 = nameP;
} else {
var _local5 = getPrefixe(nameP);
if (_local5 == nameP) {
return(-1);
}
}
if (groupP[_local5 + "1"] == null) {
return(-1);
}
if (groupP[_local5 + "0"] != null) {
return(0);
}
if (groupP[_local5 + "2"] != null) {
return(1);
}
return(-1);
}
static function indexOf(item1P, tabP, caseSensitiveP, flagCompareAdvancedP) {
var _local6 = tabP.length;
var _local8 = 0;
for ( ; _local8 < _local6 ; _local8++) {
var _local7 = tabP[_local8];
for ( ; _local7 == null ; _local8++) {
}
if (equals(item1P, _local7, caseSensitiveP, flagCompareAdvancedP)) {
return(_local8);
}
}
return(-1);
}
static function equals(item1P, item2P, caseSensitiveP, flagCompareAdvancedP) {
item1P = trim(item1P);
if (item1P == item2P) {
return(true);
}
if (!caseSensitiveP) {
if (item1P.toUpperCase() == item2P.toUpperCase()) {
return(true);
}
}
if (!flagCompareAdvancedP) {
return(false);
}
if (!caseSensitiveP) {
item1P = item1P.toUpperCase();
item2P = item2P.toUpperCase();
}
return(compare(item1P, 0, item1P.length, item2P, 0, item2P.length));
}
static function compare(item1P, pos1P, lg1P, item2P, pos2P, lg2P) {
if (pos2P == lg2P) {
return(pos1P >= lg1P);
}
while (true) {
var _local8 = item2P.charAt(pos2P++);
if (_local8 == "?") {
var _local9 = compare(item1P, pos1P, lg1P, item2P, pos2P, lg2P);
if (_local9) {
return(true);
}
return(compare(item1P, pos1P + 1, lg1P, item2P, pos2P, lg2P));
}
if (_local8 == "*") {
var _local10 = pos1P;
for ( ; _local10 < lg1P ; _local10++) {
var _local9 = compare(item1P, _local10, lg1P, item2P, pos2P, lg2P);
if (_local9) {
return(true);
}
}
return(pos2P == lg2P);
}
if (_local8 != item1P.charAt(pos1P++)) {
return(false);
}
if (pos1P >= lg1P) {
_local8 = item2P.charAt(pos2P);
return((pos2P == lg2P) || ((_local8 == "*") || (_local8 == "?")));
}
if (pos2P == lg2P) {
return(false);
}
}
return(true);
}
//ASSetPropFlags(_local1, null, 1);
static var BALISE_TAB = "[table:e-anim]";
static var DELIM_OPEN = "[delim]";
static var DELIM_CLOSE = "[/delim]";
static var DELIM_OPEN_LG = DELIM_OPEN.length;
static var DELIM_TAB_DEFAULT = "./";
static var DELIM_TAB_END_DEFAULT = "/.";
static var DELIM_TAB_CAR2_DEFAULT = "/";
static var BALISE_TAB_ = "table:e-anim";
static var t1 = ["\u00E0", "\u00E2", "\u00E4", "\u00E9", "\u00E8", "\u00EA", "\u00EB", "\u00EE", "\u00EF", "\u00F4", "\u00F6", "\u00F9", "\u00FB", "\u00FC", "\u00E7", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "\u0153", "\u00E6", "\u00C7"];
static var t2 = ["A", "A", "A", "E", "E", "E", "E", "I", "I", "O", "O", "U", "U", "U", "C", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "OE", "AE", "C"];
}
Symbol 20482 MovieClip [__Packages.ea_parser] Frame 0
class ea_parser
{
var script, scriptLg, pos, posNext, flagEnd, typeLex, nameIsAdresse;
function ea_parser (scriptP) {
script = scriptP;
scriptLg = script.length;
pos = 0;
posNext = 0;
flagEnd = false;
}
function gotoNext() {
pos = posNext;
if (pos < 0) {
flagEnd = true;
}
}
function subscript() {
if ((pos < 0) || (posNext <= pos)) {
return(null);
}
return(script.substring(pos, posNext));
}
function incNext() {
if ((posNext < 0) || (flagEnd || ((++posNext) >= scriptLg))) {
posNext = -1;
}
return(posNext);
}
function nextInc() {
var _local2 = posNext;
if ((posNext < 0) || (flagEnd || ((++posNext) >= scriptLg))) {
posNext = -1;
}
return(_local2);
}
function isNext(carP) {
return(getCharNext() == carP);
}
function isNext2(car1P, car2P) {
var _local4 = getCharNext();
return((_local4 == car1P) && (car2P == _local4));
}
function isNext_InTab(carP) {
if (flagEnd) {
return(false);
}
var _local3 = getCharNext();
var _local4 = carP.length;
var _local5 = 0;
for ( ; _local5 < _local4 ; _local5++) {
if (carP[_local5] == _local3) {
return(true);
}
}
return(false);
}
function gotoCharNext(charP) {
if (flagEnd) {
return(-1);
}
posNext = script.indexOf(charP, posNext);
return(posNext);
}
function gotoChar(charP) {
if (flagEnd) {
return(-1);
}
pos = script.indexOf(charP, pos);
if (pos < 0) {
flagEnd = true;
}
return(pos);
}
function jumpCharNext(charP) {
if (flagEnd) {
return(-1);
}
posNext = script.indexOf(charP, posNext);
return(nextInc());
}
function getCharNext() {
if (flagEnd) {
return(null);
}
return(script.charAt(posNext));
}
function getChar() {
if (flagEnd) {
return(null);
}
return(script.charAt(pos));
}
function getCharNext_AfterSpaces() {
if (flagEnd) {
return(null);
}
if (jumpSpacesNext() < 0) {
return(null);
}
return(script.charAt(posNext));
}
function jumpCharNext_AfterSpaces() {
if (flagEnd) {
return(null);
}
if (jumpSpacesNext() < 0) {
return(null);
}
var _local2 = nextInc();
if (_local2 < 0) {
return(null);
}
return(script.charAt(_local2));
}
function jumpSpacesNext() {
if (flagEnd) {
return(-1);
}
while ((posNext < scriptLg) && (script.charCodeAt(posNext) < 33)) {
posNext++;
}
if (posNext >= scriptLg) {
posNext = -1;
}
return(posNext);
}
function isEnded() {
return(flagEnd);
}
function isNextEnded() {
return(posNext < 0);
}
function getNextLex() {
if (flagEnd || (posNext < 0)) {
flagEnd = true;
typeLex = TYPE_END;
return(null);
}
jumpSpacesNext();
if (flagEnd || (posNext < 0)) {
flagEnd = true;
typeLex = TYPE_END;
return(null);
}
var _local2 = script.charCodeAt(posNext);
if (_local2 == CODE_QUOTE) {
return(getNextString());
}
if (_local2 < 128) {
var _local3 = CAR_TYPE_TAB[_local2];
} else {
var _local3 = 2;
}
switch (_local3) {
case 0 :
var _local4 = getNextLexType(CAR_TYPE_TAB, 0, TYPE_OP);
break;
case 1 :
_local4 = getNextSign();
break;
case 2 :
var _local5 = CAR_TYPE_TAB[CODE_POINT];
if (nameIsAdresse) {
CAR_TYPE_TAB[CODE_POINT] = 2;
}
_local4 = getNextLexType(CAR_TYPE_NAME_BODY_TAB, 2, TYPE_NAME);
if (nameIsAdresse) {
CAR_TYPE_TAB[CODE_POINT] = _local5;
}
break;
case 3 :
var _local6 = CAR_TYPE_TAB[CODE_POINT];
CAR_TYPE_TAB[CODE_POINT] = 3;
_local4 = getNextLexType(CAR_TYPE_TAB, 3, TYPE_NUMBER);
CAR_TYPE_TAB[CODE_POINT] = _local6;
}
return(_local4);
}
function getNextString() {
typeLex = TYPE_STRING;
posNext++;
pos = posNext;
posNext = script.indexOf("\"", pos);
var _local2 = posNext;
for ( ; _local2 < scriptLg ; _local2++) {
if (posNext < 0) {
return(null);
}
if (script.charCodeAt(posNext - 1) != CODE_ANTI_SLASH) {
break;
}
posNext = script.indexOf("\"", posNext + 1);
if (posNext < 0) {
pos = -1;
flagEnd = true;
return(script.substring(pos));
}
}
var _local3 = script.substring(pos, posNext);
_local3 = ea_string.replaceAll("\\\"", "\"", _local3);
pos = ++posNext;
if (pos >= scriptLg) {
pos = -1;
posNext = -1;
}
return(_local3);
}
function getNextSign() {
typeLex = TYPE_SEPAR;
pos = posNext;
if (incNext() < 0) {
var _local2 = script.substring(pos);
} else {
var _local2 = script.substring(pos, posNext);
}
pos = posNext;
return(_local2);
}
function getNextLexType(tabTypeP, numTypeP, typeLexP) {
typeLex = typeLexP;
pos = posNext;
while (tabTypeP[script.charCodeAt(incNext())] == numTypeP) {
}
if (posNext < 0) {
var _local5 = script.substring(pos);
} else {
var _local5 = script.substring(pos, posNext);
}
pos = posNext;
return(_local5);
}
function displayPos(lgDisplay, separP) {
var _local4 = 0;
var _local5 = scriptLg;
if ((lgDisplay >= -1) && (lgDisplay < scriptLg)) {
_local4 = pos - (lgDisplay / 2);
if (_local4 < 0) {
_local4 = 0;
}
_local5 = _local4 + lgDisplay;
if (_local5 > scriptLg) {
_local4 = scriptLg - lgDisplay;
}
}
var _local6 = pos - _local4;
return((((((script.substring(_local4, pos) + "<--[") + pos) + "]") + separP) + "-->") + script.substring(_local4, pos));
}
//ASSetPropFlags(_local1, null, 1);
static var ANTI_SLASH = "\\\ntoto";
static var CODE_ANTI_SLASH = ANTI_SLASH.charCodeAt(0);
static var QUOTE = "\"\ntoto";
static var CODE_QUOTE = QUOTE.charCodeAt(0);
static var POINT = ".";
static var CODE_POINT = POINT.charCodeAt(0);
static var CAR_TYPE_TAB = [9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 0, 1, 1, 1, 0, 0, 1, 1, 1, 0, 0, 1, 0, 0, 0, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 1, 1, 0, 0, 0, 0, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 0, 1, 0, 2, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 0, 1];
static var CAR_TYPE_NAME_BODY_TAB = [9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 0, 1, 1, 1, 0, 0, 1, 1, 1, 0, 0, 1, 0, 0, 0, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1, 0, 0, 0, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 0, 1, 0, 2, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 0, 1];
static var CAR_TYPE_HEX = [9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 0, 1, 1, 1, 0, 0, 1, 1, 1, 0, 0, 1, 0, 0, 0, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 1, 1, 0, 0, 0, 1, 1, 3, 3, 3, 3, 3, 3, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 0, 1, 0, 2, 1, 3, 3, 3, 3, 3, 3, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 0, 1];
static var TYPE_NUMBER = 1;
static var TYPE_NAME = 2;
static var TYPE_STRING = 3;
static var TYPE_OP = 4;
static var TYPE_SEPAR = 5;
static var TYPE_END = 6;
static var TYPES = ["Unknown", "Number", "Name", "String", "Operator", "Separator", "End"];
}
Symbol 20483 MovieClip [__Packages.pluie] Frame 0
class pluie
{
var mcParent;
function pluie (mcParentP, nb_PiecesP, vitesseP, amplP, nb_pieces_addedP, step_addP) {
var _local8 = mcParentP;
ea_text.traceLn((((("mcParent=" + _local8) + " ") + mcParentP._width) + " ") + mcParentP._height);
mcParent = mcParentP;
nb_Pieces = nb_PiecesP;
vitesseMax = vitesseP;
ampl = amplP;
if (nb_pieces_addedP > 0) {
nb_pieces_added = nb_pieces_addedP;
} else {
nb_pieces_added = nb_Pieces;
}
if (step_addP > 0) {
step_add = step_addP;
} else {
step_add = 1;
}
var _local9 = mcParent.flocon;
area_x = (-_local9._width) / 2;
ea_text.traceLn("area_x=" + area_x);
area_y = (-_local9._height) / 2;
area_lg = mcParent._width;
area_ht = mcParent._height;
mcParent.pluie = this;
mcParent.onEnterFrame = function () {
var _local2 = this.pluie;
_local2.next();
};
}
static function action(mcParentP, nb_PiecesP, vitesseP, amplP, nb_pieces_addedP, step_addP) {
var _local8 = new pluie(mcParentP, nb_PiecesP, vitesseP, amplP, nb_pieces_addedP, step_addP);
}
function add() {
if (nb_added_curr >= nb_Pieces) {
return(undefined);
}
if ((++step_add_curr) >= step_add) {
step_add_curr = 0;
}
if (step_add_curr != 0) {
return(undefined);
}
var _local5 = nb_added_curr + nb_pieces_added;
if (_local5 > nb_Pieces) {
_local5 = nb_Pieces;
}
var _local6 = nb_added_curr;
for ( ; _local6 < _local5 ; _local6++) {
mcParent.flocon.duplicateMovieClip("flocon" + _local6, 100 + _local6, null);
var _local2 = mcParent["flocon" + _local6];
_local2.pos_x = random(area_lg) + area_x;
_local2._x = _local2.pos_x;
_local2._y = area_y + random(area_ht);
_local2.dephasage = random(dephasage);
var _local3 = Math.random();
_local2.vitesse = ((_local3 * vitesseMax) / 100) + vitesseMin;
_local3 = 20 + (80 * _local3);
if (_local3 < 0) {
_local3 = -_local3;
}
_local2._alpha = _local3;
_local2._xscale = _local3;
_local2._yscale = _local3;
mcParent.flocon._visible = false;
}
nb_added_curr = _local5;
}
function next() {
add();
angle_rad = angle_rad + 0.1;
if (angle_rad > (2 * Math.PI)) {
angle_rad = 0;
}
var _local3 = 0;
for ( ; _local3 < nb_added_curr ; _local3++) {
var _local2 = mcParent["flocon" + _local3];
_local2._y = _local2._y + _local2.vitesse;
_local2._x = _local2.pos_x + (Math.cos(angle_rad + _local2.dephasage) * ampl);
if (vitesseMax >= 0) {
if (_local2._y > (area_ht + area_y)) {
_local2._y = area_y;
}
} else if (_local2._y < 0) {
_local2._y = area_ht + area_y;
}
}
}
function random(max) {
var _local3 = Math.random() * max;
return(Math.floor(_local3));
}
//ASSetPropFlags(_local1, null, 1);
var angle_rad = 0;
var area_x = 800;
var area_y = 800;
var area_lg = 800;
var area_ht = 600;
var dephasage = 30;
var nb_Pieces = 200;
var ampl = 0;
var vitesseMax = 100;
var vitesseMin = 0;
var nb_pieces_added = 2;
var step_add = 20;
var step_add_curr = -1;
var nb_added_curr = 0;
}
Symbol 20484 MovieClip [__Packages.ea_console] Frame 0
class ea_console
{
var mc, mess, firstLine, textArea;
function ea_console (mcP) {
_root.player_console = this;
mc.player_console = this;
mc = mcP;
mess = "console\n";
firstLine = 0;
}
function log(textP) {
}
function info(textP) {
}
function warn(textP) {
}
function error(textP) {
}
function clear() {
}
static function getConsole() {
return(_root.player_console);
}
static function setNbLinesAff(nbLinesAffP) {
getConsole().nbLinesAff = nbLinesAffP;
}
static function setLgMaxLigne(lgP) {
getConsole().lgMaxLigne = lgP;
}
static function setFirstLine_(valP) {
getConsole().firstLine = valP;
}
static function setAdd_(flagP) {
getConsole().setAdd(flagP);
}
static function setDisplay_(flagP) {
getConsole().setDisplay(flagP);
}
static function setHidden_(flagP) {
getConsole().setHidden(flagP);
}
static function isAdd_() {
return(getConsole().flagAdd);
}
static function isDisplay_() {
return(getConsole().flagDisplay);
}
static function isHidden_() {
return(getConsole().flagHidden);
}
static function init(mcP) {
_root.player_console = new ea_console(mcP);
if (nbMessagesMemo > 0) {
var _local3 = 0;
for ( ; _local3 < nbMessagesMemo ; _local3++) {
add_(messagesMemo[_local3]);
}
messagesMemo = null;
nbMessagesMemo = 0;
}
}
static function initOpen_(mc) {
getConsole().initOpen(mc);
}
static function displayMessage_(firstLineP) {
getConsole().displayMessage(firstLineP);
}
static function add_(messageP) {
var _local3 = getConsole();
if (_local3 == null) {
memoMessage(messageP);
return(undefined);
}
_local3.add(messageP);
}
static function memoMessage(messageP) {
messagesMemo[nbMessagesMemo++] = messageP;
}
static function addTab_(messageP, flagDisplayNum) {
getConsole().addTab(messageP, flagDisplayNum);
}
static function clearMessage_() {
getConsole().clearMessage();
}
static function up_() {
getConsole().up();
}
static function down_() {
getConsole().down();
}
static function hide_() {
getConsole().mc.gotoAndStop(1);
}
static function show_() {
getConsole().show();
}
function setHidden(flagP) {
flagHidden = flagP;
if (flagP) {
hide_();
}
}
function setAdd(flagP) {
flagAdd = flagP;
if (flagP) {
displayMessageAtEnd();
}
}
function setDisplay(flagP) {
flagDisplay = flagP;
if (flagP) {
displayMessageAtEnd();
}
}
function initOpen(mc) {
textArea = mc.text_area;
}
function add(messageP) {
if (!flagAdd) {
return(undefined);
}
addLine(messageP);
firstLine = 1000000 /* 0x0F4240 */;
if (!flagHidden) {
displayMessageAtEnd();
show_();
}
}
function addTab(messageP, flagDisplayNum) {
if (messageP == null) {
add("tableau vide");
}
var _local4 = messageP.length;
var _local5 = "";
add(newline);
if (flagDisplayNum) {
add("----tableau--------------------");
}
var _local6 = 0;
for ( ; _local6 < _local4 ; _local6++) {
if (flagDisplayNum) {
_local5 = ("[" + _local6) + "]";
}
add(_local5 + messageP[_local6]);
}
}
function addLine(messageP) {
if (!flagAdd) {
return(undefined);
}
mess = mess + (messageP + newline);
}
function displayMessageAtEnd() {
displayMessage(1000000);
}
function displayMessage(firstLineP) {
if (!flagDisplay) {
return(undefined);
}
_root.message_player_console = mess;
if ((firstLineP != null) && (firstLineP >= 0)) {
firstLine = firstLineP;
}
var _local3 = textArea.maxscroll;
if (firstLine > _local3) {
firstLine = _local3;
}
if (firstLine < 0) {
firstLine = 0;
}
textArea.scroll = firstLine;
}
function show() {
mc.gotoAndStop(2);
displayMessage(-1);
}
function clearMessage() {
mess = "";
_root.message_player_console = "";
firstLine = 0;
displayMessage(-1);
}
function up() {
firstLine = textArea.scroll;
if (firstLine > 0) {
firstLine--;
}
displayMessage(-1);
}
function down() {
firstLine = textArea.scroll;
var _local2 = textArea.maxscroll;
if (firstLine < _local2) {
firstLine++;
}
displayMessage(-1);
}
//ASSetPropFlags(_local1, null, 1);
static var freeze = false;
static var display = true;
static var nbMessagesMemo = 0;
static var messagesMemo = new Array();
var nbLinesAff = 5;
var flagAdd = true;
var flagDisplay = true;
var flagHidden = false;
var lgMaxLigne = 60;
}