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/82139036?noj=FRM82139036-22DC" width="1" height="1"></div>

Puzzle Express.swf

This is the info page for
Flash #26823

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


Text
LOADING...

ActionScript [AS1/AS2]

Frame 1
function loadingComplete() { if (settings_object.__get__apiType() != Settings.MSN_API) { fscommand ("showmenu", "false"); } gotoAndStop ("game"); } _global.rootMain = this; this._focusrect = false; var gameFilesFolder = (assetURL + "/"); var game_object; var loadingDelayCount = 25; var logoDownloadStatus = true; var isGameBreakSupport_bool = true; var isGameReady = false; var settings_object; settings_object = new Settings(gameFilesFolder + "Settings.xml", "http://google.com"); settings_object.loadFile(); settings_object.passedURL = "http://google.com"; coLogo_mc.loadMovie(gameFilesFolder + "CoLogo.jpg", "GET"); game_mc.loadMovie(gameFilesFolder + "PE_Game2_grab6.swf"); language_object = new Language(gameFilesFolder + "Language.xml"); language_object.loadFile(); stop(); function Grab_decode(toDecode) { if ((toDecode == undefined) || (toDecode == "")) { return(""); } _root.Grab_equalSign = false; var _local1 = new Array(); _local1 = Base64toBinary(toDecode); var _local2 = "decode"; var _local3 = XOR_decode(_local2, _local1, _root.secWord); return(_local3); } function Grab_encode(toEncode) { var _local2 = toEncode; if ((_local2 == undefined) || (_local2 == "")) { return(""); } var _local3 = "encode"; var _local1 = new Array(); _local1 = XOR_encode(_local3, _local2, _root.secWord); var out = intToBin_enc(_local1); return(out); } function encodeBase64(n) { var _local1 = base64.charAt(n); return(_local1); } function XOR_encode(code, myString, secWord) { var len = (myString.length - 1); var secLen = (secWord.length - 1); var _local2 = -1; var _local3; var charString; var foo; var xor_enc_array = new Array(); var _local1 = 0; while (_local1 <= len) { _local2++; if (_local2 > secLen) { _local2 = 0; } _local3 = secWord.charCodeAt(_local2); charString = myString.charCodeAt(_local1); foo = _local3 ^ charString; xor_enc_array[_local1] = foo; _local1++; } return(xor_enc_array); } function XOR_decode(code, myArray, secWord) { var len = (myArray.length - 1); var secLen = (secWord.length - 1); var _local2 = -1; var _local3; var charString; var foo; var encoded = ""; var xor_enc_array = new Array(); var _local1 = 0; while (_local1 <= len) { _local2++; if (_local2 > secLen) { _local2 = 0; } _local3 = secWord.charCodeAt(_local2); charString = myArray[_local1]; foo = _local3 ^ charString; encoded = encoded + String.fromCharCode(foo); _local1++; } if (_root.Grab_equalSign) { encoded = encoded.substring(0, len); } return(encoded); } function toBinary(val) { var _local1 = val; var _local3 = ""; var _local2; var p; var bit = 0; while (bit < 8) { _local2 = _local1 % 2; _local2 = _local2.toString(); p = _local2.indexOf("."); if (p != -1) { _local2 = _local2.substring(0, p); } _local2 = Number(_local2); if (_local2 == 0) { _local3 = _local3 + "0"; } else { _local3 = _local3 + "1"; } _local1 = _local1 / 2; _local1 = _local1.toString(); p = _local1.indexOf("."); if (p != -1) { _local1 = _local1.substring(0, p); } _local1 = Number(_local1); bit++; } var tmp = _local3; _local3 = ""; var i = 7; while (i >= 0) { _local3 = _local3 + tmp.slice(i, i + 1); i--; } return(_local3); } function intToBin_enc(codedArray) { var len = (codedArray.length - 1); var _local2; var _local3; var binString = ""; var _local1 = 0; while (_local1 <= len) { _local2 = codedArray[_local1]; _local3 = toBinary(_local2); binString = binString + _local3; _local1++; } var out = binToBase64(binString); return(out); } function binToBase64(bin) { var len = bin.length; var j = 0; var _local2 = new Array(); var z = 0; var Base64OutString; var i = 0; while (i <= (len - 1)) { if (j < 6) { j++; } else { j = 1; z++; } if (_local2[z] == undefined) { _local2[z] = ""; } _local2[z] = _local2[z] + bin.charAt(i); i++; } if (j == 2) { needed = 2; } if (j == 6) { needed = 0; } if (j == 4) { needed = 1; } var binLen = _local2.length; var _local1 = 0; while (_local1 <= (binLen - 1)) { var elemLen = (_local2[_local1].length - 1); if (elemLen < 5) { var addN = (4 - elemLen); var _local3 = 0; while (_local3 <= addN) { if (_local2[_local1] == undefined) { _local2[_local1] = ""; } _local2[_local1] = _local2[_local1] + "0"; _local3++; } } _local1++; } var out = bin6ToInt(_local2, needed); return(out); } function bin6ToInt(myArray, needed) { var len = myArray.length; var n; var _local2; var outArray = new Array(); var t = 0; var digit; var binLen; var Base64OutString = ""; var _local1 = 0; while (_local1 <= (len - 1)) { n = myArray[_local1]; outArray[_local1] = 0; digitVal = 1; binLen = n.length; var _local3 = binLen - 1; while (_local3 >= 0) { _local2 = n.charAt(_local3); _local2 = Number(_local2); _local2 = _local2 * digitVal; if (outArray[_local1] == undefined) { outArray[_local1] = ""; } outArray[_local1] = outArray[_local1] + _local2; digitVal = digitVal * 2; _local3--; } Base64OutString = Base64OutString + encodeBase64(outArray[_local1]); _local1++; } var kk = needed; while (kk >= 1) { Base64OutString = Base64OutString + "-"; kk--; } return(Base64OutString); } function Base64toBinary(sentText) { var _local3; var _local2 = new Array(); var binString = ""; var _local1 = 0; while (_local1 <= (sentText.length - 1)) { _local3 = sentText.charAt(_local1); if (_local3 != "-") { _local2[_local1] = decodeBase64(_local3); _local2[_local1] = toBinary(_local2[_local1]); _local2[_local1] = _local2[_local1].substring(2); binString = binString + _local2[_local1]; } else { _root.Grab_equalSign = true; } _local1++; } var decodedArray = new Array(); decodedArray = sixToEightBit(binString); return(decodedArray); } function sixToEightBit(binString) { var j = 0; var _local2 = 0; var _local3 = new Array(); var len = (binString.length - 1); var _local1 = 0; while (_local1 <= len) { if (j < 8) { j++; } else { j = 1; _local2++; } var char = binString.charAt(_local1); if (_local3[_local2] == undefined) { _local3[_local2] = ""; } _local3[_local2] = _local3[_local2] + char; _local1++; } var decodedArray = new Array(); decodedArray = binToInt8(_local3, 0); return(decodedArray); } function binToInt8(myArray, needed) { var len = myArray.length; var n; var _local1; var outArray = new Array(); var k; var digit; var binLen; var decoded; var digitVal; var _local2 = 0; while (_local2 <= (len - 1)) { n = myArray[_local2]; digitVal = 1; binLen = n.length; var _local3 = binLen - 1; while (_local3 >= 0) { _local1 = n.charAt(_local3); _local1 = Number(_local1); _local1 = _local1 * digitVal; if (outArray[_local2] == undefined) { outArray[_local2] = 0; } outArray[_local2] = outArray[_local2] + _local1; digitVal = digitVal * 2; _local3--; } _local2++; } return(outArray); } function intToText(decodedArray) { var len = (decodedArray.length - 1); var _local3 = ""; var _local2; var _local1 = 0; while (_local1 <= len) { _local2 = decodedArray[_local1]; _local3 = _local3 + String.fromCharCode(_local2); _local1++; } return(_local3); } function decodeBase64(c) { var _local1 = base64.indexOf(c); return(_local1); } base64 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789._"; secWord = "dd49f1356a2940864bb585e64941e432ce31"; gameID = "4D817638-5F02-4B43-B759-5335C527963B"; _global.malcURL = Grab_decode(grab_trialURL); hhh = Grab_decode("U1E-"); gameIDencoded = Grab_encode(gameID); trialURLdecoded = Grab_decode(grab_trialURL); buyURLdecoded = Grab_decode(grab_buyURL); if (grab_ccode == undefined) { grab_ccode = ""; }
Frame 2
game_mc.initGame(settings_object, language_object, gameFilesFolder);
Frame 3
game_mc.gotoAndStop("startgame");
Frame 10
if (game_mc.game_object.isGameReady) { game_mc.game_object.startGame(); } game_mc.game_object.isGameReady = false;
Frame 17
if (game_mc.game_object.isGameReady) { game_mc.game_object.gotoNextLevel(); } game_mc.game_object.isGameReady = false;
Frame 24
game_mc.game_object.mute.setMuteOn();
Frame 31
game_mc.game_object.mute.setMuteOff();
Frame 38
game_mc.game_object.pauseGame();
Frame 45
game_mc.game_object.resumeGame();
Symbol 20 MovieClip Frame 1
function startLoading() { gotoAndPlay ("preload"); } var count = 0;
Symbol 20 MovieClip Frame 3
gameBytesTotal = _root.getBytesTotal() + _root.game_mc.getBytesTotal(); gameBytesLoaded = _root.getBytesLoaded() + _root.game_mc.getBytesLoaded(); percent = Math.round((gameBytesLoaded / gameBytesTotal) * 100); preloader_mc._xscale = percent; if ((((gameBytesLoaded >= gameBytesTotal) && (gameBytesTotal > 0)) && (_root.settings_object.isFileLoaded)) && (_root.language_object.isFileLoaded)) { if (count > _root.loadingDelayCount) { _root.loadingComplete(); stop(); } else { count++; gotoAndPlay ("preload"); } } else { gotoAndPlay ("preload"); }
Symbol 21 MovieClip [__Packages.Language] Frame 0
class Language { static var m_filePath, m_xml, GAMEMODE_TITLE, GAMEMODE_EXPRESS_1, GAMEMODE_EXPRESS_2, GAMEMODE_SCENIC_1, GAMEMODE_SCENIC_2, CARGO_RETURN_LABEL, SCORE_LABEL, LEVEL_LABEL, MAXAVG_TIMEALLOWED, HELP_BUTTON_LABEL, MUTE_BUTTON_LABEL, GAMEOVER, GAMEOVER_MESSAGE1, GAMEOVER_MESSAGE2, GAMEOVER_MESSAGE3, GAMEOVER_MESSAGE4, CLICKCONTINUE, LEVELEND_TITLE, LEVELEND_PASSED, LEVELEND_FAILED, LEVELEND_SKILLPOINTS, LEVELEND_TRAINSLOADED, LEVELEND_LOADINGTIME, LEVELEND_MAXTIME, MENU_HELP, MENU_GAMEOVER, MENU_GAMECOMPLETE, MENU_SCENIC, MENU_PAUSE, MENU_DOWNLOADBUTTON_LABEL, MENU_OKBUTTON_LABEL, MENU_RESUMEBUTTON_LABEL, PENALTY_LABEL, COMBO_LABEL, ROTATE_SPACETIP, ROTATE_SPACE_CLICK_TIP, MENU_LEVELCOMPLETE; function Language (newFilePath) { if (newFilePath == undefined) { m_filePath = "Language.xml"; } else { m_filePath = newFilePath; } } function loadFile() { m_xml = new XML(); m_xml.onLoad = loadFileXML; m_xml.ignoreWhite = true; m_xml.load(m_filePath); } function loadFileXML() { var _local3 = m_xml.firstChild; var nodeName; var _local1; var _local2 = 0; while (_local2 < _local3.childNodes.length) { nodeName = _local3.childNodes[_local2].nodeName; _local1 = _local3.childNodes[_local2].childNodes[0].nodeValue; switch (nodeName) { case "GAMEMODE_TITLE" : GAMEMODE_TITLE = _local1; break; case "GAMEMODE_EXPRESS_1" : GAMEMODE_EXPRESS_1 = _local1; break; case "GAMEMODE_EXPRESS_2" : GAMEMODE_EXPRESS_2 = _local1; break; case "GAMEMODE_SCENIC_1" : GAMEMODE_SCENIC_1 = _local1; break; case "GAMEMODE_SCENIC_2" : GAMEMODE_SCENIC_2 = _local1; break; case "CARGO_RETURN_LABEL" : CARGO_RETURN_LABEL = _local1; break; case "SCORE_LABEL" : SCORE_LABEL = _local1; break; case "LEVEL_LABEL" : LEVEL_LABEL = _local1; break; case "MAXAVG_TIMEALLOWED" : MAXAVG_TIMEALLOWED = _local1; break; case "HELP_BUTTON_LABEL" : HELP_BUTTON_LABEL = _local1; break; case "MUTE_BUTTON_LABEL" : MUTE_BUTTON_LABEL = _local1; break; case "GAMEOVER" : GAMEOVER = _local1; break; case "GAMEOVER_MESSAGE1" : GAMEOVER_MESSAGE1 = _local1; break; case "GAMEOVER_MESSAGE2" : GAMEOVER_MESSAGE2 = _local1; break; case "GAMEOVER_MESSAGE3" : GAMEOVER_MESSAGE3 = _local1; break; case "GAMEOVER_MESSAGE4" : GAMEOVER_MESSAGE4 = _local1; break; case "CLICKCONTINUE" : CLICKCONTINUE = _local1; break; case "LEVELEND_TITLE" : LEVELEND_TITLE = _local1; break; case "LEVELEND_PASSED" : LEVELEND_PASSED = _local1; break; case "LEVELEND_FAILED" : LEVELEND_FAILED = _local1; break; case "LEVELEND_SKILLPOINTS" : LEVELEND_SKILLPOINTS = _local1; break; case "LEVELEND_TRAINSLOADED" : LEVELEND_TRAINSLOADED = _local1; break; case "LEVELEND_LOADINGTIME" : LEVELEND_LOADINGTIME = _local1; break; case "LEVELEND_MAXTIME" : LEVELEND_MAXTIME = _local1; break; case "MENU_HELP" : MENU_HELP = _local1; break; case "MENU_GAMEOVER" : MENU_GAMEOVER = _local1; break; case "MENU_GAMECOMPLETE" : MENU_GAMECOMPLETE = _local1; break; case "MENU_SCENIC" : MENU_SCENIC = _local1; break; case "MENU_PAUSE" : MENU_PAUSE = _local1; break; case "MENU_DOWNLOADBUTTON_LABEL" : MENU_DOWNLOADBUTTON_LABEL = _local1; break; case "MENU_OKBUTTON_LABEL" : MENU_OKBUTTON_LABEL = _local1; break; case "MENU_RESUMEBUTTON_LABEL" : MENU_RESUMEBUTTON_LABEL = _local1; break; case "PENALTY_LABEL" : PENALTY_LABEL = _local1; break; case "COMBO_LABEL" : COMBO_LABEL = _local1; break; case "ROTATE_SPACETIP" : ROTATE_SPACETIP = _local1; break; case "ROTATE_SPACE_CLICK_TIP" : ROTATE_SPACE_CLICK_TIP = _local1; break; case "MENU_LEVELCOMPLETE" : MENU_LEVELCOMPLETE = _local1; } _local2++; } m_isFileLoaded = true; } function get filePath() { return(m_filePath); } function get isFileLoaded() { return(m_isFileLoaded); } static var m_isFileLoaded = false; }
Symbol 22 MovieClip [__Packages.Settings] Frame 0
class Settings { static var m_filePath, m_xml; var passedURL; function Settings (newFilePath, passedURL) { this.passedURL = passedURL; if (newFilePath == undefined) { m_filePath = "Settings.xml"; } else { m_filePath = newFilePath; } } function loadFile() { m_xml = new XML(); m_xml.onLoad = loadFileXML; m_xml.ignoreWhite = true; m_xml.load(m_filePath); } function loadFileXML() { var _local3 = m_xml.firstChild; var nodeName; var _local1; var _local2 = 0; while (_local2 < _local3.childNodes.length) { nodeName = _local3.childNodes[_local2].nodeName; _local1 = _local3.childNodes[_local2].childNodes[0].nodeValue; switch (nodeName) { case "API" : m_apiType = Number(_local1); break; case "SetCheat" : m_isCheat = Boolean(_local1); break; case "ScoreBroadcastTime" : m_scoreBroadcastTime = Number(_local1); break; case "DownloadURL" : m_downloadURL = "http://pogo.com"; break; case "DownloadWindowType" : m_downloadWindowType = String(_local1); break; case "GameOverUpsell" : m_isGameOverUpsell = Boolean(_local1); break; case "GameOverUpsellDownload" : m_isGameOverUpsellDownload = Boolean(_local1); break; case "NewGameDownload" : m_isNewGameMenuDownload = Boolean(_local1); break; case "LevelUpsellFrequency" : m_levelUpsellFrequency = Number(_local1); break; case "LevelCompleteDownload" : m_isLevelCompleteUpsellDownload = Boolean(_local1); break; case "RotatePiece" : m_isRotatePiece = Boolean(_local1); break; case "PictureMaxNumber" : m_pictureMaxNumber = Number(_local1); } _local2++; } m_isFileLoaded = true; } function get filePath() { return(m_filePath); } function get apiType() { return(m_apiType); } function get isCheat() { return(m_isCheat); } function get scoreBroadcastTime() { return(m_scoreBroadcastTime); } function get downloadURL() { var _local1 = "http://robotarcade.com"; _local1 = _global.malcURL; return(_local1); } function get downloadWindowType() { return(m_downloadWindowType); } function get isGameOverUpsell() { return(m_isGameOverUpsell); } function get isGameOverUpsellDownload() { return(m_isGameOverUpsellDownload); } function get isNewGameMenuDownload() { return(m_isNewGameMenuDownload); } function get levelUpsellFrequency() { return(m_levelUpsellFrequency); } function get isLevelCompleteUpsellDownload() { return(m_isLevelCompleteUpsellDownload); } function get isRotatePiece() { return(m_isRotatePiece); } function get pictureMaxNumber() { return(m_pictureMaxNumber); } function get isFileLoaded() { return(m_isFileLoaded); } static var NO_API = 0; static var MSN_API = 1; static var m_apiType = 0; static var m_isCheat = false; static var m_scoreBroadcastTime = 10000; static var m_downloadURL = ""; static var m_downloadWindowType = ""; static var m_isGameOverUpsell = true; static var m_isGameOverUpsellDownload = true; static var m_isNewGameMenuDownload = true; static var m_levelUpsellFrequency = 2; static var m_isLevelCompleteUpsellDownload = true; static var m_isRotatePiece = false; static var m_pictureMaxNumber = 16; static var m_isFileLoaded = false; }

Library Items

Symbol 1 GraphicUsed by:7
Symbol 2 GraphicUsed by:7
Symbol 3 GraphicUsed by:7
Symbol 4 GraphicUsed by:7
Symbol 5 GraphicUsed by:7
Symbol 6 GraphicUsed by:7
Symbol 7 MovieClip [track]Uses:1 2 3 4 5 6Used by:13
Symbol 8 GraphicUsed by:13
Symbol 9 GraphicUsed by:13
Symbol 10 GraphicUsed by:13
Symbol 11 GraphicUsed by:13
Symbol 12 GraphicUsed by:13
Symbol 13 MovieClip [loading]Uses:8 9 7 10 11 12Used by:Timeline
Symbol 14 MovieClipUsed by:Timeline
Symbol 15 GraphicUsed by:16
Symbol 16 MovieClipUses:15Used by:20
Symbol 17 GraphicUsed by:20
Symbol 18 FontUsed by:19
Symbol 19 TextUses:18Used by:20
Symbol 20 MovieClipUses:16 17 19Used by:Timeline
Symbol 21 MovieClip [__Packages.Language]
Symbol 22 MovieClip [__Packages.Settings]

Instance Names

"game_mc"Frame 1Symbol 14 MovieClip
"coLogo_mc"Frame 1Symbol 14 MovieClip
"loading_mc"Frame 1Symbol 20 MovieClip
"preloader_mc"Symbol 20 MovieClip Frame 2Symbol 16 MovieClip

Special Tags

Protect (24)Timeline Frame 10 bytes ""
ExportAssets (56)Timeline Frame 1Symbol 7 as "track"
ExportAssets (56)Timeline Frame 1Symbol 7 as "track"
ExportAssets (56)Timeline Frame 1Symbol 7 as "track"
ExportAssets (56)Timeline Frame 1Symbol 7 as "track"
ExportAssets (56)Timeline Frame 1Symbol 7 as "track"
ExportAssets (56)Timeline Frame 1Symbol 13 as "loading"
ExportAssets (56)Timeline Frame 1Symbol 13 as "loading"
ExportAssets (56)Timeline Frame 1Symbol 21 as "__Packages.Language"
ExportAssets (56)Timeline Frame 1Symbol 22 as "__Packages.Settings"

Labels

"loading"Frame 1
"game"Frame 2
"SessionStart"Frame 3
"GameStart"Frame 10
"GameContinue"Frame 17
"MuteOn"Frame 24
"MuteOff"Frame 31
"PauseOn"Frame 38
"PauseOff"Frame 45
"CustomReturn"Frame 52
"GameError"Frame 53
"preload"Symbol 20 MovieClip Frame 2




http://swfchan.com/6/26823/info.shtml
Created: 22/5 -2019 06:05:04 Last modified: 22/5 -2019 06:05:04 Server time: 22/12 -2024 07:01:00