STORY   LOOP   FURRY   PORN   GAMES
• C •   SERVICES [?] [R] RND   POPULAR
Archived flashes:
229595
/disc/ · /res/     /show/ · /fap/ · /gg/ · /swf/P0001 · P2595 · P5190

<div style="position:absolute;top:-99px;left:-99px;"><img src="http://swfchan.com:57475/67113188?noj=FRM67113188-22DC" width="1" height="1"></div>

snake-without-limits.swf

This is the info page for
Flash #124737

(Click the ID number above for more basic data on this flash file.)


Text
Snake
Without Limits

Play without
Boundaries

Play with
Boundaries

(Normal score)

(Bonus scores)

By wouterB100

0000000000

Game Over

Your Score:

000000000

Restart

Menu

Score:

0000000000

000000000

Restart

Menu

ActionScript [AS1/AS2]

Frame 1
function onAPIConnected(e) { } jaludo.JaludoGameAPI.initialize(0, 20); jaludo.JaludoGameAPI.create(_root, "8262D3C9-D9A9-4B64-8791-A67D7380AE37"); jaludo.JaludoGameAPI.addEventListener(jaludo.JaludoGameAPI.ON_API_CONNECTED, onAPIConnected);
Frame 2
function setupgame() { removeMovieClip(bodypart0); trace("menu again"); if (bodypartsy) { i = bodypartsy.length - 1; while (i > 0) { removeMovieClip(eval ("bodypart" + i)); i--; } } bodypart._visible = false; } stop(); if (backtomenu == true) { setupgame(); }
Instance of Symbol 51 MovieClip in Frame 2
//component parameters onClipEvent (construct) { Type = "Intro"; }
Frame 3
function setupgame() { bodypart0.gotoAndStop(1); direction = ""; if (bodypartsy) { i = bodypartsy.length - 1; while (i > 0) { removeMovieClip(eval ("bodypart" + i)); i--; } } popup._visible = false; bodypart._visible = false; do { food._x = snakepit._x + (Math.floor(((snakepit._width - food._width) / food._width) * Math.random()) * food._width); food._y = snakepit._y + (Math.floor(((snakepit._height - food._height) / food._height) * Math.random()) * food._height); bodypart0._x = snakepit._x + (Math.floor(((snakepit._width - food._width) / food._width) * Math.random()) * food._width); bodypart0._y = snakepit._y + (Math.floor(((snakepit._height - food._height) / food._height) * Math.random()) * food._height); } while ((bodypart0._x == food._x) && (bodypart0._y == food._y)); framecount = 0; score = 0; points = 75; game = true; bodypartsx = new Array(); bodypartsy = new Array(); bodypartsx.push(bodypart0._x); bodypartsy.push(bodypart0._y); } function dead() { popup.score = "score: " + score; popup.swapDepths(this.getNextHighestDepth()); popup._visible = true; popup.gotoAndPlay(2); bodypart0.gotoAndStop(2); game = false; ingame = false; jaludo.JaludoGameAPI.sendScore(score, 1); } function eat() { duplicateMovieClip (bodypart, "bodypart" + bodypartsy.length, this.getNextHighestDepth()); bodypart0.swapDepths(this.getNextHighestDepth()); eval ("bodypart" + bodypartsy.length)._y = eval ("bodypart" + (bodypartsy.length - 1))._y; eval ("bodypart" + bodypartsx.length)._x = eval ("bodypart" + (bodypartsy.length - 1))._x; bodypartsy.push(eval ("bodypart" + bodypartsy.length)._y); bodypartsx.push(eval ("bodypart" + bodypartsx.length)._x); do { food._x = snakepit._x + (Math.floor(((snakepit._width - food._width) / food._width) * Math.random()) * food._width); food._y = snakepit._y + (Math.floor(((snakepit._height - food._height) / food._height) * Math.random()) * food._height); bonusornot = random(2) + 1; trace((bonusornot + " ") + _root.bonusactive); if ((bonusornot == 2) && (_root.bonusactive == 1)) { bonus.gotoAndPlay(2); bonus._x = snakepit._x + (Math.floor(((snakepit._width - bonus._width) / bonus._width) * Math.random()) * bonus._width); bonus._y = snakepit._y + (Math.floor(((snakepit._height - bonus._height) / bonus._height) * Math.random()) * bonus._height); } } while (insideSnake(food._x, food._y)); score = score + points; points = 75; } function insideSnake(xneedle, yneedle, skiphead) { if (skiphead) { startat = 1; } else { startat = 0; } q = startat; while (q < bodypartsx.length) { if (bodypartsx[q] == xneedle) { if (bodypartsy[q] == yneedle) { return(true); } } q++; } return(false); } stop(); setupgame(); _root.bonusactive = 1; this.onEnterFrame = function () { if (game) { if (direction != "") { ingame = true; } if ((framecount / 5) == Math.ceil(framecount / 5)) { bodypartsy[0] = bodypart0._y; bodypartsx[0] = bodypart0._x; i = bodypartsy.length - 1; while (i > 0) { eval ("bodypart" + i)._y = bodypartsy[i - 1]; eval ("bodypart" + i)._x = bodypartsx[i - 1]; bodypartsy[i] = eval ("bodypart" + i)._y; bodypartsx[i] = eval ("bodypart" + i)._x; i--; } if ((food._x == bodypart0._x) && (food._y == bodypart0._y)) { eat(); } if ((bonus._x == bodypart0._x) && (bonus._y == bodypart0._y)) { bonus.gotoAndStop(161); score = score + 25; } if (direction) { if (direction == "up") { if (bodypart0._y <= snakepit._y) { bodypart0._y = bodypart0._y + 380; } else { bodypart0._y = bodypart0._y - bodypart0._width; bodypart0.types.gotoAndStop(4); } } else if (direction == "down") { if ((bodypart0._y + bodypart0._height) >= ((snakepit._y + snakepit._height) - 2)) { bodypart0._y = bodypart0._y - 380; } else { bodypart0._y = bodypart0._y + bodypart0._width; bodypart0.types.gotoAndStop(3); } } else if (direction == "right") { if ((bodypart0._x + bodypart0._width) >= ((snakepit._x + snakepit._width) - 7)) { bodypart0._x = bodypart0._x - 660; } else { bodypart0._x = bodypart0._x + bodypart0._width; bodypart0.types.gotoAndStop(1); } } else if (direction == "left") { if (bodypart0._x <= snakepit._x) { bodypart0._x = bodypart0._x + 660; } else { bodypart0._x = bodypart0._x - bodypart0._width; bodypart0.types.gotoAndStop(2); } } } if (game) { if (insideSnake(bodypart0._x, bodypart0._y, true)) { dead(); } } } framecount++; } }; keyListener = new Object(); keyListener.onKeyDown = function () { keycode = Key.getCode(); if (keycode == 37) { keyListener2 = new Object(); keyListener2.onKeyDown = keyListener(); if (direction == "right") { } else if (bodypart1._y == bodypart0._y) { trace("zelfde hoogte"); } else { direction = "left"; } } else if (keycode == 38) { keyListener2 = new Object(); keyListener2.onKeyDown = keyListener(); if (direction == "down") { } else if (bodypart1._x == bodypart0._x) { trace("zelfde hoogte"); } else { direction = "up"; } } else if (keycode == 39) { keyListener2 = new Object(); keyListener2.onKeyDown = keyListener(); if (direction == "left") { } else if (bodypart1._y == bodypart0._y) { trace("zelfde hoogte"); } else { direction = "right"; } } else if (keycode == 40) { keyListener2 = new Object(); keyListener2.onKeyDown = keyListener(); if (direction == "up") { } else if (bodypart1._x == bodypart0._x) { trace("zelfde hoogte"); } else { direction = "down"; } } }; Key.addListener(keyListener); Key.addListener(keyListener2); countdown = function () { if ((ingame == true) && (points > 1)) { points--; } if (points == 5) { } }; countdownInterval = setInterval(countdown, 50);
Frame 4
function setupgame() { bodypart0.gotoAndStop(1); direction = ""; if (bodypartsy) { i = bodypartsy.length - 1; while (i > 0) { removeMovieClip(eval ("bodypart" + i)); i--; } } popup._visible = false; bodypart._visible = false; do { food._x = snakepit._x + (Math.floor(((snakepit._width - food._width) / food._width) * Math.random()) * food._width); food._y = snakepit._y + (Math.floor(((snakepit._height - food._height) / food._height) * Math.random()) * food._height); bodypart0._x = snakepit._x + (Math.floor(((snakepit._width - food._width) / food._width) * Math.random()) * food._width); bodypart0._y = snakepit._y + (Math.floor(((snakepit._height - food._height) / food._height) * Math.random()) * food._height); } while ((bodypart0._x == food._x) && (bodypart0._y == food._y)); framecount = 0; score = 0; points = 75; game = true; bodypartsx = new Array(); bodypartsy = new Array(); bodypartsx.push(bodypart0._x); bodypartsy.push(bodypart0._y); } function dead() { popup.score = "score: " + score; popup.swapDepths(this.getNextHighestDepth()); popup._visible = true; popup.gotoAndPlay(2); bodypart0.gotoAndStop(2); game = false; ingame = false; jaludo.JaludoGameAPI.sendScore(score, 1); } function eat() { duplicateMovieClip (bodypart, "bodypart" + bodypartsy.length, this.getNextHighestDepth()); bodypart0.swapDepths(this.getNextHighestDepth()); eval ("bodypart" + bodypartsy.length)._y = eval ("bodypart" + (bodypartsy.length - 1))._y; eval ("bodypart" + bodypartsx.length)._x = eval ("bodypart" + (bodypartsy.length - 1))._x; bodypartsy.push(eval ("bodypart" + bodypartsy.length)._y); bodypartsx.push(eval ("bodypart" + bodypartsx.length)._x); do { food._x = snakepit._x + (Math.floor(((snakepit._width - food._width) / food._width) * Math.random()) * food._width); food._y = snakepit._y + (Math.floor(((snakepit._height - food._height) / food._height) * Math.random()) * food._height); bonusornot = random(2) + 1; trace((bonusornot + " ") + _root.bonusactive); if ((bonusornot == 2) && (_root.bonusactive == 1)) { bonus.gotoAndPlay(2); bonus._x = snakepit._x + (Math.floor(((snakepit._width - bonus._width) / bonus._width) * Math.random()) * bonus._width); bonus._y = snakepit._y + (Math.floor(((snakepit._height - bonus._height) / bonus._height) * Math.random()) * bonus._height); } } while (insideSnake(food._x, food._y)); score = score + points; points = 75; } function insideSnake(xneedle, yneedle, skiphead) { if (skiphead) { startat = 1; } else { startat = 0; } q = startat; while (q < bodypartsx.length) { if (bodypartsx[q] == xneedle) { if (bodypartsy[q] == yneedle) { return(true); } } q++; } return(false); } stop(); setupgame(); _root.bonusactive = 1; this.onEnterFrame = function () { if (game) { if (direction != "") { ingame = true; } if ((framecount / 5) == Math.ceil(framecount / 5)) { bodypartsy[0] = bodypart0._y; bodypartsx[0] = bodypart0._x; i = bodypartsy.length - 1; while (i > 0) { eval ("bodypart" + i)._y = bodypartsy[i - 1]; eval ("bodypart" + i)._x = bodypartsx[i - 1]; bodypartsy[i] = eval ("bodypart" + i)._y; bodypartsx[i] = eval ("bodypart" + i)._x; i--; } if ((food._x == bodypart0._x) && (food._y == bodypart0._y)) { eat(); } if ((bonus._x == bodypart0._x) && (bonus._y == bodypart0._y)) { bonus.gotoAndStop(161); score = score + 50; } if (direction) { if (direction == "up") { if (bodypart0._y <= snakepit._y) { dead(); } else { bodypart0._y = bodypart0._y - bodypart0._width; bodypart0.types.gotoAndStop(4); } } else if (direction == "down") { if ((bodypart0._y + bodypart0._height) >= ((snakepit._y + snakepit._height) - 2)) { dead(); } else { bodypart0._y = bodypart0._y + bodypart0._width; bodypart0.types.gotoAndStop(3); } } else if (direction == "right") { if ((bodypart0._x + bodypart0._width) >= ((snakepit._x + snakepit._width) - 7)) { dead(); } else { bodypart0._x = bodypart0._x + bodypart0._width; bodypart0.types.gotoAndStop(1); } } else if (direction == "left") { if (bodypart0._x <= snakepit._x) { dead(); } else { bodypart0._x = bodypart0._x - bodypart0._width; bodypart0.types.gotoAndStop(2); } } } if (game) { if (insideSnake(bodypart0._x, bodypart0._y, true)) { dead(); } } } framecount++; } }; keyListener = new Object(); keyListener.onKeyDown = function () { keycode = Key.getCode(); if (keycode == 37) { keyListener2 = new Object(); keyListener2.onKeyDown = keyListener(); if (direction == "right") { } else if (bodypart1._y == bodypart0._y) { trace("zelfde hoogte"); } else { direction = "left"; } } else if (keycode == 38) { keyListener2 = new Object(); keyListener2.onKeyDown = keyListener(); if (direction == "down") { } else if (bodypart1._x == bodypart0._x) { trace("zelfde hoogte"); } else { direction = "up"; } } else if (keycode == 39) { keyListener2 = new Object(); keyListener2.onKeyDown = keyListener(); if (direction == "left") { } else if (bodypart1._y == bodypart0._y) { trace("zelfde hoogte"); } else { direction = "right"; } } else if (keycode == 40) { keyListener2 = new Object(); keyListener2.onKeyDown = keyListener(); if (direction == "up") { } else if (bodypart1._x == bodypart0._x) { trace("zelfde hoogte"); } else { direction = "down"; } } }; Key.addListener(keyListener); countdown = function () { if ((ingame == true) && (points > 1)) { points--; } if (points == 8) { } }; countdownInterval = setInterval(countdown, 50);
Symbol 95 MovieClip [__Packages.mx.events.EventDispatcher] Frame 0
class mx.events.EventDispatcher { function EventDispatcher () { } static function _removeEventListener(queue, event, handler) { if (queue != undefined) { var _local4 = queue.length; var _local1; _local1 = 0; while (_local1 < _local4) { var _local2 = queue[_local1]; if (_local2 == handler) { queue.splice(_local1, 1); return(undefined); } _local1++; } } } static function initialize(object) { if (_fEventDispatcher == undefined) { _fEventDispatcher = new mx.events.EventDispatcher(); } object.addEventListener = _fEventDispatcher.addEventListener; object.removeEventListener = _fEventDispatcher.removeEventListener; object.dispatchEvent = _fEventDispatcher.dispatchEvent; object.dispatchQueue = _fEventDispatcher.dispatchQueue; } function dispatchQueue(queueObj, eventObj) { var _local7 = "__q_" + eventObj.type; var _local4 = queueObj[_local7]; if (_local4 != undefined) { var _local5; for (_local5 in _local4) { var _local1 = _local4[_local5]; var _local3 = typeof(_local1); if ((_local3 == "object") || (_local3 == "movieclip")) { if (_local1.handleEvent != undefined) { _local1.handleEvent(eventObj); } if (_local1[eventObj.type] != undefined) { if (exceptions[eventObj.type] == undefined) { _local1[eventObj.type](eventObj); } } } else { _local1.apply(queueObj, [eventObj]); } } } } function dispatchEvent(eventObj) { if (eventObj.target == undefined) { eventObj.target = this; } this[eventObj.type + "Handler"](eventObj); dispatchQueue(this, eventObj); } function addEventListener(event, handler) { var _local3 = "__q_" + event; if (this[_local3] == undefined) { this[_local3] = new Array(); } _global.ASSetPropFlags(this, _local3, 1); _removeEventListener(this[_local3], event, handler); this[_local3].push(handler); } function removeEventListener(event, handler) { var _local2 = "__q_" + event; _removeEventListener(this[_local2], event, handler); } static var _fEventDispatcher = undefined; static var exceptions = {move:1, draw:1, load:1}; }
Symbol 96 MovieClip [__Packages.jaludo.JaludoGameAPI] Frame 0
class jaludo.JaludoGameAPI extends mx.events.EventDispatcher { static var container, api_manager, instance; function JaludoGameAPI (pos_x, pos_y) { super(); jaludo.api.as2.Locator.API_POS_X = pos_x; jaludo.api.as2.Locator.API_POS_Y = pos_y; } static function create(root, game_key) { if (!is_API_created) { is_API_created = true; container = root.createEmptyMovieClip("content", root.getNextHighestDepth()); api_manager = new jaludo.api.as2.JaludoManager(container, game_key); api_manager.addEventListener(jaludo.api.as2.JaludoManager.PAUSE_EVENT_MANAGER, mx.utils.Delegate.create(instance, onPauseEvent)); api_manager.addEventListener(jaludo.api.as2.JaludoManager.ON_API_CREATED_MANAGER, mx.utils.Delegate.create(instance, onAPIConnected)); api_manager.addEventListener(jaludo.api.as2.JaludoManager.ACH_SCORE_EVENT_MANAGER, mx.utils.Delegate.create(instance, onScoreEvent)); api_manager.addEventListener(jaludo.api.as2.JaludoManager.ON_USER_LOGOUT_MANAGER, mx.utils.Delegate.create(instance, onUserLogout)); } else { trace("WARNING: the API method 'create' has been already called"); if (was_API_connected) { onAPIConnected({type:ON_API_CONNECTED, data:{success:true}}); } } } static function addEventListener(event, handler) { instance.addEventListener(event, handler); } static function removeEventListener(event, handler) { instance.removeEventListener(event, handler); } static function onPauseEvent(event) { instance.dispatchEvent({type:PAUSE_EVENT, data:{state:event.data.state}}); } static function onAPIConnected(event) { was_API_connected = true; instance.dispatchEvent({type:ON_API_CONNECTED, data:{success:event.data.success}}); } static function onScoreEvent(event) { instance.dispatchEvent({type:ACH_SCORE_EVENT, data:event.data}); } static function onUserLogout(event) { instance.dispatchEvent({type:ON_USER_LOGOUT}); } static function sendScore(value, level) { api_manager.sendScore(value, level); } static function registerAchievement(unique_name, title, description, mc_linkage_img) { api_manager.registerAchievement(unique_name, title, description, mc_linkage_img); } static function unlockAchievement(unique_name, level) { api_manager.unlockAchievement(unique_name, level); } static function gameStarted() { api_manager.gameStarted(); } static function gameEnded() { api_manager.gameEnded(); } static function initialize(pos_x, pos_y) { if (instance == undefined) { instance = new jaludo.JaludoGameAPI(pos_x, pos_y); } else { trace("WARNING: the API method 'initialize' has been already called"); } } static var PAUSE_EVENT = "PAUSE_EVENT"; static var ON_API_CONNECTED = "ON_API_CONNECTED"; static var ACH_SCORE_EVENT = "ACH_SCORE_EVENT"; static var ON_USER_LOGOUT = "ON_USER_LOGOUT"; static var is_API_created = false; static var was_API_connected = false; }
Symbol 97 MovieClip [__Packages.jaludo.api.as2.JaludoManager] Frame 0
class jaludo.api.as2.JaludoManager extends mx.events.EventDispatcher { var _container, _game_key, _connectionId, fnSettingsReady, _mc_loader, _ob_image_listener, _content, _cookie_loader, _obj_listener_cookie, mc_cookie, _sharedObject, _user_session, _remote_connection_name, sendingLocal, receivingLocal, menu, loginContainer, log, fnUserLogged, registerContainer, register, achievements, score, _profile, txtInfo, achievements_were_loaded, jaludoApi_btnLogin, jaludoApi_btnRegister, jaludoApi_btnShowProfile, fnCallRegister, fnInvalidLogin, jaludoApi_txtUser, jaludoApi_btnLogout, _mc_blocker, jaludoApi_btnProfile, jaludoApi_txtCoins, jaludoApi_btnTopscore, jaludoApi_btnAchievements, jaludoApi_btnClose, _actualTabProfile, jaludoApi_profileContent, __get__actualTabProfile; function JaludoManager (container, gameKey) { super(); _container = container; System.security.allowDomain("*"); System.security.allowInsecureDomain("*"); jaludo.api.as2.Locator.GAME_WIDTH = Stage.width; jaludo.api.as2.Locator.GAME_HEIGHT = Stage.height; _container._x = jaludo.api.as2.Locator.API_POS_X; _container._y = jaludo.api.as2.Locator.API_POS_Y; _game_key = gameKey; _connectionId = ""; initialize(); } function initialize() { fnSettingsReady = mx.utils.Delegate.create(this, onSettingsReady); jaludo.api.as2.APISettings.__get__instance().loadXML("APISettings.xml"); jaludo.api.as2.APISettings.__get__instance().addEventListener(jaludo.api.as2.APISettings.__get__instance().READY, fnSettingsReady); } function onSettingsReady() { jaludo.api.as2.APISettings.__get__instance().removeEventListener(jaludo.api.as2.APISettings.__get__instance().READY, fnSettingsReady); _mc_loader = new MovieClipLoader(); _ob_image_listener = new Object(); _ob_image_listener.onLoadInit = mx.utils.Delegate.create(this, onAssetsLoadInit); _mc_loader.addListener(_ob_image_listener); _mc_loader.loadClip(jaludo.api.as2.APISettings.__get__instance().getData("assets_url"), _container); } function onAssetsLoadInit(target_mc) { _content = target_mc; _connectionId = target_mc.connection_id; _cookie_loader = new MovieClipLoader(); _obj_listener_cookie = {}; _obj_listener_cookie.onLoadInit = mx.utils.Delegate.create(this, onCookieLoadInit); mc_cookie = _container.createEmptyMovieClip("cookie", _container.getNextHighestDepth()); _cookie_loader.addListener(_obj_listener_cookie); _cookie_loader.loadClip(jaludo.api.as2.APISettings.__get__instance().getData("shared_object_url"), mc_cookie); } function onCookieLoadInit(target) { _sharedObject = target.sharedObject; _user_session = cookieRetrieve("user_session"); init(); } function init() { trace("JaludoManager.init " + _connectionId); _remote_connection_name = "_receptor_AS2_remote" + _connectionId; sendingLocal = new LocalConnection(); receivingLocal = new LocalConnection(); receivingLocal.allowDomain = function () { return(true); }; receivingLocal.connect("_receptor_AS2_client" + _connectionId); createConnection(); } function createConnection() { menu = _content.attachMovie("jaludoApi_menu", "jaludoApi_menu", _content.getNextHighestDepth()); jaludo.api.as2.User.__get__instance().__set__username(jaludo.api.as2.User.GUEST_USER); trace("User.instance.username : " + jaludo.api.as2.User.__get__instance().__get__username()); loginContainer = _content.createEmptyMovieClip("loginContainer", _content.getNextHighestDepth()); log = new jaludo.api.as2.Login(this, loginContainer); fnUserLogged = mx.utils.Delegate.create(this, userLogged); log.addEventListener(jaludo.api.as2.Login.USER_LOGED_EVENT, fnUserLogged); registerContainer = _content.createEmptyMovieClip("regContainer", _content.getNextHighestDepth()); register = new jaludo.api.as2.Registration(this, registerContainer); achievements = new jaludo.api.as2.Achievements(this, _content); score = new jaludo.api.as2.Score(this); _profile = new jaludo.api.as2.Profile(this); receivingLocal.connectSuccess = mx.utils.Delegate.create(this, connectSuccess); receivingLocal.connectError = mx.utils.Delegate.create(this, connectError); receivingLocal.loginSuccess = mx.utils.Delegate.create(log, log.loginSuccess); receivingLocal.loginInvalid = mx.utils.Delegate.create(log, log.loginInvalid); receivingLocal.loginFailed = mx.utils.Delegate.create(log, log.loginFailed); receivingLocal.traceLog = mx.utils.Delegate.create(this, traceLog); receivingLocal.registerSuccesfull = mx.utils.Delegate.create(register, register.registerSuccesfull); receivingLocal.userInvalid = mx.utils.Delegate.create(register, register.userInvalid); receivingLocal.registerError = mx.utils.Delegate.create(register, register.registerError); receivingLocal.showTopScores = mx.utils.Delegate.create(score, score.showTopScores); receivingLocal.topScoresError = mx.utils.Delegate.create(score, score.topScoresError); receivingLocal.savedSuccesful = mx.utils.Delegate.create(score, score.savedSuccesful); receivingLocal.savedFailed = mx.utils.Delegate.create(score, score.savedFailed); receivingLocal.achievementsReceived = mx.utils.Delegate.create(achievements, achievements.achievementsReceived); receivingLocal.achievementsReceivedFailed = mx.utils.Delegate.create(achievements, achievements.achievementsReceivedFailed); receivingLocal.achievementDataReceived = mx.utils.Delegate.create(achievements, achievements.achievementDataReceived); receivingLocal.profileReceived = mx.utils.Delegate.create(_profile, _profile.profileReceived); receivingLocal.profileReceivedFailed = mx.utils.Delegate.create(_profile, _profile.profileReceivedFailed); receivingLocal.passwordChanged = mx.utils.Delegate.create(_profile, _profile.passwordChanged); receivingLocal.passwordChangeFailed = mx.utils.Delegate.create(_profile, _profile.passwordChangeFailed); receivingLocal.wrongActualPassword = mx.utils.Delegate.create(_profile, _profile.wrongActualPassword); receivingLocal.imageChanged = mx.utils.Delegate.create(_profile, _profile.imageChanged); receivingLocal.imageChangeFailed = mx.utils.Delegate.create(_profile, _profile.imageChangeFailed); sendingLocal.send(_remote_connection_name, "setGateway", {url:jaludo.api.as2.APISettings.__get__instance().getData("gateway")}); var _local2 = new Object(); _local2.gameId = _game_key; sendingLocal.send(_remote_connection_name, "setGame", _local2); txtInfo = _content.txtInfo; txtInfo.text = "Link stablished with the server..."; achievements_were_loaded = false; } function activeButtonsMenu(obj) { trace("-------jaludo_GUI.activeButtonsMenu---------"); jaludoApi_btnLogin = menu.jaludoApi_btnLogin; jaludoApi_btnRegister = menu.jaludoApi_btnRegister; jaludoApi_btnShowProfile = menu.jaludoApi_btnShowProfile; log.removeEventListener(jaludo.api.as2.Login.CALL_REGISTER_EVENT, fnCallRegister); fnCallRegister = mx.utils.Delegate.create(register, register.register); log.addEventListener(jaludo.api.as2.Login.CALL_REGISTER_EVENT, fnCallRegister); jaludoApi_btnLogin.onRelease = mx.utils.Delegate.create(log, log.login); jaludoApi_btnRegister.onRelease = mx.utils.Delegate.create(register, register.register); jaludoApi_btnShowProfile.onRelease = mx.utils.Delegate.create(this, showProfile); } function connectSuccess(e) { for (var _local3 in e) { trace((("key : " + _local3) + ", value : ") + e[_local3]); } trace("e : " + e.game_name); jaludo.api.as2.Game.__get__instance().__set__name(e.game_name); dispatchEvent({type:ON_API_CREATED_MANAGER, data:{success:true}}); txtInfo.text = "Link established"; trace("***valor de la cookie---> " + _user_session); if (_user_session != undefined) { log.callAuthSession(_user_session); trace("user session werkt niet"); } else { activeButtonsMenu(); trace("user session werkt"); } fnInvalidLogin = mx.utils.Delegate.create(this, sessionData); log.addEventListener(jaludo.api.as2.Login.INVALID_LOGIN_EVENT, fnInvalidLogin); } function sessionData(e) { for (var _local3 in e) { trace((("key : " + _local3) + ", value : ") + e[_local3]); } if (e.connect == "need_login") { trace("***session expired***"); activeButtonsMenu(); } else if (e.connect == "need_confirm") { trace("***Necesita confirmar***"); activeButtonsMenu(); } else if (e.connect == "failed") { activeButtonsMenu(); } } function connectError(error) { trace("Error al conectarse"); } function userLogged(e) { trace("JaludoManager.userLogged > e : " + e); txtInfo.text = "User has log in correctly"; log.removeEventListener(jaludo.api.as2.Login.USER_LOGED_EVENT, userLogged); log.removeEventListener(jaludo.api.as2.Login.INVALID_LOGIN_EVENT, fnInvalidLogin); gotoWhatMenu(); achievements_were_loaded = false; checkGetAchievements(); score.sendLocalScore(); } function gotoWhatMenu() { if (jaludo.api.as2.User.__get__instance().__get__username() != jaludo.api.as2.User.GUEST_USER) { loggedMenu(); } else { loggedGuestMenu(); } trace("por aqui hacia api_pos"); menu._x = 1000; menu._y = 1000; _container._x = jaludo.api.as2.Locator.API_POS_X; _container._y = jaludo.api.as2.Locator.API_POS_Y; } function registerAchievement(unique_name, title, description, mc_linkage_img) { achievements.registerAchievement(unique_name, title, description, mc_linkage_img); } function unlockAchievement(unique_name, level) { achievements.unlockAchievement(unique_name, level); } function gameStarted() { gotoWhatMenu(); checkGetAchievements(); } function gameEnded() { achievements.loadLocalUnlockedAchievements("end"); } function checkGetAchievements() { if (!achievements_were_loaded) { achievements_were_loaded = true; if (jaludo.api.as2.User.__get__instance().__get__username() == jaludo.api.as2.User.GUEST_USER) { achievements.getAllAchievements(false); } else { achievements.getAllAchievements(true); } } } function basicLoginMenu() { menu.gotoAndStop("login"); activeButtonsMenu(); menu._x = 0; menu._y = 0; _container._x = jaludo.api.as2.Locator.API_POS_X; _container._y = jaludo.api.as2.Locator.API_POS_Y; } function loggedMenu() { menu.gotoAndStop("logged"); jaludoApi_txtUser = menu.jaludoApi_txtUser; jaludoApi_txtUser.text = jaludo.api.as2.User.__get__instance().username; jaludoApi_btnLogout = menu.jaludoApi_btnLogout; jaludoApi_btnLogout.onRelease = mx.utils.Delegate.create(this, onLogout); jaludoApi_btnShowProfile = menu.jaludoApi_btnShowProfile; jaludoApi_btnShowProfile.onRelease = mx.utils.Delegate.create(this, showProfile); } function loggedGuestMenu() { menu.gotoAndStop("logged_guest"); jaludoApi_btnLogin = menu.jaludoApi_btnLogin; jaludoApi_btnRegister = menu.jaludoApi_btnRegister; jaludoApi_btnLogin.onRelease = mx.utils.Delegate.create(log, log.login); jaludoApi_btnRegister.onRelease = mx.utils.Delegate.create(register, register.register); jaludoApi_btnShowProfile = menu.jaludoApi_btnShowProfile; jaludoApi_btnShowProfile.onRelease = mx.utils.Delegate.create(this, showProfile); } function openLoginPopup() { closeProfile(); log.login(); } function openRegistrationPopup() { closeProfile(); register.register(); } function showProfile() { _mc_blocker = new jaludo.api.as2.Blocker(_content); dispatchEvent({type:PAUSE_EVENT_MANAGER, data:{state:true}}); menu.swapDepths(_mc_blocker.mc); if (jaludo.api.as2.User.__get__instance().__get__username() != jaludo.api.as2.User.GUEST_USER) { menu.gotoAndStop("profile"); jaludoApi_btnProfile = menu.jaludoApi_btnProfile; jaludoApi_txtUser = menu.jaludoApi_txtUser; jaludoApi_txtCoins = menu.jaludoApi_txtCoins; actualTabProfile = (TAB_PROFILE); jaludoApi_btnProfile._caller = this; jaludoApi_btnProfile.tab = TAB_PROFILE; jaludoApi_btnProfile.onRelease = function () { this._caller.setTab(this); }; jaludoApi_txtUser.text = jaludo.api.as2.User.__get__instance().username; } else { menu.gotoAndStop("profile_guest"); jaludoApi_btnTopscore = menu.jaludoApi_btnTopscore; actualTabProfile = (TAB_TOPSCORE); jaludoApi_btnLogin = menu.jaludoApi_btnLogin; jaludoApi_btnRegister = menu.jaludoApi_btnRegister; log.removeEventListener(jaludo.api.as2.Login.CALL_REGISTER_EVENT, fnCallRegister); fnCallRegister = mx.utils.Delegate.create(register, register.register); log.addEventListener(jaludo.api.as2.Login.CALL_REGISTER_EVENT, fnCallRegister); jaludoApi_btnLogin.onRelease = mx.utils.Delegate.create(this, openLoginPopup); jaludoApi_btnRegister.onRelease = mx.utils.Delegate.create(this, openRegistrationPopup); } menu._x = jaludo.api.as2.Locator.getCenterX(); menu._y = jaludo.api.as2.Locator.getCenterY(); jaludoApi_btnTopscore = menu.jaludoApi_btnTopscore; jaludoApi_btnAchievements = menu.jaludoApi_btnAchievements; jaludoApi_btnClose = menu.jaludoApi_btnClose; jaludoApi_btnTopscore._caller = this; jaludoApi_btnTopscore.tab = TAB_TOPSCORE; jaludoApi_btnTopscore.onRelease = function () { this._caller.setTab(this); }; jaludoApi_btnAchievements._caller = this; jaludoApi_btnAchievements.tab = TAB_ACHIEVEMENTS; jaludoApi_btnAchievements.onRelease = function () { this._caller.setTab(this); }; jaludoApi_btnClose.onRelease = mx.utils.Delegate.create(this, closeProfile); } function closeProfile() { _mc_blocker.dispose(); dispatchEvent({type:PAUSE_EVENT_MANAGER, data:{state:false}}); achievements.dispose(); score.dispose(); _profile.dispose(); actualTabProfile = (""); gotoWhatMenu(); } function setTab(mc) { actualTabProfile = (mc.tab); } function onLogout() { txtInfo.text = "User has log out"; log.clearCookie(); jaludo.api.as2.User.__get__instance().__set__username(jaludo.api.as2.User.GUEST_USER); achievements.clearLocked(); basicLoginMenu(); dispatchEvent({type:ON_USER_LOGOUT_MANAGER}); } function registerCompleted(e) { for (var _local3 in e) { trace((("key--> : " + _local3) + ", value : ") + e[_local3]); } txtInfo.text = "Register Completed"; var _local5 = "You had been succesfully registered! You will receive an e-mail to complete the process of registration and then you will be able to login"; var _local4 = new jaludo.api.as2.utils.ModalsPopup(_content); _local4.showPopup(_local5, jaludo.api.as2.utils.ModalsPopup.TYPE_INFORMATIVE); log.callLoginFunction(e.user_name, e.password, "not-confirmated"); } function sendScore(value, level) { txtInfo.text = "Sending score"; score.sendScore(value, level); } function get sending() { return(sendingLocal); } function set actualTabProfile(value) { if (_actualTabProfile != value) { switch (_actualTabProfile) { case TAB_PROFILE : jaludoApi_btnProfile.gotoAndStop("up"); jaludoApi_txtUser.textColor = 16777215 /* 0xFFFFFF */; jaludoApi_txtCoins.textColor = 16777215 /* 0xFFFFFF */; _profile.dispose(); break; case TAB_TOPSCORE : jaludoApi_btnTopscore.gotoAndStop("up"); score.dispose(); break; case TAB_ACHIEVEMENTS : jaludoApi_btnAchievements.gotoAndStop("up"); achievements.dispose(); } _actualTabProfile = value; jaludoApi_profileContent = menu.jaludoApi_profileContent; if (value != "") { switch (value) { case TAB_PROFILE : jaludoApi_btnProfile.gotoAndStop("down"); jaludoApi_txtUser.textColor = 0; jaludoApi_txtCoins.textColor = 0; _profile.loadProfile(jaludoApi_profileContent); break; case TAB_TOPSCORE : trace("TAB_TOPSCORE : "); jaludoApi_btnTopscore.gotoAndStop("down"); score.initialize(jaludoApi_profileContent); break; case TAB_ACHIEVEMENTS : jaludoApi_btnAchievements.gotoAndStop("down"); achievements.showAchievements(jaludoApi_profileContent); } } } //return(__get__actualTabProfile()); } function setTxtCoins(coins) { jaludoApi_txtCoins.text = String(coins); } function traceLog(obj) { trace("--------------TRACE------------------"); for (var _local2 in obj._data) { trace((("key : " + _local2) + ", value : ") + obj._data[_local2]); } trace("--------------------------------------"); } function cookieStore(name, value) { trace((("JaludoManager.cookieStore > name : " + name) + ", value : ") + value); _sharedObject.data[name] = value; _sharedObject.flush(); } function cookieRetrieve(name) { var _local2; _local2 = _sharedObject.data[name]; return(_local2); } function cookieClear() { _sharedObject.clear(); } function dispatchEvent(e) { super.dispatchEvent(e); } function dispose() { } var TAB_PROFILE = "TAB_PROFILE"; var TAB_TOPSCORE = "TAB_TOPSCORE"; var TAB_ACHIEVEMENTS = "TAB_ACHIEVEMENTS"; static var PAUSE_EVENT_MANAGER = "PAUSE_EVENT_MANAGER"; static var ON_API_CREATED_MANAGER = "ON_API_CREATED_MANAGER"; static var ACH_SCORE_EVENT_MANAGER = "ACH_SCORE_EVENT_MANAGER"; static var ON_USER_LOGOUT_MANAGER = "ON_USER_LOGOUT_MANAGER"; }
Symbol 98 MovieClip [__Packages.jaludo.api.as2.Login] Frame 0
class jaludo.api.as2.Login extends mx.events.EventDispatcher { var sendingLocal, _caller, _content, _mc_blocker, jaludoApi_loginPopup, jaludoApi_btnCancel, jaludoApi_btnCallLogin, jaludoApi_btnSignUp, jaludoApi_txtUserImput, jaludoApi_txtPassImput, dispatchEvent, jaludoApi_txtLoginInvalid; function Login (caller, target) { super(this); sendingLocal = caller.sending; _caller = caller; _content = target; } function login() { _mc_blocker = new jaludo.api.as2.Blocker(_content); _caller.dispatchEvent({type:jaludo.api.as2.JaludoManager.PAUSE_EVENT_MANAGER, data:{state:true}}); _caller.menu._visible = false; jaludoApi_loginPopup = _content.attachMovie("jaludoApi_loginPopup", "jaludoApi_loginPopup", _content.getNextHighestDepth()); jaludoApi_loginPopup._x = jaludo.api.as2.Locator.getCenterX(); jaludoApi_loginPopup._y = jaludo.api.as2.Locator.getCenterY(); jaludoApi_btnCancel = jaludoApi_loginPopup.jaludoApi_btnCancel; jaludoApi_btnCallLogin = jaludoApi_loginPopup.jaludoApi_btnLogin; jaludoApi_btnSignUp = jaludoApi_loginPopup.jaludoApi_btnSignUp; jaludoApi_txtUserImput = jaludoApi_loginPopup.jaludoApi_txtUserImput; jaludoApi_txtPassImput = jaludoApi_loginPopup.jaludoApi_txtPassImput; jaludoApi_btnCancel.onRelease = mx.utils.Delegate.create(this, cancelLogin); jaludoApi_btnCallLogin.onRelease = mx.utils.Delegate.create(this, captureData); jaludoApi_btnSignUp.onRelease = mx.utils.Delegate.create(this, removeLoginPopup); jaludoApi_loginPopup.onEnterFrame = mx.utils.Delegate.create(this, detectKey); jaludoApi_txtUserImput.tabIndex = 1; Selection.setFocus(jaludoApi_txtUserImput); jaludoApi_txtPassImput.tabIndex = 2; jaludoApi_btnCallLogin.tabIndex = 3; jaludoApi_btnCancel.tabIndex = 4; jaludoApi_btnSignUp.tabIndex = 5; } function detectKey() { if (Key.isDown(13)) { captureData(); } else if (Key.isDown(27)) { cancelLogin(); } } function captureData() { trace("-----------------------Login.captureData------------------------------"); var _local2 = jaludoApi_txtUserImput.text; var _local3 = jaludoApi_txtPassImput.text; if (_caller.cookieRetrieve("user_session") == undefined) { callLoginFunction(_local2, _local3); } else { callAuthSession(_caller.cookieRetrieve("user_session")); } } function callAuthSession(session_key) { jaludoApi_loginPopup.onEnterFrame = null; var _local2 = new Object(); _local2.session_key = session_key; sendingLocal.send(_caller._remote_connection_name, "authSession", _local2); } function callLoginFunction(user, pass, state) { trace((((("Login.callLoginFunction > user : " + user) + ", pass : ") + pass) + ", state : ") + state); jaludoApi_loginPopup.onEnterFrame = null; var _local2 = new Object(); _local2.user = user; _local2.pass = pass; _local2.state = state; sendingLocal.send(_caller._remote_connection_name, "makeLogin", _local2); } function loginSuccess(obj) { trace("-------USER LOGGED----------"); jaludo.api.as2.User.__get__instance().__set__username(String(obj.user)); jaludo.api.as2.User.__get__instance().__set__image(String(obj.image_id)); saveCookie(String(obj.session_key)); dispatchEvent({type:USER_LOGED_EVENT}); dispose(); } function loginInvalid(obj) { for (var _local3 in obj) { trace((("key : " + _local3) + ", value : ") + obj[_local3]); } jaludoApi_loginPopup.onEnterFrame = mx.utils.Delegate.create(this, detectKey); jaludoApi_txtLoginInvalid = jaludoApi_loginPopup.jaludoApi_txtLoginInvalid; if (jaludoApi_txtLoginInvalid.text == "") { jaludoApi_txtLoginInvalid.text = "Login Invalid"; } dispatchEvent({type:INVALID_LOGIN_EVENT, connect:obj.connect}); } function loginFailed(obj) { trace("login failed " + obj.data); jaludoApi_loginPopup.onEnterFrame = mx.utils.Delegate.create(this, detectKey); } function cancelLogin() { trace("Login.cancelLogin"); dispose(); } function removeLoginPopup() { dispose(); dispatchEvent({type:CALL_REGISTER_EVENT}); } function saveCookie(session_key) { _caller.cookieStore("user_session", session_key); } function clearCookie() { _caller.cookieClear(); } function dispose() { _mc_blocker.dispose(); _caller.dispatchEvent({type:jaludo.api.as2.JaludoManager.PAUSE_EVENT_MANAGER, data:{state:false}}); _caller.menu._visible = true; jaludoApi_loginPopup.onEnterFrame = null; jaludoApi_loginPopup.removeMovieClip(); } static var USER_LOGED_EVENT = "USER_LOGED"; static var INVALID_LOGIN_EVENT = "INVALID_LOGIN_EVENT"; static var CALL_REGISTER_EVENT = "CALL_REGISTER"; }
Symbol 99 MovieClip [__Packages.jaludo.api.as2.Blocker] Frame 0
class jaludo.api.as2.Blocker { var mc; function Blocker (content) { mc = content.attachMovie("mc_blocker", "mc_blocker", content.getNextHighestDepth()); mc._x = jaludo.api.as2.Locator.getCenterX(); mc._y = jaludo.api.as2.Locator.getCenterY(); mc.useHandCursor = false; mc.onPress = null; } function dispose() { mc.removeMovieClip(); } }
Symbol 100 MovieClip [__Packages.jaludo.api.as2.Locator] Frame 0
class jaludo.api.as2.Locator { function Locator () { } static function getCenterX() { return((-API_POS_X) + (GAME_WIDTH / 2)); } static function getCenterY() { return((-API_POS_Y) + (GAME_HEIGHT / 2)); } static var GAME_WIDTH = 800; static var GAME_HEIGHT = 600; static var API_POS_X = 0; static var API_POS_Y = 0; }
Symbol 101 MovieClip [__Packages.mx.utils.Delegate] Frame 0
class mx.utils.Delegate extends Object { var func; function Delegate (f) { super(); func = f; } static function create(obj, func) { var _local2 = function () { var _local2 = arguments.callee.target; var _local3 = arguments.callee.func; return(_local3.apply(_local2, arguments)); }; _local2.target = obj; _local2.func = func; return(_local2); } function createDelegate(obj) { return(create(obj, func)); } }
Symbol 102 MovieClip [__Packages.jaludo.api.as2.User] Frame 0
class jaludo.api.as2.User { static var user; var _username, _password, _image; function User () { } static function get instance() { if (!user) { user = new jaludo.api.as2.User(); } return(user); } function get username() { return(_username); } function set username(value) { _username = value; //return(username); } function get password() { return(_password); } function set password(value) { _password = value; //return(password); } function get image() { return(_image); } function set image(value) { _image = value; //return(image); } static var GUEST_USER = "GUEST_USER"; }
Symbol 103 MovieClip [__Packages.jaludo.api.as2.Registration] Frame 0
class jaludo.api.as2.Registration { var _content, _caller, sendingLocal, _mc_blocker, jaludoApi_registerPopup, jaludoApi_txtUsernameInput, jaludoApi_txtPasswordInput, jaludoApi_txtConfirmPassInput, jaludoApi_txtEmailInput, jaludoApi_txtConfirmEmailInput, jaludoApi_txtMonth, jaludoApi_txtDay, jaludoApi_txtYear, jaludoApi_selectMale, jaludoApi_selectFemale, jaludoApi_btnRegisterUser, jaludoApi_pictureContainer, jaludoApi_btnCancel, jaludoApi_btnViewTerms, jaludoApi_checkTerms, fnValidationSucces, fnError, fnNotValidate, _listener, _listenerChanged, objControlData, _tooltip, fileUpload, listen, fileTypes, photo, imageId, _mcPicture, _objListener, _mc_blocker_alert, jaludoApi_termsPopup, jaludoApi_confirmationPopup; function Registration (caller, container) { _content = container; _caller = caller; sendingLocal = _caller.sending; } function register() { _mc_blocker = new jaludo.api.as2.Blocker(_content); _caller.dispatchEvent({type:jaludo.api.as2.JaludoManager.PAUSE_EVENT_MANAGER, data:{state:true}}); _caller.menu._visible = false; _idImage = ""; controlInput = false; jaludoApi_registerPopup = _content.attachMovie("jaludoApi_registerPopup", "jaludoApi_registerPopup", _content.getNextHighestDepth()); jaludoApi_registerPopup._x = jaludo.api.as2.Locator.getCenterX(); jaludoApi_registerPopup._y = jaludo.api.as2.Locator.getCenterY(); jaludoApi_txtUsernameInput = jaludoApi_registerPopup.jaludoApi_txtUsernameInput; jaludoApi_txtPasswordInput = jaludoApi_registerPopup.jaludoApi_txtPasswordInput; jaludoApi_txtConfirmPassInput = jaludoApi_registerPopup.jaludoApi_txtConfirmPassInput; jaludoApi_txtEmailInput = jaludoApi_registerPopup.jaludoApi_txtEmailInput; jaludoApi_txtConfirmEmailInput = jaludoApi_registerPopup.jaludoApi_txtConfirmEmailInput; jaludoApi_txtMonth = jaludoApi_registerPopup.jaludoApi_txtMonth; jaludoApi_txtDay = jaludoApi_registerPopup.jaludoApi_txtDay; jaludoApi_txtYear = jaludoApi_registerPopup.jaludoApi_txtYear; jaludoApi_selectMale = jaludoApi_registerPopup.jaludoApi_selectMale; jaludoApi_selectFemale = jaludoApi_registerPopup.jaludoApi_selectFemale; jaludoApi_btnRegisterUser = jaludoApi_registerPopup.jaludoApi_btnRegisterUser; jaludoApi_btnRegisterUser.onRelease = mx.utils.Delegate.create(this, registerUser); jaludoApi_pictureContainer = jaludoApi_registerPopup.jaludoApi_pictureContainer; jaludoApi_btnCancel = jaludoApi_registerPopup.jaludoApi_btnCancel; jaludoApi_btnCancel.onRelease = mx.utils.Delegate.create(this, cancelRegistration); jaludoApi_btnViewTerms = jaludoApi_registerPopup.jaludoApi_btnViewTerms; jaludoApi_btnViewTerms.onRelease = mx.utils.Delegate.create(this, showTerms); jaludoApi_checkTerms = jaludoApi_registerPopup.jaludoApi_checkTerms; jaludoApi_pictureContainer.onRelease = mx.utils.Delegate.create(this, uploadImage); jaludoApi_txtUsernameInput.tabIndex = 1; Selection.setFocus(jaludoApi_txtUsernameInput); jaludoApi_txtPasswordInput.tabIndex = 2; jaludoApi_txtConfirmPassInput.tabIndex = 3; jaludoApi_txtEmailInput.tabIndex = 4; jaludoApi_txtConfirmEmailInput.tabIndex = 5; jaludoApi_txtMonth.tabIndex = 6; jaludoApi_txtDay.tabIndex = 7; jaludoApi_txtYear.tabIndex = 8; jaludoApi_selectMale.tabIndex = 9; jaludoApi_selectFemale.tabIndex = 10; jaludoApi_btnCancel.tabIndex = 11; jaludoApi_btnRegisterUser.tabIndex = 12; jaludoApi_checkTerms.tabIndex = 13; fnValidationSucces = mx.utils.Delegate.create(this, validationSuccesfull); jaludo.api.as2.Validator.__get__instance().addEventListener(jaludo.api.as2.Validator.VALIDATED_SUCCESFULL, fnValidationSucces); fnError = mx.utils.Delegate.create(this, validationError); jaludo.api.as2.Validator.__get__instance().addEventListener(jaludo.api.as2.Validator.ERROR_VALIDATED, fnError); fnNotValidate = mx.utils.Delegate.create(this, notValidate); jaludo.api.as2.Validator.__get__instance().addEventListener(jaludo.api.as2.Validator.NOT_VALIDATE, fnNotValidate); _listener = new Object(); _listener.onSetFocus = mx.utils.Delegate.create(this, onSetFocus); Selection.addListener(_listener); _listenerChanged = new Object(); _listenerChanged.onChanged = mx.utils.Delegate.create(this, clearConfirmation); jaludoApi_txtPasswordInput.addListener(_listenerChanged); jaludoApi_txtEmailInput.addListener(_listenerChanged); objControlData = {}; objControlData.checkUser = INVALID; objControlData.checkPass = INVALID; objControlData.checkConfirmatedPass = INVALID; objControlData.checkEmail = INVALID; objControlData.checkConfirmatedEmail = INVALID; objControlData.checkDate = INVALID; } function clearConfirmation(target) { if (target._name == "jaludoApi_txtPasswordInput") { if (jaludoApi_txtConfirmPassInput.text != "") { jaludoApi_txtConfirmPassInput.text = ""; onSetFocus(jaludoApi_txtConfirmPassInput, null); } } else if (target._name == "jaludoApi_txtEmailInput") { if (jaludoApi_txtConfirmEmailInput.text != "") { jaludoApi_txtConfirmEmailInput.text = ""; onSetFocus(jaludoApi_txtConfirmEmailInput, null); } } } function onSetFocus(oldFocus, newFocus) { switch (oldFocus._name) { case "jaludoApi_txtUsernameInput" : jaludo.api.as2.Validator.__get__instance().checkUser(String(oldFocus.text)); break; case "jaludoApi_txtPasswordInput" : jaludo.api.as2.Validator.__get__instance().checkPassword(String(oldFocus.text)); break; case "jaludoApi_txtConfirmPassInput" : jaludo.api.as2.Validator.__get__instance().confirmPassword(String(oldFocus.text)); break; case "jaludoApi_txtEmailInput" : jaludo.api.as2.Validator.__get__instance().checkEmail(String(oldFocus.text)); break; case "jaludoApi_txtConfirmEmailInput" : jaludo.api.as2.Validator.__get__instance().confirmEmail(oldFocus.text); break; case "jaludoApi_txtMonth" : jaludo.api.as2.Validator.__get__instance().checkDate(oldFocus.text, jaludoApi_txtDay.text, jaludoApi_txtYear.text); break; case "jaludoApi_txtDay" : jaludo.api.as2.Validator.__get__instance().checkDate(jaludoApi_txtMonth.text, oldFocus.text, jaludoApi_txtYear.text); break; case "jaludoApi_txtYear" : jaludo.api.as2.Validator.__get__instance().checkDate(jaludoApi_txtMonth.text, jaludoApi_txtDay.text, oldFocus.text); } } function validationSuccesfull(e) { jaludoApi_registerPopup["jaludoApi_" + e.data].gotoAndStop(2); objControlData[e.data] = VALIDATED; controlInput = true; } function validationError(e) { jaludoApi_registerPopup["jaludoApi_" + e.data].gotoAndStop(3); jaludoApi_registerPopup["jaludoApi_" + e.data].caller = this; jaludoApi_registerPopup["jaludoApi_" + e.data].error = e.error; jaludoApi_registerPopup["jaludoApi_" + e.data].onRollOver = function () { this.caller.showInformation(this); }; jaludoApi_registerPopup["jaludoApi_" + e.data].onRollOut = function () { this.caller.removeInformation(this); }; objControlData[e.data] = INVALID; controlInput = true; } function notValidate(e) { jaludoApi_registerPopup["jaludoApi_" + e.data].gotoAndStop(1); objControlData[e.data] = INVALID; } function showInformation(obj) { trace("Registration.showInformation"); _tooltip = new jaludo.api.as2.utils.Tooltip(_content, "tip", "tri", 200); _tooltip.showTip(obj.error); } function removeInformation(obj) { trace("Registration.removeInformation"); _tooltip.removeTip(); } function controlDataInput() { var _local2 = false; for (var _local3 in objControlData) { if (objControlData[_local3] == INVALID) { _local2 = false; break; } _local2 = true; } if (_local2 == true) { trace("********TODOS LOS DATOS CORRECTOS HABILITAR EL BOTON"); return(true); } return(false); } function uploadImage() { fileUpload = new flash.net.FileReference(); listen = new Object(); fileUpload.addListener(listen); listen.onSelect = mx.utils.Delegate.create(this, imageSelected); listen.onComplete = mx.utils.Delegate.create(this, loadCompleted); listen.onCancel = mx.utils.Delegate.create(this, selectionCancel); fileTypes = new Array({description:"Image files", extension:"*.jpg;*.gif;*.jpeg;*.png"}); fileUpload.browse(fileTypes); if (photo) { photo.removeMovieClip(); } } function imageSelected(image) { if (fileUpload.size > MAX_IMAGE_SIZE) { var _local3 = "You must select an image lower than 30Kb"; var _local2 = new jaludo.api.as2.utils.ModalsPopup(_content); _local2.showPopup(_local3, jaludo.api.as2.utils.ModalsPopup.TYPE_INFORMATIVE); } else { fileUpload.upload(jaludo.api.as2.APISettings.__get__instance().getData("txt_path") + "uploadFile.php"); } } function selectionCancel() { } function loadCompleted(image) { imageId = new LoadVars(); imageId.onLoad = mx.utils.Delegate.create(this, idLoaded); imageId.load(((jaludo.api.as2.APISettings.__get__instance().getData("images_path") + "/txt/") + fileUpload.name) + ".txt"); } function idLoaded() { _idImage = imageId.id; trace("_idImage : " + _idImage); photo = jaludoApi_pictureContainer.createEmptyMovieClip("photo", jaludoApi_pictureContainer.getNextHighestDepth()); _mcPicture = new MovieClipLoader(); _objListener = {}; _mcPicture.addListener(_objListener); _objListener.onLoadInit = mx.utils.Delegate.create(this, pictureLoadInit); _mcPicture.loadClip(jaludo.api.as2.APISettings.__get__instance().getData("images_path") + _idImage, photo); } function pictureLoadInit() { trace("Registration.pictureLoadInit"); _mcPicture.removeListener(_objListener); photo._width = 70; photo._height = 70; } function registerUser() { var _local2; _local2 = {}; if (controlDataInput()) { if (jaludoApi_checkTerms.selected == false) { var _local5 = "You must accept the terms and conditions"; var _local4 = new jaludo.api.as2.utils.ModalsPopup(_content); _local4.showPopup(_local5, jaludo.api.as2.utils.ModalsPopup.TYPE_WARNING); } else { jaludoApi_btnRegisterUser.enabled = false; jaludoApi_btnCancel.enabled = false; _local2.user = jaludoApi_txtUsernameInput.text; _local2.password = jaludoApi_txtPasswordInput.text; _local2.email = jaludoApi_txtEmailInput.text; _local2.birth = (((jaludoApi_txtYear.text + "/") + jaludoApi_txtMonth.text) + "/") + jaludoApi_txtDay.text; if (jaludoApi_selectMale.selected == true) { _local2.gender = "Male"; } else if (jaludoApi_selectFemale.selected == true) { _local2.gender = "Female"; } if (_idImage == "") { _local2.image = imageDefault; } else { _local2.image = _idImage; } sendingLocal.send(_caller._remote_connection_name, "register", _local2); } } else { trace(".......DESPLEGAR EL POPUP............"); var _local3 = new jaludo.api.as2.utils.ModalsPopup(_content); _local3.showPopup("Some fields are blank or wrong, please review your form", jaludo.api.as2.utils.ModalsPopup.TYPE_WARNING); } } function userInvalid(e) { jaludoApi_btnCancel.enabled = true; var _local3 = "Usename already in use, please select another one"; var _local2 = new jaludo.api.as2.utils.ModalsPopup(_content); _local2.showPopup(_local3, jaludo.api.as2.utils.ModalsPopup.TYPE_WARNING); jaludo.api.as2.Validator.__get__instance().checkUser(""); } function registerSuccesfull(e) { trace("********************Listoooooo*********************"); _caller.registerCompleted(e); dispose(); } function registerError(e) { trace("e : " + e.data); var _local3 = "An error has ocurred with your register, please try again later"; var _local2 = new jaludo.api.as2.utils.ModalsPopup(_content); _local2.showPopup(_local3, jaludo.api.as2.utils.ModalsPopup.TYPE_WARNING); jaludoApi_btnCancel.enabled = true; } function showAlert(info) { } function showTerms() { _mc_blocker_alert = new jaludo.api.as2.Blocker(_content); jaludoApi_btnCancel.enabled = false; jaludoApi_termsPopup = _content.attachMovie("jaludoApi_termsPopup", "jaludoApi_termsPopup", _content.getNextHighestDepth()); jaludoApi_termsPopup._x = jaludo.api.as2.Locator.getCenterX(); jaludoApi_termsPopup._y = jaludo.api.as2.Locator.getCenterY(); var _local2; _local2 = jaludoApi_termsPopup.jaludoApi_btnAcept; _local2.onRelease = mx.utils.Delegate.create(this, removeTermsPopup); } function removeTermsPopup() { _mc_blocker_alert.dispose(); jaludoApi_btnCancel.enabled = true; jaludoApi_termsPopup.removeMovieClip(); } function cancelRegistration() { if ((controlInput == true) || (jaludoApi_checkTerms.selected == true)) { _mc_blocker_alert = new jaludo.api.as2.Blocker(_content); jaludoApi_btnCancel.enabled = false; jaludoApi_confirmationPopup = _content.attachMovie("jaludoApi_confirmationPopup", "jaludoApi_confirmationPopup", _content.getNextHighestDepth()); jaludoApi_confirmationPopup._x = jaludo.api.as2.Locator.getCenterX(); jaludoApi_confirmationPopup._y = jaludo.api.as2.Locator.getCenterY(); var _local2; var _local3; _local2 = jaludoApi_confirmationPopup.jaludoApi_btnYes; _local3 = jaludoApi_confirmationPopup.jaludoApi_btnNo; _local2.onRelease = mx.utils.Delegate.create(this, dispose); _local3.onRelease = mx.utils.Delegate.create(this, removeConfirmation); } else { dispose(); } } function removeConfirmation() { _mc_blocker_alert.dispose(); jaludoApi_btnCancel.enabled = true; jaludoApi_confirmationPopup.removeMovieClip(); } function dispose() { removeConfirmation(); _mc_blocker.dispose(); _caller.dispatchEvent({type:jaludo.api.as2.JaludoManager.PAUSE_EVENT_MANAGER, data:{state:false}}); _caller.menu._visible = true; jaludoApi_txtPasswordInput.removeListener(_listenerChanged); jaludoApi_txtEmailInput.removeListener(_listenerChanged); jaludo.api.as2.Validator.__get__instance().removeEventListener(jaludo.api.as2.Validator.NOT_VALIDATE, fnNotValidate); jaludo.api.as2.Validator.__get__instance().removeEventListener(jaludo.api.as2.Validator.ERROR_VALIDATED, fnError); jaludo.api.as2.Validator.__get__instance().removeEventListener(jaludo.api.as2.Validator.VALIDATED_SUCCESFULL, fnValidationSucces); Selection.removeListener(_listener); jaludoApi_registerPopup.removeMovieClip(); } var _idImage = ""; var imageDefault = "avatar_default.png"; var VALIDATED = "VALIDATED"; var INVALID = "INVALID"; var controlInput = false; var MAX_IMAGE_SIZE = 30000; }
Symbol 104 MovieClip [__Packages.mx.core.UIObject] Frame 0
class mx.core.UIObject extends MovieClip { var _width, _height, _x, _y, _parent, _minHeight, _minWidth, _visible, dispatchEvent, _xscale, _yscale, methodTable, onEnterFrame, tfList, __width, __height, moveTo, lineTo, createTextField, attachMovie, buildDepthTable, findNextAvailableDepth, idNames, childrenCreated, _name, createAccessibilityImplementation, _endInit, validateNow, hasOwnProperty, initProperties, stylecache, className, ignoreClassStyleDeclaration, _tf, fontFamily, fontSize, color, marginLeft, marginRight, fontStyle, fontWeight, textAlign, textIndent, textDecoration, embedFonts, styleName, enabled; function UIObject () { super(); constructObject(); } function get width() { return(_width); } function get height() { return(_height); } function get left() { return(_x); } function get x() { return(_x); } function get top() { return(_y); } function get y() { return(_y); } function get right() { return(_parent.width - (_x + width)); } function get bottom() { return(_parent.height - (_y + height)); } function getMinHeight(Void) { return(_minHeight); } function setMinHeight(h) { _minHeight = h; } function get minHeight() { return(getMinHeight()); } function set minHeight(h) { setMinHeight(h); //return(minHeight); } function getMinWidth(Void) { return(_minWidth); } function setMinWidth(w) { _minWidth = w; } function get minWidth() { return(getMinWidth()); } function set minWidth(w) { setMinWidth(w); //return(minWidth); } function setVisible(x, noEvent) { if (x != _visible) { _visible = x; if (noEvent != true) { dispatchEvent({type:(x ? "reveal" : "hide")}); } } } function get visible() { return(_visible); } function set visible(x) { setVisible(x, false); //return(visible); } function get scaleX() { return(_xscale); } function set scaleX(x) { _xscale = x; //return(scaleX); } function get scaleY() { return(_yscale); } function set scaleY(y) { _yscale = y; //return(scaleY); } function doLater(obj, fn) { if (methodTable == undefined) { methodTable = new Array(); } methodTable.push({obj:obj, fn:fn}); onEnterFrame = doLaterDispatcher; } function doLaterDispatcher(Void) { delete onEnterFrame; if (invalidateFlag) { redraw(); } var _local3 = methodTable; methodTable = new Array(); if (_local3.length > 0) { var _local2; while (_local2 = _local3.shift() , _local2 != undefined) { _local2.obj[_local2.fn](); } } } function cancelAllDoLaters(Void) { delete onEnterFrame; methodTable = new Array(); } function invalidate(Void) { invalidateFlag = true; onEnterFrame = doLaterDispatcher; } function invalidateStyle(Void) { invalidate(); } function redraw(bAlways) { if (invalidateFlag || (bAlways)) { invalidateFlag = false; var _local2; for (_local2 in tfList) { tfList[_local2].draw(); } draw(); dispatchEvent({type:"draw"}); } } function draw(Void) { } function move(x, y, noEvent) { var _local3 = _x; var _local2 = _y; _x = x; _y = y; if (noEvent != true) { dispatchEvent({type:"move", oldX:_local3, oldY:_local2}); } } function setSize(w, h, noEvent) { var _local3 = __width; var _local2 = __height; __width = w; __height = h; size(); if (noEvent != true) { dispatchEvent({type:"resize", oldWidth:_local3, oldHeight:_local2}); } } function size(Void) { _width = __width; _height = __height; } function drawRect(x1, y1, x2, y2) { moveTo(x1, y1); lineTo(x2, y1); lineTo(x2, y2); lineTo(x1, y2); lineTo(x1, y1); } function createLabel(name, depth, text) { createTextField(name, depth, 0, 0, 0, 0); var _local2 = this[name]; _local2._color = textColorList; _local2._visible = false; _local2.__text = text; if (tfList == undefined) { tfList = new Object(); } tfList[name] = _local2; _local2.invalidateStyle(); invalidate(); _local2.styleName = this; return(_local2); } function createObject(linkageName, id, depth, initobj) { return(attachMovie(linkageName, id, depth, initobj)); } function createClassObject(className, id, depth, initobj) { var _local3 = className.symbolName == undefined; if (_local3) { Object.registerClass(className.symbolOwner.symbolName, className); } var _local4 = mx.core.UIObject(createObject(className.symbolOwner.symbolName, id, depth, initobj)); if (_local3) { Object.registerClass(className.symbolOwner.symbolName, className.symbolOwner); } return(_local4); } function createEmptyObject(id, depth) { return(createClassObject(mx.core.UIObject, id, depth)); } function destroyObject(id) { var _local2 = this[id]; if (_local2.getDepth() < 0) { var _local4 = buildDepthTable(); var _local5 = findNextAvailableDepth(0, _local4, "up"); var _local3 = _local5; _local2.swapDepths(_local3); } _local2.removeMovieClip(); delete this[id]; } function getSkinIDName(tag) { return(idNames[tag]); } function setSkin(tag, linkageName, initObj) { if (_global.skinRegistry[linkageName] == undefined) { mx.skins.SkinElement.registerElement(linkageName, mx.skins.SkinElement); } return(createObject(linkageName, getSkinIDName(tag), tag, initObj)); } function createSkin(tag) { var _local2 = getSkinIDName(tag); createEmptyObject(_local2, tag); return(this[_local2]); } function createChildren(Void) { } function _createChildren(Void) { createChildren(); childrenCreated = true; } function constructObject(Void) { if (_name == undefined) { return(undefined); } init(); _createChildren(); createAccessibilityImplementation(); _endInit(); if (validateNow) { redraw(true); } else { invalidate(); } } function initFromClipParameters(Void) { var _local4 = false; var _local2; for (_local2 in clipParameters) { if (hasOwnProperty(_local2)) { _local4 = true; this["def_" + _local2] = this[_local2]; delete this[_local2]; } } if (_local4) { for (_local2 in clipParameters) { var _local3 = this["def_" + _local2]; if (_local3 != undefined) { this[_local2] = _local3; } } } } function init(Void) { __width = _width; __height = _height; if (initProperties == undefined) { initFromClipParameters(); } else { initProperties(); } if (_global.cascadingStyles == true) { stylecache = new Object(); } } function getClassStyleDeclaration(Void) { var _local4 = this; var _local3 = className; while (_local3 != undefined) { if (ignoreClassStyleDeclaration[_local3] == undefined) { if (_global.styles[_local3] != undefined) { return(_global.styles[_local3]); } } _local4 = _local4.__proto__; _local3 = _local4.className; } } function setColor(color) { } function __getTextFormat(tf, bAll) { var _local8 = stylecache.tf; if (_local8 != undefined) { var _local3; for (_local3 in mx.styles.StyleManager.TextFormatStyleProps) { if (bAll || (mx.styles.StyleManager.TextFormatStyleProps[_local3])) { if (tf[_local3] == undefined) { tf[_local3] = _local8[_local3]; } } } return(false); } var _local6 = false; for (var _local3 in mx.styles.StyleManager.TextFormatStyleProps) { if (bAll || (mx.styles.StyleManager.TextFormatStyleProps[_local3])) { if (tf[_local3] == undefined) { var _local5 = _tf[_local3]; if (_local5 != undefined) { tf[_local3] = _local5; } else if ((_local3 == "font") && (fontFamily != undefined)) { tf[_local3] = fontFamily; } else if ((_local3 == "size") && (fontSize != undefined)) { tf[_local3] = fontSize; } else if ((_local3 == "color") && (color != undefined)) { tf[_local3] = color; } else if ((_local3 == "leftMargin") && (marginLeft != undefined)) { tf[_local3] = marginLeft; } else if ((_local3 == "rightMargin") && (marginRight != undefined)) { tf[_local3] = marginRight; } else if ((_local3 == "italic") && (fontStyle != undefined)) { tf[_local3] = fontStyle == _local3; } else if ((_local3 == "bold") && (fontWeight != undefined)) { tf[_local3] = fontWeight == _local3; } else if ((_local3 == "align") && (textAlign != undefined)) { tf[_local3] = textAlign; } else if ((_local3 == "indent") && (textIndent != undefined)) { tf[_local3] = textIndent; } else if ((_local3 == "underline") && (textDecoration != undefined)) { tf[_local3] = textDecoration == _local3; } else if ((_local3 == "embedFonts") && (embedFonts != undefined)) { tf[_local3] = embedFonts; } else { _local6 = true; } } } } if (_local6) { var _local9 = styleName; if (_local9 != undefined) { if (typeof(_local9) != "string") { _local6 = _local9.__getTextFormat(tf, true, this); } else if (_global.styles[_local9] != undefined) { _local6 = _global.styles[_local9].__getTextFormat(tf, true, this); } } } if (_local6) { var _local10 = getClassStyleDeclaration(); if (_local10 != undefined) { _local6 = _local10.__getTextFormat(tf, true, this); } } if (_local6) { if (_global.cascadingStyles) { if (_parent != undefined) { _local6 = _parent.__getTextFormat(tf, false); } } } if (_local6) { _local6 = _global.style.__getTextFormat(tf, true, this); } return(_local6); } function _getTextFormat(Void) { var _local2 = stylecache.tf; if (_local2 != undefined) { return(_local2); } _local2 = new TextFormat(); __getTextFormat(_local2, true); stylecache.tf = _local2; if (enabled == false) { var _local3 = getStyle("disabledColor"); _local2.color = _local3; } return(_local2); } function getStyleName(Void) { var _local2 = styleName; if (_local2 != undefined) { if (typeof(_local2) != "string") { return(_local2.getStyleName()); } return(_local2); } if (_parent != undefined) { return(_parent.getStyleName()); } return(undefined); } function getStyle(styleProp) { var _local3; _global.getStyleCounter++; if (this[styleProp] != undefined) { return(this[styleProp]); } var _local6 = styleName; if (_local6 != undefined) { if (typeof(_local6) != "string") { _local3 = _local6.getStyle(styleProp); } else { var _local7 = _global.styles[_local6]; _local3 = _local7.getStyle(styleProp); } } if (_local3 != undefined) { return(_local3); } var _local7 = getClassStyleDeclaration(); if (_local7 != undefined) { _local3 = _local7[styleProp]; } if (_local3 != undefined) { return(_local3); } if (_global.cascadingStyles) { if (mx.styles.StyleManager.isInheritingStyle(styleProp) || (mx.styles.StyleManager.isColorStyle(styleProp))) { var _local5 = stylecache; if (_local5 != undefined) { if (_local5[styleProp] != undefined) { return(_local5[styleProp]); } } if (_parent != undefined) { _local3 = _parent.getStyle(styleProp); } else { _local3 = _global.style[styleProp]; } if (_local5 != undefined) { _local5[styleProp] = _local3; } return(_local3); } } if (_local3 == undefined) { _local3 = _global.style[styleProp]; } return(_local3); } static function mergeClipParameters(o, p) { for (var _local3 in p) { o[_local3] = p[_local3]; } return(true); } static var symbolName = "UIObject"; static var symbolOwner = mx.core.UIObject; static var version = "2.0.2.127"; static var textColorList = {color:1, disabledColor:1}; var invalidateFlag = false; var lineWidth = 1; var lineColor = 0; var tabEnabled = false; var clipParameters = {visible:1, minHeight:1, minWidth:1, maxHeight:1, maxWidth:1, preferredHeight:1, preferredWidth:1}; }
Symbol 105 MovieClip [__Packages.mx.skins.SkinElement] Frame 0
class mx.skins.SkinElement extends MovieClip { var _visible, _x, _y, _width, _height; function SkinElement () { super(); } static function registerElement(name, className) { Object.registerClass(name, ((className == undefined) ? (mx.skins.SkinElement) : (className))); _global.skinRegistry[name] = true; } function __set__visible(visible) { _visible = visible; } function move(x, y) { _x = x; _y = y; } function setSize(w, h) { _width = w; _height = h; } }
Symbol 106 MovieClip [__Packages.mx.styles.CSSTextStyles] Frame 0
class mx.styles.CSSTextStyles { function CSSTextStyles () { } static function addTextStyles(o, bColor) { o.addProperty("textAlign", function () { return(this._tf.align); }, function (x) { if (this._tf == undefined) { this._tf = new TextFormat(); } this._tf.align = x; }); o.addProperty("fontWeight", function () { return(((this._tf.bold != undefined) ? ((this._tf.bold ? "bold" : "none")) : undefined)); }, function (x) { if (this._tf == undefined) { this._tf = new TextFormat(); } this._tf.bold = x == "bold"; }); if (bColor) { o.addProperty("color", function () { return(this._tf.color); }, function (x) { if (this._tf == undefined) { this._tf = new TextFormat(); } this._tf.color = x; }); } o.addProperty("fontFamily", function () { return(this._tf.font); }, function (x) { if (this._tf == undefined) { this._tf = new TextFormat(); } this._tf.font = x; }); o.addProperty("textIndent", function () { return(this._tf.indent); }, function (x) { if (this._tf == undefined) { this._tf = new TextFormat(); } this._tf.indent = x; }); o.addProperty("fontStyle", function () { return(((this._tf.italic != undefined) ? ((this._tf.italic ? "italic" : "none")) : undefined)); }, function (x) { if (this._tf == undefined) { this._tf = new TextFormat(); } this._tf.italic = x == "italic"; }); o.addProperty("marginLeft", function () { return(this._tf.leftMargin); }, function (x) { if (this._tf == undefined) { this._tf = new TextFormat(); } this._tf.leftMargin = x; }); o.addProperty("marginRight", function () { return(this._tf.rightMargin); }, function (x) { if (this._tf == undefined) { this._tf = new TextFormat(); } this._tf.rightMargin = x; }); o.addProperty("fontSize", function () { return(this._tf.size); }, function (x) { if (this._tf == undefined) { this._tf = new TextFormat(); } this._tf.size = x; }); o.addProperty("textDecoration", function () { return(((this._tf.underline != undefined) ? ((this._tf.underline ? "underline" : "none")) : undefined)); }, function (x) { if (this._tf == undefined) { this._tf = new TextFormat(); } this._tf.underline = x == "underline"; }); o.addProperty("embedFonts", function () { return(this._tf.embedFonts); }, function (x) { if (this._tf == undefined) { this._tf = new TextFormat(); } this._tf.embedFonts = x; }); } }
Symbol 107 MovieClip [__Packages.mx.styles.CSSStyleDeclaration] Frame 0
class mx.styles.CSSStyleDeclaration { var _tf; function CSSStyleDeclaration () { } function __getTextFormat(tf, bAll) { var _local5 = false; if (_tf != undefined) { var _local2; for (_local2 in mx.styles.StyleManager.TextFormatStyleProps) { if (bAll || (mx.styles.StyleManager.TextFormatStyleProps[_local2])) { if (tf[_local2] == undefined) { var _local3 = _tf[_local2]; if (_local3 != undefined) { tf[_local2] = _local3; } else { _local5 = true; } } } } } else { _local5 = true; } return(_local5); } function getStyle(styleProp) { var _local2 = this[styleProp]; var _local3 = mx.styles.StyleManager.getColorName(_local2); return(((_local3 == undefined) ? (_local2) : (_local3))); } static function classConstruct() { mx.styles.CSSTextStyles.addTextStyles(mx.styles.CSSStyleDeclaration.prototype, true); return(true); } static var classConstructed = classConstruct(); static var CSSTextStylesDependency = mx.styles.CSSTextStyles; }
Symbol 108 MovieClip [__Packages.mx.styles.StyleManager] Frame 0
class mx.styles.StyleManager { function StyleManager () { } static function registerInheritingStyle(styleName) { inheritingStyles[styleName] = true; } static function isInheritingStyle(styleName) { return(inheritingStyles[styleName] == true); } static function registerColorStyle(styleName) { colorStyles[styleName] = true; } static function isColorStyle(styleName) { return(colorStyles[styleName] == true); } static function registerColorName(colorName, colorValue) { colorNames[colorName] = colorValue; } static function isColorName(colorName) { return(colorNames[colorName] != undefined); } static function getColorName(colorName) { return(colorNames[colorName]); } static var inheritingStyles = {color:true, direction:true, fontFamily:true, fontSize:true, fontStyle:true, fontWeight:true, textAlign:true, textIndent:true}; static var colorStyles = {barColor:true, trackColor:true, borderColor:true, buttonColor:true, color:true, dateHeaderColor:true, dateRollOverColor:true, disabledColor:true, fillColor:true, highlightColor:true, scrollTrackColor:true, selectedDateColor:true, shadowColor:true, strokeColor:true, symbolBackgroundColor:true, symbolBackgroundDisabledColor:true, symbolBackgroundPressedColor:true, symbolColor:true, symbolDisabledColor:true, themeColor:true, todayIndicatorColor:true, shadowCapColor:true, borderCapColor:true, focusColor:true}; static var colorNames = {black:0, white:16777215, red:16711680, green:65280, blue:255, magenta:16711935, yellow:16776960, cyan:65535, haloGreen:8453965, haloBlue:2881013, haloOrange:16761344}; static var TextFormatStyleProps = {font:true, size:true, color:true, leftMargin:false, rightMargin:false, italic:true, bold:true, align:true, indent:true, underline:false, embedFonts:false}; static var TextStyleMap = {textAlign:true, fontWeight:true, color:true, fontFamily:true, textIndent:true, fontStyle:true, lineHeight:true, marginLeft:true, marginRight:true, fontSize:true, textDecoration:true, embedFonts:true}; }
Symbol 109 MovieClip [__Packages.mx.core.UIComponent] Frame 0
class mx.core.UIComponent extends mx.core.UIObject { var __width, __height, invalidate, stylecache, removeEventListener, dispatchEvent, drawFocus, addEventListener, _xscale, _yscale, _focusrect, watch, enabled; function UIComponent () { super(); } function get width() { return(__width); } function get height() { return(__height); } function setVisible(x, noEvent) { super.setVisible(x, noEvent); } function enabledChanged(id, oldValue, newValue) { setEnabled(newValue); invalidate(); delete stylecache.tf; return(newValue); } function setEnabled(enabled) { invalidate(); } function getFocus() { var selFocus = Selection.getFocus(); return(((selFocus === null) ? null : (eval (selFocus)))); } function setFocus() { Selection.setFocus(this); } function getFocusManager() { var _local2 = this; while (_local2 != undefined) { if (_local2.focusManager != undefined) { return(_local2.focusManager); } _local2 = _local2._parent; } return(undefined); } function onKillFocus(newFocus) { removeEventListener("keyDown", this); removeEventListener("keyUp", this); dispatchEvent({type:"focusOut"}); drawFocus(false); } function onSetFocus(oldFocus) { addEventListener("keyDown", this); addEventListener("keyUp", this); dispatchEvent({type:"focusIn"}); if (getFocusManager().bDrawFocus != false) { drawFocus(true); } } function findFocusInChildren(o) { if (o.focusTextField != undefined) { return(o.focusTextField); } if (o.tabEnabled == true) { return(o); } return(undefined); } function findFocusFromObject(o) { if (o.tabEnabled != true) { if (o._parent == undefined) { return(undefined); } if (o._parent.tabEnabled == true) { o = o._parent; } else if (o._parent.tabChildren) { o = findFocusInChildren(o._parent); } else { o = findFocusFromObject(o._parent); } } return(o); } function pressFocus() { var _local3 = findFocusFromObject(this); var _local2 = getFocus(); if (_local3 != _local2) { _local2.drawFocus(false); if (getFocusManager().bDrawFocus != false) { _local3.drawFocus(true); } } } function releaseFocus() { var _local2 = findFocusFromObject(this); if (_local2 != getFocus()) { _local2.setFocus(); } } function isParent(o) { while (o != undefined) { if (o == this) { return(true); } o = o._parent; } return(false); } function size() { } function init() { super.init(); _xscale = 100; _yscale = 100; _focusrect = _global.useFocusRect == false; watch("enabled", enabledChanged); if (enabled == false) { setEnabled(false); } } function dispatchValueChangedEvent(value) { dispatchEvent({type:"valueChanged", value:value}); } static var symbolName = "UIComponent"; static var symbolOwner = mx.core.UIComponent; static var version = "2.0.2.127"; static var kStretch = 5000; var focusEnabled = true; var tabEnabled = true; var origBorderStyles = {themeColor:16711680}; var clipParameters = {}; static var mergedClipParameters = mx.core.UIObject.mergeClipParameters(mx.core.UIComponent.prototype.clipParameters, mx.core.UIObject.prototype.clipParameters); }
Symbol 110 MovieClip [__Packages.mx.controls.SimpleButton] Frame 0
class mx.controls.SimpleButton extends mx.core.UIComponent { static var emphasizedStyleDeclaration; var preset, boundingBox_mc, useHandCursor, skinName, linkLength, iconName, destroyObject, __width, _width, __height, _height, __emphaticStyleName, styleName, enabled, invalidate, pressFocus, dispatchEvent, autoRepeat, interval, getStyle, releaseFocus, createLabel, invalidateStyle; function SimpleButton () { super(); } function init(Void) { super.init(); if (preset == undefined) { boundingBox_mc._visible = false; boundingBox_mc._width = (boundingBox_mc._height = 0); } useHandCursor = false; } function createChildren(Void) { if (preset != undefined) { var _local2 = this[idNames[preset]]; this[refNames[preset]] = _local2; skinName = _local2; if (falseOverSkin.length == 0) { rolloverSkin = fus; } if (falseOverIcon.length == 0) { rolloverIcon = fui; } initializing = false; } else if (__state == true) { setStateVar(true); } else { if (falseOverSkin.length == 0) { rolloverSkin = fus; } if (falseOverIcon.length == 0) { rolloverIcon = fui; } } } function setIcon(tag, linkageName) { return(setSkin(tag + 8, linkageName)); } function changeIcon(tag, linkageName) { linkLength = linkageName.length; var _local2 = stateNames[tag] + "Icon"; this[_local2] = linkageName; this[idNames[tag + 8]] = _local2; setStateVar(getState()); } function changeSkin(tag, linkageName) { var _local2 = stateNames[tag] + "Skin"; this[_local2] = linkageName; this[idNames[tag]] = _local2; setStateVar(getState()); } function viewIcon(varName) { var _local4 = varName + "Icon"; var _local3 = this[_local4]; if (typeof(_local3) == "string") { var _local5 = _local3; if (__emphasized) { if (this[_local3 + "Emphasized"].length > 0) { _local3 = _local3 + "Emphasized"; } } if (this[_local3].length == 0) { return(undefined); } _local3 = setIcon(tagMap[_local5], this[_local3]); if ((_local3 == undefined) && (_global.isLivePreview)) { _local3 = setIcon(0, "ButtonIcon"); } this[_local4] = _local3; } iconName._visible = false; iconName = _local3; iconName._visible = true; } function removeIcons() { var _local3 = 0; while (_local3 < 2) { var _local2 = 8; while (_local2 < 16) { destroyObject(idNames[_local2]); this[stateNames[_local2 - 8] + "Icon"] = ""; _local2++; } _local3++; } refresh(); } function setSkin(tag, linkageName, initobj) { var _local3 = super.setSkin(tag, linkageName, ((initobj != undefined) ? (initobj) : ({styleName:this}))); calcSize(tag, _local3); return(_local3); } function calcSize(Void) { __width = _width; __height = _height; } function viewSkin(varName, initObj) { var _local3 = varName + "Skin"; var _local2 = this[_local3]; if (typeof(_local2) == "string") { var _local4 = _local2; if (__emphasized) { if (this[_local2 + "Emphasized"].length > 0) { _local2 = _local2 + "Emphasized"; } } if (this[_local2].length == 0) { return(undefined); } _local2 = setSkin(tagMap[_local4], this[_local2], ((initObj != undefined) ? (initObj) : ({styleName:this}))); this[_local3] = _local2; } skinName._visible = false; skinName = _local2; skinName._visible = true; } function showEmphasized(e) { if (e && (!__emphatic)) { if (emphasizedStyleDeclaration != undefined) { __emphaticStyleName = styleName; styleName = emphasizedStyleDeclaration; } __emphatic = true; } else { if (__emphatic) { styleName = __emphaticStyleName; } __emphatic = false; } } function refresh(Void) { var _local2 = getState(); if (enabled == false) { viewIcon("disabled"); viewSkin("disabled"); } else { viewSkin(phase); viewIcon(phase); } setView(phase == "down"); iconName.enabled = enabled; } function setView(offset) { if (iconName == undefined) { return(undefined); } var _local2 = (offset ? (btnOffset) : 0); iconName._x = ((__width - iconName._width) / 2) + _local2; iconName._y = ((__height - iconName._height) / 2) + _local2; } function setStateVar(state) { if (state) { if (trueOverSkin.length == 0) { rolloverSkin = tus; } else { rolloverSkin = trs; } if (trueOverIcon.length == 0) { rolloverIcon = tui; } else { rolloverIcon = tri; } upSkin = tus; downSkin = tds; disabledSkin = dts; upIcon = tui; downIcon = tdi; disabledIcon = dti; } else { if (falseOverSkin.length == 0) { rolloverSkin = fus; } else { rolloverSkin = frs; } if (falseOverIcon.length == 0) { rolloverIcon = fui; } else { rolloverIcon = fri; } upSkin = fus; downSkin = fds; disabledSkin = dfs; upIcon = fui; downIcon = fdi; disabledIcon = dfi; } __state = state; } function setState(state) { if (state != __state) { setStateVar(state); invalidate(); } } function size(Void) { refresh(); } function draw(Void) { if (initializing) { initializing = false; skinName.visible = true; iconName.visible = true; } size(); } function getState(Void) { return(__state); } function setToggle(val) { __toggle = val; if (__toggle == false) { setState(false); } } function getToggle(Void) { return(__toggle); } function set toggle(val) { setToggle(val); //return(toggle); } function get toggle() { return(getToggle()); } function set value(val) { setSelected(val); //return(value); } function get value() { return(getSelected()); } function set selected(val) { setSelected(val); //return(selected); } function get selected() { return(getSelected()); } function setSelected(val) { if (__toggle) { setState(val); } else { setState((initializing ? (val) : (__state))); } } function getSelected() { return(__state); } function setEnabled(val) { if (enabled != val) { super.setEnabled(val); invalidate(); } } function onPress(Void) { pressFocus(); phase = "down"; refresh(); dispatchEvent({type:"buttonDown"}); if (autoRepeat) { interval = setInterval(this, "onPressDelay", getStyle("repeatDelay")); } } function onPressDelay(Void) { dispatchEvent({type:"buttonDown"}); if (autoRepeat) { clearInterval(interval); interval = setInterval(this, "onPressRepeat", getStyle("repeatInterval")); } } function onPressRepeat(Void) { dispatchEvent({type:"buttonDown"}); updateAfterEvent(); } function onRelease(Void) { releaseFocus(); phase = "rollover"; if (interval != undefined) { clearInterval(interval); delete interval; } if (getToggle()) { setState(!getState()); } else { refresh(); } dispatchEvent({type:"click"}); } function onDragOut(Void) { phase = "up"; refresh(); dispatchEvent({type:"buttonDragOut"}); } function onDragOver(Void) { if (phase != "up") { onPress(); return(undefined); } phase = "down"; refresh(); } function onReleaseOutside(Void) { releaseFocus(); phase = "up"; if (interval != undefined) { clearInterval(interval); delete interval; } } function onRollOver(Void) { phase = "rollover"; refresh(); } function onRollOut(Void) { phase = "up"; refresh(); } function getLabel(Void) { return(fui.text); } function setLabel(val) { if (typeof(fui) == "string") { createLabel("fui", 8, val); fui.styleName = this; } else { fui.text = val; } var _local4 = fui._getTextFormat(); var _local2 = _local4.getTextExtent2(val); fui._width = _local2.width + 5; fui._height = _local2.height + 5; iconName = fui; setView(__state); } function get emphasized() { return(__emphasized); } function set emphasized(val) { __emphasized = val; var _local2 = 0; while (_local2 < 8) { this[idNames[_local2]] = stateNames[_local2] + "Skin"; if (typeof(this[idNames[_local2 + 8]]) == "movieclip") { this[idNames[_local2 + 8]] = stateNames[_local2] + "Icon"; } _local2++; } showEmphasized(__emphasized); setStateVar(__state); invalidateStyle(); //return(emphasized); } function keyDown(e) { if (e.code == 32) { onPress(); } } function keyUp(e) { if (e.code == 32) { onRelease(); } } function onKillFocus(newFocus) { super.onKillFocus(); if (phase != "up") { phase = "up"; refresh(); } } static var symbolName = "SimpleButton"; static var symbolOwner = mx.controls.SimpleButton; static var version = "2.0.2.127"; var className = "SimpleButton"; var style3dInset = 4; var btnOffset = 1; var __toggle = false; var __state = false; var __emphasized = false; var __emphatic = false; static var falseUp = 0; static var falseDown = 1; static var falseOver = 2; static var falseDisabled = 3; static var trueUp = 4; static var trueDown = 5; static var trueOver = 6; static var trueDisabled = 7; var falseUpSkin = "SimpleButtonUp"; var falseDownSkin = "SimpleButtonIn"; var falseOverSkin = ""; var falseDisabledSkin = "SimpleButtonUp"; var trueUpSkin = "SimpleButtonIn"; var trueDownSkin = ""; var trueOverSkin = ""; var trueDisabledSkin = "SimpleButtonIn"; var falseUpIcon = ""; var falseDownIcon = ""; var falseOverIcon = ""; var falseDisabledIcon = ""; var trueUpIcon = ""; var trueDownIcon = ""; var trueOverIcon = ""; var trueDisabledIcon = ""; var phase = "up"; var fui = "falseUpIcon"; var fus = "falseUpSkin"; var fdi = "falseDownIcon"; var fds = "falseDownSkin"; var frs = "falseOverSkin"; var fri = "falseOverIcon"; var dfi = "falseDisabledIcon"; var dfs = "falseDisabledSkin"; var tui = "trueUpIcon"; var tus = "trueUpSkin"; var tdi = "trueDownIcon"; var tds = "trueDownSkin"; var trs = "trueOverSkin"; var tri = "trueOverIcon"; var dts = "trueDisabledSkin"; var dti = "trueDisabledIcon"; var rolloverSkin = mx.controls.SimpleButton.prototype.frs; var rolloverIcon = mx.controls.SimpleButton.prototype.fri; var upSkin = mx.controls.SimpleButton.prototype.fus; var downSkin = mx.controls.SimpleButton.prototype.fds; var disabledSkin = mx.controls.SimpleButton.prototype.dfs; var upIcon = mx.controls.SimpleButton.prototype.fui; var downIcon = mx.controls.SimpleButton.prototype.fdi; var disabledIcon = mx.controls.SimpleButton.prototype.dfi; var initializing = true; var idNames = ["fus", "fds", "frs", "dfs", "tus", "tds", "trs", "dts", "fui", "fdi", "fri", "dfi", "tui", "tdi", "tri", "dti"]; var stateNames = ["falseUp", "falseDown", "falseOver", "falseDisabled", "trueUp", "trueDown", "trueOver", "trueDisabled"]; var refNames = ["upSkin", "downSkin", "rolloverSkin", "disabledSkin"]; var tagMap = {falseUpSkin:0, falseDownSkin:1, falseOverSkin:2, falseDisabledSkin:3, trueUpSkin:4, trueDownSkin:5, trueOverSkin:6, trueDisabledSkin:7, falseUpIcon:0, falseDownIcon:1, falseOverIcon:2, falseDisabledIcon:3, trueUpIcon:4, trueDownIcon:5, trueOverIcon:6, trueDisabledIcon:7}; }
Symbol 111 MovieClip [__Packages.mx.controls.Button] Frame 0
class mx.controls.Button extends mx.controls.SimpleButton { var initializing, labelPath, initIcon, getState, enabled, phase, idNames, __width, __height, setState, invalidate, iconName, refresh, createLabel, _iconLinkageName, removeIcons, hitArea_mc, createEmptyObject; function Button () { super(); } function init(Void) { super.init(); } function draw() { if (initializing) { labelPath.visible = true; } super.draw(); if (initIcon != undefined) { _setIcon(initIcon); } delete initIcon; } function onRelease(Void) { super.onRelease(); } function createChildren(Void) { super.createChildren(); } function setSkin(tag, linkageName, initobj) { return(super.setSkin(tag, linkageName, initobj)); } function viewSkin(varName) { var _local3 = (getState() ? "true" : "false"); _local3 = _local3 + (enabled ? (phase) : "disabled"); super.viewSkin(varName, {styleName:this, borderStyle:_local3}); } function invalidateStyle(c) { labelPath.invalidateStyle(c); super.invalidateStyle(c); } function setColor(c) { var _local2 = 0; while (_local2 < 8) { this[idNames[_local2]].redraw(true); _local2++; } } function setEnabled(enable) { labelPath.enabled = enable; super.setEnabled(enable); } function calcSize(tag, ref) { if ((__width == undefined) || (__height == undefined)) { return(undefined); } if (tag < 7) { ref.setSize(__width, __height, true); } } function size(Void) { setState(getState()); setHitArea(__width, __height); var _local3 = 0; while (_local3 < 8) { var _local4 = idNames[_local3]; if (typeof(this[_local4]) == "movieclip") { this[_local4].setSize(__width, __height, true); } _local3++; } super.size(); } function set labelPlacement(val) { __labelPlacement = val; invalidate(); //return(labelPlacement); } function get labelPlacement() { return(__labelPlacement); } function getLabelPlacement(Void) { return(__labelPlacement); } function setLabelPlacement(val) { __labelPlacement = val; invalidate(); } function getBtnOffset(Void) { if (getState()) { var _local2 = btnOffset; } else if (phase == "down") { var _local2 = btnOffset; } else { var _local2 = 0; } return(_local2); } function setView(offset) { var _local16 = (offset ? (btnOffset) : 0); var _local12 = getLabelPlacement(); var _local7 = 0; var _local6 = 0; var _local11 = 0; var _local8 = 0; var _local5 = 0; var _local4 = 0; var _local3 = labelPath; var _local2 = iconName; var _local15 = _local3.textWidth; var _local14 = _local3.textHeight; var _local9 = (__width - borderW) - borderW; var _local10 = (__height - borderW) - borderW; if (_local2 != undefined) { _local7 = _local2._width; _local6 = _local2._height; } if ((_local12 == "left") || (_local12 == "right")) { if (_local3 != undefined) { _local11 = Math.min(_local9 - _local7, _local15 + 5); _local3._width = _local11; _local8 = Math.min(_local10, _local14 + 5); _local3._height = _local8; } if (_local12 == "right") { _local5 = _local7; if (centerContent) { _local5 = _local5 + (((_local9 - _local11) - _local7) / 2); } _local2._x = _local5 - _local7; } else { _local5 = (_local9 - _local11) - _local7; if (centerContent) { _local5 = _local5 / 2; } _local2._x = _local5 + _local11; } _local4 = 0; _local2._y = _local4; if (centerContent) { _local2._y = (_local10 - _local6) / 2; _local4 = (_local10 - _local8) / 2; } if (!centerContent) { _local2._y = _local2._y + Math.max(0, (_local8 - _local6) / 2); } } else { if (_local3 != undefined) { _local11 = Math.min(_local9, _local15 + 5); _local3._width = _local11; _local8 = Math.min(_local10 - _local6, _local14 + 5); _local3._height = _local8; } _local5 = (_local9 - _local11) / 2; _local2._x = (_local9 - _local7) / 2; if (_local12 == "top") { _local4 = (_local10 - _local8) - _local6; if (centerContent) { _local4 = _local4 / 2; } _local2._y = _local4 + _local8; } else { _local4 = _local6; if (centerContent) { _local4 = _local4 + (((_local10 - _local8) - _local6) / 2); } _local2._y = _local4 - _local6; } } var _local13 = borderW + _local16; _local3._x = _local5 + _local13; _local3._y = _local4 + _local13; _local2._x = _local2._x + _local13; _local2._y = _local2._y + _local13; } function set label(lbl) { setLabel(lbl); //return(label); } function setLabel(label) { if (label == "") { labelPath.removeTextField(); refresh(); return(undefined); } if (labelPath == undefined) { var _local2 = createLabel("labelPath", 200, label); _local2._width = _local2.textWidth + 5; _local2._height = _local2.textHeight + 5; if (initializing) { _local2.visible = false; } } else { delete labelPath.__text; labelPath.text = label; refresh(); } } function getLabel(Void) { return(((labelPath.__text != undefined) ? (labelPath.__text) : (labelPath.text))); } function get label() { return(getLabel()); } function _getIcon(Void) { return(_iconLinkageName); } function get icon() { if (initializing) { return(initIcon); } return(_iconLinkageName); } function _setIcon(linkage) { if (initializing) { if (linkage == "") { return(undefined); } initIcon = linkage; } else { if (linkage == "") { removeIcons(); return(undefined); } super.changeIcon(0, linkage); super.changeIcon(1, linkage); super.changeIcon(3, linkage); super.changeIcon(4, linkage); super.changeIcon(5, linkage); _iconLinkageName = linkage; refresh(); } } function set icon(linkage) { _setIcon(linkage); //return(icon); } function setHitArea(w, h) { if (hitArea_mc == undefined) { createEmptyObject("hitArea_mc", 100); } var _local2 = hitArea_mc; _local2.clear(); _local2.beginFill(16711680); _local2.drawRect(0, 0, w, h); _local2.endFill(); _local2.setVisible(false); } static var symbolName = "Button"; static var symbolOwner = mx.controls.Button; var className = "Button"; static var version = "2.0.2.127"; var btnOffset = 0; var _color = "buttonColor"; var __label = "default value"; var __labelPlacement = "right"; var falseUpSkin = "ButtonSkin"; var falseDownSkin = "ButtonSkin"; var falseOverSkin = "ButtonSkin"; var falseDisabledSkin = "ButtonSkin"; var trueUpSkin = "ButtonSkin"; var trueDownSkin = "ButtonSkin"; var trueOverSkin = "ButtonSkin"; var trueDisabledSkin = "ButtonSkin"; var falseUpIcon = ""; var falseDownIcon = ""; var falseOverIcon = ""; var falseDisabledIcon = ""; var trueUpIcon = ""; var trueDownIcon = ""; var trueOverIcon = ""; var trueDisabledIcon = ""; var clipParameters = {labelPlacement:1, icon:1, toggle:1, selected:1, label:1}; static var mergedClipParameters = mx.core.UIObject.mergeClipParameters(mx.controls.Button.prototype.clipParameters, mx.controls.SimpleButton.prototype.clipParameters); var centerContent = true; var borderW = 1; }
Symbol 112 MovieClip [__Packages.mx.controls.RadioButton] Frame 0
class mx.controls.RadioButton extends mx.controls.Button { var setToggle, __value, selected, releaseFocus, phase, dispatchEvent, _parent, __data, setState, __state, getFocusManager; function RadioButton () { super(); } function init(Void) { setToggle(__toggle); __value = this; super.init(); } function size(Void) { super.size(); } function onRelease() { if (selected) { return(undefined); } releaseFocus(); phase = "up"; setSelected(true); dispatchEvent({type:"click"}); _parent[__groupName].dispatchEvent({type:"click"}); } function setData(val) { __data = val; } function set data(val) { __data = val; //return(data); } function getData(val) { return(__data); } function get data() { return(__data); } function onUnload() { if (_parent[__groupName].selectedRadio == this) { _parent[__groupName].selectedRadio = undefined; } _parent[__groupName].radioList[indexNumber] = null; delete _parent[__groupName].radioList[indexNumber]; } function setSelected(val) { var _local2 = _parent[__groupName]; var _local5 = _local2.selectedRadio.__width; var _local4 = _local2.selectedRadio.__height; if (val) { _local2.selectedRadio.setState(false); _local2.selectedRadio = this; } else if (_local2.selectedRadio == this) { _local2.selectedRadio.setState(false); _local2.selectedRadio = undefined; } setState(val); } function deleteGroupObj(groupName) { delete _parent[groupName]; } function getGroupName() { return(__groupName); } function get groupName() { return(__groupName); } function setGroupName(groupName) { if ((groupName == undefined) || (groupName == "")) { return(undefined); } delete _parent[__groupName].radioList[__data]; addToGroup(groupName); __groupName = groupName; } function set groupName(groupName) { setGroupName(groupName); //return(this.groupName); } function addToGroup(groupName) { if ((groupName == "") || (groupName == undefined)) { return(undefined); } var _local2 = _parent[groupName]; if (_local2 == undefined) { _local2 = (_parent[groupName] = new mx.controls.RadioButtonGroup()); _local2.__groupName = groupName; } _local2.addInstance(this); if (__state) { _local2.selectedRadio.setState(false); _local2.selectedRadio = this; } } function get emphasized() { return(undefined); } function keyDown(e) { switch (e.code) { case 40 : setNext(); break; case 38 : setPrev(); break; case 37 : setPrev(); break; case 39 : setNext(); } } function setNext() { var _local2 = _parent[groupName]; if ((_local2.selectedRadio.indexNumber + 1) == _local2.radioList.length) { return(undefined); } var _local4 = (_local2.selectedRadio ? (_local2.selectedRadio.indexNumber) : -1); var _local3 = 1; while (_local3 < _local2.radioList.length) { if ((_local2.radioList[_local4 + _local3] != undefined) && (_local2.radioList[_local4 + _local3].enabled)) { var _local5 = getFocusManager(); _local2.radioList[_local4 + _local3].selected = true; _local5.setFocus(_local2.radioList[_local2.selectedRadio.indexNumber]); _local2.dispatchEvent({type:"click"}); break; } _local3++; } } function setPrev() { var _local2 = _parent[groupName]; if (_local2.selectedRadio.indexNumber == 0) { return(undefined); } var _local4 = (_local2.selectedRadio ? (_local2.selectedRadio.indexNumber) : 1); var _local3 = 1; while (_local3 < _local2.radioList.length) { if ((_local2.radioList[_local4 - _local3] != undefined) && (_local2.radioList[_local4 - _local3].enabled)) { var _local5 = getFocusManager(); _local2.radioList[_local4 - _local3].selected = true; _local5.setFocus(_local2.radioList[_local2.selectedRadio.indexNumber]); _local2.dispatchEvent({type:"click"}); break; } _local3++; } } function set toggle(v) { //return(toggle); } function get toggle() { } function set icon(v) { //return(icon); } function get icon() { } static var symbolName = "RadioButton"; static var symbolOwner = mx.controls.RadioButton; static var version = "2.0.2.127"; var className = "RadioButton"; var btnOffset = 0; var __toggle = true; var __label = "Radio Button"; var __labelPlacement = "right"; var ignoreClassStyleDeclaration = {Button:1}; var __groupName = "radioGroup"; var indexNumber = 0; var offset = false; var falseUpSkin = ""; var falseDownSkin = ""; var falseOverSkin = ""; var falseDisabledSkin = ""; var trueUpSkin = ""; var trueDownSkin = ""; var trueOverSkin = ""; var trueDisabledSkin = ""; var falseUpIcon = "RadioFalseUp"; var falseDownIcon = "RadioFalseDown"; var falseOverIcon = "RadioFalseOver"; var falseDisabledIcon = "RadioFalseDisabled"; var trueUpIcon = "RadioTrueUp"; var trueDownIcon = ""; var trueOverIcon = ""; var trueDisabledIcon = "RadioTrueDisabled"; var centerContent = false; var borderW = 0; var clipParameters = {labelPlacement:1, data:1, label:1, groupName:1, selected:1}; static var mergedClipParameters = mx.core.UIObject.mergeClipParameters(mx.controls.RadioButton.prototype.clipParameters, mx.controls.Button.prototype.clipParameters); }
Symbol 113 MovieClip [__Packages.mx.controls.RadioButtonGroup] Frame 0
class mx.controls.RadioButtonGroup { var radioList, __groupName, selectedRadio; function RadioButtonGroup () { init(); mx.events.UIEventDispatcher.initialize(this); } function init(Void) { radioList = new Array(); } function setGroupName(groupName) { if ((groupName == undefined) || (groupName == "")) { return(undefined); } var _local6 = __groupName; _parent[groupName] = this; for (var _local5 in radioList) { radioList[_local5].groupName = groupName; var _local3 = radioList[_local5]; } _local3.deleteGroupObj(_local6); } function getGroupName() { return(__groupName); } function addInstance(instance) { instance.indexNumber = indexNumber++; radioList.push(instance); } function getValue() { if (selectedRadio.data == "") { return(selectedRadio.label); } return(selectedRadio.__data); } function getLabelPlacement() { for (var _local3 in radioList) { var _local2 = radioList[_local3].getLabelPlacement(); } return(_local2); } function setLabelPlacement(pos) { for (var _local3 in radioList) { radioList[_local3].setLabelPlacement(pos); } } function setEnabled(val) { for (var _local3 in radioList) { radioList[_local3].enabled = val; } } function setSize(val, val1) { for (var _local3 in radioList) { radioList[_local3].setSize(val, val1); } } function getEnabled() { for (var _local4 in radioList) { var _local2 = radioList[_local4].enabled; var _local3 = t + (_local2 + 0); } if (_local3 == radioList.length) { return(true); } if (_local3 == 0) { return(false); } } function setStyle(name, val) { for (var _local4 in radioList) { radioList[_local4].setStyle(name, val); } } function setInstance(val) { for (var _local3 in radioList) { if (radioList[_local3] == val) { radioList[_local3].selected = true; } } } function getInstance() { return(selectedRadio); } function setValue(val) { for (var _local4 in radioList) { if ((radioList[_local4].__data == val) || (radioList[_local4].label == val)) { var _local2 = _local4; break; } } if (_local2 != undefined) { selectedRadio.setState(false); selectedRadio.hitArea_mc._height = selectedRadio.__height; selectedRadio.hitArea_mc._width = selectedRadio.__width; selectedRadio = radioList[_local2]; selectedRadio.setState(true); selectedRadio.hitArea_mc._height = (selectedRadio.hitArea_mc._width = 0); } } function set groupName(groupName) { if ((groupName == undefined) || (groupName == "")) { return; } var _local6 = __groupName; _parent[groupName] = this; for (var _local5 in radioList) { radioList[_local5].groupName = groupName; var _local3 = radioList[_local5]; } _local3.deleteGroupObj(_local6); //return(this.groupName); } function get groupName() { return(__groupName); } function set selectedData(val) { for (var _local4 in radioList) { if ((radioList[_local4].__data == val) || (radioList[_local4].label == val)) { var _local2 = _local4; break; } } if (_local2 != undefined) { selectedRadio.setState(false); selectedRadio = radioList[_local2]; selectedRadio.setState(true); } //return(selectedData); } function get selectedData() { if ((selectedRadio.data == "") || (selectedRadio.data == undefined)) { return(selectedRadio.label); } return(selectedRadio.__data); } function get selection() { return(selectedRadio); } function set selection(val) { for (var _local3 in radioList) { if (radioList[_local3] == val) { radioList[_local3].selected = true; } } //return(selection); } function set labelPlacement(pos) { for (var _local3 in radioList) { radioList[_local3].setLabelPlacement(pos); } //return(labelPlacement); } function get labelPlacement() { for (var _local3 in radioList) { var _local2 = radioList[_local3].getLabelPlacement(); } return(_local2); } function set enabled(val) { for (var _local3 in radioList) { radioList[_local3].enabled = val; } //return(enabled); } function get enabled() { var _local2 = 0; for (var _local3 in radioList) { _local2 = _local2 + radioList[_local3].enabled; } if (_local2 == 0) { return(false); } if (_local2 == radioList.length) { return(true); } } static var symbolName = "RadioButtonGroup"; static var symbolOwner = mx.controls.RadioButtonGroup; static var version = "2.0.2.127"; var className = "RadioButtonGroup"; var indexNumber = 0; }
Symbol 114 MovieClip [__Packages.mx.events.UIEventDispatcher] Frame 0
class mx.events.UIEventDispatcher extends mx.events.EventDispatcher { var dispatchQueue, owner, __sentLoadEvent, __origAddEventListener; function UIEventDispatcher () { super(); } static function addKeyEvents(obj) { if (obj.keyHandler == undefined) { var _local1 = (obj.keyHandler = new Object()); _local1.owner = obj; _local1.onKeyDown = _fEventDispatcher.onKeyDown; _local1.onKeyUp = _fEventDispatcher.onKeyUp; } Key.addListener(obj.keyHandler); } static function removeKeyEvents(obj) { Key.removeListener(obj.keyHandler); } static function addLoadEvents(obj) { if (obj.onLoad == undefined) { obj.onLoad = _fEventDispatcher.onLoad; obj.onUnload = _fEventDispatcher.onUnload; if (obj.getBytesTotal() == obj.getBytesLoaded()) { obj.doLater(obj, "onLoad"); } } } static function removeLoadEvents(obj) { delete obj.onLoad; delete obj.onUnload; } static function initialize(obj) { if (_fEventDispatcher == undefined) { _fEventDispatcher = new mx.events.UIEventDispatcher(); } obj.addEventListener = _fEventDispatcher.__addEventListener; obj.__origAddEventListener = _fEventDispatcher.addEventListener; obj.removeEventListener = _fEventDispatcher.removeEventListener; obj.dispatchEvent = _fEventDispatcher.dispatchEvent; obj.dispatchQueue = _fEventDispatcher.dispatchQueue; } function dispatchEvent(eventObj) { if (eventObj.target == undefined) { eventObj.target = this; } this[eventObj.type + "Handler"](eventObj); dispatchQueue(mx.events.EventDispatcher, eventObj); dispatchQueue(this, eventObj); } function onKeyDown(Void) { owner.dispatchEvent({type:"keyDown", code:Key.getCode(), ascii:Key.getAscii(), shiftKey:Key.isDown(16), ctrlKey:Key.isDown(17)}); } function onKeyUp(Void) { owner.dispatchEvent({type:"keyUp", code:Key.getCode(), ascii:Key.getAscii(), shiftKey:Key.isDown(16), ctrlKey:Key.isDown(17)}); } function onLoad(Void) { if (__sentLoadEvent != true) { dispatchEvent({type:"load"}); } __sentLoadEvent = true; } function onUnload(Void) { dispatchEvent({type:"unload"}); } function __addEventListener(event, handler) { __origAddEventListener(event, handler); var _local3 = lowLevelEvents; for (var _local5 in _local3) { if (mx.events.UIEventDispatcher[_local5][event] != undefined) { var _local2 = _local3[_local5][0]; mx.events.UIEventDispatcher[_local2](this); } } } function removeEventListener(event, handler) { var _local6 = "__q_" + event; mx.events.EventDispatcher._removeEventListener(this[_local6], event, handler); if (this[_local6].length == 0) { var _local2 = lowLevelEvents; for (var _local5 in _local2) { if (mx.events.UIEventDispatcher[_local5][event] != undefined) { var _local3 = _local2[_local5][1]; mx.events.UIEventDispatcher[_local2[_local5][1]](this); } } } } static var keyEvents = {keyDown:1, keyUp:1}; static var loadEvents = {load:1, unload:1}; static var lowLevelEvents = {keyEvents:["addKeyEvents", "removeKeyEvents"], loadEvents:["addLoadEvents", "removeLoadEvents"]}; static var _fEventDispatcher = undefined; }
Symbol 115 MovieClip [__Packages.mx.controls.CheckBox] Frame 0
class mx.controls.CheckBox extends mx.controls.Button { var _getTextFormat, labelPath, iconName; function CheckBox () { super(); } function onRelease() { super.onRelease(); } function init() { super.init(); } function size() { super.size(); } function get emphasized() { return(undefined); } function calcPreferredHeight() { var _local5 = _getTextFormat(); var _local3 = _local5.getTextExtent2(labelPath.text).height; var _local4 = iconName._height; var _local2 = 0; if ((__labelPlacement == "left") || (__labelPlacement == "right")) { _local2 = Math.max(_local3, _local4); } else { _local2 = _local3 + _local4; } return(Math.max(14, _local2)); } function set toggle(v) { //return(toggle); } function get toggle() { } function set icon(v) { //return(icon); } function get icon() { } static var symbolName = "CheckBox"; static var symbolOwner = mx.controls.CheckBox; static var version = "2.0.2.127"; var className = "CheckBox"; var ignoreClassStyleDeclaration = {Button:1}; var btnOffset = 0; var __toggle = true; var __selected = false; var __labelPlacement = "right"; var __label = "CheckBox"; var falseUpSkin = ""; var falseDownSkin = ""; var falseOverSkin = ""; var falseDisabledSkin = ""; var trueUpSkin = ""; var trueDownSkin = ""; var trueOverSkin = ""; var trueDisabledSkin = ""; var falseUpIcon = "CheckFalseUp"; var falseDownIcon = "CheckFalseDown"; var falseOverIcon = "CheckFalseOver"; var falseDisabledIcon = "CheckFalseDisabled"; var trueUpIcon = "CheckTrueUp"; var trueDownIcon = "CheckTrueDown"; var trueOverIcon = "CheckTrueOver"; var trueDisabledIcon = "CheckTrueDisabled"; var clipParameters = {label:1, labelPlacement:1, selected:1}; static var mergedClipParameters = mx.core.UIObject.mergeClipParameters(mx.controls.CheckBox.prototype.clipParameters, mx.controls.Button.prototype.clipParameters); var centerContent = false; var borderW = 0; }
Symbol 116 MovieClip [__Packages.jaludo.api.as2.utils.Tooltip] Frame 0
class jaludo.api.as2.utils.Tooltip { var varMaxSize, _content, theTip, tFormat; function Tooltip (content, whatTip, what_add, mSize) { trace((((((("Tooltip.Tooltip > content : " + content) + ", whatTip : ") + whatTip) + ", what_add : ") + what_add) + ", mSize : ") + mSize); varMaxSize = mSize; _content = content; theTip = _content.createEmptyMovieClip("tooltip", _content.getNextHighestDepth()); theTip.attachMovie(whatTip, "tip", theTip.getNextHighestDepth()); theTip.attachMovie(what_add, "_add", theTip.getNextHighestDepth()); theTip.createTextField("theText", theTip.getNextHighestDepth(), 0, 0, varMaxSize, 20); theTip._visible = false; theTip.theText.selectable = false; theTip.theText.multiline = true; theTip.theText.autoSize = "left"; theTip.theText.wordWrap = true; tFormat = new TextFormat(); tFormat.font = "Arial"; tFormat.size = 11; theTip.theText.setNewTextFormat(tFormat); } function showTip(theText) { var _local3 = 10; var stageWidth = jaludo.api.as2.Locator.getCenterX(); theTip._x = _root._xmouse; theTip._y = _root._ymouse - theTip._height; theTip._visible = true; theTip.theText.text = theText; theTip.tip._width = theTip.theText.textWidth + _local3; theTip.tip._height = theTip.theText._height + _local3; theTip.tip._y = (-_local3) / 2; var add_displaced = 30; theTip._add._x = add_displaced; theTip._add._y = theTip.tip._height; if (_root._xmouse > stageWidth) { theTip._xscale = -100; theTip.tip._x = _local3 / 2; theTip.theText._xscale = -100; theTip.theText._x = theTip.tip._width; } else { theTip._xscale = 100; theTip.tip._x = (-_local3) / 2; theTip.theText._xscale = 100; theTip.theText._x = 0; } var dentro = ""; theTip.onMouseMove = function () { if (dentro == "") { if (_root._xmouse > stageWidth) { dentro = "izq"; } else { dentro = "der"; } } if (dentro == "der") { this._x = (_root._xmouse - add_displaced) - jaludo.api.as2.Locator.API_POS_X; } else { this._x = (_root._xmouse + add_displaced) - jaludo.api.as2.Locator.API_POS_X; } this._y = ((_root._ymouse - this._height) + 5) - jaludo.api.as2.Locator.API_POS_Y; updateAfterEvent(); }; } function removeTip() { theTip._visible = false; delete theTip.onMouseMove; } }
Symbol 117 MovieClip [__Packages.jaludo.api.as2.Validator] Frame 0
class jaludo.api.as2.Validator extends mx.events.EventDispatcher { static var V; var dispatchEvent, _password, _email; function Validator () { super(this); } static function get instance() { if (!V) { V = new jaludo.api.as2.Validator(); } return(V); } function checkUser(name) { var _local3 = new org.as2lib.regexp.Pattern("^[a-zA-Z0-9_-]{3,20}$"); var _local2; _local2 = new org.as2lib.regexp.Matcher(_local3, name); if (_local2.matches() == true) { dispatchEvent({type:VALIDATED_SUCCESFULL, data:"checkUser"}); } else if (name != "") { dispatchEvent({type:ERROR_VALIDATED, data:"checkUser", error:"User name must be alphanumeric, between 3 and 20 characters long."}); } else { dispatchEvent({type:NOT_VALIDATE, data:"checkUser"}); } } function checkPassword(pass) { var _local3 = new org.as2lib.regexp.Pattern("^[a-zA-Z0-9_-]{6,20}$"); var _local2; _local2 = new org.as2lib.regexp.Matcher(_local3, pass); if (_local2.matches()) { _password = pass; dispatchEvent({type:VALIDATED_SUCCESFULL, data:"checkPass"}); } else if (pass != "") { dispatchEvent({type:ERROR_VALIDATED, data:"checkPass", error:"Password must be alphanumeric, between 6 and 20 characters long."}); } else { dispatchEvent({type:NOT_VALIDATE, data:"checkPass"}); } } function confirmPassword(pass) { if (_password != "") { if (_password == pass) { _password = ""; dispatchEvent({type:VALIDATED_SUCCESFULL, data:"checkConfirmatedPass"}); } else if (pass != "") { dispatchEvent({type:ERROR_VALIDATED, data:"checkConfirmatedPass", error:"Password fields must be identical."}); } else { dispatchEvent({type:NOT_VALIDATE, data:"checkConfirmatedPass"}); } } else { dispatchEvent({type:NOT_VALIDATE, data:"checkConfirmatedPass"}); } } function checkEmail(email) { var _local2 = new org.as2lib.regexp.Pattern("([0-9a-zA-Z]+[-._+&])*[0-9a-zA-Z]+@([-0-9a-zA-Z]+[.])+[a-zA-Z]{2,3}"); var _local4 = new org.as2lib.regexp.Matcher(_local2, email); if (_local4.matches()) { _email = email; dispatchEvent({type:VALIDATED_SUCCESFULL, data:"checkEmail"}); } else if (email != "") { dispatchEvent({type:ERROR_VALIDATED, data:"checkEmail", error:"The E-mail must exist."}); } else { dispatchEvent({type:NOT_VALIDATE, data:"checkEmail"}); } } function confirmEmail(email) { if (_email != "") { if (_email == email) { _email = ""; dispatchEvent({type:VALIDATED_SUCCESFULL, data:"checkConfirmatedEmail"}); } else if (email != "") { dispatchEvent({type:ERROR_VALIDATED, data:"checkConfirmatedEmail", error:" E-mail fields must be identical."}); } else { dispatchEvent({type:NOT_VALIDATE, data:"checkConfirmatedEmail"}); } } else { dispatchEvent({type:NOT_VALIDATE, data:"checkConfirmatedEmail"}); } } function checkDate(month, day, year) { var _local2 = Number(month); var _local3 = Number(day); var _local6 = Number(year); var _local9 = new Date(); var _local7 = false; var _local4 = false; var _local5 = false; if (year != "") { if ((isNaN(_local6) || (_local6 < Number(_local9.getFullYear() - 100))) || (_local6 > Number(_local9.getFullYear() - 4))) { _local5 = false; } else { _local5 = true; } } if (month != "") { if ((isNaN(_local2) || (_local2 < 1)) || (_local2 > 12)) { _local7 = false; } else { _local7 = true; } } if (day != "") { if ((isNaN(_local3) || (_local3 < 1)) || (_local3 > 31)) { _local4 = false; } else { _local4 = true; } } if ((month != "") && (day != "")) { if (((((_local2 == 4) || (_local2 == 6)) || (_local2 == 9)) || (_local2 == 11)) || (_local2 == 2)) { if (((_local2 == 2) && (_local3 > 28)) || (_local3 > 30)) { _local4 = false; } } } if (((month != "") && (day != "")) && (year != "")) { if (((_local7 == true) && (_local4 == true)) && (_local5 == true)) { dispatchEvent({type:VALIDATED_SUCCESFULL, data:"checkDate"}); } else { dispatchEvent({type:ERROR_VALIDATED, data:"checkDate", error:"Date seems be wrong."}); } } } static var ERROR_VALIDATED = "ERROR_VALIDATED"; static var VALIDATED_SUCCESFULL = "VALIDATED_SUCCESFULL"; static var NOT_VALIDATE = "NOT_VALIDATE"; }
Symbol 118 MovieClip [__Packages.org.as2lib.core.BasicInterface] Frame 0
interface org.as2lib.core.BasicInterface { }
Symbol 119 MovieClip [__Packages.org.as2lib.core.BasicClass] Frame 0
class org.as2lib.core.BasicClass implements org.as2lib.core.BasicInterface { function BasicClass () { } function toString() { return(org.as2lib.Config.getObjectStringifier().execute(this)); } }
Symbol 120 MovieClip [__Packages.org.as2lib.Config] Frame 0
class org.as2lib.Config extends org.as2lib.core.BasicClass { static var objectStringifier; function Config (Void) { super(); } static function setObjectStringifier(newStringifier) { objectStringifier = newStringifier; } static function getObjectStringifier(Void) { if (!objectStringifier) { objectStringifier = new org.as2lib.core.ObjectStringifier(); } return(objectStringifier); } }
Symbol 121 MovieClip [__Packages.org.as2lib.util.Stringifier] Frame 0
interface org.as2lib.util.Stringifier extends org.as2lib.core.BasicInterface { }
Symbol 122 MovieClip [__Packages.org.as2lib.core.ObjectStringifier] Frame 0
class org.as2lib.core.ObjectStringifier extends org.as2lib.core.BasicClass implements org.as2lib.util.Stringifier { function ObjectStringifier () { super(); } function execute(target) { return(("[type " + org.as2lib.env.reflect.ReflectUtil.getTypeName(target)) + "]"); } }
Symbol 123 MovieClip [__Packages.org.as2lib.env.reflect.ReflectUtil] Frame 0
class org.as2lib.env.reflect.ReflectUtil extends org.as2lib.core.BasicClass { function ReflectUtil (Void) { super(); } static function getUnusedMemberName(object) { var _local1 = 10000; var _local3 = MEMBER_PREFIX + "_"; var _local2 = MEMBER_PREFIX + "-"; while (_local1-- , _local1 - -1) { if (object[_local3 + _local1] === undefined) { return(_local3 + _local1); } if (object[_local2 + _local1] === undefined) { return(_local2 + _local1); } } return(null); } static function getTypeAndMethodInfo(object, method) { if ((object === null) || (object === undefined)) { return(null); } if (typeof(object) == "function") { return(getTypeAndMethodInfoByType(object, method)); } return(getTypeAndMethodInfoByInstance(object, method)); } static function getTypeAndMethodInfoByType(type, method) { if ((type === null) || (type === undefined)) { return(null); } if (method.valueOf() == type.valueOf()) { return([false, getTypeNameForType(type), CONSTRUCTOR]); } var _local2 = getMethodNameByObject(method, type); if ((!(_local2 === null)) && (!(_local2 === undefined))) { return([true, getTypeNameForType(type), _local2]); } return(getTypeAndMethodInfoByPrototype(type.prototype, method)); } static function getTypeAndMethodInfoByInstance(instance, method) { if ((instance === null) || (instance === undefined)) { return(null); } if (instance.__constructor__) { if (instance.__constructor__.prototype == instance.__proto__) { return(getTypeAndMethodInfoByType(instance.__constructor__, method)); } } if (instance.constructor) { if (instance.constructor.prototype == instance.__proto__) { return(getTypeAndMethodInfoByType(instance.constructor, method)); } } return(getTypeAndMethodInfoByPrototype(instance.__proto__, method)); } static function getTypeAndMethodInfoByPrototype(p, m) { if ((p === null) || (p === undefined)) { return(null); } var _local6 = p; _global.ASSetPropFlags(_global, null, 0, true); var _local4; while (p) { if (p.constructor.valueOf() == m.valueOf()) { _local4 = CONSTRUCTOR; } else { _local4 = getMethodNameByObject(m, p); } if (_local4 != null) { var _local3 = new Array(); _local3[0] = false; _local3[1] = getTypeNameByPrototype(p, _global, "", [_global]); _local3[2] = _local4; return(_local3); } p = p.__proto__; } return([null, getTypeNameByPrototype(_local6, _global, "", [_global]), null]); } static function getTypeName(object) { if ((object === null) || (object === undefined)) { return(null); } if (typeof(object) == "function") { return(getTypeNameForType(object)); } return(getTypeNameForInstance(object)); } static function getTypeNameForInstance(instance) { if ((instance === null) || (instance === undefined)) { return(null); } _global.ASSetPropFlags(_global, null, 0, true); return(getTypeNameByPrototype(instance.__proto__, _global, "", [_global])); } static function getTypeNameForType(type) { if ((type === null) || (type === undefined)) { return(null); } _global.ASSetPropFlags(_global, null, 0, true); return(getTypeNameByPrototype(type.prototype, _global, "", [_global])); } static function getTypeNameByPrototype(c, p, n, a) { var y = c.__as2lib__typeName; if ((y != null) && (y != c.__proto__.__as2lib__typeName)) { return(y); } if (n == null) { n = ""; } var s = _global.ASSetPropFlags; for (var r in p) { try { if (((!eval ("_global." + r.split("_").join("."))) || (r.indexOf("_") < 0)) && (p[r].prototype === c)) { var x = (n + r); c.__as2lib__typeName = x; s(c, "__as2lib__typeName", 1, true); return(x); } if (p[r].__constructor__.valueOf() == Object) { var f = false; var i = 0; while (i < a.length) { if (a[i].valueOf() == p[r].valueOf()) { f = true; } i++; } if (!f) { a.push(p[r]); r = getTypeNameByPrototype(c, p[r], (n + r) + ".", a); if (r) { return(r); } } } else if (typeof(p[r]) == "function") { p[r].prototype.__as2lib__typeName = n + r; s(p[r].prototype, "__as2lib__typeName", 1, true); } } catch(e) { } } return(null); } static function getMethodName(method, object) { if (((!method) || (object === null)) || (object === undefined)) { return(null); } if (typeof(object) == "function") { return(getMethodNameByType(method, object)); } return(getMethodNameByInstance(method, object)); } static function getMethodNameByInstance(method, instance) { if (((!method) || (instance === null)) || (instance === undefined)) { return(null); } if (instance.__constructor__) { if (instance.__constructor__.prototype == instance.__proto__) { return(getMethodNameByType(method, instance.__constructor__)); } } if (instance.constructor) { if (instance.constructor.prototype == instance.__proto__) { return(getMethodNameByType(method, instance.constructor)); } } return(getMethodNameByPrototype(method, instance.__proto__)); } static function getMethodNameByType(method, type) { if ((!method) || (!type)) { return(null); } var _local1 = getMethodNameByPrototype(method, type.prototype); if (_local1 != null) { return(_local1); } return(getMethodNameByObject(method, type)); } static function getMethodNameByPrototype(m, p) { if ((((m === null) || (m === undefined)) || (p === null)) || (p === undefined)) { return(null); } while (p) { var _local2 = getMethodNameByObject(m, p); if (_local2 != null) { return(_local2); } p = p.__proto__; } return(null); } static function getMethodNameByObject(m, o) { var _local6 = m.__as2lib__methodName; if (_local6 != null) { return(_local6); } var _local5 = _global.ASSetPropFlags; _local5(o, null, 0, true); _local5(o, ["__proto__", "prototype", "__constructor__", "constructor"], 7, true); for (var _local4 in o) { try { if (o[_local4].valueOf() == m.valueOf()) { m.__as2lib__methodName = _local4; return(_local4); } if (typeof(o[_local4]) == "function") { o[_local4].__as2lib__methodName = _local4; } } catch(e) { } } _local5(o, null, 1, true); return(null); } static function isMethodStatic(methodName, object) { if (((!methodName) || (object === null)) || (object === undefined)) { return(false); } if (typeof(object) == "function") { return(isMethodStaticByType(methodName, object)); } return(isMethodStaticByInstance(methodName, object)); } static function isMethodStaticByInstance(methodName, instance) { if (((!methodName) || (instance === null)) || (instance === undefined)) { return(false); } return(isMethodStaticByType(methodName, (instance.__constructor__ ? (instance.__constructor) : (instance.constructor)))); } static function isMethodStaticByType(methodName, type) { if ((!methodName) || (!type)) { return(false); } try { if (type[methodName]) { return(true); } } catch(e) { } return(false); } static function isConstructor(constructor, object) { if ((((constructor === null) || (constructor === undefined)) || (object === null)) || (object === undefined)) { return(false); } if (typeof(object) == "function") { return(isConstructorByType(constructor, object)); } return(isConstructorByInstance(constructor, object)); } static function isConstructorByInstance(method, instance) { if (((!method) || (instance === null)) || (instance === undefined)) { return(false); } return(isConstructorByType(method, (instance.__constructor__ ? (instance.__constructor__) : (instance.constructor)))); } static function isConstructorByType(method, type) { if ((((method === null) || (method === undefined)) || (type === null)) || (type === undefined)) { return(false); } return(method.valueOf() == type.valueOf()); } static function getVariableNames(instance) { var _local3 = new Array(); var _local5 = _global.ASSetPropFlags; _local5(instance, null, 0, true); _local5(instance, ["__proto__", "prototype", "__constructor__", "constructor"], 7, true); for (var _local4 in instance) { try { if (typeof(instance[_local4]) != "function") { _local3.push(_local4); } } catch(e) { } } _local5(instance, null, 1, true); return(_local3); } static function getTypeByName(path) { var result = eval ("_global." + path); if (!result) { result = eval ("_global." + path.split(".").join("_")); } return(result); } static var CONSTRUCTOR = "new"; static var UNKNOWN = "[unknown]"; static var MEMBER_PREFIX = "__as2lib__member"; }
Symbol 124 MovieClip [__Packages.org.as2lib.regexp.node.Node] Frame 0
class org.as2lib.regexp.node.Node extends org.as2lib.core.BasicClass { var next; function Node () { super(); next = org.as2lib.regexp.Pattern.ACCEPT; } function dup(flag) { if (flag) { return(new org.as2lib.regexp.node.Not(this)); } throw new org.as2lib.env.except.Exception("Internal error in Node dup()", this, arguments); } function match(matcher, i, seq) { matcher.last = i; matcher.groups[0] = matcher.first; matcher.groups[1] = matcher.last; return(true); } function study(info) { if (next != null) { return(next.study(info)); } return(info.deterministic); } function getNext(Void) { return(next); } function setNext(next) { this.next = next; } }
Symbol 125 MovieClip [__Packages.org.as2lib.regexp.node.Not] Frame 0
class org.as2lib.regexp.node.Not extends org.as2lib.regexp.node.Node { var atom, next; function Not (atom) { super(); this.atom = atom; } function match(matcher, i, seq) { return((!atom.match(matcher, i, seq)) && (next.match(matcher, i + 1, seq))); } function study(info) { info.minLength++; info.maxLength++; return(next.study(info)); } }
Symbol 126 MovieClip [__Packages.org.as2lib.regexp.node.TreeInfo] Frame 0
class org.as2lib.regexp.node.TreeInfo extends org.as2lib.core.BasicClass { var minLength, maxLength, maxValid, deterministic; function TreeInfo () { super(); reset(); } function reset() { minLength = 0; maxLength = 0; maxValid = true; deterministic = true; } }
Symbol 127 MovieClip [__Packages.org.as2lib.env.except.AbstractThrowable] Frame 0
class org.as2lib.env.except.AbstractThrowable extends Error { static var stringifier, logger; var message, stackTrace, cause, errorCode; function AbstractThrowable (message, thrower, args) { super(); this.message = message; stackTrace = new Array(); addStackTraceElement(thrower, args.callee, args); } static function getStringifier(Void) { if (!stringifier) { stringifier = new org.as2lib.env.except.ThrowableStringifier(); } return(stringifier); } static function setStringifier(throwableStringifier) { stringifier = throwableStringifier; } static function getLogger(Void) { if (!logger) { logger = org.as2lib.env.log.LogManager.getLogger("org.as2lib.env.except.Throwable"); } return(logger); } function addStackTraceElement(thrower, method, args) { stackTrace.push(new org.as2lib.env.except.StackTraceElement(thrower, method, args)); } function getStackTrace(Void) { return(stackTrace); } function getCause(Void) { return(cause); } function initCause(newCause) { if (!newCause) { throw new org.as2lib.env.except.IllegalArgumentException("Cause must not be null or undefined.", this, arguments); } if (cause) { throw new org.as2lib.env.except.IllegalStateException(("The cause [" + cause) + "] has already been initialized.", this, arguments); } cause = newCause; return(org.as2lib.env.except.Throwable(this)); } function getMessage(Void) { return(message); } function initErrorCode(errorCode) { this.errorCode = errorCode; return(org.as2lib.env.except.Throwable(this)); } function getErrorCode(Void) { return(errorCode); } function doToString(Void) { return(getStringifier().execute(this)); } }
Symbol 128 MovieClip [__Packages.org.as2lib.env.log.Logger] Frame 0
interface org.as2lib.env.log.Logger extends org.as2lib.core.BasicInterface { }
Symbol 129 MovieClip [__Packages.org.as2lib.env.except.ThrowableStringifier] Frame 0
class org.as2lib.env.except.ThrowableStringifier extends org.as2lib.core.BasicClass implements org.as2lib.util.Stringifier { var showStackTrace, showCause; function ThrowableStringifier (showStackTrace, showCause) { super(); this.showStackTrace = ((showStackTrace == null) ? true : (showStackTrace)); this.showCause = ((showCause == null) ? true : (showCause)); } function execute(target) { var _local2 = target; var _local3 = ""; var _local4 = org.as2lib.env.reflect.ReflectUtil.getTypeNameForInstance(_local2); var _local5 = _local4.length + 2; _local3 = _local3 + ((_local4 + ": ") + org.as2lib.util.StringUtil.addSpaceIndent(_local2.getMessage(), _local5).substr(_local5)); var _local7 = _local2.getStackTrace(); if (_local7 && (_local7.length > 0)) { _local3 = _local3 + (newline + stringifyStackTrace(_local2.getStackTrace())); } var _local6 = _local2.getCause(); if (_local6) { _local3 = _local3 + ("\nCaused by: " + _local6); } return(_local3); } function stringifyStackTrace(stackTrace) { var _local4 = ""; var _local1 = 0; while (_local1 < stackTrace.length) { var _local2 = stackTrace[_local1]; _local4 = _local4 + (" at " + _local2.toString()); if (_local1 < (stackTrace.length - 1)) { _local4 = _local4 + newline; } _local1++; } return(_local4); } }
Symbol 130 MovieClip [__Packages.org.as2lib.env.except.Throwable] Frame 0
interface org.as2lib.env.except.Throwable extends org.as2lib.core.BasicInterface { }
Symbol 131 MovieClip [__Packages.org.as2lib.util.StringUtil] Frame 0
class org.as2lib.util.StringUtil extends org.as2lib.core.BasicClass { function StringUtil (Void) { super(); } static function replace(string, what, to) { return(string.split(what).join(to)); } static function trim(string) { return(leftTrim(rightTrim(string))); } static function leftTrim(string) { return(leftTrimForChars(string, "\n\t\n ")); } static function rightTrim(string) { return(rightTrimForChars(string, "\n\t\n ")); } static function leftTrimForChars(string, chars) { var _local1 = 0; var _local3 = string.length; while ((_local1 < _local3) && (chars.indexOf(string.charAt(_local1)) >= 0)) { _local1++; } return(((_local1 > 0) ? (string.substr(_local1, _local3)) : (string))); } static function rightTrimForChars(string, chars) { var _local3 = 0; var _local1 = string.length - 1; while ((_local3 < _local1) && (chars.indexOf(string.charAt(_local1)) >= 0)) { _local1--; } return(((_local1 >= 0) ? (string.substr(_local3, _local1 + 1)) : (string))); } static function leftTrimForChar(string, char) { if (char.length != 1) { throw new org.as2lib.env.except.IllegalArgumentException(("The Second Attribute char [" + char) + "] must exactly one character.", this, arguments); } return(leftTrimForChars(string, char)); } static function rightTrimForChar(string, char) { if (char.length != 1) { throw new org.as2lib.env.except.IllegalArgumentException(("The Second Attribute char [" + char) + "] must exactly one character.", this, arguments); } return(rightTrimForChars(string, char)); } static function checkEmail(email) { if (email.length < 6) { return(false); } if ((email.split("@").length > 2) || (email.indexOf("@") < 0)) { return(false); } if (email.lastIndexOf("@") > email.lastIndexOf(".")) { return(false); } if (email.lastIndexOf(".") > (email.length - 3)) { return(false); } if (email.lastIndexOf(".") <= (email.lastIndexOf("@") + 1)) { return(false); } return(true); } static function assureLength(string, length) { if ((length < 0) || ((!length) && (!(length === 0)))) { throw new org.as2lib.env.except.IllegalArgumentException(("The given length [" + length) + "] has to be bigger or equals 0.", this, arguments); } return(string.length >= length); } static function contains(string, chars) { if ((chars == null) || (string == null)) { return(false); } var _local1 = chars.length - 1; while (_local1 >= 0) { if (string.indexOf(chars.charAt(_local1)) >= 0) { return(true); } _local1--; } return(false); } static function startsWith(string, searchString) { if (string.indexOf(searchString) == 0) { return(true); } return(false); } static function endsWith(string, searchString) { if (string.lastIndexOf(searchString) == (string.length - searchString.length)) { return(true); } return(false); } static function addSpaceIndent(string, size) { if (string == null) { string = ""; } if (size < 0) { throw new org.as2lib.env.except.IllegalArgumentException("The given size has to be bigger or equals null.", this, arguments); } var indentString = multiply(" ", size); return(indentString + replace(string, newline, newline + indentString)); } static function multiply(string, factor) { var _local2 = ""; var _local1 = factor; while (_local1 > 0) { _local2 = _local2 + string; _local1--; } return(_local2); } static function ucFirst(string) { return(string.charAt(0).toUpperCase() + string.substr(1)); } static function ucWords(string) { var _local2 = string.split(" "); var _local3 = _local2.length; var _local1 = 0; while (_local1 < _local3) { _local2[_local1] = ucFirst(_local2[_local1]); _local1++; } return(_local2.join(" ")); } static function firstChar(string) { return(string.charAt(0)); } static function lastChar(string) { return(string.charAt(string.length - 1)); } static function getCharValue(char) { var _local1 = char.toUpperCase().charCodeAt(0); if ((_local1 > 47) && (_local1 < 58)) { return(_local1 - 48); } if ((_local1 > 64) && (_local1 < 91)) { return(_local1 - 55); } return(0); } static function escape(string, keyMap, ignoreUnicode) { if (!keyMap) { keyMap = DEFAULT_ESCAPE_MAP; } var _local1 = 0; var _local3 = keyMap.length; while (_local1 < _local3) { string = string.split(keyMap[_local1]).join(keyMap[_local1 + 1]); _local1 = _local1 + 2; } if (!ignoreUnicode) { _local1 = 0; _local3 = string.length; while (_local1 < _local3) { if (string.substring(_local1, _local1 + 2) == "\\u") { string = (string.substring(0, _local1) + String.fromCharCode(parseInt(string.substring(_local1 + 2, _local1 + 6), 16))) + string.substring(_local1 + 6); } _local1++; } } return(string); } static var DEFAULT_ESCAPE_MAP = ["\\t", "\t", "\\n", newline, "\\r", "\r", "\\\"", "\"", "\\\\", "\\", "\\'", "'", "\\f", "\f", "\\b", "\b", "\\", ""]; }
Symbol 132 MovieClip [__Packages.org.as2lib.env.except.FatalException] Frame 0
class org.as2lib.env.except.FatalException extends org.as2lib.env.except.AbstractThrowable implements org.as2lib.env.except.Throwable { var doToString; function FatalException (message, thrower, args) { super(message, thrower, args); } function toString() { if (!arguments.caller) { if (org.as2lib.env.except.AbstractThrowable.getLogger().isFatalEnabled()) { org.as2lib.env.except.AbstractThrowable.getLogger().fatal(this); } } return(doToString()); } }
Symbol 133 MovieClip [__Packages.org.as2lib.env.except.IllegalArgumentException] Frame 0
class org.as2lib.env.except.IllegalArgumentException extends org.as2lib.env.except.FatalException { function IllegalArgumentException (message, thrower, args) { super(message, thrower, args); } }
Symbol 134 MovieClip [__Packages.org.as2lib.env.except.StackTraceElement] Frame 0
class org.as2lib.env.except.StackTraceElement extends org.as2lib.core.BasicClass { static var stringifier; var thrower, method, args; function StackTraceElement (thrower, method, args) { super(); this.thrower = (thrower ? (thrower) : null); this.method = (method ? (method) : null); this.args = (args ? (args.concat()) : null); } static function getStringifier(Void) { if (!stringifier) { stringifier = new org.as2lib.env.except.StackTraceElementStringifier(); } return(stringifier); } static function setStringifier(stackTraceElementStringifier) { stringifier = stackTraceElementStringifier; } function getThrower(Void) { return(thrower); } function getMethod(Void) { return(method); } function getArguments(Void) { return(args.concat()); } function toString() { return(getStringifier().execute(this)); } }
Symbol 135 MovieClip [__Packages.org.as2lib.env.except.StackTraceElementStringifier] Frame 0
class org.as2lib.env.except.StackTraceElementStringifier extends org.as2lib.core.BasicClass implements org.as2lib.util.Stringifier { var showArgumentsValues; function StackTraceElementStringifier (showArgumentsValues) { super(); this.showArgumentsValues = showArgumentsValues; } function execute(target) { var _local7 = target; var _local4; try { var _local6 = org.as2lib.env.reflect.ReflectUtil.getTypeAndMethodInfo(_local7.getThrower(), _local7.getMethod()); _local4 = ((_local6[0] == null) ? (UNKNOWN + " ") : ((_local6[0] ? "static " : ""))); _local4 = _local4 + ((_local6[1] == null) ? (UNKNOWN) : (_local6[1])); _local4 = _local4 + ("." + ((_local6[2] == null) ? (UNKNOWN) : (_local6[2]))); _local4 = _local4 + "("; if (showArgumentsValues) { _local4 = _local4 + (_local7.getArguments().toString() ? (_local7.getArguments().toString()) : (UNKNOWN)); } else { var _local5 = _local7.getArguments(); var _local2 = 0; while (_local2 < _local5.length) { var _local3 = org.as2lib.env.reflect.ReflectUtil.getTypeName(_local5[_local2]); if (_local3 == null) { _local3 = UNKNOWN; } _local4 = _local4 + _local3; if (_local2 < (_local5.length - 1)) { _local4 = _local4 + ", "; } _local2++; } } _local4 = _local4 + ")"; } catch(e) { _local4 = "Exception was thrown during generation of string representation of stack trace element: \n" + org.as2lib.util.StringUtil.addSpaceIndent(e.toString(), 2); } return(_local4); } static var UNKNOWN = "[unknown]"; }
Symbol 136 MovieClip [__Packages.org.as2lib.env.log.LogManager] Frame 0
class org.as2lib.env.log.LogManager extends org.as2lib.core.BasicClass { static var repository, loggerProxies; function LogManager (Void) { super(); } static function getLogger() { if (arguments[0].__proto__ != String.prototype) { return(getLoggerByObject(arguments[0])); } return(getLoggerByName(arguments[0])); } static function getLoggerByObject(object) { return(getLoggerByName(org.as2lib.env.reflect.ReflectUtil.getTypeName(object))); } static function getLoggerByName(loggerName) { if (!repository) { if (loggerProxies[loggerName]) { return(loggerProxies[loggerName]); } if (!loggerProxies) { loggerProxies = new Array(); } var _local2 = getBlankLogger(); _local2.__resolve = function () { return(false); }; _local2.name = loggerName; loggerProxies.push(_local2); loggerProxies[loggerName] = _local2; return(_local2); } var _local2 = repository.getLogger(loggerName); if (_local2) { return(_local2); } return(null); } static function getBlankLogger(Void) { var _local1 = new Object(); _local1.__proto__ = org.as2lib.env.log.Logger.prototype; _local1.__constructor__ = org.as2lib.env.log.Logger; return(_local1); } static function setLogger(logger) { repository = getBlankLoggerRepository(); repository.getLogger = function (loggerName) { return(logger); }; } static function getBlankLoggerRepository(Void) { var _local1 = new Object(); _local1.__proto__ = org.as2lib.env.log.LoggerRepository.prototype; _local1.__constructor__ = org.as2lib.env.log.LoggerRepository; return(_local1); } static function getLoggerRepository(Void) { return(repository); } static function setLoggerRepository(loggerRepository) { repository = loggerRepository; if (loggerProxies) { var _local2 = loggerProxies.length - 1; while (_local2 >= 0) { var _local1 = loggerProxies[_local2]; var _local3 = _local1.name; delete _local1.__constructor__; delete _local1.__resolve; delete _local1.name; loggerProxies.pop(); delete loggerProxies[_local3]; var _local4 = loggerRepository.getLogger(_local3); _local1.__proto__ = _local4; _local2--; } } } static function hasLoggerRepository(Void) { return(repository != null); } }
Symbol 137 MovieClip [__Packages.org.as2lib.env.log.LoggerRepository] Frame 0
interface org.as2lib.env.log.LoggerRepository extends org.as2lib.core.BasicInterface { }
Symbol 138 MovieClip [__Packages.org.as2lib.env.except.IllegalStateException] Frame 0
class org.as2lib.env.except.IllegalStateException extends org.as2lib.env.except.FatalException { var __proto__, message, stackTrace, addStackTraceElement; function IllegalStateException (message, thrower, args) { super(); __proto__.__proto__ = org.as2lib.env.except.FatalException.prototype; this.message = message; stackTrace = new Array(); addStackTraceElement(thrower, args.callee, args); } }
Symbol 139 MovieClip [__Packages.org.as2lib.env.except.Exception] Frame 0
class org.as2lib.env.except.Exception extends org.as2lib.env.except.AbstractThrowable implements org.as2lib.env.except.Throwable { var doToString; function Exception (message, thrower, args) { super(message, thrower, args); } function toString() { if (!arguments.caller) { if (org.as2lib.env.except.AbstractThrowable.getLogger().isErrorEnabled()) { org.as2lib.env.except.AbstractThrowable.getLogger().error(this); } } return(doToString()); } }
Symbol 140 MovieClip [__Packages.org.as2lib.regexp.node.LastNode] Frame 0
class org.as2lib.regexp.node.LastNode extends org.as2lib.regexp.node.Node { function LastNode () { super(); } function match(matcher, i, seq) { if ((matcher.acceptMode == org.as2lib.regexp.Matcher.ENDANCHOR) && (i != matcher.to)) { return(false); } matcher.last = i; matcher.groups[0] = matcher.first; matcher.groups[1] = matcher.last; return(true); } }
Symbol 141 MovieClip [__Packages.org.as2lib.regexp.Matcher] Frame 0
class org.as2lib.regexp.Matcher extends org.as2lib.core.BasicClass { var first, last, oldLast, lastAppendPosition, parentPattern, text, groups, locals, to, from; function Matcher (newParent, newText) { super(); acceptMode = NOANCHOR; first = -1; last = -1; oldLast = -1; lastAppendPosition = 0; parentPattern = newParent; text = newText; var _local4 = Math.max(newParent.groupCount, 10); groups = new Array(_local4 * 2); locals = new Array(newParent.localCount); reset(); } function getPattern(Void) { return(parentPattern); } function reset(input) { if (input != null) { text = input; } first = -1; last = -1; oldLast = -1; var _local2 = 0; while (_local2 < groups.length) { groups[_local2] = -1; _local2++; } _local2 = 0; while (_local2 < locals.length) { locals[_local2] = -1; _local2++; } lastAppendPosition = 0; return(this); } function getStartIndex(group) { if (first < 0) { throw new org.as2lib.env.except.Exception("No match available", this, arguments); } if (group != null) { if (group > getGroupCount()) { throw new org.as2lib.env.except.Exception("No group " + group, this, arguments); } return(groups[group * 2]); } return(first); } function getEndIndex(group) { if (first < 0) { throw new org.as2lib.env.except.Exception("No match available", this, arguments); } if (group != null) { if (group > getGroupCount()) { throw new org.as2lib.env.except.Exception("No group " + group, this, arguments); } return(groups[(group * 2) + 1]); } return(last); } function getGroup(group) { if (first < 0) { throw new org.as2lib.env.except.Exception("No match found", this, arguments); } if (group == null) { group = 0; } if ((group < 0) || (group > getGroupCount())) { throw new org.as2lib.env.except.Exception("No group " + group, this, arguments); } if ((groups[group * 2] == -1) || (groups[(group * 2) + 1] == -1)) { return(null); } return(getSubSequence(groups[group * 2], groups[(group * 2) + 1])); } function getGroupCount(Void) { return(parentPattern.groupCount - 1); } function matches(Void) { reset(); return(match(0, getTextLength(), ENDANCHOR)); } function find(newFrom, newTo) { if ((newFrom == null) && (newTo == null)) { if (last == first) { last++; } if (last > to) { var _local2 = 0; while (_local2 < groups.length) { groups[_local2] = -1; _local2++; } return(false); } newFrom = last; newTo = getTextLength(); } else if ((from != null) && (to == null)) { newTo = getTextLength(); reset(); } from = ((newFrom < 0) ? 0 : (newFrom)); to = newTo; first = from; last = -1; oldLast = ((oldLast < 0) ? (from) : (oldLast)); var _local2 = 0; while (_local2 < groups.length) { groups[_local2] = -1; _local2++; } acceptMode = NOANCHOR; var _local4 = parentPattern.root.match(this, from, text); if (!_local4) { first = -1; } oldLast = last; return(_local4); } function lookingAt(Void) { reset(); return(match(0, getTextLength(), NOANCHOR)); } function appendReplacement(source, replacement) { if (first < 0) { throw new org.as2lib.env.except.Exception("No match available", this, arguments); } var _local3 = 0; var _local12 = replacement; var _local10 = new String(); while (_local3 < replacement.length) { var _local8 = replacement.charCodeAt(_local3); if (_local8 == 92) { _local3++; _local8 = replacement.charCodeAt(_local3); _local10 = _local10 + chr(_local8); _local3++; } else if (_local8 == 36) { _local3++; var _local4 = replacement.charCodeAt(_local3) - 48; if ((_local4 < 0) || (_local4 > 9)) { throw new org.as2lib.env.except.Exception("Illegal group reference", this, arguments); } _local3++; var _local9 = false; while (!_local9) { if (_local3 >= replacement.length) { break; } var _local5 = replacement.charCodeAt(_local3) - 48; if ((_local5 < 0) || (_local5 > 9)) { break; } var _local7 = (_local4 * 10) + _local5; if (getGroupCount() < _local7) { _local9 = true; } else { _local4 = _local7; _local3++; } } if (getGroup(_local4) != null) { _local10 = _local10 + String(getGroup(_local4)); } } else { _local10 = _local10 + chr(_local8); _local3++; } } source = source + getSubSequence(lastAppendPosition, first); source = source + _local10; lastAppendPosition = last; return(source); } function appendTail(source) { return(source + getSubSequence(lastAppendPosition, getTextLength())); } function replaceAll(replacement) { reset(); var _local2 = find(); if (_local2) { var _local3 = new String(); do { appendReplacement(_local3, replacement); _local2 = find(); } while (_local2); appendTail(_local3); return(_local3); } return(text); } function replaceFirst(replacement) { var _local2 = new String(); reset(); if (find()) { appendReplacement(_local2, replacement); } appendTail(_local2); return(_local2); } function match(newFrom, newTo, anchor) { from = ((newFrom < 0) ? 0 : (newFrom)); to = newTo; first = from; last = -1; oldLast = ((oldLast < 0) ? (from) : (oldLast)); var _local2 = 0; while (_local2 < groups.length) { groups[_local2] = -1; _local2++; } acceptMode = anchor; var _local3 = parentPattern.matchRoot.match(this, from, text); if (!_local3) { first = -1; } oldLast = last; return(_local3); } function getTextLength(Void) { return(text.length); } function getSubSequence(beginIndex, endIndex) { return(text.substring(beginIndex, endIndex)); } static var ENDANCHOR = 1; static var NOANCHOR = 0; var acceptMode = NOANCHOR; }
Symbol 142 MovieClip [__Packages.org.as2lib.regexp.Pattern] Frame 0
class org.as2lib.regexp.Pattern extends org.as2lib.core.BasicClass { var pattern, flags, cursor, groupCount, localCount, root, matchRoot, patternLength, temp, buffer, groupNodes; function Pattern (newPattern, newFlags) { super(); pattern = newPattern; flags = ((newFlags != null) ? (newFlags) : 0); cursor = 0; groupCount = 1; localCount = 0; if (pattern.length > 0) { compile(); } else { root = new org.as2lib.regexp.node.Start(LASTACCEPT); matchRoot = LASTACCEPT; } } function getPattern(Void) { return(pattern); } function getMatcher(input) { var _local2 = new org.as2lib.regexp.Matcher(this, input); return(_local2); } function getFlags(Void) { return(flags); } static function matches(pattern, input) { var _local1 = new org.as2lib.regexp.Pattern(pattern); var _local2 = _local1.getMatcher(input); return(_local2.matches()); } function split(input, limit) { if (limit == null) { limit = 0; } var _local3 = 0; var _local9 = limit > 0; var _local2 = new Array(); var _local4 = getMatcher(input); while (_local4.find()) { if ((!_local9) || (_local2.length < (limit - 1))) { var _local7 = input.substring(_local3, _local4.getStartIndex()); _local2.push(_local7); _local3 = _local4.getEndIndex(); } else if (_local2.length == (limit - 1)) { var _local7 = input.substring(_local3, input.length); _local2.push(_local7); _local3 = _local4.getEndIndex(); } } if (_local3 == 0) { return([input.toString()]); } if ((!_local9) || (_local2.length < limit)) { _local2.push(input.substring(_local3, input.length)); } var _local6 = _local2.length; if (limit == 0) { while ((_local6 > 0) && (_local2[_local6 - 1].equals(""))) { _local6--; } } return(_local2.slice(0, _local6)); } function compile(Void) { patternLength = pattern.length; temp = new Array(patternLength + 2); temp = toCharCodeArray(pattern); temp[patternLength] = 0; temp[patternLength + 1] = 0; buffer = new Array(32); groupNodes = new Array(10); matchRoot = parseExpression(LASTACCEPT); if (patternLength != cursor) { if (peekChar() == 41) { throwError("Unmatched closing ')'", arguments); } else { throwError("Unexpected internal error", arguments); } } if (matchRoot instanceof org.as2lib.regexp.node.Slice) { root = org.as2lib.regexp.node.BnM.optimize(matchRoot); if (root == matchRoot) { root = new org.as2lib.regexp.node.Start(matchRoot); } } else if ((matchRoot instanceof org.as2lib.regexp.node.Begin) || (matchRoot instanceof org.as2lib.regexp.node.First)) { root = matchRoot; } else { root = new org.as2lib.regexp.node.Start(matchRoot); } temp = null; buffer = null; groupNodes = null; patternLength = 0; } static function printObjectTree(node) { while (node != null) { if (node instanceof org.as2lib.regexp.node.Prolog) { trace(node); printObjectTree(org.as2lib.regexp.node.Prolog(node).getLoop()); trace("**** end contents prolog loop"); } else if (node instanceof org.as2lib.regexp.node.Loop) { trace(node); printObjectTree(org.as2lib.regexp.node.Loop(node).getBody()); trace("**** end contents Loop body"); } else if (node instanceof org.as2lib.regexp.node.Curly) { trace(node); printObjectTree(org.as2lib.regexp.node.Curly(node).getAtom()); trace("**** end contents Curly body"); } else { if (node instanceof org.as2lib.regexp.node.GroupTail) { trace(node); trace("Tail next is " + node.getNext()); return(undefined); } trace(node); } node = node.getNext(); if (node != null) { trace("->next:"); } if (node == ACCEPT) { trace("Accept Node"); node = null; } } } function hasFlag(f) { return((flags & f) > 0); } function acceptChar(ch, s) { var _local3 = temp[cursor++]; if (hasFlag(COMMENTS)) { _local3 = parsePastWhitespace(_local3); } if (ch != _local3) { throwError(s, arguments); } } function markChar(c) { temp[patternLength] = c; } function peekChar(Void) { var _local2 = temp[cursor]; if (hasFlag(COMMENTS)) { _local2 = peekPastWhitespace(_local2); } return(_local2); } function readChar(Void) { var _local2 = temp[cursor++]; if (hasFlag(COMMENTS)) { _local2 = parsePastWhitespace(_local2); } return(_local2); } function readEscapedChar(Void) { var _local2 = temp[cursor++]; return(_local2); } function nextChar(Void) { var _local2 = temp[++cursor]; if (hasFlag(COMMENTS)) { _local2 = peekPastWhitespace(_local2); } return(_local2); } function nextEscapedChar(Void) { var _local2 = temp[++cursor]; return(_local2); } function peekPastWhitespace(ch) { while (org.as2lib.regexp.AsciiUtil.isSpace(ch) || (ch == 35)) { while (org.as2lib.regexp.AsciiUtil.isSpace(ch)) { ch = temp[++cursor]; } if (ch == 35) { ch = peekPastLine(); } } return(ch); } function parsePastWhitespace(ch) { while (org.as2lib.regexp.AsciiUtil.isSpace(ch) || (ch == 35)) { while (org.as2lib.regexp.AsciiUtil.isSpace(ch)) { ch = temp[cursor++]; } if (ch == 35) { ch = parsePastLine(); } } return(ch); } function parsePastLine(Void) { var _local2 = temp[cursor++]; while ((_local2 != 0) && (!isLineSeparator(_local2))) { _local2 = temp[cursor++]; } return(_local2); } function peekPastLine(Void) { var _local2 = temp[++cursor]; while ((_local2 != 0) && (!isLineSeparator(_local2))) { _local2 = temp[++cursor]; } return(_local2); } function isLineSeparator(ch) { if (hasFlag(UNIX_LINES)) { return(ch == 10); } return((((ch == 10) || (ch == 13)) || ((ch | 1) == 8233)) || (ch == 133)); } function skipChar(Void) { var _local2 = cursor; var _local3 = temp[_local2 + 1]; cursor = _local2 + 2; return(_local3); } function unreadChar(Void) { cursor--; } function throwError(desc, args) { throw new org.as2lib.regexp.PatternSyntaxException(desc, this, args); } function parseExpression(end) { var _local2 = null; while (true) { var _local3 = parseSequence(end); if (_local2 == null) { _local2 = _local3; } else { _local2 = new org.as2lib.regexp.node.Branch(_local2, _local3); } if (peekChar() != 124) { return(_local2); } nextChar(); } } function parseSequence(end) { var _local6 = null; var _local5 = null; var _local3 = null; var _local11; var _local10; var _local4; while (true) { _local4 = peekChar(); if (_local4 == 40) { _local3 = parseGroup(); if (_local3 == null) { continue; } if (_local6 == null) { _local6 = _local3; } else { _local5.setNext(_local3); } _local5 = root; continue; } if (_local4 == 91) { _local3 = parseClass(true); } else if (_local4 == 92) { _local4 = nextEscapedChar(); if ((_local4 == 112) || (_local4 == 80)) { var _local8 = _local4 == 80; var _local7 = true; _local4 = nextChar(); if (_local4 != 123) { unreadChar(); } else { _local7 = false; } _local3 = parseFamily(_local8, _local7); } else { unreadChar(); _local3 = parseAtom(); } } else if (_local4 == 94) { nextChar(); if (hasFlag(MULTILINE)) { if (hasFlag(UNIX_LINES)) { _local3 = new org.as2lib.regexp.node.UnixCaret(); } else { _local3 = new org.as2lib.regexp.node.Caret(); } } else { _local3 = new org.as2lib.regexp.node.Begin(); } } else if (_local4 == 36) { nextChar(); if (hasFlag(UNIX_LINES)) { _local3 = new org.as2lib.regexp.node.UnixDollar(hasFlag(MULTILINE)); } else { _local3 = new org.as2lib.regexp.node.Dollar(hasFlag(MULTILINE)); } } else if (_local4 == 46) { nextChar(); if (hasFlag(DOTALL)) { _local3 = new org.as2lib.regexp.node.All(); } else if (hasFlag(UNIX_LINES)) { _local3 = new org.as2lib.regexp.node.UnixDot(); } else { _local3 = new org.as2lib.regexp.node.Dot(); } } else { if ((_local4 == 124) || (_local4 == 41)) { break; } if ((_local4 == 93) || (_local4 == 125)) { _local3 = parseAtom(); } else if (((_local4 == 63) || (_local4 == 42)) || (_local4 == 43)) { nextChar(); throwError(("Dangling meta character '" + chr(_local4)) + "'", arguments); } else { if (_local4 == 0) { if (cursor >= patternLength) { break; } } _local3 = parseAtom(); } } _local3 = parseClosure(_local3); if (_local6 == null) { _local5 = _local3; _local6 = _local5; } else { _local5.setNext(_local3); _local5 = _local3; } } if (_local6 == null) { return(end); } _local5.setNext(end); return(_local6); } function parseAtom(Void) { var _local3 = 0; var _local4 = -1; var _local2 = peekChar(); if (true) { if ((((_local2 == 42) || (_local2 == 43)) || (_local2 == 63)) || (_local2 == 123)) { if (_local3 > 1) { cursor = _local4; _local3--; } // unexpected jump } if (((((((_local2 == 36) || (_local2 == 46)) || (_local2 == 94)) || (_local2 == 40)) || (_local2 == 91)) || (_local2 == 124)) || (_local2 == 41)) { // unexpected jump } if (_local2 == 92) { _local2 = nextEscapedChar(); if ((_local2 == 112) || (_local2 == 80)) { if (_local3 > 0) { unreadChar(); } else if ((_local2 == 112) || (_local2 == 80)) { var _local6 = _local2 == 80; var _local5 = true; _local2 = nextChar(); if (_local2 != 123) { unreadChar(); } else { _local5 = false; } return(parseFamily(_local6, _local5)); } } else { unreadChar(); _local4 = cursor; _local2 = parseEscape(false, _local3 == 0); if (_local2 != null) { appendChar(_local2, _local3); _local3++; _local2 = peekChar(); // unexpected jump } if (_local3 == 0) { return(root); } cursor = _local4; } // unexpected jump } if (_local2 == 0) { if (cursor >= patternLength) { // unexpected jump } } _local4 = cursor; appendChar(_local2, _local3); _local3++; _local2 = nextChar(); // unexpected jump } if (_local3 == 1) { return(ceateSingle(buffer[0])); } return(createSlice(buffer, _local3)); } function appendChar(ch, len) { buffer[len] = ch; } function parseBackRef(refNum) { var _local4 = false; while (!_local4) { var _local2 = peekChar(); switch (_local2) { case 48 : case 49 : case 50 : case 51 : case 52 : case 53 : case 54 : case 55 : case 56 : case 57 : var _local3 = (refNum * 10) + (_local2 - 48); if ((groupCount - 1) < _local3) { _local4 = true; break; } refNum = _local3; readChar(); break; default : _local4 = true; } } if (hasFlag(CASE_INSENSITIVE)) { return(new org.as2lib.regexp.node.BackRefA(refNum)); } return(new org.as2lib.regexp.node.BackRef(refNum)); } function parseEscape(inclass, create) { var _local9 = skipChar(); switch (_local9) { case 48 : return(parseOctal()); case 49 : case 50 : case 51 : case 52 : case 53 : case 54 : case 55 : case 56 : case 57 : if (inclass) { break; } if (groupCount < (_local9 - 48)) { throwError("No such group yet exists at this point in the pattern", arguments); } if (create) { root = parseBackRef(_local9 - 48); } return(null); case 65 : if (inclass) { } else { if (create) { root = new org.as2lib.regexp.node.Begin(); } return(null); if (inclass) { } else { if (create) { root = new org.as2lib.regexp.node.Bound(org.as2lib.regexp.node.Bound.NONE); } return(null); break; if (create) { root = new org.as2lib.regexp.node.NotPosix(org.as2lib.regexp.AsciiUtil.DIGIT); } return(null); break; if (inclass) { } else { if (create) { root = new org.as2lib.regexp.node.LastMatch(); } return(null); break; if (create) { var _local5 = cursor; var _local4; while (_local4 = readEscapedChar() , _local4 != 0) { if (_local4 == 92) { _local4 = readEscapedChar(); if ((_local4 == 69) || (_local4 == 0)) { break; } } } var _local7 = cursor - 1; if (_local4 == 69) { _local7--; } else { unreadChar(); } var _local3 = _local5; while (_local3 < _local7) { appendChar(temp[_local3], _local3 - _local5); _local3++; } root = createSlice(buffer, _local7 - _local5); } return(null); break; if (create) { root = new org.as2lib.regexp.node.NotPosix(org.as2lib.regexp.AsciiUtil.SPACE); } return(null); break; if (create) { root = new org.as2lib.regexp.node.NotPosix(org.as2lib.regexp.AsciiUtil.WORD); } return(null); break; if (inclass) { } else { if (create) { if (hasFlag(UNIX_LINES)) { root = new org.as2lib.regexp.node.UnixDollar(false); } else { root = new org.as2lib.regexp.node.Dollar(false); } } return(null); return(Number(7)); if (inclass) { } else { if (create) { root = new org.as2lib.regexp.node.Bound(org.as2lib.regexp.node.Bound.BOTH); } return(null); return(parseControl()); if (create) { root = new org.as2lib.regexp.node.Posix(org.as2lib.regexp.AsciiUtil.DIGIT); } return(null); return(Number(27)); return(Number(12)); break; return(Number(10)); break; return(Number(13)); if (create) { root = new org.as2lib.regexp.node.Posix(org.as2lib.regexp.AsciiUtil.SPACE); } return(null); return(Number(9)); return(parseUnicode()); return(Number(11)); if (create) { root = new org.as2lib.regexp.node.Posix(org.as2lib.regexp.AsciiUtil.WORD); } return(null); return(parseHexal()); break; if (inclass) { } else { if (create) { root = new org.as2lib.regexp.node.End(); } return(null); return(_local9); } } } } } } case 66 : if (inclass) { } else { if (create) { root = new org.as2lib.regexp.node.Bound(org.as2lib.regexp.node.Bound.NONE); } return(null); break; if (create) { root = new org.as2lib.regexp.node.NotPosix(org.as2lib.regexp.AsciiUtil.DIGIT); } return(null); break; if (inclass) { } else { if (create) { root = new org.as2lib.regexp.node.LastMatch(); } return(null); break; if (create) { var _local5 = cursor; var _local4; while (_local4 = readEscapedChar() , _local4 != 0) { if (_local4 == 92) { _local4 = readEscapedChar(); if ((_local4 == 69) || (_local4 == 0)) { break; } } } var _local7 = cursor - 1; if (_local4 == 69) { _local7--; } else { unreadChar(); } var _local3 = _local5; while (_local3 < _local7) { appendChar(temp[_local3], _local3 - _local5); _local3++; } root = createSlice(buffer, _local7 - _local5); } return(null); break; if (create) { root = new org.as2lib.regexp.node.NotPosix(org.as2lib.regexp.AsciiUtil.SPACE); } return(null); break; if (create) { root = new org.as2lib.regexp.node.NotPosix(org.as2lib.regexp.AsciiUtil.WORD); } return(null); break; if (inclass) { } else { if (create) { if (hasFlag(UNIX_LINES)) { root = new org.as2lib.regexp.node.UnixDollar(false); } else { root = new org.as2lib.regexp.node.Dollar(false); } } return(null); return(Number(7)); if (inclass) { } else { if (create) { root = new org.as2lib.regexp.node.Bound(org.as2lib.regexp.node.Bound.BOTH); } return(null); return(parseControl()); if (create) { root = new org.as2lib.regexp.node.Posix(org.as2lib.regexp.AsciiUtil.DIGIT); } return(null); return(Number(27)); return(Number(12)); break; return(Number(10)); break; return(Number(13)); if (create) { root = new org.as2lib.regexp.node.Posix(org.as2lib.regexp.AsciiUtil.SPACE); } return(null); return(Number(9)); return(parseUnicode()); return(Number(11)); if (create) { root = new org.as2lib.regexp.node.Posix(org.as2lib.regexp.AsciiUtil.WORD); } return(null); return(parseHexal()); break; if (inclass) { } else { if (create) { root = new org.as2lib.regexp.node.End(); } return(null); return(_local9); } } } } } case 67 : break; case 68 : if (create) { root = new org.as2lib.regexp.node.NotPosix(org.as2lib.regexp.AsciiUtil.DIGIT); } return(null); case 69 : case 70 : break; case 71 : if (inclass) { } else { if (create) { root = new org.as2lib.regexp.node.LastMatch(); } return(null); break; if (create) { var _local5 = cursor; var _local4; while (_local4 = readEscapedChar() , _local4 != 0) { if (_local4 == 92) { _local4 = readEscapedChar(); if ((_local4 == 69) || (_local4 == 0)) { break; } } } var _local7 = cursor - 1; if (_local4 == 69) { _local7--; } else { unreadChar(); } var _local3 = _local5; while (_local3 < _local7) { appendChar(temp[_local3], _local3 - _local5); _local3++; } root = createSlice(buffer, _local7 - _local5); } return(null); break; if (create) { root = new org.as2lib.regexp.node.NotPosix(org.as2lib.regexp.AsciiUtil.SPACE); } return(null); break; if (create) { root = new org.as2lib.regexp.node.NotPosix(org.as2lib.regexp.AsciiUtil.WORD); } return(null); break; if (inclass) { } else { if (create) { if (hasFlag(UNIX_LINES)) { root = new org.as2lib.regexp.node.UnixDollar(false); } else { root = new org.as2lib.regexp.node.Dollar(false); } } return(null); return(Number(7)); if (inclass) { } else { if (create) { root = new org.as2lib.regexp.node.Bound(org.as2lib.regexp.node.Bound.BOTH); } return(null); return(parseControl()); if (create) { root = new org.as2lib.regexp.node.Posix(org.as2lib.regexp.AsciiUtil.DIGIT); } return(null); return(Number(27)); return(Number(12)); break; return(Number(10)); break; return(Number(13)); if (create) { root = new org.as2lib.regexp.node.Posix(org.as2lib.regexp.AsciiUtil.SPACE); } return(null); return(Number(9)); return(parseUnicode()); return(Number(11)); if (create) { root = new org.as2lib.regexp.node.Posix(org.as2lib.regexp.AsciiUtil.WORD); } return(null); return(parseHexal()); break; if (inclass) { } else { if (create) { root = new org.as2lib.regexp.node.End(); } return(null); return(_local9); } } } } case 72 : case 73 : case 74 : case 75 : case 76 : case 77 : case 78 : case 79 : case 80 : break; case 81 : if (create) { var _local5 = cursor; var _local4; while (_local4 = readEscapedChar() , _local4 != 0) { if (_local4 == 92) { _local4 = readEscapedChar(); if ((_local4 == 69) || (_local4 == 0)) { break; } } } var _local7 = cursor - 1; if (_local4 == 69) { _local7--; } else { unreadChar(); } var _local3 = _local5; while (_local3 < _local7) { appendChar(temp[_local3], _local3 - _local5); _local3++; } root = createSlice(buffer, _local7 - _local5); } return(null); case 82 : break; case 83 : if (create) { root = new org.as2lib.regexp.node.NotPosix(org.as2lib.regexp.AsciiUtil.SPACE); } return(null); case 84 : case 85 : case 86 : break; case 87 : if (create) { root = new org.as2lib.regexp.node.NotPosix(org.as2lib.regexp.AsciiUtil.WORD); } return(null); case 88 : case 89 : break; case 90 : if (inclass) { } else { if (create) { if (hasFlag(UNIX_LINES)) { root = new org.as2lib.regexp.node.UnixDollar(false); } else { root = new org.as2lib.regexp.node.Dollar(false); } } return(null); return(Number(7)); if (inclass) { } else { if (create) { root = new org.as2lib.regexp.node.Bound(org.as2lib.regexp.node.Bound.BOTH); } return(null); return(parseControl()); if (create) { root = new org.as2lib.regexp.node.Posix(org.as2lib.regexp.AsciiUtil.DIGIT); } return(null); return(Number(27)); return(Number(12)); break; return(Number(10)); break; return(Number(13)); if (create) { root = new org.as2lib.regexp.node.Posix(org.as2lib.regexp.AsciiUtil.SPACE); } return(null); return(Number(9)); return(parseUnicode()); return(Number(11)); if (create) { root = new org.as2lib.regexp.node.Posix(org.as2lib.regexp.AsciiUtil.WORD); } return(null); return(parseHexal()); break; if (inclass) { } else { if (create) { root = new org.as2lib.regexp.node.End(); } return(null); return(_local9); } } } case 97 : return(Number(7)); case 98 : if (inclass) { } else { if (create) { root = new org.as2lib.regexp.node.Bound(org.as2lib.regexp.node.Bound.BOTH); } return(null); return(parseControl()); if (create) { root = new org.as2lib.regexp.node.Posix(org.as2lib.regexp.AsciiUtil.DIGIT); } return(null); return(Number(27)); return(Number(12)); break; return(Number(10)); break; return(Number(13)); if (create) { root = new org.as2lib.regexp.node.Posix(org.as2lib.regexp.AsciiUtil.SPACE); } return(null); return(Number(9)); return(parseUnicode()); return(Number(11)); if (create) { root = new org.as2lib.regexp.node.Posix(org.as2lib.regexp.AsciiUtil.WORD); } return(null); return(parseHexal()); break; if (inclass) { } else { if (create) { root = new org.as2lib.regexp.node.End(); } return(null); return(_local9); } } case 99 : return(parseControl()); case 100 : if (create) { root = new org.as2lib.regexp.node.Posix(org.as2lib.regexp.AsciiUtil.DIGIT); } return(null); case 101 : return(Number(27)); case 102 : return(Number(12)); case 103 : case 104 : case 105 : case 106 : case 107 : case 108 : case 109 : break; case 110 : return(Number(10)); case 111 : case 112 : case 113 : break; case 114 : return(Number(13)); case 115 : if (create) { root = new org.as2lib.regexp.node.Posix(org.as2lib.regexp.AsciiUtil.SPACE); } return(null); case 116 : return(Number(9)); case 117 : return(parseUnicode()); case 118 : return(Number(11)); case 119 : if (create) { root = new org.as2lib.regexp.node.Posix(org.as2lib.regexp.AsciiUtil.WORD); } return(null); case 120 : return(parseHexal()); case 121 : break; case 122 : if (inclass) { } else { if (create) { root = new org.as2lib.regexp.node.End(); } return(null); return(_local9); } default : return(_local9); } throwError("Illegal/unsupported escape squence", arguments); return(null); } function parseClass(consume) { var _local3 = null; var _local6 = null; var _local9 = new org.as2lib.regexp.node.BitClass(false); var _local8 = true; var _local7 = true; var _local5 = nextChar(); while (true) { switch (_local5) { case 94 : if (_local7) { if (temp[cursor - 1] != 91) { break; } _local5 = nextChar(); _local8 = !_local8; continue;//outer level } break; case 91 : _local7 = false; _local6 = parseClass(true); if (_local3 == null) { _local3 = _local6; } else { _local3 = new org.as2lib.regexp.node.Add(_local3, _local6); } _local5 = peekChar(); continue;//outer level case 38 : _local7 = false; _local5 = nextChar(); if (_local5 == 38) { _local5 = nextChar(); var _local4 = null; while ((_local5 != 93) && (_local5 != 38)) { if (_local5 == 91) { if (_local4 == null) { _local4 = parseClass(true); } else { _local4 = new org.as2lib.regexp.node.Add(_local4, parseClass(true)); } } else { unreadChar(); _local4 = parseClass(false); } _local5 = peekChar(); } if (_local4 != null) { _local6 = _local4; } if (_local3 == null) { if (_local4 == null) { throwError("Bad class syntax", arguments); } else { _local3 = _local4; } } else { _local3 = new org.as2lib.regexp.node.Both(_local3, _local6); } } else { unreadChar(); break; } continue;//outer level case 0 : _local7 = false; if (cursor >= patternLength) { throwError("Unclosed character class", arguments); } break; case 93 : _local7 = false; if (_local3 != null) { if (consume) { nextChar(); } return(_local3); } break; default : _local7 = false; } _local6 = parseRange(_local9); if (_local8) { if (_local3 == null) { _local3 = _local6; } else if (_local3 != _local6) { _local3 = new org.as2lib.regexp.node.Add(_local3, _local6); } } else if (_local3 == null) { _local3 = _local6.dup(true); } else if (_local3 != _local6) { _local3 = new org.as2lib.regexp.node.Sub(_local3, _local6); } _local5 = peekChar(); } } function parseRange(bits) { var _local3 = peekChar(); if (_local3 == 92) { _local3 = nextEscapedChar(); if ((_local3 == 112) || (_local3 == 80)) { var _local7 = _local3 == 80; var _local5 = true; _local3 = nextChar(); if (_local3 == 123) { unreadChar(); } else { _local5 = false; } return(parseFamily(_local7, _local5)); } unreadChar(); _local3 = parseEscape(true, true); if (_local3 == null) { return(root); } } else { _local3 = parseSingle(); } if (_local3 != null) { if (peekChar() == 45) { var _local6 = temp[cursor + 1]; if (_local6 == 91) { if (_local3 < 256) { return(bits.addChar(_local3, getFlags())); } return(ceateSingle(_local3)); } if (_local6 != 93) { nextChar(); var _local4 = parseSingle(); if (_local4 < _local3) { throwError("Illegal character range", arguments); } if (hasFlag(CASE_INSENSITIVE)) { return(new org.as2lib.regexp.node.RangeA((_local3 << 16) + _local4)); } return(new org.as2lib.regexp.node.Range((_local3 << 16) + _local4)); } } if (_local3 < 256) { return(bits.addChar(_local3, getFlags())); } return(ceateSingle(_local3)); } throwError(("Unexpected character '" + chr(_local3)) + "'", arguments); } function parseSingle(Void) { var _local2 = peekChar(); if (!(_local2 === 92)) { } else { return(parseEscape(true, false)); } nextChar(); return(_local2); } function parseFamily(flag, singleLetter) { throwError("Families dosn't supported in the current Pattern's implementation", arguments); return(null); } function parseGroup(Void) { var _local3 = null; var _local4 = null; var _local12 = flags; root = null; var _local6 = nextChar(); if (_local6 == 63) { _local6 = skipChar(); switch (_local6) { case 58 : _local3 = createGroup(true); _local4 = root; _local3.setNext(parseExpression(_local4)); break; case 61 : case 33 : _local3 = createGroup(true); _local4 = root; _local3.setNext(parseExpression(_local4)); if (_local6 == 61) { _local4 = new org.as2lib.regexp.node.Pos(_local3); _local3 = _local4; } else { _local4 = new org.as2lib.regexp.node.Neg(_local3); _local3 = _local4; } break; case 62 : _local3 = createGroup(true); _local4 = root; _local3.setNext(parseExpression(_local4)); _local4 = new org.as2lib.regexp.node.Ques(_local3, INDEPENDENT); _local3 = _local4; break; case 60 : _local6 = readChar(); _local3 = createGroup(true); _local4 = root; _local3.setNext(parseExpression(_local4)); var _local11 = new org.as2lib.regexp.node.TreeInfo(); _local3.study(_local11); if (_local11.maxValid == false) { throwError("Look-behind group does not have an obvious maximum length", arguments); } if (_local6 == 61) { _local4 = new org.as2lib.regexp.node.Behind(_local3, _local11.maxLength, _local11.minLength); _local3 = _local4; } else if (_local6 == 33) { _local4 = new org.as2lib.regexp.node.NotBehind(_local3, _local11.maxLength, _local11.minLength); _local3 = _local4; } else { throwError("Unknown look-behind group", arguments); } break; case 49 : case 50 : case 51 : case 52 : case 53 : case 54 : case 55 : case 56 : case 57 : if (groupNodes[_local6 - 48] != null) { _local4 = new org.as2lib.regexp.node.GroupRef(groupNodes[_local6 - 48]); _local3 = _local4; break; } throwError("Unknown group reference", arguments); case 36 : case 64 : throwError("Unknown group type", arguments); default : unreadChar(); addFlag(); _local6 = readChar(); if (_local6 == 41) { return(null); } if (_local6 != 58) { throwError("Unknown inline modifier", arguments); } _local3 = createGroup(true); _local4 = root; _local3.setNext(parseExpression(_local4)); } } else { _local3 = createGroup(false); _local4 = root; _local3.setNext(parseExpression(_local4)); } acceptChar(Number(41), "Unclosed group"); flags = _local12; var _local5 = parseClosure(_local3); if (_local5 == _local3) { root = _local4; return(_local5); } if (_local3 == _local4) { root = _local5; return(_local5); } if (_local5 instanceof org.as2lib.regexp.node.Ques) { var _local9 = org.as2lib.regexp.node.Ques(_local5); if (_local9.getType() == POSSESSIVE) { root = _local5; return(_local5); } _local4.setNext(new org.as2lib.regexp.node.Dummy()); _local4 = _local4.getNext(); if (_local9.getType() == GREEDY) { _local3 = new org.as2lib.regexp.node.Branch(_local3, _local4); } else { _local3 = new org.as2lib.regexp.node.Branch(_local4, _local3); } root = _local4; return(_local3); } if (_local5 instanceof org.as2lib.regexp.node.Curly) { var _local7 = org.as2lib.regexp.node.Curly(_local5); if (_local7.getType() == POSSESSIVE) { root = _local5; return(_local5); } var _local11 = new org.as2lib.regexp.node.TreeInfo(); if (_local3.study(_local11)) { var _local14 = org.as2lib.regexp.node.GroupTail(_local4); _local3 = (root = new org.as2lib.regexp.node.GroupCurly(_local3.getNext(), _local7.getCmin(), _local7.getCmax(), _local7.getType(), org.as2lib.regexp.node.GroupTail(_local4).getLocalIndex(), org.as2lib.regexp.node.GroupTail(_local4).getGroupIndex())); return(_local3); } var _local10 = org.as2lib.regexp.node.GroupHead(_local3).getLocalIndex(); var _local8; if (_local7.getType() == GREEDY) { _local8 = new org.as2lib.regexp.node.Loop(localCount, _local10); } else { _local8 = new org.as2lib.regexp.node.LazyLoop(localCount, _local10); } var _local13 = new org.as2lib.regexp.node.Prolog(_local8); localCount = localCount + 1; _local8.setCmin(_local7.getCmin()); _local8.setCmax(_local7.getCmax()); _local8.setBody(_local3); _local4.setNext(_local8); root = _local8; return(_local13); } if (_local5 instanceof org.as2lib.regexp.node.First) { root = _local5; return(_local5); } throwError("Internal logic error", arguments); } function createGroup(anonymous) { var _local4 = localCount++; var _local2 = 0; if (!anonymous) { _local2 = groupCount++; } var _local3 = new org.as2lib.regexp.node.GroupHead(_local4); root = new org.as2lib.regexp.node.GroupTail(_local4, _local2); if ((!anonymous) && (_local2 < 10)) { groupNodes[_local2] = _local3; } return(_local3); } function addFlag(Void) { var _local2 = peekChar(); while (true) { switch (_local2) { case 105 : flags = flags | CASE_INSENSITIVE; break; case 109 : flags = flags | MULTILINE; break; case 115 : flags = flags | DOTALL; break; case 100 : flags = flags | UNIX_LINES; break; case 117 : flags = flags | UNICODE_CASE; break; case 120 : flags = flags | COMMENTS; break; case 45 : _local2 = nextChar(); subFlag(); default : return(undefined); } _local2 = nextChar(); } } function subFlag(Void) { var _local2 = peekChar(); while (true) { switch (_local2) { case 105 : flags = flags & (~CASE_INSENSITIVE); break; case 109 : flags = flags & (~MULTILINE); break; case 115 : flags = flags & (~DOTALL); break; case 100 : flags = flags & (~UNIX_LINES); break; case 117 : flags = flags & (~UNICODE_CASE); break; case 120 : flags = flags & (~COMMENTS); break; default : return(undefined); } _local2 = nextChar(); } } function parseClosure(prev) { var _local8; var _local3 = peekChar(); switch (_local3) { case 63 : _local3 = nextChar(); if (_local3 == 63) { nextChar(); return(new org.as2lib.regexp.node.Ques(prev, LAZY)); } if (_local3 == 43) { nextChar(); return(new org.as2lib.regexp.node.Ques(prev, POSSESSIVE)); } return(new org.as2lib.regexp.node.Ques(prev, GREEDY)); case 42 : _local3 = nextChar(); if (_local3 == 63) { nextChar(); return(new org.as2lib.regexp.node.Curly(prev, 0, MAX_REPS, LAZY)); } if (_local3 == 43) { nextChar(); return(new org.as2lib.regexp.node.Curly(prev, 0, MAX_REPS, POSSESSIVE)); } return(new org.as2lib.regexp.node.Curly(prev, 0, MAX_REPS, GREEDY)); case 43 : _local3 = nextChar(); if (_local3 == 63) { nextChar(); return(new org.as2lib.regexp.node.Curly(prev, 1, MAX_REPS, LAZY)); } if (_local3 == 43) { nextChar(); return(new org.as2lib.regexp.node.Curly(prev, 1, MAX_REPS, POSSESSIVE)); } return(new org.as2lib.regexp.node.Curly(prev, 1, MAX_REPS, GREEDY)); case 123 : _local3 = temp[cursor + 1]; if (org.as2lib.regexp.AsciiUtil.isDigit(_local3)) { skipChar(); var _local5 = 0; do { _local5 = (_local5 * 10) + (_local3 - 48); _local3 = readChar(); } while (org.as2lib.regexp.AsciiUtil.isDigit(_local3)); var _local4 = _local5; if (_local3 == 44) { _local3 = readChar(); _local4 = MAX_REPS; if (_local3 != 125) { _local4 = 0; while (org.as2lib.regexp.AsciiUtil.isDigit(_local3)) { _local4 = (_local4 * 10) + (_local3 - 48); _local3 = readChar(); } } } if (_local3 != 125) { throwError("Unclosed counted closure", arguments); } if (((_local5 | _local4) | (_local4 - _local5)) < 0) { throwError("Illegal repetition range", arguments); } var _local7; _local3 = peekChar(); if (_local3 == 63) { nextChar(); _local7 = new org.as2lib.regexp.node.Curly(prev, _local5, _local4, LAZY); } else if (_local3 == 43) { nextChar(); _local7 = new org.as2lib.regexp.node.Curly(prev, _local5, _local4, POSSESSIVE); } else { _local7 = new org.as2lib.regexp.node.Curly(prev, _local5, _local4, GREEDY); } return(_local7); } throwError("Illegal repetition", arguments); return(prev); } return(prev); } function parseControl(Void) { if (cursor < patternLength) { return(readChar() ^ 64); } throwError("Illegal control escape sequence", arguments); return(null); } function parseOctal(Void) { var _local3 = readChar(); if (((_local3 - 48) | (55 - _local3)) >= 0) { var _local4 = readChar(); if (((_local4 - 48) | (55 - _local4)) >= 0) { var _local5 = readChar(); if ((((_local5 - 48) | (55 - _local5)) >= 0) && (((_local3 - 48) | (51 - _local3)) >= 0)) { return((((_local3 - 48) * 64) + ((_local4 - 48) * 8)) + (_local5 - 48)); } unreadChar(); return(((_local3 - 48) * 8) + (_local4 - 48)); } unreadChar(); return(_local3 - 48); } throwError("Illegal octal escape sequence", arguments); return(null); } function parseHexal(Void) { var _local3 = readChar(); if (org.as2lib.regexp.AsciiUtil.isHexDigit(_local3)) { var _local4 = readChar(); if (org.as2lib.regexp.AsciiUtil.isHexDigit(_local4)) { return((org.as2lib.regexp.AsciiUtil.toDigit(_local3) * 16) + org.as2lib.regexp.AsciiUtil.toDigit(_local4)); } } throwError("Illegal hexadecimal escape sequence", arguments); return(null); } function parseUnicode(Void) { var _local5 = 0; var _local4 = 0; while (_local4 < 4) { var _local3 = readChar(); if (!org.as2lib.regexp.AsciiUtil.isHexDigit(_local3)) { throwError("Illegal Unicode escape sequence", arguments); } _local5 = (_local5 * 16) + org.as2lib.regexp.AsciiUtil.toDigit(_local3); _local4++; } return(_local5); } function ceateSingle(ch) { var _local2 = flags; if ((_local2 & CASE_INSENSITIVE) == 0) { return(new org.as2lib.regexp.node.Single(ch)); } if ((_local2 & UNICODE_CASE) == 0) { return(new org.as2lib.regexp.node.SingleA(ch)); } return(new org.as2lib.regexp.node.SingleU(ch)); } function createSlice(buf, count, hasSupplementary) { var _local4 = new Array(count); var _local2 = flags; if ((_local2 & CASE_INSENSITIVE) == 0) { _local2 = 0; while (_local2 < count) { _local4[_local2] = buf[_local2]; _local2++; } return(new org.as2lib.regexp.node.Slice(_local4)); } if ((_local2 & UNICODE_CASE) == 0) { _local2 = 0; while (_local2 < count) { _local4[_local2] = org.as2lib.regexp.AsciiUtil.toLower(buf[_local2]); _local2++; } return(new org.as2lib.regexp.node.SliceA(_local4)); } _local2 = 0; while (_local2 < count) { var _local3 = buf[_local2]; _local3 = org.as2lib.regexp.AsciiUtil.toLower(org.as2lib.regexp.AsciiUtil.toUpper(_local3)); _local4[_local2] = _local3; _local2++; } return(new org.as2lib.regexp.node.SliceU(_local4)); } function toCharCodeArray(source) { var _local3 = new Array(source.length); var _local1 = 0; while (_local1 < source.length) { _local3[_local1] = source.charCodeAt(_local1); _local1++; } return(_local3); } function fromCharCodeArray(source) { var _local3 = new String(); var _local1 = 0; while (_local1 < source.length) { _local3 = _local3 + String.fromCharCode(source[_local1]); _local1++; } return(_local3); } static var UNIX_LINES = 1; static var CASE_INSENSITIVE = 2; static var COMMENTS = 4; static var MULTILINE = 8; static var DOTALL = 32; static var UNICODE_CASE = 64; static var MAX_REPS = 2147483647; static var GREEDY = 0; static var LAZY = 1; static var POSSESSIVE = 2; static var INDEPENDENT = 3; static var ACCEPT = new org.as2lib.regexp.node.Node(); static var LASTACCEPT = new org.as2lib.regexp.node.LastNode(); }
Symbol 143 MovieClip [__Packages.org.as2lib.regexp.node.Start] Frame 0
class org.as2lib.regexp.node.Start extends org.as2lib.regexp.node.Node { var next, minLength; function Start (node) { super(); next = node; var _local3 = new org.as2lib.regexp.node.TreeInfo(); next.study(_local3); minLength = _local3.minLength; } function match(matcher, i, seq) { if (i > (matcher.to - minLength)) { return(false); } var _local4 = false; var _local5 = matcher.to - minLength; while (i <= _local5) { _local4 = next.match(matcher, i, seq); if (_local4) { break; } i++; } if (_local4) { matcher.first = i; matcher.groups[0] = matcher.first; matcher.groups[1] = matcher.last; } return(_local4); } function study(info) { next.study(info); info.maxValid = false; info.deterministic = false; return(false); } }
Symbol 144 MovieClip [__Packages.org.as2lib.regexp.node.Slice] Frame 0
class org.as2lib.regexp.node.Slice extends org.as2lib.regexp.node.Node { var buffer, next; function Slice (buf) { super(); buffer = buf; } function match(matcher, i, seq) { var _local4 = buffer; var _local3 = _local4.length; if ((i + _local3) > matcher.to) { return(false); } var _local2 = 0; while (_local2 < _local3) { if (_local4[_local2] != seq.charCodeAt(i + _local2)) { return(false); } _local2++; } return(next.match(matcher, i + _local3, seq)); } function study(info) { info.minLength = info.minLength + buffer.length; info.maxLength = info.maxLength + buffer.length; return(next.study(info)); } function getBuffer(Void) { return(buffer); } }
Symbol 145 MovieClip [__Packages.org.as2lib.regexp.node.BnM] Frame 0
class org.as2lib.regexp.node.BnM extends org.as2lib.regexp.node.Node { var buffer, lastOcc, optoSft, next; function BnM (src, lastOcc, optoSft, next) { super(); buffer = src; this.lastOcc = lastOcc; this.optoSft = optoSft; this.next = next; } static function optimize(node) { if (!(node instanceof org.as2lib.regexp.node.Slice)) { return(node); } var _local3 = org.as2lib.regexp.node.Slice(node).getBuffer(); var _local5 = _local3.length; if (_local5 < 4) { return(node); } var _local2; var _local1; var _local7 = Array(128); var _local6 = Array(_local5); _local2 = 0; while (_local2 < _local5) { _local7[_local3[_local2] & 127] = _local2 + 1; _local2++; } _local2 = _local5; while (_local2 > 0) { var _local4 = false; _local1 = _local5 - 1; while (_local1 >= _local2) { if (_local3[_local1] == _local3[_local1 - _local2]) { _local6[_local1 - 1] = _local2; } else { _local4 = true; break; } _local1--; } if (_local4) { } else { while (_local1 > 0) { _local1--; _local6[_local1] = _local2; } } _local2--; } _local6[_local5 - 1] = 1; return(new org.as2lib.regexp.node.BnM(_local3, _local7, _local6, node.next)); } function match(matcher, i, seq) { var _local10 = buffer; var _local7 = _local10.length; var _local11 = matcher.to - _local7; while (i <= _local11) { var _local6 = false; var _local2 = _local7 - 1; while (_local2 >= 0) { var _local4 = seq.charCodeAt(i + _local2); if (_local10[_local2] != _local4) { i = i + Math.max((_local2 + 1) - lastOcc[_local4 & 127], optoSft[_local2]); _local6 = true; break; } _local2--; } if (_local6) { continue; } matcher.first = i; var _local8 = next.match(matcher, i + _local7, seq); if (_local8) { matcher.first = i; matcher.groups[0] = matcher.first; matcher.groups[1] = matcher.last; return(true); } i++; } return(false); } function study(info) { info.minLength = info.minLength + buffer.length; info.maxValid = false; return(next.study(info)); } }
Symbol 146 MovieClip [__Packages.org.as2lib.regexp.node.Begin] Frame 0
class org.as2lib.regexp.node.Begin extends org.as2lib.regexp.node.Node { var next; function Begin () { super(); } function match(matcher, i, seq) { if ((i == matcher.from) && (next.match(matcher, i, seq))) { matcher.first = i; matcher.groups[0] = i; matcher.groups[1] = matcher.last; return(true); } return(false); } }
Symbol 147 MovieClip [__Packages.org.as2lib.regexp.node.First] Frame 0
class org.as2lib.regexp.node.First extends org.as2lib.regexp.node.Node { var atom, next; function First (node) { super(); atom = org.as2lib.regexp.node.BnM.optimize(node); } function match(matcher, i, seq) { if (atom instanceof org.as2lib.regexp.node.BnM) { return(atom.match(matcher, i, seq) && (next.match(matcher, matcher.last, seq))); } while (true) { if (i > matcher.to) { return(false); } if (atom.match(matcher, i, seq)) { return(next.match(matcher, matcher.last, seq)); } i++; matcher.first++; } } function study(info) { atom.study(info); info.maxValid = false; info.deterministic = false; return(next.study(info)); } }
Symbol 148 MovieClip [__Packages.org.as2lib.regexp.node.Prolog] Frame 0
class org.as2lib.regexp.node.Prolog extends org.as2lib.regexp.node.Node { var loop; function Prolog (loop) { super(); this.loop = loop; } function match(matcher, i, seq) { return(loop.matchInit(matcher, i, seq)); } function study(info) { return(loop.study(info)); } function getLoop(Void) { return(loop); } }
Symbol 149 MovieClip [__Packages.org.as2lib.regexp.node.Loop] Frame 0
class org.as2lib.regexp.node.Loop extends org.as2lib.regexp.node.Node { var countIndex, beginIndex, cmin, body, cmax, next; function Loop (countIndex, beginIndex) { super(); this.countIndex = countIndex; this.beginIndex = beginIndex; } function match(matcher, i, seq) { if (i > matcher.locals[beginIndex]) { var _local3 = matcher.locals[countIndex]; if (_local3 < cmin) { matcher.locals[countIndex] = _local3 + 1; var _local6 = body.match(matcher, i, seq); if (!_local6) { matcher.locals[countIndex] = _local3; } return(_local6); } if (_local3 < cmax) { matcher.locals[countIndex] = _local3 + 1; var _local6 = body.match(matcher, i, seq); if (!_local6) { matcher.locals[countIndex] = _local3; } else { return(true); } } } return(next.match(matcher, i, seq)); } function matchInit(matcher, i, seq) { var _local6 = matcher.locals[countIndex]; var _local2 = false; if (0 < cmin) { matcher.locals[countIndex] = 1; _local2 = body.match(matcher, i, seq); } else if (0 < cmax) { matcher.locals[countIndex] = 1; _local2 = body.match(matcher, i, seq); if (_local2 == false) { _local2 = next.match(matcher, i, seq); } } else { _local2 = next.match(matcher, i, seq); } matcher.locals[countIndex] = _local6; return(_local2); } function study(info) { info.maxValid = false; info.deterministic = false; return(false); } function getCmin(Void) { return(cmin); } function setCmin(cmin) { this.cmin = cmin; } function getCmax(Void) { return(cmax); } function setCmax(cmax) { this.cmax = cmax; } function getBody(Void) { return(body); } function setBody(body) { this.body = body; } }
Symbol 150 MovieClip [__Packages.org.as2lib.regexp.node.Curly] Frame 0
class org.as2lib.regexp.node.Curly extends org.as2lib.regexp.node.Node { var atom, type, cmin, cmax, next; function Curly (node, cmin, cmax, type) { super(); atom = node; this.type = type; this.cmin = cmin; this.cmax = cmax; } function match(matcher, i, seq) { var _local2; _local2 = 0; while (_local2 < cmin) { if (atom.match(matcher, i, seq)) { i = matcher.last; } else { return(false); } _local2++; } if (type == org.as2lib.regexp.Pattern.GREEDY) { return(match0(matcher, i, _local2, seq)); } if (type == org.as2lib.regexp.Pattern.LAZY) { return(match1(matcher, i, _local2, seq)); } return(match2(matcher, i, _local2, seq)); } function match0(matcher, i, j, seq) { if (j >= cmax) { return(next.match(matcher, i, seq)); } var _local7 = j; if (atom.match(matcher, i, seq)) { var _local5 = matcher.last - i; if (_local5 == 0) { } else { i = matcher.last; j++; while (j < cmax) { if (!atom.match(matcher, i, seq)) { break; } if ((i + _local5) != matcher.last) { if (match0(matcher, matcher.last, j + 1, seq)) { return(true); } break; } i = i + _local5; j++; } while (j >= _local7) { if (next.match(matcher, i, seq)) { return(true); } i = i - _local5; j--; } return(false); } } return(next.match(matcher, i, seq)); } function match1(matcher, i, j, seq) { while (true) { if (next.match(matcher, i, seq)) { return(true); } if (j >= cmax) { return(false); } if (!atom.match(matcher, i, seq)) { return(false); } if (i == matcher.last) { return(false); } i = matcher.last; j++; } } function match2(matcher, i, j, seq) { while (j < cmax) { if (!atom.match(matcher, i, seq)) { break; } if (i == matcher.last) { break; } i = matcher.last; j++; } return(next.match(matcher, i, seq)); } function study(info) { var _local4 = info.minLength; var _local5 = info.maxLength; var _local6 = info.maxValid; var _local7 = info.deterministic; info.reset(); atom.study(info); var _local3 = (info.minLength * cmin) + _local4; if (_local3 < _local4) { _local3 = 268435455 /* 0xFFFFFFF */; } info.minLength = _local3; if (_local6 && (info.maxValid)) { _local3 = (info.maxLength * cmax) + _local5; info.maxLength = _local3; if (_local3 < _local5) { info.maxValid = false; } } else { info.maxValid = false; } if (info.deterministic && (cmin == cmax)) { info.deterministic = _local7; } else { info.deterministic = false; } return(next.study(info)); } function getType(Void) { return(type); } function getAtom(Void) { return(atom); } function getCmin(Void) { return(cmin); } function getCmax(Void) { return(cmax); } }
Symbol 151 MovieClip [__Packages.org.as2lib.regexp.node.GroupTail] Frame 0
class org.as2lib.regexp.node.GroupTail extends org.as2lib.regexp.node.Node { var localIndex, groupIndex, next; function GroupTail (localCount, groupCount) { super(); localIndex = localCount; groupIndex = groupCount + groupCount; } function match(matcher, i, seq) { var _local3 = matcher.locals[localIndex]; if (_local3 >= 0) { var _local6 = matcher.groups[groupIndex]; var _local4 = matcher.groups[groupIndex + 1]; matcher.groups[groupIndex] = _local3; matcher.groups[groupIndex + 1] = i; if (next.match(matcher, i, seq)) { return(true); } matcher.groups[groupIndex] = _local6; matcher.groups[groupIndex + 1] = _local4; return(false); } matcher.last = i; return(true); } function getLocalIndex(Void) { return(localIndex); } function getGroupIndex(Void) { return(groupIndex); } }
Symbol 152 MovieClip [__Packages.org.as2lib.regexp.AsciiUtil] Frame 0
class org.as2lib.regexp.AsciiUtil extends org.as2lib.core.BasicClass { function AsciiUtil (Void) { super(); } static function getType(ch) { return((((ch & 4294967168) == 0) ? (charTypes[ch]) : 0)); } static function isType(ch, type) { return((getType(ch) & type) != 0); } static function isAscii(ch) { return((ch & 4294967168) == 0); } static function isAlpha(ch) { return(isType(ch, ALPHA)); } static function isDigit(ch) { return(((ch - 48) | (57 - ch)) >= 0); } static function isAlnum(ch) { return(isType(ch, ALNUM)); } static function isGraph(ch) { return(isType(ch, GRAPH)); } static function isPrint(ch) { return(((ch - 32) | (126 - ch)) >= 0); } static function isPunct(ch) { return(isType(ch, PUNCT)); } static function isSpace(ch) { return(isType(ch, SPACE)); } static function isHexDigit(ch) { return(isType(ch, HEX)); } static function isOctDigit(ch) { return(((ch - 48) | (55 - ch)) >= 0); } static function isCntrl(ch) { return(isType(ch, CNTRL)); } static function isLower(ch) { return(((ch - 97) | (122 - ch)) >= 0); } static function isUpper(ch) { return(((ch - 65) | (90 - ch)) >= 0); } static function isWord(ch) { return(isType(ch, WORD)); } static function toDigit(ch) { return(charTypes[ch & 127] & 63); } static function toLower(ch) { return((isUpper(ch) ? (ch + 32) : (ch))); } static function toUpper(ch) { return((isLower(ch) ? (ch - 32) : (ch))); } static var UPPER = 256; static var LOWER = 512; static var DIGIT = 1024; static var SPACE = 2048; static var PUNCT = 4096; static var CNTRL = 8192; static var BLANK = 16384; static var HEX = 32768; static var UNDER = 65536; static var ASCII = 65280; static var ALPHA = UPPER | LOWER; static var ALNUM = (UPPER | LOWER) | DIGIT; static var GRAPH = ((PUNCT | UPPER) | LOWER) | DIGIT; static var WORD = ((UPPER | LOWER) | UNDER) | DIGIT; static var XDIGIT = HEX; static var charTypes = [CNTRL, CNTRL, CNTRL, CNTRL, CNTRL, CNTRL, CNTRL, CNTRL, CNTRL, (SPACE + CNTRL) + BLANK, SPACE + CNTRL, SPACE + CNTRL, SPACE + CNTRL, SPACE + CNTRL, CNTRL, CNTRL, CNTRL, CNTRL, CNTRL, CNTRL, CNTRL, CNTRL, CNTRL, CNTRL, CNTRL, CNTRL, CNTRL, CNTRL, CNTRL, CNTRL, CNTRL, CNTRL, SPACE + BLANK, PUNCT, PUNCT, PUNCT, PUNCT, PUNCT, PUNCT, PUNCT, PUNCT, PUNCT, PUNCT, PUNCT, PUNCT, PUNCT, PUNCT, PUNCT, (DIGIT + HEX) + 0, (DIGIT + HEX) + 1, (DIGIT + HEX) + 2, (DIGIT + HEX) + 3, (DIGIT + HEX) + 4, (DIGIT + HEX) + 5, (DIGIT + HEX) + 6, (DIGIT + HEX) + 7, (DIGIT + HEX) + 8, (DIGIT + HEX) + 9, PUNCT, PUNCT, PUNCT, PUNCT, PUNCT, PUNCT, PUNCT, (UPPER + HEX) + 10, (UPPER + HEX) + 11, (UPPER + HEX) + 12, (UPPER + HEX) + 13, (UPPER + HEX) + 14, (UPPER + HEX) + 15, UPPER + 16, UPPER + 17, UPPER + 18, UPPER + 19, UPPER + 20, UPPER + 21, UPPER + 22, UPPER + 23, UPPER + 24, UPPER + 25, UPPER + 26, UPPER + 27, UPPER + 28, UPPER + 29, UPPER + 30, UPPER + 31, UPPER + 32, UPPER + 33, UPPER + 34, UPPER + 35, PUNCT, PUNCT, PUNCT, PUNCT, PUNCT | UNDER, PUNCT, (LOWER + HEX) + 10, (LOWER + HEX) + 11, (LOWER + HEX) + 12, (LOWER + HEX) + 13, (LOWER + HEX) + 14, (LOWER + HEX) + 15, LOWER + 16, LOWER + 17, LOWER + 18, LOWER + 19, LOWER + 20, LOWER + 21, LOWER + 22, LOWER + 23, LOWER + 24, LOWER + 25, LOWER + 26, LOWER + 27, LOWER + 28, LOWER + 29, LOWER + 30, LOWER + 31, LOWER + 32, LOWER + 33, LOWER + 34, LOWER + 35, PUNCT, PUNCT, PUNCT, PUNCT, CNTRL]; }
Symbol 153 MovieClip [__Packages.org.as2lib.regexp.PatternSyntaxException] Frame 0
class org.as2lib.regexp.PatternSyntaxException extends org.as2lib.env.except.Exception { var description, pattern, index; function PatternSyntaxException (description, thrower, args) { super(description, thrower, args); this.description = description; pattern = thrower.pattern; index = thrower.cursor; } function getIndex(Void) { return(index); } function getDescription(Void) { return(description); } function getPattern(Void) { return(pattern); } function getMessage(Void) { var _local2 = description; if (index >= 0) { _local2 = _local2 + ((" near index " + index) + ": "); } _local2 = _local2 + (NEW_LINE + pattern); if (index >= 0) { _local2 = _local2 + ((NEW_LINE + org.as2lib.util.StringUtil.multiply(" ", index)) + "^"); } return(_local2); } static var NEW_LINE = newline; }
Symbol 154 MovieClip [__Packages.org.as2lib.regexp.node.Branch] Frame 0
class org.as2lib.regexp.node.Branch extends org.as2lib.regexp.node.Node { var prev, next; function Branch (lhs, rhs) { super(); prev = lhs; next = rhs; } function match(matcher, i, seq) { return(prev.match(matcher, i, seq) || (next.match(matcher, i, seq))); } function study(info) { var _local4 = info.minLength; var _local8 = info.maxLength; var _local5 = info.maxValid; info.reset(); prev.study(info); var _local7 = info.minLength; var _local3 = info.maxLength; var _local6 = info.maxValid; info.reset(); next.study(info); info.minLength = _local4 + Math.min(_local7, info.minLength); info.maxLength = _local8 + Math.max(_local3, info.maxLength); info.maxValid = (_local5 && (_local6)) && (info.maxValid); info.deterministic = false; return(false); } }
Symbol 155 MovieClip [__Packages.org.as2lib.regexp.node.UnixCaret] Frame 0
class org.as2lib.regexp.node.UnixCaret extends org.as2lib.regexp.node.Node { var next; function UnixCaret () { super(); } function match(matcher, i, seq) { if (i > matcher.from) { var _local4 = seq.charCodeAt(i - 1); if (_local4 != 10) { return(false); } } if (i == matcher.to) { return(false); } return(next.match(matcher, i, seq)); } }
Symbol 156 MovieClip [__Packages.org.as2lib.regexp.node.Caret] Frame 0
class org.as2lib.regexp.node.Caret extends org.as2lib.regexp.node.Node { var next; function Caret () { super(); } function match(matcher, i, seq) { if (i > matcher.from) { var _local2 = seq.charCodeAt(i - 1); if ((((_local2 != 10) && (_local2 != 13)) && ((_local2 | 1) != 8233)) && (_local2 != 133)) { return(false); } if ((_local2 == 13) && (seq.charAt(i) == newline)) { return(false); } } if (i == matcher.to) { return(false); } return(next.match(matcher, i, seq)); } }
Symbol 157 MovieClip [__Packages.org.as2lib.regexp.node.UnixDollar] Frame 0
class org.as2lib.regexp.node.UnixDollar extends org.as2lib.regexp.node.Node { var multiline, next; function UnixDollar (mul) { super(); multiline = mul; } function match(matcher, i, seq) { if (i < matcher.to) { var _local4 = seq.charCodeAt(i); if (_local4 == 10) { if ((multiline == false) && (i != (matcher.to - 1))) { return(false); } } else { return(false); } } return(next.match(matcher, i, seq)); } function study(info) { next.study(info); return(info.deterministic); } }
Symbol 158 MovieClip [__Packages.org.as2lib.regexp.node.Dollar] Frame 0
class org.as2lib.regexp.node.Dollar extends org.as2lib.regexp.node.Node { var multiline, next; function Dollar (mul) { super(); multiline = mul; } function match(matcher, i, seq) { if (!multiline) { if (i < (matcher.to - 2)) { return(false); } if (i == (matcher.to - 2)) { var _local3 = seq.charCodeAt(i); if (_local3 != 13) { return(false); } _local3 = seq.charCodeAt(i + 1); if (_local3 != 10) { return(false); } } } if (i < matcher.to) { var _local3 = seq.charCodeAt(i); if (_local3 == 10) { if ((i > 0) && (seq.charAt(i - 1) == "\r")) { return(false); } } else if (((_local3 == 13) || (_local3 == 133)) || ((_local3 | 1) == 8233)) { } else { return(false); } } return(next.match(matcher, i, seq)); } function study(info) { next.study(info); return(info.deterministic); } }
Symbol 159 MovieClip [__Packages.org.as2lib.regexp.node.All] Frame 0
class org.as2lib.regexp.node.All extends org.as2lib.regexp.node.Node { var next; function All () { super(); } function dup(flag) { if (flag) { return(new org.as2lib.regexp.node.Single(-1)); } return(new org.as2lib.regexp.node.All()); } function match(matcher, i, seq) { return((i < matcher.to) && (next.match(matcher, i + 1, seq))); } function study(info) { info.minLength++; info.maxLength++; return(next.study(info)); } }
Symbol 160 MovieClip [__Packages.org.as2lib.regexp.node.Single] Frame 0
class org.as2lib.regexp.node.Single extends org.as2lib.regexp.node.Node { var ch, next; function Single (n) { super(); ch = n; } function dup(flag) { return((flag ? (new org.as2lib.regexp.node.NotSingle(ch)) : (new org.as2lib.regexp.node.Single(ch)))); } function match(matcher, i, seq) { return(((i < matcher.to) && (seq.charCodeAt(i) == ch)) && (next.match(matcher, i + 1, seq))); } function study(info) { info.minLength++; info.maxLength++; return(next.study(info)); } }
Symbol 161 MovieClip [__Packages.org.as2lib.regexp.node.NotSingle] Frame 0
class org.as2lib.regexp.node.NotSingle extends org.as2lib.regexp.node.Node { var ch, next; function NotSingle (n) { super(); ch = n; } function dup(flag) { return((flag ? (new org.as2lib.regexp.node.Single(ch)) : (new org.as2lib.regexp.node.NotSingle(ch)))); } function match(matcher, i, seq) { return(((i < matcher.to) && (seq.charCodeAt(i) != i)) && (next.match(matcher, i + 1, seq))); } function study(info) { info.minLength++; info.maxLength++; return(next.study(info)); } }
Symbol 162 MovieClip [__Packages.org.as2lib.regexp.node.UnixDot] Frame 0
class org.as2lib.regexp.node.UnixDot extends org.as2lib.regexp.node.Node { var next; function UnixDot () { super(); } function match(matcher, i, seq) { if (i < matcher.to) { var _local2 = seq.charCodeAt(i); return((_local2 != 10) && (next.match(matcher, i + 1, seq))); } return(false); } function study(info) { info.minLength++; info.maxLength++; return(next.study(info)); } }
Symbol 163 MovieClip [__Packages.org.as2lib.regexp.node.Dot] Frame 0
class org.as2lib.regexp.node.Dot extends org.as2lib.regexp.node.Node { var next; function Dot () { super(); } function match(matcher, i, seq) { if (i < matcher.to) { var _local2 = seq.charCodeAt(i); return(((((_local2 != 10) && (_local2 != 13)) && ((_local2 | 1) != 8233)) && (_local2 != 133)) && (next.match(matcher, i + 1, seq))); } return(false); } function study(info) { info.minLength++; info.maxLength++; return(next.study(info)); } }
Symbol 164 MovieClip [__Packages.org.as2lib.regexp.node.BackRefA] Frame 0
class org.as2lib.regexp.node.BackRefA extends org.as2lib.regexp.node.Node { var groupIndex, next; function BackRefA (groupCount) { super(); groupIndex = groupCount + groupCount; } function match(matcher, i, seq) { var _local7 = matcher.groups[groupIndex]; var _local10 = matcher.groups[groupIndex + 1]; var _local6 = _local10 - _local7; if (_local7 < 0) { return(false); } if ((i + _local6) > matcher.to) { return(false); } var _local4 = 0; while (_local4 < _local6) { var _local3 = seq.charCodeAt(i + _local4); var _local2 = seq.charCodeAt(_local7 + _local4); if (_local3 != _local2) { _local3 = org.as2lib.regexp.AsciiUtil.toUpper(_local3); _local2 = org.as2lib.regexp.AsciiUtil.toUpper(_local2); if (_local3 != _local2) { _local3 = org.as2lib.regexp.AsciiUtil.toLower(_local3); _local2 = org.as2lib.regexp.AsciiUtil.toLower(_local2); if (_local3 != _local2) { return(false); } } } _local4++; } return(next.match(matcher, i + _local6, seq)); } function study(info) { info.maxValid = false; return(next.study(info)); } }
Symbol 165 MovieClip [__Packages.org.as2lib.regexp.node.BackRef] Frame 0
class org.as2lib.regexp.node.BackRef extends org.as2lib.regexp.node.Node { var groupIndex, next; function BackRef (groupCount) { super(); groupIndex = groupCount + groupCount; } function match(matcher, i, seq) { var _local5 = matcher.groups[groupIndex]; var _local8 = matcher.groups[groupIndex + 1]; var _local4 = _local8 - _local5; if (_local5 < 0) { return(false); } if ((i + _local4) > matcher.to) { return(false); } var _local2 = 0; while (_local2 < _local4) { if (seq.charAt(i + _local2) != seq.charAt(_local5 + _local2)) { return(false); } _local2++; } return(next.match(matcher, i + _local4, seq)); } function study(info) { info.maxValid = false; return(next.study(info)); } }
Symbol 166 MovieClip [__Packages.org.as2lib.regexp.node.Bound] Frame 0
class org.as2lib.regexp.node.Bound extends org.as2lib.regexp.node.Node { var type, next; function Bound (n) { super(); type = n; } function check(matcher, i, seq) { var _local1; var _local4 = false; if (i > matcher.from) { _local1 = seq.charCodeAt(i - 1); _local4 = ((_local1 == 95) || (org.as2lib.regexp.AsciiUtil.isLower(_local1))) || (org.as2lib.regexp.AsciiUtil.isDigit(_local1)); } var _local2 = false; if (i < matcher.to) { _local1 = seq.charCodeAt(i); _local2 = ((_local1 == 95) || (org.as2lib.regexp.AsciiUtil.isLower(_local1))) || (org.as2lib.regexp.AsciiUtil.isDigit(_local1)); } return(((Number(_local4) ^ Number(_local2)) ? ((_local2 ? (LEFT) : (RIGHT))) : (NONE))); } function match(matcher, i, seq) { return(((check(matcher, i, seq) & type) > 0) && (next.match(matcher, i, seq))); } static var LEFT = 1; static var RIGHT = 2; static var BOTH = 3; static var NONE = 4; }
Symbol 167 MovieClip [__Packages.org.as2lib.regexp.node.NotPosix] Frame 0
class org.as2lib.regexp.node.NotPosix extends org.as2lib.regexp.node.Node { var ctype, next; function NotPosix (type) { super(); ctype = type; } function dup(flag) { return((flag ? (new org.as2lib.regexp.node.Posix(ctype)) : (new org.as2lib.regexp.node.NotPosix(ctype)))); } function match(matcher, i, seq) { return(((i < matcher.to) && (!org.as2lib.regexp.AsciiUtil.isType(seq.charCodeAt(i), ctype))) && (next.match(matcher, i + 1, seq))); } function study(info) { info.minLength++; info.maxLength++; return(next.study(info)); } }
Symbol 168 MovieClip [__Packages.org.as2lib.regexp.node.Posix] Frame 0
class org.as2lib.regexp.node.Posix extends org.as2lib.regexp.node.Node { var ctype, next; function Posix (type) { super(); ctype = type; } function dup(flag) { return((flag ? (new org.as2lib.regexp.node.NotPosix(ctype)) : (new org.as2lib.regexp.node.Posix(ctype)))); } function match(matcher, i, seq) { return(((i < matcher.to) && (org.as2lib.regexp.AsciiUtil.isType(seq.charCodeAt(i), ctype))) && (next.match(matcher, i + 1, seq))); } function study(info) { info.minLength++; info.maxLength++; return(next.study(info)); } }
Symbol 169 MovieClip [__Packages.org.as2lib.regexp.node.LastMatch] Frame 0
class org.as2lib.regexp.node.LastMatch extends org.as2lib.regexp.node.Node { var next; function LastMatch () { super(); } function match(matcher, i, seq) { if (i != matcher.oldLast) { return(false); } return(next.match(matcher, i, seq)); } }
Symbol 170 MovieClip [__Packages.org.as2lib.regexp.node.End] Frame 0
class org.as2lib.regexp.node.End extends org.as2lib.regexp.node.Node { var next; function End () { super(); } function match(matcher, i, seq) { return((i == matcher.to) && (next.match(matcher, i, seq))); } }
Symbol 171 MovieClip [__Packages.org.as2lib.regexp.node.BitClass] Frame 0
class org.as2lib.regexp.node.BitClass extends org.as2lib.regexp.node.Node { var complementMe, bits, next; function BitClass (flag, newBits) { super(); complementMe = ((flag != null) ? (flag) : false); bits = ((newBits != null) ? (newBits) : (new Array(256))); } function addChar(c, f) { if ((f & org.as2lib.regexp.Pattern.CASE_INSENSITIVE) == 0) { bits[c] = true; return(this); } if (c < 128) { bits[c] = true; if (org.as2lib.regexp.AsciiUtil.isUpper(c)) { c = c + 32; bits[c] = true; } else if (org.as2lib.regexp.AsciiUtil.isLower(c)) { c = c - 32; bits[c] = true; } return(this); } c = org.as2lib.regexp.AsciiUtil.toLower(c); bits[c] = true; c = org.as2lib.regexp.AsciiUtil.toUpper(c); bits[c] = true; return(this); } function dup(flag) { return(new org.as2lib.regexp.node.BitClass(flag, bits)); } function match(matcher, i, seq) { if (i >= matcher.to) { return(false); } var _local2 = seq.charCodeAt(i); var _local3 = ((_local2 > 255) ? (complementMe) : (Boolean(Number(bits[_local2]) ^ Number(complementMe)))); return(_local3 && (next.match(matcher, i + 1, seq))); } function study(info) { info.minLength++; info.maxLength++; return(next.study(info)); } }
Symbol 172 MovieClip [__Packages.org.as2lib.regexp.node.Add] Frame 0
class org.as2lib.regexp.node.Add extends org.as2lib.regexp.node.Node { var lhs, rhs, next; function Add (lhs, rhs) { super(); this.lhs = lhs; this.rhs = rhs; } function match(matcher, i, seq) { if (i < matcher.to) { return((lhs.match(matcher, i, seq) || (rhs.match(matcher, i, seq))) && (next.match(matcher, matcher.last, seq))); } return(false); } function study(info) { var _local5 = info.maxValid; var _local8 = info.deterministic; var _local4 = info.minLength; var _local7 = info.maxLength; lhs.study(info); var _local6 = info.minLength; var _local3 = info.maxLength; info.minLength = _local4; info.maxLength = _local7; rhs.study(info); info.minLength = Math.min(_local6, info.minLength); info.maxLength = Math.max(_local3, info.maxLength); info.maxValid = _local5; info.deterministic = _local8; return(next.study(info)); } }
Symbol 173 MovieClip [__Packages.org.as2lib.regexp.node.Both] Frame 0
class org.as2lib.regexp.node.Both extends org.as2lib.regexp.node.Node { var lhs, rhs, next; function Both (lhs, rhs) { super(); this.lhs = lhs; this.rhs = rhs; } function match(matcher, i, seq) { if (i < matcher.to) { return((lhs.match(matcher, i, seq) && (rhs.match(matcher, i, seq))) && (next.match(matcher, matcher.last, seq))); } return(false); } function study(info) { var _local5 = info.maxValid; var _local8 = info.deterministic; var _local4 = info.minLength; var _local7 = info.maxLength; lhs.study(info); var _local6 = info.minLength; var _local3 = info.maxLength; info.minLength = _local4; info.maxLength = _local7; rhs.study(info); info.minLength = Math.min(_local6, info.minLength); info.maxLength = Math.max(_local3, info.maxLength); info.maxValid = _local5; info.deterministic = _local8; return(next.study(info)); } }
Symbol 174 MovieClip [__Packages.org.as2lib.regexp.node.Sub] Frame 0
class org.as2lib.regexp.node.Sub extends org.as2lib.regexp.node.Add { var rhs, lhs, next; function Sub (lhs, rhs) { super(lhs, rhs); } function match(matcher, i, seq) { if (i < matcher.to) { return(((!rhs.match(matcher, i, seq)) && (lhs.match(matcher, i, seq))) && (next.match(matcher, matcher.last, seq))); } return(false); } function study(info) { lhs.study(info); return(next.study(info)); } }
Symbol 175 MovieClip [__Packages.org.as2lib.regexp.node.Range] Frame 0
class org.as2lib.regexp.node.Range extends org.as2lib.regexp.node.Node { var lower, upper, next; function Range (n) { super(); if (n != null) { lower = n >>> 16; upper = n & 65535; } } function dup(flag) { return((flag ? (new org.as2lib.regexp.node.NotRange((lower << 16) + upper)) : (new org.as2lib.regexp.node.Range((lower << 16) + upper)))); } function match(matcher, i, seq) { if (i < matcher.to) { var _local2 = seq.charCodeAt(i); return((((_local2 - lower) | (upper - _local2)) >= 0) && (next.match(matcher, i + 1, seq))); } return(false); } function study(info) { info.minLength++; info.maxLength++; return(next.study(info)); } }
Symbol 176 MovieClip [__Packages.org.as2lib.regexp.node.NotRange] Frame 0
class org.as2lib.regexp.node.NotRange extends org.as2lib.regexp.node.Node { var lower, upper, next; function NotRange (n) { super(); if (n != null) { lower = n >>> 16; upper = n & 65535; } } function dup(flag) { if (flag) { return(new org.as2lib.regexp.node.Range((lower << 16) + upper)); } return(new org.as2lib.regexp.node.NotRange((lower << 16) + upper)); } function match(matcher, i, seq) { if (i < matcher.to) { var _local2 = seq.charCodeAt(i); return((((_local2 - lower) | (upper - _local2)) < 0) && (next.match(matcher, i + 1, seq))); } return(false); } function study(info) { info.minLength++; info.maxLength++; return(next.study(info)); } }
Symbol 177 MovieClip [__Packages.org.as2lib.regexp.node.RangeA] Frame 0
class org.as2lib.regexp.node.RangeA extends org.as2lib.regexp.node.Range { var lower, upper, next; function RangeA (n) { super(); lower = n >>> 16; upper = n & 65535; } function dup(flag) { return((flag ? (new org.as2lib.regexp.node.NotRangeA((lower << 16) + upper)) : (new org.as2lib.regexp.node.RangeA((lower << 16) + upper)))); } function match(matcher, i, seq) { if (i < matcher.to) { var _local2 = seq.charCodeAt(i); var _local3 = ((_local2 - lower) | (upper - _local2)) >= 0; if (!_local3) { _local2 = org.as2lib.regexp.AsciiUtil.toUpper(_local2); _local3 = ((_local2 - lower) | (upper - _local2)) >= 0; if (!_local3) { _local2 = org.as2lib.regexp.AsciiUtil.toLower(_local2); _local3 = ((_local2 - lower) | (upper - _local2)) >= 0; } } return(_local3 && (next.match(matcher, i + 1, seq))); } return(false); } }
Symbol 178 MovieClip [__Packages.org.as2lib.regexp.node.NotRangeA] Frame 0
class org.as2lib.regexp.node.NotRangeA extends org.as2lib.regexp.node.NotRange { var lower, upper, next; function NotRangeA (n) { super(); lower = n >>> 16; upper = n & 65535; } function dup(flag) { if (flag) { return(new org.as2lib.regexp.node.RangeA((lower << 16) + upper)); } return(new org.as2lib.regexp.node.NotRangeA((lower << 16) + upper)); } function match(matcher, i, seq) { if (i < matcher.to) { var _local2 = seq.charCodeAt(i); var _local3 = ((_local2 - lower) | (upper - _local2)) < 0; if (_local3) { _local2 = org.as2lib.regexp.AsciiUtil.toUpper(_local2); _local3 = ((_local2 - lower) | (upper - _local2)) < 0; if (_local3) { _local2 = org.as2lib.regexp.AsciiUtil.toLower(_local2); _local3 = ((_local2 - lower) | (upper - _local2)) < 0; } } return(_local3 && (next.match(matcher, i + 1, seq))); } return(false); } }
Symbol 179 MovieClip [__Packages.org.as2lib.regexp.node.Pos] Frame 0
class org.as2lib.regexp.node.Pos extends org.as2lib.regexp.node.Node { var cond, next; function Pos (cond) { super(); this.cond = cond; } function match(matcher, i, seq) { return(cond.match(matcher, i, seq) && (next.match(matcher, i, seq))); } }
Symbol 180 MovieClip [__Packages.org.as2lib.regexp.node.Neg] Frame 0
class org.as2lib.regexp.node.Neg extends org.as2lib.regexp.node.Node { var cond, next; function Neg (cond) { super(); this.cond = cond; } function match(matcher, i, seq) { return((!cond.match(matcher, i, seq)) && (next.match(matcher, i, seq))); } }
Symbol 181 MovieClip [__Packages.org.as2lib.regexp.node.Ques] Frame 0
class org.as2lib.regexp.node.Ques extends org.as2lib.regexp.node.Node { var atom, type, next; function Ques (node, type) { super(); atom = node; this.type = type; } function match(matcher, i, seq) { switch (type) { case org.as2lib.regexp.Pattern.GREEDY : return((atom.match(matcher, i, seq) && (next.match(matcher, matcher.last, seq))) || (next.match(matcher, i, seq))); case org.as2lib.regexp.Pattern.LAZY : return(next.match(matcher, i, seq) || (atom.match(matcher, i, seq) && (next.match(matcher, matcher.last, seq)))); case org.as2lib.regexp.Pattern.POSSESSIVE : if (atom.match(matcher, i, seq)) { i = matcher.last; } return(next.match(matcher, i, seq)); } return(atom.match(matcher, i, seq) && (next.match(matcher, matcher.last, seq))); } function study(info) { if (type != org.as2lib.regexp.Pattern.INDEPENDENT) { var _local3 = info.minLength; atom.study(info); info.minLength = _local3; info.deterministic = false; return(next.study(info)); } atom.study(info); return(next.study(info)); } function getType(Void) { return(type); } }
Symbol 182 MovieClip [__Packages.org.as2lib.regexp.node.Behind] Frame 0
class org.as2lib.regexp.node.Behind extends org.as2lib.regexp.node.Node { var cond, rmax, rmin, next; function Behind (cond, rmax, rmin) { super(); this.cond = cond; this.rmax = rmax; this.rmin = rmin; } function match(matcher, i, seq) { var _local6 = Math.max(i - rmax, matcher.from); var _local2 = i - rmin; while (_local2 >= _local6) { if (cond.match(matcher, _local2, seq) && (matcher.last == i)) { return(next.match(matcher, i, seq)); } _local2--; } return(false); } }
Symbol 183 MovieClip [__Packages.org.as2lib.regexp.node.NotBehind] Frame 0
class org.as2lib.regexp.node.NotBehind extends org.as2lib.regexp.node.Node { var cond, rmax, rmin, next; function NotBehind (cond, rmax, rmin) { super(); this.cond = cond; this.rmax = rmax; this.rmin = rmin; } function match(matcher, i, seq) { var _local5 = Math.max(i - rmax, matcher.from); var _local2 = i - rmin; while (_local2 >= _local5) { if (cond.match(matcher, _local2, seq) && (matcher.last == i)) { return(false); } _local2--; } return(next.match(matcher, i, seq)); } }
Symbol 184 MovieClip [__Packages.org.as2lib.regexp.node.GroupRef] Frame 0
class org.as2lib.regexp.node.GroupRef extends org.as2lib.regexp.node.Node { var head, next; function GroupRef (head) { super(); this.head = head; } function match(matcher, i, seq) { return(head.matchRef(matcher, i, seq) && (next.match(matcher, matcher.last, seq))); } function study(info) { info.maxValid = false; info.deterministic = false; return(next.study(info)); } }
Symbol 185 MovieClip [__Packages.org.as2lib.regexp.node.GroupHead] Frame 0
class org.as2lib.regexp.node.GroupHead extends org.as2lib.regexp.node.Node { var localIndex, next; function GroupHead (localCount) { super(); localIndex = localCount; } function match(matcher, i, seq) { var _local4 = matcher.locals[localIndex]; matcher.locals[localIndex] = i; var _local3 = next.match(matcher, i, seq); matcher.locals[localIndex] = _local4; return(_local3); } function matchRef(matcher, i, seq) { var _local4 = matcher.locals[localIndex]; matcher.locals[localIndex] = ~i; var _local3 = next.match(matcher, i, seq); matcher.locals[localIndex] = _local4; return(_local3); } function getLocalIndex(Void) { return(localIndex); } }
Symbol 186 MovieClip [__Packages.org.as2lib.regexp.node.Dummy] Frame 0
class org.as2lib.regexp.node.Dummy extends org.as2lib.regexp.node.Node { var next; function Dummy () { super(); } function match(matcher, i, seq) { return(next.match(matcher, i, seq)); } }
Symbol 187 MovieClip [__Packages.org.as2lib.regexp.node.GroupCurly] Frame 0
class org.as2lib.regexp.node.GroupCurly extends org.as2lib.regexp.node.Node { var atom, type, cmin, cmax, localIndex, groupIndex, next; function GroupCurly (node, cmin, cmax, type, local, group) { super(); atom = node; this.type = type; this.cmin = cmin; this.cmax = cmax; localIndex = local; groupIndex = group; } function match(matcher, i, seq) { var _local4 = matcher.groups; var _local8 = matcher.locals; var _local11 = _local8[localIndex]; var _local10 = _local4[groupIndex]; var _local9 = _local4[groupIndex + 1]; _local8[localIndex] = -1; var _local6 = true; var _local2 = 0; while (_local2 < cmin) { if (atom.match(matcher, i, seq)) { _local4[groupIndex] = i; i = matcher.last; _local4[groupIndex + 1] = i; } else { _local6 = false; break; } _local2++; } if (!_local6) { } else if (type == org.as2lib.regexp.Pattern.GREEDY) { _local6 = match0(matcher, i, cmin, seq); } else if (type == org.as2lib.regexp.Pattern.LAZY) { _local6 = match1(matcher, i, cmin, seq); } else { _local6 = match2(matcher, i, cmin, seq); } if (!_local6) { _local8[localIndex] = _local11; _local4[groupIndex] = _local10; _local4[groupIndex + 1] = _local9; } return(_local6); } function match0(matcher, i, j, seq) { var _local3 = matcher.groups; var _local9 = _local3[groupIndex]; var _local8 = _local3[groupIndex + 1]; if (true) { if (j >= cmax) { } else if (!atom.match(matcher, i, seq)) { } else { var _local4 = matcher.last - i; if (_local4 <= 0) { _local3[groupIndex] = i; i = i + _local4; _local3[groupIndex + 1] = i; } else { while (true) { _local3[groupIndex] = i; i = i + _local4; _local3[groupIndex + 1] = i; j++; if (j >= cmax) { break; } if (!atom.match(matcher, i, seq)) { break; } if ((i + _local4) != matcher.last) { if (match0(matcher, i, j, seq)) { return(true); } break; } } while (j > cmin) { if (next.match(matcher, i, seq)) { _local3[groupIndex + 1] = i; i = i - _local4; _local3[groupIndex] = i; return(true); } _local3[groupIndex + 1] = i; i = i - _local4; _local3[groupIndex] = i; j--; } } } } _local3[groupIndex] = _local9; _local3[groupIndex + 1] = _local8; return(next.match(matcher, i, seq)); } function match1(matcher, i, j, seq) { for(;;){ if (next.match(matcher, i, seq)) { return(true); } if (j >= cmax) { return(false); } if (!atom.match(matcher, i, seq)) { return(false); } if (i == matcher.last) { return(false); } matcher.groups[groupIndex] = i; i = matcher.last; matcher.groups[groupIndex + 1] = i; j++; }; } function match2(matcher, i, j, seq) { while (j < cmax) { if (!atom.match(matcher, i, seq)) { break; } matcher.groups[groupIndex] = i; matcher.groups[groupIndex + 1] = matcher.last; if (i == matcher.last) { break; } i = matcher.last; j++; } return(next.match(matcher, i, seq)); } function study(info) { var _local4 = info.minLength; var _local5 = info.maxLength; var _local6 = info.maxValid; var _local7 = info.deterministic; info.reset(); atom.study(info); var _local3 = (info.minLength * cmin) + _local4; if (_local3 < _local4) { _local3 = 268435455 /* 0xFFFFFFF */; } info.minLength = _local3; if (_local6 && (info.maxValid)) { _local3 = (info.maxLength * cmax) + _local5; info.maxLength = _local3; if (_local3 < _local5) { info.maxValid = false; } } else { info.maxValid = false; } if (info.deterministic && (cmin == cmax)) { info.deterministic = _local7; } else { info.deterministic = false; } return(next.study(info)); } }
Symbol 188 MovieClip [__Packages.org.as2lib.regexp.node.LazyLoop] Frame 0
class org.as2lib.regexp.node.LazyLoop extends org.as2lib.regexp.node.Loop { var beginIndex, countIndex, cmin, body, next, cmax; function LazyLoop (countIndex, beginIndex) { super(countIndex, beginIndex); } function match(matcher, i, seq) { if (i > matcher.locals[beginIndex]) { var _local3 = matcher.locals[countIndex]; if (_local3 < cmin) { matcher.locals[countIndex] = _local3 + 1; var _local6 = body.match(matcher, i, seq); if (!_local6) { matcher.locals[countIndex] = _local3; } return(_local6); } if (next.match(matcher, i, seq)) { return(true); } if (_local3 < cmax) { matcher.locals[countIndex] = _local3 + 1; var _local6 = body.match(matcher, i, seq); if (!_local6) { matcher.locals[countIndex] = _local3; } return(_local6); } return(false); } return(next.match(matcher, i, seq)); } function matchInit(matcher, i, seq) { var _local5 = matcher.locals[countIndex]; var _local3 = false; if (0 < cmin) { matcher.locals[countIndex] = 1; _local3 = body.match(matcher, i, seq); } else if (next.match(matcher, i, seq)) { _local3 = true; } else if (0 < cmax) { matcher.locals[countIndex] = 1; _local3 = body.match(matcher, i, seq); } matcher.locals[countIndex] = _local5; return(_local3); } function study(info) { info.maxValid = false; info.deterministic = false; return(false); } }
Symbol 189 MovieClip [__Packages.org.as2lib.regexp.node.SingleA] Frame 0
class org.as2lib.regexp.node.SingleA extends org.as2lib.regexp.node.Node { var ch, next; function SingleA (n) { super(); ch = org.as2lib.regexp.AsciiUtil.toLower(n); } function dup(flag) { return((flag ? (new org.as2lib.regexp.node.NotSingleA(ch)) : (new org.as2lib.regexp.node.SingleA(ch)))); } function match(matcher, i, seq) { if (i < matcher.to) { var _local2 = seq.charCodeAt(i); if ((_local2 == ch) || (org.as2lib.regexp.AsciiUtil.toLower(_local2) == ch)) { return(next.match(matcher, i + 1, seq)); } } return(false); } function study(info) { info.minLength++; info.maxLength++; return(next.study(info)); } }
Symbol 190 MovieClip [__Packages.org.as2lib.regexp.node.NotSingleA] Frame 0
class org.as2lib.regexp.node.NotSingleA extends org.as2lib.regexp.node.Node { var ch, next; function NotSingleA (n) { super(); ch = org.as2lib.regexp.AsciiUtil.toLower(n); } function dup(flag) { return((flag ? (new org.as2lib.regexp.node.SingleA(ch)) : (new org.as2lib.regexp.node.NotSingleA(ch)))); } function match(matcher, i, seq) { if (i < matcher.to) { var _local2 = seq.charCodeAt(i); if ((_local2 != ch) && (org.as2lib.regexp.AsciiUtil.toLower(_local2) != ch)) { return(next.match(matcher, i + 1, seq)); } } return(false); } function study(info) { info.minLength++; info.maxLength++; return(next.study(info)); } }
Symbol 191 MovieClip [__Packages.org.as2lib.regexp.node.SingleU] Frame 0
class org.as2lib.regexp.node.SingleU extends org.as2lib.regexp.node.Node { var ch, next; function SingleU (c) { super(); ch = org.as2lib.regexp.AsciiUtil.toLower(org.as2lib.regexp.AsciiUtil.toUpper(c)); } function dup(flag) { return((flag ? (new org.as2lib.regexp.node.NotSingleU(ch)) : (new org.as2lib.regexp.node.SingleU(ch)))); } function match(matcher, i, seq) { if (i < matcher.to) { var _local2 = seq.charCodeAt(i); if (_local2 == ch) { return(next.match(matcher, i + 1, seq)); } _local2 = org.as2lib.regexp.AsciiUtil.toUpper(_local2); _local2 = org.as2lib.regexp.AsciiUtil.toLower(_local2); if (_local2 == ch) { return(next.match(matcher, i + 1, seq)); } } return(false); } function study(info) { info.minLength++; info.maxLength++; return(next.study(info)); } }
Symbol 192 MovieClip [__Packages.org.as2lib.regexp.node.NotSingleU] Frame 0
class org.as2lib.regexp.node.NotSingleU extends org.as2lib.regexp.node.Node { var ch, next; function NotSingleU (c) { super(); ch = org.as2lib.regexp.AsciiUtil.toLower(org.as2lib.regexp.AsciiUtil.toUpper(c)); } function dup(flag) { return((flag ? (new org.as2lib.regexp.node.SingleU(ch)) : (new org.as2lib.regexp.node.NotSingleU(ch)))); } function match(matcher, i, seq) { if (i < matcher.to) { var _local2 = seq.charCodeAt(i); if (_local2 == ch) { return(false); } _local2 = org.as2lib.regexp.AsciiUtil.toUpper(_local2); _local2 = org.as2lib.regexp.AsciiUtil.toLower(_local2); if (_local2 != ch) { return(next.match(matcher, i + 1, seq)); } } return(false); } function study(info) { info.minLength++; info.maxLength++; return(next.study(info)); } }
Symbol 193 MovieClip [__Packages.org.as2lib.regexp.node.SliceA] Frame 0
class org.as2lib.regexp.node.SliceA extends org.as2lib.regexp.node.Node { var buffer, next; function SliceA (buf) { super(); buffer = buf; } function match(matcher, i, seq) { var _local5 = buffer; var _local4 = _local5.length; if ((i + _local4) > matcher.to) { return(false); } var _local2 = 0; while (_local2 < _local4) { var _local3 = org.as2lib.regexp.AsciiUtil.toLower(seq.charCodeAt(i + _local2)); if (_local5[_local2] != _local3) { return(false); } _local2++; } return(next.match(matcher, i + _local4, seq)); } function study(info) { info.minLength = info.minLength + buffer.length; info.maxLength = info.maxLength + buffer.length; return(next.study(info)); } }
Symbol 194 MovieClip [__Packages.org.as2lib.regexp.node.SliceU] Frame 0
class org.as2lib.regexp.node.SliceU extends org.as2lib.regexp.node.Node { var buffer, next; function SliceU (buf) { super(); buffer = buf; } function match(matcher, i, seq) { var _local5 = buffer; var _local4 = _local5.length; if ((i + _local4) > matcher.to) { return(false); } var _local3 = 0; while (_local3 < _local4) { var _local2 = seq.charCodeAt(i + _local3); _local2 = org.as2lib.regexp.AsciiUtil.toUpper(_local2); _local2 = org.as2lib.regexp.AsciiUtil.toLower(_local2); if (_local5[_local3] != _local2) { return(false); } _local3++; } return(next.match(matcher, i + _local4, seq)); } function study(info) { info.minLength = info.minLength + buffer.length; info.maxLength = info.maxLength + buffer.length; return(next.study(info)); } }
Symbol 195 MovieClip [__Packages.jaludo.api.as2.utils.ModalsPopup] Frame 0
class jaludo.api.as2.utils.ModalsPopup { var _content, _text, blocker, jaludoApi_modalPopup, jaludoApi_txtInformation, jaludoApi_btnOk; function ModalsPopup (content) { _content = content; _text = ""; } function showPopup(text, type) { blocker = new jaludo.api.as2.Blocker(_content); _text = text; switch (type) { case TYPE_INFORMATIVE : showInformative(); break; case TYPE_WARNING : showWarning(); break; case TYPE_ERROR : showError(); } } function showInformative() { jaludoApi_modalPopup = _content.attachMovie("jaludoApi_alertPopupInformative", "jaludoApi_alertPopupInformative", _content.getNextHighestDepth()); trace("jaludoApi_modalPopup : " + jaludoApi_modalPopup); setProperties(); } function showWarning(text) { jaludoApi_modalPopup = _content.attachMovie("jaludoApi_alertPopupWarning", "jaludoApi_alertPopupWarning", _content.getNextHighestDepth()); setProperties(); } function showError(text) { } function setProperties() { jaludoApi_modalPopup._x = jaludo.api.as2.Locator.getCenterX(); jaludoApi_modalPopup._y = jaludo.api.as2.Locator.getCenterY(); jaludoApi_txtInformation = jaludoApi_modalPopup.jaludoApi_txtInformation; jaludoApi_btnOk = jaludoApi_modalPopup.jaludoApi_btnOk; var _local2; _local2 = new TextFormat("arial", 10, 0); jaludoApi_txtInformation.setNewTextFormat(_local2); jaludoApi_txtInformation.text = _text; jaludoApi_txtInformation.multiline = true; jaludoApi_txtInformation.autoSize = true; jaludoApi_btnOk.onRelease = mx.utils.Delegate.create(this, dispose); jaludoApi_modalPopup.onEnterFrame = mx.utils.Delegate.create(this, detectKey); } function detectKey() { if (Key.isDown(13)) { dispose(); } else if (Key.isDown(27)) { dispose(); } } function dispose() { blocker.dispose(); jaludoApi_modalPopup.onEnterFrame = null; jaludoApi_modalPopup.removeMovieClip(); } static var TYPE_INFORMATIVE = "TYPE_INFORMATIVE"; static var TYPE_WARNING = "TYPE_WARNING"; static var TYPE_ERROR = "TYPE_ERROR"; }
Symbol 196 MovieClip [__Packages.jaludo.api.as2.APISettings] Frame 0
class jaludo.api.as2.APISettings extends mx.events.EventDispatcher { static var s; var _settings, _array_data, dispatchEvent; function APISettings () { super(this); } static function get instance() { if (!s) { s = new jaludo.api.as2.APISettings(); } return(s); } function loadXML(file_xml) { _settings = new XML(); _settings.ignoreWhite = true; _settings.onLoad = mx.utils.Delegate.create(this, XMLLoaded); _settings.load(file_xml); } function XMLLoaded(success) { if (success) { _array_data = _settings.firstChild.childNodes; dispatchEvent({type:READY}); } } function getData(label) { var _local2 = 0; while (_local2 < _array_data.length) { if (_array_data[_local2].nodeName == label) { return(_array_data[_local2].firstChild.nodeValue); } _local2++; } return("error: label not found"); } var READY = "READY"; }
Symbol 197 MovieClip [__Packages.jaludo.api.as2.Score] Frame 0
class jaludo.api.as2.Score { var _caller, sendingLocal, _response, _mouseListener, _content, jaludoApi_topScorePopup, _topscores_record_container, _topscores_page_container, _is_needed_gotome, _user_ranking, _images_url, _index_image, _topscores_records, _page_display, RECORDS_PER_PAGE, RECORDS_PER_SCREEN, SCROLL_MAX_SIZE, SCROLL_MIN_SIZE, _scrollbar_relation, RECORDS_SCROLLBAR_RELATION, UPPER_LIMIT_RECORDS, DOWN_LIMIT_RECORDS, HEIGHT_RECORD, _scrollbar_pressed, _prev_mouse_y, _mcLoader, _objListener; function Score (caller) { _caller = caller; sendingLocal = _caller.sending; _response = true; _mouseListener = {}; } function initialize(container) { _content = container; _caller.dispatchEvent({type:jaludo.api.as2.JaludoManager.PAUSE_EVENT_MANAGER, data:{state:true}}); jaludoApi_topScorePopup = _content.attachMovie("jaludoApi_topScoresPopup", "jaludoApi_topScoresPopup", _content.getNextHighestDepth()); jaludoApi_topScorePopup._caller = this; jaludoApi_topScorePopup.btn_close.onRelease = mx.utils.Delegate.create(this, dispose); jaludoApi_topScorePopup.btn_day.onRelease = function () { this._parent._caller.getTopScores("day"); }; jaludoApi_topScorePopup.btn_week.onRelease = function () { this._parent._caller.getTopScores("week"); }; jaludoApi_topScorePopup.btn_month.onRelease = function () { this._parent._caller.getTopScores("month"); }; jaludoApi_topScorePopup.btn_all.onRelease = function () { this._parent._caller.getTopScores("all"); }; jaludoApi_topScorePopup.game_name.text = jaludo.api.as2.Game.__get__instance().name; showTabTopScores(); } function showTabTopScores() { _topscores_record_container = jaludoApi_topScorePopup.mc_topscores_record_container; _topscores_page_container = jaludoApi_topScorePopup.mc_topscores_page_container; _is_needed_gotome = true; getTopScores("all"); } function getTopScores(date) { trace("Score.getTopScores > date : " + date); if (_response) { _response = false; sendingLocal.send(_caller._remote_connection_name, "getTopScores", {filter:date}); } } function showTopScores(obj) { trace("Score.showTopScores > obj : " + obj); var _local2 = obj.data.result; _response = true; resetObjects(); jaludoApi_topScorePopup.user_name.text = jaludo.api.as2.User.__get__instance().username; var _local4 = 0; while (_local4 < 3) { jaludoApi_topScorePopup["player_name_" + (_local4 + 1)].text = ""; jaludoApi_topScorePopup["player_score_" + (_local4 + 1)].text = ""; jaludoApi_topScorePopup["player_name_" + (_local4 + 1)].textColor = "0x000000"; jaludoApi_topScorePopup["player_score_" + (_local4 + 1)].textColor = "0x000000"; _local4++; } var _local6; _local4 = 0; while (_local4 < _local2.length) { _local6 = _local2[_local4].name; var _local3 = _local4 + 1; while (_local3 < 6) { if (_local2[_local3].name == _local6) { _local2.splice(_local3, 1); break; } _local3++; } if (_local4 > 2) { break; } _local4++; } if (jaludo.api.as2.User.__get__instance().__get__username() == jaludo.api.as2.User.GUEST_USER) { var _local7; _local7 = SharedObject.getLocal(_caller._game_key); if (_local7.data.score > 0) { var _local5 = []; var _local8 = {name:jaludo.api.as2.User.__get__instance().__get__username(), imgUrl:"avatar_default.png", score:Number(_local7.data.score), date:0}; _local4 = 0; while (_local4 < _local2.length) { if (_local2[_local4].score < _local7.data.score) { _user_ranking = _local4 + 1; _local5 = _local5.concat(_local5.concat(_local5.concat(_local2.slice(0, _local4)), _local8), _local2.slice(_local4, _local2.length)); _local2 = _local5; break; } _local4++; } if (_user_ranking == -1) { _local2.push(_local8); _user_ranking = _local2.length; } } } _local4 = 0; while (_local4 < 3) { if (_local2[_local4].name != undefined) { jaludoApi_topScorePopup["player_name_" + (_local4 + 1)].text = _local2[_local4].name; jaludoApi_topScorePopup["player_score_" + (_local4 + 1)].text = _local2[_local4].score; } _local4++; } _local4 = 0; while (_local4 < _local2.length) { if (_local2[_local4].name == jaludo.api.as2.User.__get__instance().__get__username()) { _user_ranking = _local4 + 1; break; } _local4++; } _images_url = new Array(_local2[0].imgUrl, _local2[1].imgUrl, _local2[2].imgUrl); loadPicture(_index_image); _topscores_records = _local2; _page_display = new jaludo.api.as2.displayutil.PageManagerDisplay(this, _topscores_page_container); _page_display.initialize(_local2.length); if (_is_needed_gotome) { _is_needed_gotome = false; onReleaseGotoMe(); } } function loadTopscoresList(records) { var _local3; var _local5 = (_page_display.getCurrentPage() - 1) * RECORDS_PER_PAGE; var _local6; var _local2 = 0; while (_local2 < records.length) { _local3 = _topscores_record_container.attachMovie("jaludoApi_topscores_record", "record_" + _local2, _topscores_record_container.getNextHighestDepth()); _local3._y = _local2 * _local3._height; _local3.player_name.text = records[_local2].name; _local3.player_score.text = records[_local2].score; _local3.player_ranking.text = (((_local5 + _local2) + 1) + 3) + " ."; if (records[_local2].date == 0) { _local3.player_date.text = "Today"; } else if (records[_local2].date == 1) { _local3.player_date.text = "Yesterday"; } else { _local3.player_date.text = records[_local2].date + " days ago"; } _local2++; } jaludoApi_topScorePopup.mc_scrollbar._height = SCROLL_MAX_SIZE - (records.length - RECORDS_PER_SCREEN); if (jaludoApi_topScorePopup.mc_scrollbar._height < SCROLL_MIN_SIZE) { jaludoApi_topScorePopup.mc_scrollbar._height = SCROLL_MIN_SIZE; } else if (jaludoApi_topScorePopup.mc_scrollbar._height > SCROLL_MAX_SIZE) { jaludoApi_topScorePopup.mc_scrollbar._height = SCROLL_MAX_SIZE; } _scrollbar_relation = Math.ceil(records.length / RECORDS_SCROLLBAR_RELATION); _mouseListener.onMouseWheel = mx.utils.Delegate.create(this, doScroll); Mouse.addListener(_mouseListener); } function sendScore(value, level) { if (!(jaludo.api.as2.User.__get__instance().__get__username() === jaludo.api.as2.User.GUEST_USER)) { trace("-----jaludoManager.sendScore--------" + value); sendingLocal.send(_caller._remote_connection_name, "sendScore", {score:String(value), level:String(level)}); } else { flash.external.ExternalInterface.call("calculateGuestScore", value, _caller._game_key); trace("-----test--------" + value); trace("guest score : " + value); var _local3; _local3 = SharedObject.getLocal(_caller._game_key); _caller.txtInfo.text = "COOKIE:Sending score"; if ((_local3.data.score == undefined) || (value > _local3.data.score)) { _local3.data.score = value; } trace("cookie.data.score : " + value); _local3.data.level = level; _local3.flush(); _caller.txtInfo.text = "Score has been sent correctly"; } } function sendLocalScore() { var _local2; _local2 = SharedObject.getLocal(_caller._game_key); if ((!(_local2.data.score === undefined)) && (!(_local2.data.level === undefined))) { sendingLocal.send(_caller._remote_connection_name, "sendScore", {score:String(_local2.data.score), level:String(_local2.data.level)}); _local2.data.score = undefined; _local2.data.level = undefined; } } function doScroll(delta) { if ((_topscores_record_container._y == UPPER_LIMIT_RECORDS) && (delta > 0)) { return(undefined); } if (((_topscores_record_container._y + _topscores_record_container._height) <= DOWN_LIMIT_RECORDS) && (delta < 0)) { return(undefined); } _topscores_record_container._y = _topscores_record_container._y + ((HEIGHT_RECORD * _scrollbar_relation) * (delta / Math.abs(delta))); jaludoApi_topScorePopup.mc_scrollbar._y = jaludoApi_topScorePopup.mc_scrollbar._y - (_scrollbar_relation * (delta / Math.abs(delta))); } function upScrollArrow() { doScroll(1); } function downScrollArrow() { doScroll(-1); } function onPressScrollBar() { _scrollbar_pressed = true; } function onReleaseScrollBar() { _scrollbar_pressed = false; } function onMouseMoveScrollBar() { if (_scrollbar_pressed) { if (jaludoApi_topScorePopup.mc_scrollbar._ymouse < _prev_mouse_y) { doScroll(1); } else { doScroll(-1); } _prev_mouse_y = jaludoApi_topScorePopup.mc_scrollbar._ymouse; } } function onReleaseGotoMe() { var _local4 = false; var _local3 = 0; var _local2 = 0; while (_local2 < 3) { if (jaludoApi_topScorePopup["player_name_" + (_local2 + 1)].text == jaludo.api.as2.User.__get__instance().__get__username()) { _local4 = true; jaludoApi_topScorePopup["player_name_" + (_local2 + 1)].textColor = "0xFF0000"; jaludoApi_topScorePopup["player_score_" + (_local2 + 1)].textColor = "0xFF0000"; break; } _local2++; } if (!_local4) { if (_user_ranking != -1) { var _local7 = Math.ceil((_user_ranking - 3) / RECORDS_PER_PAGE); trace("user_ranking_page : " + _local7); _page_display.gotoPage(_local7, true); for (var _local6 in _topscores_record_container) { if (_topscores_record_container[_local6].player_name.text == jaludo.api.as2.User.__get__instance().__get__username()) { _topscores_record_container[_local6].player_ranking.textColor = "0xFF0000"; _topscores_record_container[_local6].player_name.textColor = "0xFF0000"; _topscores_record_container[_local6].player_score.textColor = "0xFF0000"; _topscores_record_container[_local6].player_date.textColor = "0xFF0000"; _local3 = Number(_topscores_record_container[_local6].player_ranking.text.substr(0, _topscores_record_container[_local6].player_ranking.text.length - 2)) - 3; break; } } if (_local3 > 0) { if (_local3 > RECORDS_PER_SCREEN) { var _local5 = (_local3 - RECORDS_PER_SCREEN) + (RECORDS_PER_SCREEN / 2); _local2 = 0; while (_local2 < _local5) { doScroll(-1); _local2++; } } } } else { trace("You haven't score for this game yet"); } } } function gotoPage(number) { var _local3; var _local2 = (_page_display.getCurrentPage() - 1) * RECORDS_PER_PAGE; _local3 = _topscores_records.slice(_local2 + 3, (_local2 + RECORDS_PER_PAGE) + 3); resetScrollPositions(); clearTopscoreList(); loadTopscoresList(_local3); } function loadPicture(index_image) { if (_images_url[index_image] != undefined) { _mcLoader = new MovieClipLoader(); _objListener = {}; _mcLoader.addListener(_objListener); _objListener.onLoadInit = mx.utils.Delegate.create(this, pictureLoadInit); _mcLoader.loadClip(jaludo.api.as2.APISettings.__get__instance().getData("images_path") + _images_url[index_image], jaludoApi_topScorePopup["player_image_" + (index_image + 1)]); } } function pictureLoadInit() { _mcLoader.removeListener(_objListener); jaludoApi_topScorePopup["player_image_" + (_index_image + 1)]._width = 70; jaludoApi_topScorePopup["player_image_" + (_index_image + 1)]._height = 70; _index_image++; if (_index_image <= 2) { loadPicture(_index_image); } } function resetObjects() { _index_image = 0; _user_ranking = -1; _mcLoader.removeListener(_objListener); resetScrollPositions(); clearTopscoreList(); _page_display.clearPageBtns(); _prev_mouse_y = 0; HEIGHT_RECORD = 20; RECORDS_PER_SCREEN = 8; UPPER_LIMIT_RECORDS = _topscores_record_container._y; DOWN_LIMIT_RECORDS = _topscores_record_container._y + (HEIGHT_RECORD * RECORDS_PER_SCREEN); SCROLL_MIN_SIZE = 5; SCROLL_MAX_SIZE = 150; RECORDS_SCROLLBAR_RELATION = 100; jaludoApi_topScorePopup.mc_up_arrow.onRelease = mx.utils.Delegate.create(this, upScrollArrow); jaludoApi_topScorePopup.mc_down_arrow.onRelease = mx.utils.Delegate.create(this, downScrollArrow); jaludoApi_topScorePopup.mc_scrollbar.onPress = mx.utils.Delegate.create(this, onPressScrollBar); jaludoApi_topScorePopup.mc_scrollbar.onRelease = mx.utils.Delegate.create(this, onReleaseScrollBar); jaludoApi_topScorePopup.mc_scrollbar.onReleaseOutside = mx.utils.Delegate.create(this, onReleaseScrollBar); jaludoApi_topScorePopup.mc_scrollbar.onMouseMove = mx.utils.Delegate.create(this, onMouseMoveScrollBar); RECORDS_PER_PAGE = 25; jaludoApi_topScorePopup.btn_goto_me.onRelease = mx.utils.Delegate.create(this, onReleaseGotoMe); Mouse.removeListener(_mouseListener); } function resetScrollPositions() { _topscores_record_container._y = 160; jaludoApi_topScorePopup.mc_scrollbar._y = 158; } function clearTopscoreList() { for (var _local2 in _topscores_record_container) { _topscores_record_container[_local2].removeMovieClip(); } } function savedSuccesful(obj) { trace("----------SE GUARDO CORRECTAMENTE EL SCORE----------"); _caller.txtInfo.text = "Score has been sent correctly"; flash.external.ExternalInterface.call("API_scoreSubmit"); } function savedFailed(error) { trace("--------ERROR AL GUARDAR EL PUNTAJE---------"); } function topScoresError(error) { trace("jaludo_GUI.topScoresError > error : " + error); } function dispose() { _caller.dispatchEvent({type:jaludo.api.as2.JaludoManager.PAUSE_EVENT_MANAGER, data:{state:false}}); jaludoApi_topScorePopup.removeMovieClip(); } }
Symbol 198 MovieClip [__Packages.jaludo.api.as2.displayutil.PageManagerDisplay] Frame 0
class jaludo.api.as2.displayutil.PageManagerDisplay { var _caller, _container, _total_pages, direction_index, first_btn_index, _current_page; function PageManagerDisplay (caller, container) { _caller = caller; _container = container; } function initialize(records_count) { _total_pages = Math.ceil((records_count - 3) / _caller.RECORDS_PER_PAGE); direction_index = 0; first_btn_index = 0; gotoPage(1); _container.btn_page_up.onRelease = mx.utils.Delegate.create(this, onReleasePageUp); _container.btn_page_down.onRelease = mx.utils.Delegate.create(this, onReleasePageDown); } function createBtns() { removePageBtns(); var _local2; var _local4; if (_total_pages > 4) { _local4 = MAX_BTNS; } else { _local4 = _total_pages; } var _local3 = 0; while (_local3 < _local4) { _local2 = _container.attachMovie("mc_topscores_page_btn", "mc_page_" + ((first_btn_index + _local3) + 1), _container.getNextHighestDepth()); _local2._x = (direction_index + _local3) * _local2._width; _local2.txt_number.text = (first_btn_index + _local3) + 1; initEventListenersFor(_local2); _local3++; } if (_total_pages > MAX_BTNS) { _local2 = _container.attachMovie("mc_topscores_page_points", "mc_page_points", _container.getNextHighestDepth()); if (direction_index == 0) { _local2._x = 90; _local2 = _container.attachMovie("mc_topscores_page_btn", "mc_page_" + _total_pages, _container.getNextHighestDepth()); _local2._x = 6 * _local2._width; _local2.txt_number.text = _total_pages; } else { _local2._x = 18; _local2 = _container.attachMovie("mc_topscores_page_btn", "mc_page_1", _container.getNextHighestDepth()); _local2._x = 0; _local2.txt_number.text = 1; } initEventListenersFor(_local2); } } function initEventListenersFor(temp_mc) { temp_mc._caller = this; temp_mc.onRelease = function () { this.txt_number.textColor = "0x000000"; this._caller.gotoPage(Number(this.txt_number.text), true); }; temp_mc.onRollOver = function () { if (this._caller._current_page != Number(this.txt_number.text)) { this.gotoAndStop(2); this.txt_number.textColor = "0xFFFFFF"; } }; temp_mc.onRollOut = function () { if (this._caller._current_page != Number(this.txt_number.text)) { this.gotoAndStop(1); this.txt_number.textColor = "0x000000"; } }; temp_mc.onReleaseOutside = function () { if (this._caller._current_page != Number(this.txt_number.text)) { this.gotoAndStop(1); this.txt_number.textColor = "0x000000"; } }; } function onReleasePageUp() { if (_current_page > 1) { if (_current_page == (first_btn_index + 1)) { first_btn_index--; } gotoPage(_current_page - 1); } } function onReleasePageDown() { if (_current_page < _total_pages) { if (_current_page > getLastIndex()) { first_btn_index++; } gotoPage(_current_page + 1); } } function reindexBtns(page) { if ((page == _total_pages) && (_total_pages > 5)) { direction_index = 2; first_btn_index = _total_pages - MAX_BTNS; } else if (page == 1) { direction_index = 0; first_btn_index = 0; } else if (page == (getLastIndex() + 1)) { if (page <= (_total_pages - 2)) { first_btn_index = first_btn_index + 2; } } else if (page == (first_btn_index + 1)) { if (page > 2) { first_btn_index = first_btn_index - 2; } } } function gotoPage(page, reindex) { if (reindex) { reindexBtns(page); } createBtns(); if (_current_page != page) { _container["mc_page_" + _current_page].gotoAndStop(1); } _current_page = page; _container["mc_page_" + _current_page].gotoAndStop(3); _caller.gotoPage(_current_page); } function getCurrentPage() { return(_current_page); } function getTotalPages() { return(_total_pages); } function getLastIndex() { return(first_btn_index + (MAX_BTNS - 1)); } function removePageBtns() { for (var _local2 in _container) { if (_local2.substr(0, 7) == "mc_page") { _container[_local2].removeMovieClip(); } } } function clearPageBtns() { removePageBtns(); _current_page = 0; } var MAX_BTNS = 5; }
Symbol 199 MovieClip [__Packages.jaludo.api.as2.Game] Frame 0
class jaludo.api.as2.Game { static var game; var _name; function Game () { } static function get instance() { if (!game) { game = new jaludo.api.as2.Game(); } return(game); } function get name() { return(_name); } function set name(value) { _name = value; //return(name); } }
Symbol 200 MovieClip [__Packages.jaludo.api.as2.Achievements] Frame 0
class jaludo.api.as2.Achievements { var _caller, _callerContent, sendingLocal, _achievements_registered, _mouseListener, _mainContent, main, container, scrollbar_manager, mc_up_arrow, mc_down_arrow, mc_scrollbar, scrollback, progressNumber, progressPercentageNumber, progressbar, _achievements, _prev_mouse_y, _scrollbar_pressed, _mc_blocker_alert, jaludoApi_warningPopup; function Achievements (caller, callerContent) { _caller = caller; _callerContent = callerContent; sendingLocal = _caller.sending; _achievements_registered = {}; _mouseListener = {}; } function getAllAchievements(logged) { sendingLocal.send(_caller._remote_connection_name, "getAllAchievements", {isLogged:logged}); } function showAchievements(mainContent) { _mainContent = mainContent; main = _mainContent.attachMovie("jaludoApi_Achievements", "jaludoApi_Achievements", _mainContent.getNextHighestDepth()); container = main.container; scrollbar_manager = new jaludo.api.as2.displayutil.AchievementScrollManager(container, main.mc_scrollbar); mc_up_arrow = main.mc_up_arrow; mc_down_arrow = main.mc_down_arrow; mc_scrollbar = main.mc_scrollbar; scrollback = main.scrollback; progressNumber = main.progressNumber; progressPercentageNumber = main.progressPercentageNumber; progressbar = main.progressbar; var _local6 = 0; var _local7 = 0; var _local3 = 0; while (_local3 < _achievements.length) { var _local2 = scrollbar_manager.addItem(""); _local2.mainLayer.rewardsText.text = _achievements[_local3].skillPoints; _local2.mainLayer.mainTitle.text = _achievements[_local3].name; _local2.mainLayer.descriptionText.text = _achievements[_local3].description; _local2.isLocked = _achievements[_local3].isLocked; var _local4 = _local2.mainLayer.attachMovie(_achievements[_local3].pictureName, _achievements[_local3].pictureName + _local3, _local2.mainLayer.getNextHighestDepth()); _local4._height = _local2.mainLayer.pictureContainer._height; _local4._width = _local2.mainLayer.pictureContainer._width; _local4._x = _local2.mainLayer.pictureContainer._x; _local4._y = _local2.mainLayer.pictureContainer._y; if (_local2.isLocked) { jaludo.api.as2.displayutil.DisplayFX.converToGrayScale(_local2.mainLayer); _local2.mainLayer._alpha = 50; _local2.mainLayer.layerbackground._alpha = 0; var _local5 = _local2.attachMovie("jaludoApi_padlock", "jaludoApi_padlock", _local2.getNextHighestDepth()); _local5._x = _local5._x + 45; _local5._y = _local5._y + 35; _local6++; } else { _local2.mainLayer.layerbackground._alpha = 25; } _local3++; } setProgress(_achievements.length - _local6, _achievements.length); _prev_mouse_y = 0; mc_up_arrow.onRelease = mx.utils.Delegate.create(this, upScroll); mc_down_arrow.onRelease = mx.utils.Delegate.create(this, downScroll); mc_scrollbar.onPress = mx.utils.Delegate.create(this, onPressScrollBar); mc_scrollbar.onRelease = mx.utils.Delegate.create(this, onReleaseScrollBar); mc_scrollbar.onReleaseOutside = mx.utils.Delegate.create(this, onReleaseScrollBar); mc_scrollbar.onMouseMove = mx.utils.Delegate.create(this, onMouseMoveScrollBar); scrollback.onRelease = mx.utils.Delegate.create(this, onReleaseBackScroller); _mouseListener.onMouseWheel = mx.utils.Delegate.create(this, doScroll); Mouse.addListener(_mouseListener); } function setAchievements(value) { var _local5 = []; var _local2 = 0; while (_local2 < value[0].length) { var _local3 = new Object(); _local3.unique_name = value[0][_local2].unique_name; _local3.name = getAchievementAttribute(value[0][_local2].unique_name, "title"); _local3.description = getAchievementAttribute(value[0][_local2].unique_name, "description"); _local3.skillPoints = "Skill Points : " + value[0][_local2].skill_points; if (value[0][_local2].state != undefined) { _local3.isLocked = ((value[0][_local2].state == "locked") ? true : false); } else { _local3.isLocked = searchAchievementCookie(value[0][_local2].unique_name); } _local3.pictureName = "jaludoApi_thumbnail"; _local5.push(_local3); _local2++; } return(_local5); } function getAchievementAttribute(unique_name, attr) { return(_achievements_registered[unique_name][attr]); } function searchAchievementCookie(unique_name) { var _local2; _local2 = SharedObject.getLocal(_caller._game_key); if (!(_local2.data[unique_name] === undefined)) { return(false); } return(true); } function setProgress(progress, max) { progressNumber.text = (progress + " / ") + max; var _local2 = (progress * 100) / max; progressPercentageNumber.text = ("(" + Math.ceil(_local2)) + "%)"; progressbar._width = progressbar._width * (_local2 / 100); } function onReleaseBackScroller() { if (mc_scrollbar._ymouse < 0) { upScroll(); } else { downScroll(); } } function onMouseMoveScrollBar() { if (_scrollbar_pressed) { if (mc_scrollbar._ymouse < _prev_mouse_y) { upScroll(); } else { downScroll(); } _prev_mouse_y = mc_scrollbar._ymouse - 10; } } function onReleaseScrollBar() { _scrollbar_pressed = false; } function onPressScrollBar() { _scrollbar_pressed = true; } function downScroll() { scrollbar_manager.down(); } function upScroll() { scrollbar_manager.up(); } function doScroll(delta) { if (delta > 0) { upScroll(); } else { downScroll(); } } function achievementsReceived(obj) { _achievements = setAchievements([obj._data.achievements]); loadLocalUnlockedAchievements("start"); } function achievementsReceivedFailed(error) { } function achievementDataReceived(obj) { _caller.dispatchEvent({type:jaludo.api.as2.JaludoManager.ACH_SCORE_EVENT_MANAGER, data:{unique_name:obj.unique_name, score_points:Number(obj.score_points)}}); } function loadLocalUnlockedAchievements(game_status) { var _local8 = []; var _local2; var _local9 = false; var _local4; _local4 = SharedObject.getLocal(_caller._game_key); var _local3 = 0; while (_local3 < _achievements.length) { _local2 = _achievements[_local3].unique_name; if (!(_local4.data[_local2] === undefined)) { _local9 = true; if (_achievements[_local3].isLocked) { _local8.push({unique_name:_local2, level:_local4.data[_local2].level, date:_local4.data[_local2].date}); setUnlock(_local2); flash.external.ExternalInterface.call("API_achievementUnlocked", _local2, 0); _local4.data[_local2] = undefined; } } _local3++; } if (jaludo.api.as2.User.__get__instance().__get__username() != jaludo.api.as2.User.GUEST_USER) { if (_local8.length > 0) { _local4.flush(); sendingLocal.send(_caller._remote_connection_name, "commitLocalUnlockedAchievements", _local8); } else { trace("There aren't new unlocked achievements to commit"); } } else if (_local9) { _mc_blocker_alert = new jaludo.api.as2.Blocker(_callerContent); jaludoApi_warningPopup = _callerContent.attachMovie("jaludoApi_alertPopupWarningAchievements", "jaludoApi_alertPopupWarningAchievements", _callerContent.getNextHighestDepth()); jaludoApi_warningPopup._x = jaludo.api.as2.Locator.getCenterX(); jaludoApi_warningPopup._y = jaludo.api.as2.Locator.getCenterY(); jaludoApi_warningPopup.jaludoApi_btnLogin.onRelease = mx.utils.Delegate.create(this, openLoginPopup); jaludoApi_warningPopup.jaludoApi_btnRegister.onRelease = mx.utils.Delegate.create(this, openRegistrationPopup); if (game_status == "start") { jaludoApi_warningPopup.jaludoApi_txtInformation.text = "The last time you played you unlocked achievements, if you wish to save them, login or register. If you click cancel, all achievements will be lost."; jaludoApi_warningPopup.jaludoApi_btnCancel.onRelease = mx.utils.Delegate.create(this, cancelSaveAchievements); } else if (game_status == "end") { jaludoApi_warningPopup.jaludoApi_txtInformation.text = "Please note that you are not logged in, your achievements will not be saved. Do you want to save your progress?"; jaludoApi_warningPopup.jaludoApi_btnCancel.onRelease = mx.utils.Delegate.create(this, disposeAlertPopup); } } else { trace("There aren't unlocked local achievements"); } } function openLoginPopup() { disposeAlertPopup(); _caller.openLoginPopup(); } function openRegistrationPopup() { disposeAlertPopup(); _caller.openRegistrationPopup(); } function cancelSaveAchievements() { disposeAlertPopup(); clearLocalAchievementsData(); } function unlockAchievement(unique_name, level) { if (exists(unique_name)) { if (isLocked(unique_name)) { if (jaludo.api.as2.User.__get__instance().__get__username() == jaludo.api.as2.User.GUEST_USER) { trace("A COOKIEEEEE!!!"); var _local3; _local3 = SharedObject.getLocal(_caller._game_key); var _local5 = new Date(); var _local4 = (((_local5.getDate() + "-") + _local5.getMonth()) + "-") + _local5.getFullYear(); _local3.data[unique_name] = {level:String(level), date:_local4}; _local3.flush(); sendingLocal.send(_caller._remote_connection_name, "getScorePoints", {unique_name:unique_name}); } else { trace("Estaba bloqueado entonces llamar a remoto!!!"); sendingLocal.send(_caller._remote_connection_name, "unlockAchievement", {unique_name:unique_name, level:String(level)}); } setUnlock(unique_name); flash.external.ExternalInterface.call("API_achievementUnlocked", unique_name, 0); } else { trace("Ya esta desbloqueado no llamar a remoto, o no guardar en cookie!!!"); } } else { trace("ERROR: The achievement unique name doesen't exists"); } } function registerAchievement(unique_name, title, description, mc_linkage_img) { _achievements_registered[unique_name] = {title:title, description:description, mc_linkage_img:mc_linkage_img}; } function exists(unique_name) { if (_achievements_registered[unique_name] != undefined) { return(true); } return(false); } function isLocked(unique_name) { var _local2 = 0; while (_local2 < _achievements.length) { if (_achievements[_local2].unique_name == unique_name) { return(_achievements[_local2].isLocked); } _local2++; } return(false); } function setUnlock(unique_name) { var _local2 = 0; while (_local2 < _achievements.length) { if (_achievements[_local2].unique_name == unique_name) { _achievements[_local2].isLocked = false; break; } _local2++; } } function clearLocked() { var _local2 = 0; while (_local2 < _achievements.length) { _achievements[_local2].isLocked = true; _local2++; } } function clearLocalAchievementsData() { var _local3; _local3 = SharedObject.getLocal(_caller._game_key); var _local2 = 0; while (_local2 < _achievements.length) { if (!(_local3.data[_achievements[_local2].unique_name] === undefined)) { _local3.data[_achievements[_local2].unique_name] = undefined; } _local2++; } clearLocked(); _local3.flush(); } function disposeAlertPopup() { _mc_blocker_alert.dispose(); jaludoApi_warningPopup.removeMovieClip(); } function dispose() { scrollbar_manager.dispose(); scrollbar_manager = null; container.removeMovieClip(); container = null; main.removeMovieClip(); Mouse.removeListener(_mouseListener); delete main; } }
Symbol 201 MovieClip [__Packages.jaludo.api.as2.displayutil.ScrollManager] Frame 0
class jaludo.api.as2.displayutil.ScrollManager { var mc_content, itemsCounts, currentItem, itemHeigt; function ScrollManager (mc_container) { mc_content = mc_container._parent.createEmptyMovieClip("mc_content", mc_container.getNextHighestDepth()); mc_content._x = mc_container._x; mc_content._y = mc_container._y; mc_content.setMask(mc_container); itemsCounts = 0; currentItem = 1; } function initialize() { } function addItem(item) { itemsCounts++; var _local2 = mc_content.attachMovie(item, item + itemsCounts, mc_content.getNextHighestDepth()); _local2._y = (itemsCounts - 1) * _local2._height; MAX_TOP = _local2._y; itemHeigt = _local2._height; return(_local2); } function down() { if (currentItem >= itemsCounts) { return(undefined); } currentItem++; mc_content._y = mc_content._y - itemHeigt; } function getItemAt(position) { return(new MovieClip()); } function up() { if (currentItem <= 1) { return(undefined); } currentItem--; mc_content._y = mc_content._y + itemHeigt; } function dispose() { mc_content.removeMovieClip(); delete mc_content; } var MIN_TOP = 0; var MAX_TOP = 0; }
Symbol 202 MovieClip [__Packages.jaludo.api.as2.displayutil.AchievementScrollManager] Frame 0
class jaludo.api.as2.displayutil.AchievementScrollManager extends jaludo.api.as2.displayutil.ScrollManager { var _scroller, initPoint, originalSize, currentItem, itemHeigt, mc_content, itemsCounts; function AchievementScrollManager (mc_container, Scroller) { super(mc_container); _scroller = Scroller; initPoint = _scroller._y; originalSize = _scroller._height; } function up() { if (currentItem <= 1) { return(undefined); } currentItem--; mc_content._y = mc_content._y + itemHeigt; _scroller._y = _scroller._y - _scroller._height; var _local2 = getItemAt(currentItem + 1); _local2 = getItemAt(currentItem); } function down() { if (currentItem >= itemsCounts) { return(undefined); } currentItem++; mc_content._y = mc_content._y - itemHeigt; _scroller._y = _scroller._y + _scroller._height; var _local2 = getItemAt(currentItem - 1); _local2 = getItemAt(currentItem); } function addItem(item) { var _local3 = super.addItem("jaludoApi_achievementUnitContainer"); _scroller._height = originalSize / itemsCounts; return(_local3); } function getItemAt(position) { return(mc_content["jaludoApi_achievementUnitContainer" + position]); } }
Symbol 203 MovieClip [__Packages.jaludo.api.as2.displayutil.DisplayFX] Frame 0
class jaludo.api.as2.displayutil.DisplayFX { function DisplayFX () { } static function converToGrayScale(img) { var _local2 = 0.2225; var _local1 = 0.7169; var _local3 = 0.0606; var _local4 = [_local2, _local1, _local3, 0, 0, _local2, _local1, _local3, 0, 0, _local2, _local1, _local3, 0, 0, 0, 0, 0, 1, 0]; var _local5 = new flash.filters.ColorMatrixFilter(_local4); img.filters = [_local5]; } }
Symbol 204 MovieClip [__Packages.jaludo.api.as2.Profile] Frame 0
class jaludo.api.as2.Profile { var _caller, sendingLocal, _container, _content, jaludoApi_profilePopup, jaludoApi_diceIcon, jaludoApi_meterFriends, jaludoApi_meterGlobal, jaludoApi_pictureContainer, jaludoApi_txtGlobalRanking, jaludoApi_txtFriendsRanking, jaludoApi_txtPointsValue, jaludoApi_txtCoinsNumber, jaludoApi_txtGoldNumber, jaludoApi_txtSilverNumber, jaludoApi_txtBronzeNumber, jaludoApi_txtUserProfile, jaludoApi_btnEditPass, jaludoApi_btnEditImage, _idImage, photo, _mcPicture, _objListener, _mc_blocker_edit, jaludoApi_changePassword, jaludoApi_btnAcept, jaludoApi_btnCancel, jaludoApi_txtActualPass, jaludoApi_txtNewPass, jaludoApi_txtConfirmPass, objControlData, fnValidationSucces, fnError, fnNotValidate, _listener, _listenerChanged, _upload, fnUploadCompleted, _mc_blocker; function Profile (caller) { _caller = caller; sendingLocal = _caller.sending; } function loadProfile(container) { _container = container; _content = _container.createEmptyMovieClip("content", _container.getNextHighestDepth()); jaludoApi_profilePopup = _content.attachMovie("jaludoApi_profilePopup", "jaludoApi_profilePopup", _content.getNextHighestDepth()); jaludoApi_diceIcon = jaludoApi_profilePopup.jaludoApi_diceIcon; jaludoApi_meterFriends = jaludoApi_profilePopup.jaludoApi_meterFriends; jaludoApi_meterGlobal = jaludoApi_profilePopup.jaludoApi_meterGlobal; jaludoApi_pictureContainer = jaludoApi_profilePopup.jaludoApi_pictureContainer; jaludoApi_txtGlobalRanking = jaludoApi_profilePopup.jaludoApi_txtGlobalRanking; jaludoApi_txtFriendsRanking = jaludoApi_profilePopup.jaludoApi_txtFriendsRanking; jaludoApi_txtPointsValue = jaludoApi_profilePopup.jaludoApi_txtPointsValue; jaludoApi_txtCoinsNumber = jaludoApi_profilePopup.jaludoApi_txtCoinsNumber; jaludoApi_txtGoldNumber = jaludoApi_profilePopup.jaludoApi_txtGoldNumber; jaludoApi_txtSilverNumber = jaludoApi_profilePopup.jaludoApi_txtSilverNumber; jaludoApi_txtBronzeNumber = jaludoApi_profilePopup.jaludoApi_txtBronzeNumber; jaludoApi_txtUserProfile = jaludoApi_profilePopup.jaludoApi_txtUserProfile; jaludoApi_btnEditPass = jaludoApi_profilePopup.jaludoApi_btnEditPass; jaludoApi_btnEditImage = jaludoApi_profilePopup.jaludoApi_btnEditImage; jaludoApi_meterFriends.gotoAndStop(1); jaludoApi_meterGlobal.gotoAndStop(1); _idImage = ""; getProfile(); } function getProfile() { sendingLocal.send(_caller._remote_connection_name, "getProfile"); } function profileReceived(data) { jaludoApi_meterFriends.gotoAndStop(Number(data._data.friendsRanking)); jaludoApi_meterGlobal.gotoAndStop(Number(data._data.globalRanking)); jaludoApi_txtGlobalRanking.text = String(data._data.globalRanking); jaludoApi_txtFriendsRanking.text = String(data._data.friendsRanking); jaludoApi_txtPointsValue.text = String(data._data.skillPoints); jaludoApi_txtCoinsNumber.text = String(data._data.coins); jaludoApi_txtGoldNumber.text = String(data._data.thropies.gold); jaludoApi_txtSilverNumber.text = String(data._data.thropies.silver); jaludoApi_txtBronzeNumber.text = String(data._data.thropies.bronze); jaludoApi_txtUserProfile.text = (jaludo.api.as2.User.__get__instance().__get__username() + " for ") + jaludo.api.as2.Game.__get__instance().__get__name(); _idImage = jaludo.api.as2.User.__get__instance().image; jaludoApi_btnEditPass.onRelease = mx.utils.Delegate.create(this, editPassword); jaludoApi_btnEditImage.onRelease = mx.utils.Delegate.create(this, editImage); _caller.setTxtCoins(String(data._data.coins)); loadImage(); setDiceIcon(Number(data._data.globalRanking)); } function profileReceivedFailed(error) { for (var _local2 in error) { trace((("key : " + _local2) + ", value : ") + error[_local2]); } } function loadImage() { if (photo) { photo.removeMovieClip(); } photo = jaludoApi_pictureContainer.createEmptyMovieClip("photo", jaludoApi_pictureContainer.getNextHighestDepth()); _mcPicture = new MovieClipLoader(); _objListener = {}; _mcPicture.addListener(_objListener); _objListener.onLoadInit = mx.utils.Delegate.create(this, pictureLoadInit); _mcPicture.loadClip(jaludo.api.as2.APISettings.__get__instance().getData("images_path") + _idImage, photo); } function pictureLoadInit() { _mcPicture.removeListener(_objListener); photo._width = 70; photo._height = 70; } function setDiceIcon(ranking) { if ((ranking > 0) && (ranking <= 20)) { jaludoApi_diceIcon.gotoAndStop("looser"); } else if ((ranking > 20) && (ranking <= 40)) { jaludoApi_diceIcon.gotoAndStop("keep_going"); } else if ((ranking > 40) && (ranking <= 60)) { jaludoApi_diceIcon.gotoAndStop("apprentice"); } else if ((ranking > 60) && (ranking <= 80)) { jaludoApi_diceIcon.gotoAndStop("almost_there"); } else if ((ranking > 80) && (ranking <= 100)) { jaludoApi_diceIcon.gotoAndStop("winner"); } } function editPassword() { _mc_blocker_edit = new jaludo.api.as2.Blocker(jaludoApi_profilePopup); jaludoApi_changePassword = jaludoApi_profilePopup.attachMovie("jaludoApi_changePassword", "jaludoApi_changePassword", jaludoApi_profilePopup.getNextHighestDepth()); jaludoApi_changePassword._x = jaludo.api.as2.Locator.getCenterX(); jaludoApi_changePassword._y = jaludo.api.as2.Locator.getCenterY(); jaludoApi_btnAcept = jaludoApi_changePassword.jaludoApi_btnAcept; jaludoApi_btnCancel = jaludoApi_changePassword.jaludoApi_btnCancel; jaludoApi_btnAcept.onRelease = mx.utils.Delegate.create(this, sendNewPass); jaludoApi_btnCancel.onRelease = mx.utils.Delegate.create(this, cancelEdition); jaludoApi_txtActualPass = jaludoApi_changePassword.jaludoApi_txtActualPass; Selection.setFocus(jaludoApi_txtActualPass); jaludoApi_txtNewPass = jaludoApi_changePassword.jaludoApi_txtNewPass; jaludoApi_txtConfirmPass = jaludoApi_changePassword.jaludoApi_txtConfirmPass; jaludoApi_txtActualPass.tabIndex = 1; jaludoApi_txtNewPass.tabIndex = 2; jaludoApi_txtConfirmPass.tabIndex = 3; jaludoApi_btnAcept.tabIndex = 4; jaludoApi_btnCancel.tabIndex = 5; jaludoApi_btnAcept.enabled = false; objControlData = {}; objControlData.checkActualPass = INVALID; objControlData.checkPass = INVALID; objControlData.checkConfirmatedPass = INVALID; fnValidationSucces = mx.utils.Delegate.create(this, validationSuccesfull); jaludo.api.as2.Validator.__get__instance().addEventListener(jaludo.api.as2.Validator.VALIDATED_SUCCESFULL, fnValidationSucces); fnError = mx.utils.Delegate.create(this, validationError); jaludo.api.as2.Validator.__get__instance().addEventListener(jaludo.api.as2.Validator.ERROR_VALIDATED, fnError); fnNotValidate = mx.utils.Delegate.create(this, notValidate); jaludo.api.as2.Validator.__get__instance().addEventListener(jaludo.api.as2.Validator.NOT_VALIDATE, fnNotValidate); _listener = new Object(); _listener.onSetFocus = mx.utils.Delegate.create(this, onSetFocus); Selection.addListener(_listener); _listenerChanged = new Object(); _listenerChanged.onChanged = mx.utils.Delegate.create(this, clearConfirmation); jaludoApi_txtNewPass.addListener(_listenerChanged); } function onSetFocus(oldFocus, newFocus) { switch (oldFocus._name) { case "jaludoApi_txtActualPass" : checkActualPass(String(oldFocus.text)); break; case "jaludoApi_txtNewPass" : jaludo.api.as2.Validator.__get__instance().checkPassword(String(oldFocus.text)); break; case "jaludoApi_txtConfirmPass" : jaludo.api.as2.Validator.__get__instance().confirmPassword(String(oldFocus.text)); } } function validationSuccesfull(e) { jaludoApi_changePassword["jaludoApi_" + e.data].gotoAndStop(2); objControlData[e.data] = VALIDATED; controlDataInput(); } function validationError(e) { jaludoApi_changePassword["jaludoApi_" + e.data].gotoAndStop(3); objControlData[e.data] = INVALID; controlDataInput(); } function notValidate(e) { jaludoApi_changePassword["jaludoApi_" + e.data].gotoAndStop(1); objControlData[e.data] = INVALID; controlDataInput(); } function checkActualPass(passInput) { if (passInput != "") { objControlData.checkActualPass = VALIDATED; jaludoApi_changePassword.jaludoApi_checkActualPass.gotoAndStop(2); } else { objControlData.checkActualPass = INVALID; jaludoApi_changePassword.jaludoApi_checkActualPass.gotoAndStop(3); } controlDataInput(); } function clearConfirmation(target) { if (target._name == "jaludoApi_txtNewPass") { if (jaludoApi_txtConfirmPass.text != "") { jaludoApi_txtConfirmPass.text = ""; onSetFocus(jaludoApi_txtNewPass, null); } } } function controlDataInput() { var _local2 = false; for (var _local3 in objControlData) { if (objControlData[_local3] == INVALID) { _local2 = false; break; } _local2 = true; } if (_local2 == true) { jaludoApi_btnAcept.enabled = true; } else { jaludoApi_btnAcept.enabled = false; } } function sendNewPass() { trace("sendNewPass : " + sendNewPass); var _local2 = {}; _local2.newPassword = jaludoApi_txtNewPass.text; _local2.actualPassword = jaludoApi_txtActualPass.text; sendingLocal.send(_caller._remote_connection_name, "setNewPassword", _local2); } function passwordChanged(e) { for (var _local3 in e._data) { trace((("key : " + _local3) + ", value : ") + e._data[_local3]); } _mc_blocker_edit.dispose(); jaludo.api.as2.Validator.__get__instance().removeEventListener(jaludo.api.as2.Validator.VALIDATED_SUCCESFULL, fnValidationSucces); jaludo.api.as2.Validator.__get__instance().removeEventListener(jaludo.api.as2.Validator.ERROR_VALIDATED, fnError); jaludo.api.as2.Validator.__get__instance().removeEventListener(jaludo.api.as2.Validator.NOT_VALIDATE, fnNotValidate); Selection.removeListener(_listener); jaludoApi_txtNewPass.removeListener(_listenerChanged); jaludoApi_changePassword.removeMovieClip(); } function passwordChangeFailed(error) { for (var _local2 in error) { trace((("key : " + _local2) + ", value : ") + error[_local2]); } trace("Profile.passwordChangeFailed > error : " + error._data); } function wrongActualPassword(e) { objControlData.checkActualPass = INVALID; jaludoApi_changePassword.jaludoApi_checkActualPass.gotoAndStop(3); controlDataInput(); } function cancelEdition() { _mc_blocker_edit.dispose(); jaludoApi_changePassword.removeMovieClip(); } function editImage() { trace("Profile.editImage"); _upload = new jaludo.api.as2.utils.UploadImages(); fnUploadCompleted = mx.utils.Delegate.create(this, uploadCompleted); _upload.addEventListener(jaludo.api.as2.utils.UploadImages.UPLOAD_COMPLETED, fnUploadCompleted); _upload.upload(); } function uploadCompleted(e) { _idImage = e.data.image; trace("_idImage : " + _idImage); _upload.removeEventListener(jaludo.api.as2.utils.UploadImages.UPLOAD_COMPLETED, fnUploadCompleted); loadImage(); var _local2 = {}; _local2.newImage = _idImage; trace("data.newImage : " + _local2.newImage); sendingLocal.send(_caller._remote_connection_name, "setNewImage", _local2); } function imageChanged(e) { trace("Profile.imageChanged > e : " + e); } function imageChangeFailed(error) { for (var _local2 in error) { trace((("key : " + _local2) + ", value : ") + error[_local2]); } } function dispose() { _mc_blocker.dispose(); jaludoApi_profilePopup.removeMovieClip(); _content.removeMovieClip(); } var VALIDATED = "VALIDATED"; var INVALID = "INVALID"; }
Symbol 205 MovieClip [__Packages.jaludo.api.as2.utils.UploadImages] Frame 0
class jaludo.api.as2.utils.UploadImages extends mx.events.EventDispatcher { var fileUpload, listen, fileTypes, imageId, _image, dispatchEvent; function UploadImages () { super(this); } function upload() { fileUpload = new flash.net.FileReference(); listen = new Object(); fileUpload.addListener(listen); listen.onSelect = mx.utils.Delegate.create(this, imageSelected); listen.onComplete = mx.utils.Delegate.create(this, loadCompleted); listen.onCancel = mx.utils.Delegate.create(this, selectionCancel); fileTypes = new Array({description:"Image files", extension:"*.jpg;*.gif;*.jpeg;*.png"}); fileUpload.browse(fileTypes); } function imageSelected(image) { fileUpload.upload(jaludo.api.as2.APISettings.__get__instance().getData("txt_path") + "uploadFile.php"); } function selectionCancel() { } function loadCompleted(image) { imageId = new LoadVars(); imageId.onLoad = mx.utils.Delegate.create(this, idLoaded); imageId.load(((jaludo.api.as2.APISettings.__get__instance().getData("images_path") + "/txt/") + fileUpload.name) + ".txt"); } function idLoaded() { _image = imageId.id; trace("_image : " + _image); dispatchEvent({type:UPLOAD_COMPLETED, data:{image:_image}}); } static var UPLOAD_COMPLETED = "UPLOAD_COMPLETED"; }
Symbol 7 Button
on (rollOver) { snake.gotoAndStop(2); } on (rollOut) { snake.gotoAndStop(1); } on (release) { gotoAndStop (3); }
Symbol 9 Button
on (rollOver) { snake.gotoAndStop(3); } on (rollOut) { snake.gotoAndStop(1); } on (release) { gotoAndStop (4); }
Symbol 20 MovieClip Frame 1
stop();
Symbol 22 MovieClip Frame 1
stop();
Symbol 31 MovieClip Frame 1
stop();
Symbol 31 MovieClip Frame 2
stop();
Symbol 31 MovieClip Frame 3
stop();
Symbol 48 MovieClip Frame 1
stop(); gotoAndStop(_global.GoTo);
Symbol 51 MovieClip Frame 1
stop(); Logo.onRelease = function () { _root.open_link(Type); trace(Type); };
Symbol 63 Button
on (release) { _root.setupgame(); trace("restart"); }
Symbol 65 Button
on (release) { _root.gotoAndStop(2); gotoAndStop (1); _root.backtomenu = true; }
Symbol 67 MovieClip Frame 1
stop();
Symbol 67 MovieClip Frame 41
stop(); trace("gameover");
Symbol 85 MovieClip Frame 1
stop();
Symbol 85 MovieClip Frame 2
_root.bonusactive = 2;
Symbol 85 MovieClip Frame 161
stop(); _root.bonusactive = 1;
Symbol 92 Button
on (release) { _root.gotoAndStop(2); gotoAndStop (1); _root.backtomenu = true; trace("without rules"); }
Symbol 94 MovieClip Frame 1
stop();
Symbol 94 MovieClip Frame 41
stop(); trace("gameover");

Library Items

Symbol 95 MovieClip [__Packages.mx.events.EventDispatcher]
Symbol 96 MovieClip [__Packages.jaludo.JaludoGameAPI]
Symbol 97 MovieClip [__Packages.jaludo.api.as2.JaludoManager]
Symbol 98 MovieClip [__Packages.jaludo.api.as2.Login]
Symbol 99 MovieClip [__Packages.jaludo.api.as2.Blocker]
Symbol 100 MovieClip [__Packages.jaludo.api.as2.Locator]
Symbol 101 MovieClip [__Packages.mx.utils.Delegate]
Symbol 102 MovieClip [__Packages.jaludo.api.as2.User]
Symbol 103 MovieClip [__Packages.jaludo.api.as2.Registration]
Symbol 104 MovieClip [__Packages.mx.core.UIObject]
Symbol 105 MovieClip [__Packages.mx.skins.SkinElement]
Symbol 106 MovieClip [__Packages.mx.styles.CSSTextStyles]
Symbol 107 MovieClip [__Packages.mx.styles.CSSStyleDeclaration]
Symbol 108 MovieClip [__Packages.mx.styles.StyleManager]
Symbol 109 MovieClip [__Packages.mx.core.UIComponent]
Symbol 110 MovieClip [__Packages.mx.controls.SimpleButton]
Symbol 111 MovieClip [__Packages.mx.controls.Button]
Symbol 112 MovieClip [__Packages.mx.controls.RadioButton]
Symbol 113 MovieClip [__Packages.mx.controls.RadioButtonGroup]
Symbol 114 MovieClip [__Packages.mx.events.UIEventDispatcher]
Symbol 115 MovieClip [__Packages.mx.controls.CheckBox]
Symbol 116 MovieClip [__Packages.jaludo.api.as2.utils.Tooltip]
Symbol 117 MovieClip [__Packages.jaludo.api.as2.Validator]
Symbol 118 MovieClip [__Packages.org.as2lib.core.BasicInterface]
Symbol 119 MovieClip [__Packages.org.as2lib.core.BasicClass]
Symbol 120 MovieClip [__Packages.org.as2lib.Config]
Symbol 121 MovieClip [__Packages.org.as2lib.util.Stringifier]
Symbol 122 MovieClip [__Packages.org.as2lib.core.ObjectStringifier]
Symbol 123 MovieClip [__Packages.org.as2lib.env.reflect.ReflectUtil]
Symbol 124 MovieClip [__Packages.org.as2lib.regexp.node.Node]
Symbol 125 MovieClip [__Packages.org.as2lib.regexp.node.Not]
Symbol 126 MovieClip [__Packages.org.as2lib.regexp.node.TreeInfo]
Symbol 127 MovieClip [__Packages.org.as2lib.env.except.AbstractThrowable]
Symbol 128 MovieClip [__Packages.org.as2lib.env.log.Logger]
Symbol 129 MovieClip [__Packages.org.as2lib.env.except.ThrowableStringifier]
Symbol 130 MovieClip [__Packages.org.as2lib.env.except.Throwable]
Symbol 131 MovieClip [__Packages.org.as2lib.util.StringUtil]
Symbol 132 MovieClip [__Packages.org.as2lib.env.except.FatalException]
Symbol 133 MovieClip [__Packages.org.as2lib.env.except.IllegalArgumentException]
Symbol 134 MovieClip [__Packages.org.as2lib.env.except.StackTraceElement]
Symbol 135 MovieClip [__Packages.org.as2lib.env.except.StackTraceElementStringifier]
Symbol 136 MovieClip [__Packages.org.as2lib.env.log.LogManager]
Symbol 137 MovieClip [__Packages.org.as2lib.env.log.LoggerRepository]
Symbol 138 MovieClip [__Packages.org.as2lib.env.except.IllegalStateException]
Symbol 139 MovieClip [__Packages.org.as2lib.env.except.Exception]
Symbol 140 MovieClip [__Packages.org.as2lib.regexp.node.LastNode]
Symbol 141 MovieClip [__Packages.org.as2lib.regexp.Matcher]
Symbol 142 MovieClip [__Packages.org.as2lib.regexp.Pattern]
Symbol 143 MovieClip [__Packages.org.as2lib.regexp.node.Start]
Symbol 144 MovieClip [__Packages.org.as2lib.regexp.node.Slice]
Symbol 145 MovieClip [__Packages.org.as2lib.regexp.node.BnM]
Symbol 146 MovieClip [__Packages.org.as2lib.regexp.node.Begin]
Symbol 147 MovieClip [__Packages.org.as2lib.regexp.node.First]
Symbol 148 MovieClip [__Packages.org.as2lib.regexp.node.Prolog]
Symbol 149 MovieClip [__Packages.org.as2lib.regexp.node.Loop]
Symbol 150 MovieClip [__Packages.org.as2lib.regexp.node.Curly]
Symbol 151 MovieClip [__Packages.org.as2lib.regexp.node.GroupTail]
Symbol 152 MovieClip [__Packages.org.as2lib.regexp.AsciiUtil]
Symbol 153 MovieClip [__Packages.org.as2lib.regexp.PatternSyntaxException]
Symbol 154 MovieClip [__Packages.org.as2lib.regexp.node.Branch]
Symbol 155 MovieClip [__Packages.org.as2lib.regexp.node.UnixCaret]
Symbol 156 MovieClip [__Packages.org.as2lib.regexp.node.Caret]
Symbol 157 MovieClip [__Packages.org.as2lib.regexp.node.UnixDollar]
Symbol 158 MovieClip [__Packages.org.as2lib.regexp.node.Dollar]
Symbol 159 MovieClip [__Packages.org.as2lib.regexp.node.All]
Symbol 160 MovieClip [__Packages.org.as2lib.regexp.node.Single]
Symbol 161 MovieClip [__Packages.org.as2lib.regexp.node.NotSingle]
Symbol 162 MovieClip [__Packages.org.as2lib.regexp.node.UnixDot]
Symbol 163 MovieClip [__Packages.org.as2lib.regexp.node.Dot]
Symbol 164 MovieClip [__Packages.org.as2lib.regexp.node.BackRefA]
Symbol 165 MovieClip [__Packages.org.as2lib.regexp.node.BackRef]
Symbol 166 MovieClip [__Packages.org.as2lib.regexp.node.Bound]
Symbol 167 MovieClip [__Packages.org.as2lib.regexp.node.NotPosix]
Symbol 168 MovieClip [__Packages.org.as2lib.regexp.node.Posix]
Symbol 169 MovieClip [__Packages.org.as2lib.regexp.node.LastMatch]
Symbol 170 MovieClip [__Packages.org.as2lib.regexp.node.End]
Symbol 171 MovieClip [__Packages.org.as2lib.regexp.node.BitClass]
Symbol 172 MovieClip [__Packages.org.as2lib.regexp.node.Add]
Symbol 173 MovieClip [__Packages.org.as2lib.regexp.node.Both]
Symbol 174 MovieClip [__Packages.org.as2lib.regexp.node.Sub]
Symbol 175 MovieClip [__Packages.org.as2lib.regexp.node.Range]
Symbol 176 MovieClip [__Packages.org.as2lib.regexp.node.NotRange]
Symbol 177 MovieClip [__Packages.org.as2lib.regexp.node.RangeA]
Symbol 178 MovieClip [__Packages.org.as2lib.regexp.node.NotRangeA]
Symbol 179 MovieClip [__Packages.org.as2lib.regexp.node.Pos]
Symbol 180 MovieClip [__Packages.org.as2lib.regexp.node.Neg]
Symbol 181 MovieClip [__Packages.org.as2lib.regexp.node.Ques]
Symbol 182 MovieClip [__Packages.org.as2lib.regexp.node.Behind]
Symbol 183 MovieClip [__Packages.org.as2lib.regexp.node.NotBehind]
Symbol 184 MovieClip [__Packages.org.as2lib.regexp.node.GroupRef]
Symbol 185 MovieClip [__Packages.org.as2lib.regexp.node.GroupHead]
Symbol 186 MovieClip [__Packages.org.as2lib.regexp.node.Dummy]
Symbol 187 MovieClip [__Packages.org.as2lib.regexp.node.GroupCurly]
Symbol 188 MovieClip [__Packages.org.as2lib.regexp.node.LazyLoop]
Symbol 189 MovieClip [__Packages.org.as2lib.regexp.node.SingleA]
Symbol 190 MovieClip [__Packages.org.as2lib.regexp.node.NotSingleA]
Symbol 191 MovieClip [__Packages.org.as2lib.regexp.node.SingleU]
Symbol 192 MovieClip [__Packages.org.as2lib.regexp.node.NotSingleU]
Symbol 193 MovieClip [__Packages.org.as2lib.regexp.node.SliceA]
Symbol 194 MovieClip [__Packages.org.as2lib.regexp.node.SliceU]
Symbol 195 MovieClip [__Packages.jaludo.api.as2.utils.ModalsPopup]
Symbol 196 MovieClip [__Packages.jaludo.api.as2.APISettings]
Symbol 197 MovieClip [__Packages.jaludo.api.as2.Score]
Symbol 198 MovieClip [__Packages.jaludo.api.as2.displayutil.PageManagerDisplay]
Symbol 199 MovieClip [__Packages.jaludo.api.as2.Game]
Symbol 200 MovieClip [__Packages.jaludo.api.as2.Achievements]
Symbol 201 MovieClip [__Packages.jaludo.api.as2.displayutil.ScrollManager]
Symbol 202 MovieClip [__Packages.jaludo.api.as2.displayutil.AchievementScrollManager]
Symbol 203 MovieClip [__Packages.jaludo.api.as2.displayutil.DisplayFX]
Symbol 204 MovieClip [__Packages.jaludo.api.as2.Profile]
Symbol 205 MovieClip [__Packages.jaludo.api.as2.utils.UploadImages]
Symbol 1 GraphicUsed by:Timeline
Symbol 2 GraphicUsed by:67 94  Timeline
Symbol 3 FontUsed by:4 8 10 11 12 52 54 60 61 62 64 66 86 88 90 91 93
Symbol 4 TextUses:3Used by:Timeline
Symbol 5 GraphicUsed by:7 9 63 65 92
Symbol 6 GraphicUsed by:7 9 63 65 92
Symbol 7 ButtonUses:5 6Used by:Timeline
Symbol 8 TextUses:3Used by:Timeline
Symbol 9 ButtonUses:5 6Used by:Timeline
Symbol 10 TextUses:3Used by:Timeline
Symbol 11 TextUses:3Used by:Timeline
Symbol 12 TextUses:3Used by:Timeline
Symbol 13 GraphicUsed by:Timeline
Symbol 14 GraphicUsed by:15
Symbol 15 MovieClipUses:14Used by:23 30  Timeline
Symbol 16 GraphicUsed by:20
Symbol 17 GraphicUsed by:20
Symbol 18 GraphicUsed by:20
Symbol 19 GraphicUsed by:20
Symbol 20 MovieClipUses:16 17 18 19Used by:22
Symbol 21 GraphicUsed by:22
Symbol 22 MovieClipUses:20 21Used by:23 30  Timeline
Symbol 23 MovieClipUses:15 22Used by:31
Symbol 24 GraphicUsed by:25
Symbol 25 MovieClipUses:24Used by:30
Symbol 26 GraphicUsed by:27
Symbol 27 MovieClipUses:26Used by:30
Symbol 28 GraphicUsed by:29
Symbol 29 MovieClipUses:28Used by:30
Symbol 30 MovieClipUses:15 22 25 27 29Used by:31
Symbol 31 MovieClipUses:23 30Used by:Timeline
Symbol 32 GraphicUsed by:33 50
Symbol 33 MovieClipUses:32Used by:50
Symbol 34 GraphicUsed by:48 50
Symbol 35 GraphicUsed by:48
Symbol 36 GraphicUsed by:48
Symbol 37 GraphicUsed by:48
Symbol 38 GraphicUsed by:48
Symbol 39 GraphicUsed by:48
Symbol 40 GraphicUsed by:48
Symbol 41 GraphicUsed by:48
Symbol 42 GraphicUsed by:48
Symbol 43 GraphicUsed by:48
Symbol 44 GraphicUsed by:48
Symbol 45 GraphicUsed by:48
Symbol 46 GraphicUsed by:48
Symbol 47 GraphicUsed by:48
Symbol 48 MovieClipUses:34 35 36 37 38 39 40 41 42 43 44 45 46 47Used by:50
Symbol 49 GraphicUsed by:50
Symbol 50 ButtonUses:33 48 49 32 34Used by:51
Symbol 51 MovieClipUses:50Used by:Timeline
Symbol 52 TextUses:3Used by:Timeline
Symbol 53 GraphicUsed by:Timeline
Symbol 54 EditableTextUses:3Used by:Timeline
Symbol 55 GraphicUsed by:56
Symbol 56 MovieClipUses:55Used by:Timeline
Symbol 57 GraphicUsed by:58
Symbol 58 MovieClipUses:57Used by:Timeline
Symbol 59 GraphicUsed by:67
Symbol 60 TextUses:3Used by:67 94
Symbol 61 TextUses:3Used by:67 94
Symbol 62 EditableTextUses:3Used by:67
Symbol 63 ButtonUses:5 6Used by:67 94
Symbol 64 TextUses:3Used by:67
Symbol 65 ButtonUses:5 6Used by:67
Symbol 66 TextUses:3Used by:67
Symbol 67 MovieClipUses:2 59 60 61 62 63 64 65 66Used by:Timeline
Symbol 68 GraphicUsed by:85
Symbol 69 GraphicUsed by:85
Symbol 70 GraphicUsed by:85
Symbol 71 GraphicUsed by:85
Symbol 72 GraphicUsed by:85
Symbol 73 GraphicUsed by:85
Symbol 74 GraphicUsed by:85
Symbol 75 GraphicUsed by:85
Symbol 76 GraphicUsed by:85
Symbol 77 GraphicUsed by:85
Symbol 78 GraphicUsed by:85
Symbol 79 GraphicUsed by:85
Symbol 80 GraphicUsed by:85
Symbol 81 GraphicUsed by:85
Symbol 82 GraphicUsed by:85
Symbol 83 GraphicUsed by:85
Symbol 84 GraphicUsed by:85
Symbol 85 MovieClipUses:68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84Used by:Timeline
Symbol 86 TextUses:3Used by:Timeline
Symbol 87 GraphicUsed by:Timeline
Symbol 88 EditableTextUses:3Used by:Timeline
Symbol 89 GraphicUsed by:94
Symbol 90 EditableTextUses:3Used by:94
Symbol 91 TextUses:3Used by:94
Symbol 92 ButtonUses:5 6Used by:94
Symbol 93 TextUses:3Used by:94
Symbol 94 MovieClipUses:2 89 60 61 90 63 91 92 93Used by:Timeline

Instance Names

"menubutton"Frame 2Symbol 7 Button
"menubutton"Frame 2Symbol 9 Button
"snake"Frame 2Symbol 31 MovieClip
"snakepit"Frame 3Symbol 56 MovieClip
"food"Frame 3Symbol 58 MovieClip
"bodypart"Frame 3Symbol 15 MovieClip
"bodypart0"Frame 3Symbol 22 MovieClip
"popup"Frame 3Symbol 67 MovieClip
"bonus"Frame 3Symbol 85 MovieClip
"popup"Frame 4Symbol 94 MovieClip
"types"Symbol 22 MovieClip Frame 1Symbol 20 MovieClip
"bodypart"Symbol 23 MovieClip Frame 1Symbol 15 MovieClip
"bodypart0"Symbol 23 MovieClip Frame 1Symbol 22 MovieClip
"bodypart"Symbol 23 MovieClip Frame 1Symbol 15 MovieClip
"bodypart"Symbol 23 MovieClip Frame 1Symbol 15 MovieClip
"Logo"Symbol 51 MovieClip Frame 1Symbol 50 Button
"menubutton"Symbol 67 MovieClip Frame 41Symbol 63 Button
"menubutton"Symbol 67 MovieClip Frame 41Symbol 65 Button
"menubutton"Symbol 94 MovieClip Frame 41Symbol 63 Button
"menubutton"Symbol 94 MovieClip Frame 41Symbol 92 Button

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS1/AS2.
ExportAssets (56)Timeline Frame 1Symbol 95 as "__Packages.mx.events.EventDispatcher"
ExportAssets (56)Timeline Frame 1Symbol 96 as "__Packages.jaludo.JaludoGameAPI"
ExportAssets (56)Timeline Frame 1Symbol 97 as "__Packages.jaludo.api.as2.JaludoManager"
ExportAssets (56)Timeline Frame 1Symbol 98 as "__Packages.jaludo.api.as2.Login"
ExportAssets (56)Timeline Frame 1Symbol 99 as "__Packages.jaludo.api.as2.Blocker"
ExportAssets (56)Timeline Frame 1Symbol 100 as "__Packages.jaludo.api.as2.Locator"
ExportAssets (56)Timeline Frame 1Symbol 101 as "__Packages.mx.utils.Delegate"
ExportAssets (56)Timeline Frame 1Symbol 102 as "__Packages.jaludo.api.as2.User"
ExportAssets (56)Timeline Frame 1Symbol 103 as "__Packages.jaludo.api.as2.Registration"
ExportAssets (56)Timeline Frame 1Symbol 104 as "__Packages.mx.core.UIObject"
ExportAssets (56)Timeline Frame 1Symbol 105 as "__Packages.mx.skins.SkinElement"
ExportAssets (56)Timeline Frame 1Symbol 106 as "__Packages.mx.styles.CSSTextStyles"
ExportAssets (56)Timeline Frame 1Symbol 107 as "__Packages.mx.styles.CSSStyleDeclaration"
ExportAssets (56)Timeline Frame 1Symbol 108 as "__Packages.mx.styles.StyleManager"
ExportAssets (56)Timeline Frame 1Symbol 109 as "__Packages.mx.core.UIComponent"
ExportAssets (56)Timeline Frame 1Symbol 110 as "__Packages.mx.controls.SimpleButton"
ExportAssets (56)Timeline Frame 1Symbol 111 as "__Packages.mx.controls.Button"
ExportAssets (56)Timeline Frame 1Symbol 112 as "__Packages.mx.controls.RadioButton"
ExportAssets (56)Timeline Frame 1Symbol 113 as "__Packages.mx.controls.RadioButtonGroup"
ExportAssets (56)Timeline Frame 1Symbol 114 as "__Packages.mx.events.UIEventDispatcher"
ExportAssets (56)Timeline Frame 1Symbol 115 as "__Packages.mx.controls.CheckBox"
ExportAssets (56)Timeline Frame 1Symbol 116 as "__Packages.jaludo.api.as2.utils.Tooltip"
ExportAssets (56)Timeline Frame 1Symbol 117 as "__Packages.jaludo.api.as2.Validator"
ExportAssets (56)Timeline Frame 1Symbol 118 as "__Packages.org.as2lib.core.BasicInterface"
ExportAssets (56)Timeline Frame 1Symbol 119 as "__Packages.org.as2lib.core.BasicClass"
ExportAssets (56)Timeline Frame 1Symbol 120 as "__Packages.org.as2lib.Config"
ExportAssets (56)Timeline Frame 1Symbol 121 as "__Packages.org.as2lib.util.Stringifier"
ExportAssets (56)Timeline Frame 1Symbol 122 as "__Packages.org.as2lib.core.ObjectStringifier"
ExportAssets (56)Timeline Frame 1Symbol 123 as "__Packages.org.as2lib.env.reflect.ReflectUtil"
ExportAssets (56)Timeline Frame 1Symbol 124 as "__Packages.org.as2lib.regexp.node.Node"
ExportAssets (56)Timeline Frame 1Symbol 125 as "__Packages.org.as2lib.regexp.node.Not"
ExportAssets (56)Timeline Frame 1Symbol 126 as "__Packages.org.as2lib.regexp.node.TreeInfo"
ExportAssets (56)Timeline Frame 1Symbol 127 as "__Packages.org.as2lib.env.except.AbstractThrowable"
ExportAssets (56)Timeline Frame 1Symbol 128 as "__Packages.org.as2lib.env.log.Logger"
ExportAssets (56)Timeline Frame 1Symbol 129 as "__Packages.org.as2lib.env.except.ThrowableStringifier"
ExportAssets (56)Timeline Frame 1Symbol 130 as "__Packages.org.as2lib.env.except.Throwable"
ExportAssets (56)Timeline Frame 1Symbol 131 as "__Packages.org.as2lib.util.StringUtil"
ExportAssets (56)Timeline Frame 1Symbol 132 as "__Packages.org.as2lib.env.except.FatalException"
ExportAssets (56)Timeline Frame 1Symbol 133 as "__Packages.org.as2lib.env.except.IllegalArgumentException"
ExportAssets (56)Timeline Frame 1Symbol 134 as "__Packages.org.as2lib.env.except.StackTraceElement"
ExportAssets (56)Timeline Frame 1Symbol 135 as "__Packages.org.as2lib.env.except.StackTraceElementStringifier"
ExportAssets (56)Timeline Frame 1Symbol 136 as "__Packages.org.as2lib.env.log.LogManager"
ExportAssets (56)Timeline Frame 1Symbol 137 as "__Packages.org.as2lib.env.log.LoggerRepository"
ExportAssets (56)Timeline Frame 1Symbol 138 as "__Packages.org.as2lib.env.except.IllegalStateException"
ExportAssets (56)Timeline Frame 1Symbol 139 as "__Packages.org.as2lib.env.except.Exception"
ExportAssets (56)Timeline Frame 1Symbol 140 as "__Packages.org.as2lib.regexp.node.LastNode"
ExportAssets (56)Timeline Frame 1Symbol 141 as "__Packages.org.as2lib.regexp.Matcher"
ExportAssets (56)Timeline Frame 1Symbol 142 as "__Packages.org.as2lib.regexp.Pattern"
ExportAssets (56)Timeline Frame 1Symbol 143 as "__Packages.org.as2lib.regexp.node.Start"
ExportAssets (56)Timeline Frame 1Symbol 144 as "__Packages.org.as2lib.regexp.node.Slice"
ExportAssets (56)Timeline Frame 1Symbol 145 as "__Packages.org.as2lib.regexp.node.BnM"
ExportAssets (56)Timeline Frame 1Symbol 146 as "__Packages.org.as2lib.regexp.node.Begin"
ExportAssets (56)Timeline Frame 1Symbol 147 as "__Packages.org.as2lib.regexp.node.First"
ExportAssets (56)Timeline Frame 1Symbol 148 as "__Packages.org.as2lib.regexp.node.Prolog"
ExportAssets (56)Timeline Frame 1Symbol 149 as "__Packages.org.as2lib.regexp.node.Loop"
ExportAssets (56)Timeline Frame 1Symbol 150 as "__Packages.org.as2lib.regexp.node.Curly"
ExportAssets (56)Timeline Frame 1Symbol 151 as "__Packages.org.as2lib.regexp.node.GroupTail"
ExportAssets (56)Timeline Frame 1Symbol 152 as "__Packages.org.as2lib.regexp.AsciiUtil"
ExportAssets (56)Timeline Frame 1Symbol 153 as "__Packages.org.as2lib.regexp.PatternSyntaxException"
ExportAssets (56)Timeline Frame 1Symbol 154 as "__Packages.org.as2lib.regexp.node.Branch"
ExportAssets (56)Timeline Frame 1Symbol 155 as "__Packages.org.as2lib.regexp.node.UnixCaret"
ExportAssets (56)Timeline Frame 1Symbol 156 as "__Packages.org.as2lib.regexp.node.Caret"
ExportAssets (56)Timeline Frame 1Symbol 157 as "__Packages.org.as2lib.regexp.node.UnixDollar"
ExportAssets (56)Timeline Frame 1Symbol 158 as "__Packages.org.as2lib.regexp.node.Dollar"
ExportAssets (56)Timeline Frame 1Symbol 159 as "__Packages.org.as2lib.regexp.node.All"
ExportAssets (56)Timeline Frame 1Symbol 160 as "__Packages.org.as2lib.regexp.node.Single"
ExportAssets (56)Timeline Frame 1Symbol 161 as "__Packages.org.as2lib.regexp.node.NotSingle"
ExportAssets (56)Timeline Frame 1Symbol 162 as "__Packages.org.as2lib.regexp.node.UnixDot"
ExportAssets (56)Timeline Frame 1Symbol 163 as "__Packages.org.as2lib.regexp.node.Dot"
ExportAssets (56)Timeline Frame 1Symbol 164 as "__Packages.org.as2lib.regexp.node.BackRefA"
ExportAssets (56)Timeline Frame 1Symbol 165 as "__Packages.org.as2lib.regexp.node.BackRef"
ExportAssets (56)Timeline Frame 1Symbol 166 as "__Packages.org.as2lib.regexp.node.Bound"
ExportAssets (56)Timeline Frame 1Symbol 167 as "__Packages.org.as2lib.regexp.node.NotPosix"
ExportAssets (56)Timeline Frame 1Symbol 168 as "__Packages.org.as2lib.regexp.node.Posix"
ExportAssets (56)Timeline Frame 1Symbol 169 as "__Packages.org.as2lib.regexp.node.LastMatch"
ExportAssets (56)Timeline Frame 1Symbol 170 as "__Packages.org.as2lib.regexp.node.End"
ExportAssets (56)Timeline Frame 1Symbol 171 as "__Packages.org.as2lib.regexp.node.BitClass"
ExportAssets (56)Timeline Frame 1Symbol 172 as "__Packages.org.as2lib.regexp.node.Add"
ExportAssets (56)Timeline Frame 1Symbol 173 as "__Packages.org.as2lib.regexp.node.Both"
ExportAssets (56)Timeline Frame 1Symbol 174 as "__Packages.org.as2lib.regexp.node.Sub"
ExportAssets (56)Timeline Frame 1Symbol 175 as "__Packages.org.as2lib.regexp.node.Range"
ExportAssets (56)Timeline Frame 1Symbol 176 as "__Packages.org.as2lib.regexp.node.NotRange"
ExportAssets (56)Timeline Frame 1Symbol 177 as "__Packages.org.as2lib.regexp.node.RangeA"
ExportAssets (56)Timeline Frame 1Symbol 178 as "__Packages.org.as2lib.regexp.node.NotRangeA"
ExportAssets (56)Timeline Frame 1Symbol 179 as "__Packages.org.as2lib.regexp.node.Pos"
ExportAssets (56)Timeline Frame 1Symbol 180 as "__Packages.org.as2lib.regexp.node.Neg"
ExportAssets (56)Timeline Frame 1Symbol 181 as "__Packages.org.as2lib.regexp.node.Ques"
ExportAssets (56)Timeline Frame 1Symbol 182 as "__Packages.org.as2lib.regexp.node.Behind"
ExportAssets (56)Timeline Frame 1Symbol 183 as "__Packages.org.as2lib.regexp.node.NotBehind"
ExportAssets (56)Timeline Frame 1Symbol 184 as "__Packages.org.as2lib.regexp.node.GroupRef"
ExportAssets (56)Timeline Frame 1Symbol 185 as "__Packages.org.as2lib.regexp.node.GroupHead"
ExportAssets (56)Timeline Frame 1Symbol 186 as "__Packages.org.as2lib.regexp.node.Dummy"
ExportAssets (56)Timeline Frame 1Symbol 187 as "__Packages.org.as2lib.regexp.node.GroupCurly"
ExportAssets (56)Timeline Frame 1Symbol 188 as "__Packages.org.as2lib.regexp.node.LazyLoop"
ExportAssets (56)Timeline Frame 1Symbol 189 as "__Packages.org.as2lib.regexp.node.SingleA"
ExportAssets (56)Timeline Frame 1Symbol 190 as "__Packages.org.as2lib.regexp.node.NotSingleA"
ExportAssets (56)Timeline Frame 1Symbol 191 as "__Packages.org.as2lib.regexp.node.SingleU"
ExportAssets (56)Timeline Frame 1Symbol 192 as "__Packages.org.as2lib.regexp.node.NotSingleU"
ExportAssets (56)Timeline Frame 1Symbol 193 as "__Packages.org.as2lib.regexp.node.SliceA"
ExportAssets (56)Timeline Frame 1Symbol 194 as "__Packages.org.as2lib.regexp.node.SliceU"
ExportAssets (56)Timeline Frame 1Symbol 195 as "__Packages.jaludo.api.as2.utils.ModalsPopup"
ExportAssets (56)Timeline Frame 1Symbol 196 as "__Packages.jaludo.api.as2.APISettings"
ExportAssets (56)Timeline Frame 1Symbol 197 as "__Packages.jaludo.api.as2.Score"
ExportAssets (56)Timeline Frame 1Symbol 198 as "__Packages.jaludo.api.as2.displayutil.PageManagerDisplay"
ExportAssets (56)Timeline Frame 1Symbol 199 as "__Packages.jaludo.api.as2.Game"
ExportAssets (56)Timeline Frame 1Symbol 200 as "__Packages.jaludo.api.as2.Achievements"
ExportAssets (56)Timeline Frame 1Symbol 201 as "__Packages.jaludo.api.as2.displayutil.ScrollManager"
ExportAssets (56)Timeline Frame 1Symbol 202 as "__Packages.jaludo.api.as2.displayutil.AchievementScrollManager"
ExportAssets (56)Timeline Frame 1Symbol 203 as "__Packages.jaludo.api.as2.displayutil.DisplayFX"
ExportAssets (56)Timeline Frame 1Symbol 204 as "__Packages.jaludo.api.as2.Profile"
ExportAssets (56)Timeline Frame 1Symbol 205 as "__Packages.jaludo.api.as2.utils.UploadImages"

Labels

"gamesbook"Symbol 48 MovieClip Frame 1
"speeleiland"Symbol 48 MovieClip Frame 10
"wyspagier"Symbol 48 MovieClip Frame 20
"oyunlaradasi"Symbol 48 MovieClip Frame 30
"joacajocuri"Symbol 48 MovieClip Frame 40
"gladespil"Symbol 48 MovieClip Frame 50
"jogarlegal"Symbol 48 MovieClip Frame 60
"jeuxdroles"Symbol 48 MovieClip Frame 70
"universodelgioco"Symbol 48 MovieClip Frame 80
"jocjogos"Symbol 48 MovieClip Frame 90
"juegoswapos"Symbol 48 MovieClip Frame 100
"brincar"Symbol 48 MovieClip Frame 114
"gratisspill"Symbol 48 MovieClip Frame 129
"spielkarussell"Symbol 48 MovieClip Frame 144

Dynamic Text Variables

scoreSymbol 54 EditableText"0000000000"
scoreSymbol 62 EditableText"000000000"
scoreSymbol 88 EditableText"0000000000"
scoreSymbol 90 EditableText"000000000"




http://swfchan.com/25/124737/info.shtml
Created: 1/3 -2019 03:03:42 Last modified: 1/3 -2019 03:03:42 Server time: 22/12 -2024 05:12:51