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

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

Special Snake.swf

This is the info page for
Flash #64097

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


Text
0

Settings

Credits

Instant Action

Help

SPECIAL MODE

www.flashrevo.com

MENU

Easy

Medium

Hard

SPECIAL

CREDITS

<p align="center"><font face="_sans" size="12" color="#990000" letterSpacing="0.000000" kerning="0">GAME DRAWED BY</font></p><p align="center"></p><p align="center"><font face="_sans" size="12" color="#ff9900" letterSpacing="0.000000" kerning="0">MENNEZ</font></p>

<p align="center"><font face="_sans" size="12" color="#990000" letterSpacing="0.000000" kerning="0">IDEAS BY</font></p><p align="center"></p><p align="center"><font face="_sans" size="12" color="#ff9900" letterSpacing="0.000000" kerning="0">SECRETP</font></p><p align="center"><font face="_sans" size="12" color="#ff9900" letterSpacing="0.000000" kerning="0">MENNEZ</font></p>

<p align="center"><font face="_sans" size="12" color="#990000" letterSpacing="0.000000" kerning="0">MUSIC BY</font></p><p align="center"></p><p align="center"><font face="_sans" size="12" color="#ff9900" letterSpacing="0.000000" kerning="0">NINTENDO</font></p><p align="center"><font face="_sans" size="12" color="#ff9900" letterSpacing="0.000000" kerning="0">GENSO SUIKODEN</font></p><p align="center"><font face="_sans" size="12" color="#ff9900" letterSpacing="0.000000" kerning="0">DJ TIËSTO</font></p>

<p align="center"><font face="_sans" size="12" color="#990000" letterSpacing="0.000000" kerning="0">SPECIAL THANKS</font></p><p align="left"></p><p align="center"><font face="_sans" size="12" color="#ff9900" letterSpacing="0.000000" kerning="0">CRISIS</font></p><p align="center"><font face="_sans" size="12" color="#ff9900" letterSpacing="0.000000" kerning="0">EPSITROG</font></p><p align="center"><font face="_sans" size="12" color="#ff9900" letterSpacing="0.000000" kerning="0">STEVEN SEAGAL</font></p>

CREDITS

<p align="left"><font face="_sans" size="12" color="#990000" letterSpacing="0.000000" kerning="0">GAME MADE BY</font></p><p align="left"></p><p align="center"><font face="_sans" size="12" color="#ff9900" letterSpacing="0.000000" kerning="0">MENNEZ</font></p>

<p align="left"><font face="_sans" size="12" color="#990000" letterSpacing="0.000000" kerning="0">SOME IDEAS BY</font></p><p align="left"></p><p align="center"><font face="_sans" size="12" color="#ff9900" letterSpacing="0.000000" kerning="0">SECRETP</font></p>

<p align="center"><font face="_sans" size="12" color="#990000" letterSpacing="0.000000" kerning="0">MUSIC BY</font></p><p align="left"></p><p align="center"><font face="_sans" size="12" color="#ff9900" letterSpacing="0.000000" kerning="0">NINTENDO</font></p><p align="center"><font face="_sans" size="12" color="#ff9900" letterSpacing="0.000000" kerning="0">GENSO SUIKODEN</font></p>

<p align="center"><font face="_sans" size="12" color="#990000" letterSpacing="0.000000" kerning="0">SPECIAL THANKS</font></p><p align="left"></p><p align="center"><font face="_sans" size="12" color="#ff9900" letterSpacing="0.000000" kerning="0">CRISIS</font></p><p align="center"><font face="_sans" size="12" color="#ff9900" letterSpacing="0.000000" kerning="0">EPSITROG</font></p>

PLEASE VISIT

AND MAKE AN ACCOUNT

Music

Graphics

Low

Medium

High

On

Off

What to do?

Just eat this        and don't touch this        .

What are the controls?

To move, press the arrow keys and press space to start!

Which things will make a snake level more difficult?

<p align="center"><font face="_sans" size="14" color="#009900" letterSpacing="0.000000" kerning="0">The speed, walls, see less, length when <font color="#003300">you eat and</font></font></p><p align="center"><font face="_sans" size="14" color="#009900" letterSpacing="0.000000" kerning="0">length of snake in the beginning. </font></p>

Easy mode

<p align="center"><font face="_sans" size="13" color="#000000" letterSpacing="0.000000" kerning="0"><b>Press </b><font color="#ff0000"><b>Space</b></font><b> to start</b></font></p>

Use arrow keys to turn

Game Over

Press SPACE to restart

Paused

Medium mode

Hard mode

Special mode

Level 1

Special Mode

Level 2

Special Mode

Level 3

Special Mode

Level 4

Special Mode

Level 7

Special Mode

Level 8

DONT TOUCH THE WATER!

DONT TOUCH THE WATER!

DONT TOUCH THE WATER!

DONT TOUCH THE WATER!

Special Mode

Level 5

Special Mode

Level 6

Special Mode

Level 6

ActionScript [AS1/AS2]

Frame 1
function getFlashcomp() { getURL ("http://www.clashflash.com", "_blank"); } function getFlashrevo() { getURL ("http://www.flashrevo.com", "_blank"); } function hideCursor() { Mouse.hide(); } function goScaledFullScreen() { var _local1 = new flash.geom.Rectangle(); _local1.x = 0; _local1.y = 0; _local1.width = Stage.width; _local1.height = Stage.height; Stage.fullScreenSourceRect = _local1; Stage.displayState = "fullScreen"; } function exitFullScreen() { Stage.displayState = "normal"; } function menuHandler(obj, menuObj) { if (Stage.displayState == "normal") { menuObj.customItems[0].enabled = true; menuObj.customItems[1].enabled = false; } else { menuObj.customItems[0].enabled = false; menuObj.customItems[1].enabled = true; } } stop(); var fullscreenCM = new ContextMenu(menuHandler); fullscreenCM.hideBuiltInItems(); var fs = new ContextMenuItem("Go Full Screen", goScaledFullScreen); fullscreenCM.customItems.push(fs); var xfs = new ContextMenuItem("Exit Full Screen", exitFullScreen); fullscreenCM.customItems.push(xfs); fullscreenCM.customItems.push(new ContextMenuItem("Clashflash.com", getFlashcomp)); fullscreenCM.customItems.push(new ContextMenuItem("Flashrevo.com", getFlashrevo)); fullscreenCM.customItems.push(new ContextMenuItem("Hide Cursor", hideCursor)); _root.menu = fullscreenCM;
Frame 2
gotoAndPlay ("intro");
Frame 104
function placeWall(x, y, type) { wallMC = game.wall.attachMovie(type, wallCounter, wallCounter); wallCounter++; wallMC._x = x * blockSize; wallMC._y = y * blockSize; map[x][y] = 1; } stop(); if (_root.music == undefined) { _root.music = "ON"; } if ((_root.music == "ON") && (_root.setmusic != "Menu")) { stopAllSounds(); menuMusic = new Sound(); menuMusic.attachSound("menu"); menuMusic.start(0, 100); _root.setmusic = "Menu"; } instantbut.onRelease = function () { gotoAndStop ("action"); }; settingsbut.onRelease = function () { gotoAndStop ("settings"); }; specialbut.onRelease = function () { gotoAndStop ("special"); }; creditsbut.onRelease = function () { gotoAndStop ("credits"); }; helpbut.onRelease = function () { gotoAndStop ("help"); };
Frame 105
stop(); back.onRelease = function () { gotoAndStop ("menu"); }; easy.onRelease = function () { gotoAndStop ("game_easy"); }; medium.onRelease = function () { gotoAndStop ("game_medium"); }; hard.onRelease = function () { gotoAndStop ("game_hard"); }; stop();
Frame 106
stop(); lvl1but.onRelease = function () { gotoAndStop ("lvl1"); }; lvl2but.onRelease = function () { gotoAndStop ("lvl2"); }; lvl3but.onRelease = function () { gotoAndStop ("lvl3"); }; lvl4but.onRelease = function () { gotoAndStop ("lvl4"); }; lvl5but.onRelease = function () { gotoAndStop ("lvl5"); }; lvl6but.onRelease = function () { gotoAndStop ("lvl6"); }; lvl7but.onRelease = function () { gotoAndStop ("lvl7"); }; lvl8but.onRelease = function () { gotoAndStop ("lvl8"); }; speciallvlbut.onRelease = function () { gotoAndStop ("speciallvl"); }; hard.onRelease = function () { gotoAndStop ("game_hard"); }; back.onRelease = function () { gotoAndStop ("menu"); };
Frame 107
stop(); if ((_root.music == "ON") && (_root.setmusic != "tiesto")) { stopAllSounds(); menuMusic = new Sound(); menuMusic.attachSound("tiesto"); menuMusic.start(0, 100); _root.setmusic = "tiesto"; } back.onRelease = function () { gotoAndStop ("menu"); };
Frame 108
stop(); back.onRelease = function () { gotoAndStop ("menu"); }; gamequal.gotoAndStop(_quality); gfxbut.onRelease = function () { switch (_quality) { case "HIGH" : _quality = "MEDIUM"; break; case "MEDIUM" : _quality = "LOW"; break; case "LOW" : _quality = "HIGH"; break; } gamequal.gotoAndStop(_quality); }; mus.gotoAndStop(_root.music); soundsbut.onRelease = function () { switch (_root.music) { case "ON" : _root.music = "OFF"; stopAllSounds(); break; case "OFF" : _root.music = "ON"; menuMusic = new Sound(); menuMusic.attachSound("menu"); menuMusic.start(0, 100); _root.setmusic = "menu"; break; } mus.gotoAndStop(_root.music); };
Frame 109
stop(); back.onRelease = function () { gotoAndStop ("menu"); };
Frame 110
function startGame() { x = int(gameWidth / 2); y = gameHeight - 2; moveTimer = 0; xVelocity = [-1, 0, 1, 0]; yVelocity = [0, -1, 0, 1]; map = new Array(); var _local1 = 0; while (_local1 < gameWidth) { map[_local1] = new Array(); _local1++; } turnQueue = new Array(); game.createEmptyMovieClip("food", 1); game.createEmptyMovieClip("s", 2); scoreTextField.text = "Score: 0"; foodCounter = 0; snakeBlockCounter = 0; currentDirection = 1; snakeEraseCounter = -5; score = 0; placeFood("new"); textMC.gotoAndStop("hide"); game.onEnterFrame = main; gameRunning = true; } function main() { if ((moveTimer % moveSpeed) == 0) { if (turnQueue.length > 0) { var _local2 = turnQueue.pop(); if ((_local2 % 2) != (currentDirection % 2)) { currentDirection = _local2; } } x = x + xVelocity[currentDirection]; y = y + yVelocity[currentDirection]; moveTimer = 0; if (((((map[x][y] != SNAKE_BLOCK) && (x > -1)) && (x < gameWidth)) && (y > -1)) && (y < gameHeight)) { game.s.attachMovie("snakeMC", snakeBlockCounter, snakeBlockCounter, {_x:x * blockSize, _y:y * blockSize}); game.s[snakeBlockCounter].gotoAndStop(2); game.s[snakeBlockCounter - 1].gotoAndStop(1); snakeBlockCounter++; if (typeof(map[x][y]) == "movieclip") { score = score + 10; scoreTextField.text = "Score: " + score; snakeEraseCounter = snakeEraseCounter - 1; placeFood(map[x][y]); } map[x][y] = SNAKE_BLOCK; var _local1 = game.s[snakeEraseCounter]; if (_local1) { delete map[_local1._x / blockSize][_local1._y / blockSize]; _local1.removeMovieClip(); } snakeEraseCounter++; } else { gameOver(); } } moveTimer++; } function gameOver() { textMC.gotoAndStop("gameOver"); delete game.onEnterFrame; gameRunning = false; } function placeFood(foodMC) { do { var xFood = random(gameWidth); var yFood = random(gameHeight); } while (map[xFood][yFood]); if (foodMC == "new") { foodMC = game.food.attachMovie("foodMC", foodCounter, foodCounter); foodCounter++; } foodMC._x = xFood * blockSize; foodMC._y = yFood * blockSize; map[xFood][yFood] = foodMC; } if ((_root.music == "ON") && (_root.setmusic != "instant")) { stopAllSounds(); menuMusic = new Sound(); menuMusic.attachSound("instant"); menuMusic.start(0, 100); _root.setmusic = "instant"; } blockSize = 8; gameHeight = 30; gameWidth = 45; SNAKE_BLOCK = 1; moveSpeed = 3; keyListener = new Object(); keyListener.onKeyDown = function () { var _local1 = Key.getCode(); if ((_local1 > 36) && (_local1 < 41)) { if (game.onEnterFrame != undefined) { if ((_local1 - 37) != turnQueue[0]) { turnQueue.unshift(_local1 - 37); } } } else if (_local1 == 32) { if (!gameRunning) { startGame(); } } else if (_local1 == 80) { if (gameRunning) { if (game.onEnterFrame) { delete game.onEnterFrame; textMC.gotoAndStop("paused"); } else { game.onEnterFrame = main; textMC.gotoAndStop("hide"); } } } }; Key.addListener(keyListener);
Frame 111
function startGame() { x = int(gameWidth / 2); y = gameHeight - 2; moveTimer = 0; xVelocity = [-1, 0, 1, 0]; yVelocity = [0, -1, 0, 1]; map = new Array(); var _local1 = 0; while (_local1 < gameWidth) { map[_local1] = new Array(); _local1++; } turnQueue = new Array(); game.createEmptyMovieClip("food", 1); game.createEmptyMovieClip("s", 2); scoreTextField.text = "Score: 0"; foodCounter = 0; snakeBlockCounter = 0; currentDirection = 1; snakeEraseCounter = -3; score = 0; placeFood("new"); textMC.gotoAndStop("hide"); game.onEnterFrame = main; gameRunning = true; game.createEmptyMovieClip("wall", 3); wallCounter = 0; placeWall(5, 5, "wallMC"); placeWall(6, 5, "wallMC"); placeWall(7, 5, "wallMC"); placeWall(8, 5, "wallMC"); placeWall(9, 5, "wallMC"); placeWall(10, 5, "wallMC"); placeWall(11, 5, "wallMC"); placeWall(12, 5, "wallMC"); placeWall(13, 5, "wallMC"); placeWall(14, 5, "wallMC"); placeWall(15, 5, "wallMC"); placeWall(16, 5, "wallMC"); placeWall(17, 5, "wallMC"); placeWall(18, 5, "wallMC"); placeWall(19, 5, "wallMC"); placeWall(20, 5, "wallMC"); placeWall(21, 5, "wallMC"); placeWall(22, 5, "wallMC"); placeWall(23, 5, "wallMC"); placeWall(24, 5, "wallMC"); placeWall(25, 5, "wallMC"); placeWall(26, 5, "wallMC"); placeWall(27, 5, "wallMC"); placeWall(28, 5, "wallMC"); placeWall(29, 5, "wallMC"); placeWall(30, 5, "wallMC"); placeWall(31, 5, "wallMC"); placeWall(32, 5, "wallMC"); placeWall(33, 5, "wallMC"); placeWall(34, 5, "wallMC"); placeWall(35, 5, "wallMC"); placeWall(36, 5, "wallMC"); placeWall(37, 5, "wallMC"); placeWall(38, 5, "wallMC"); placeWall(39, 5, "wallMC"); placeWall(5, 24, "wallMC"); placeWall(6, 24, "wallMC"); placeWall(7, 24, "wallMC"); placeWall(8, 24, "wallMC"); placeWall(9, 24, "wallMC"); placeWall(10, 24, "wallMC"); placeWall(11, 24, "wallMC"); placeWall(12, 24, "wallMC"); placeWall(13, 24, "wallMC"); placeWall(14, 24, "wallMC"); placeWall(15, 24, "wallMC"); placeWall(16, 24, "wallMC"); placeWall(17, 24, "wallMC"); placeWall(18, 24, "wallMC"); placeWall(19, 24, "wallMC"); placeWall(20, 24, "wallMC"); placeWall(21, 24, "wallMC"); placeWall(23, 24, "wallMC"); placeWall(24, 24, "wallMC"); placeWall(25, 24, "wallMC"); placeWall(26, 24, "wallMC"); placeWall(27, 24, "wallMC"); placeWall(28, 24, "wallMC"); placeWall(29, 24, "wallMC"); placeWall(30, 24, "wallMC"); placeWall(31, 24, "wallMC"); placeWall(32, 24, "wallMC"); placeWall(33, 24, "wallMC"); placeWall(34, 24, "wallMC"); placeWall(35, 24, "wallMC"); placeWall(36, 24, "wallMC"); placeWall(37, 24, "wallMC"); placeWall(38, 24, "wallMC"); placeWall(39, 24, "wallMC"); } function main() { if ((moveTimer % moveSpeed) == 0) { if (turnQueue.length > 0) { var _local2 = turnQueue.pop(); if ((_local2 % 2) != (currentDirection % 2)) { currentDirection = _local2; } } x = x + xVelocity[currentDirection]; y = y + yVelocity[currentDirection]; moveTimer = 0; if (((((map[x][y] != SNAKE_BLOCK) && (x > -1)) && (x < gameWidth)) && (y > -1)) && (y < gameHeight)) { game.s.attachMovie("snakeMC", snakeBlockCounter, snakeBlockCounter, {_x:x * blockSize, _y:y * blockSize}); game.s[snakeBlockCounter].gotoAndStop(2); game.s[snakeBlockCounter - 1].gotoAndStop(1); snakeBlockCounter++; if (typeof(map[x][y]) == "movieclip") { score = score + 10; scoreTextField.text = "Score: " + score; snakeEraseCounter = snakeEraseCounter - 3; placeFood(map[x][y]); } map[x][y] = SNAKE_BLOCK; var _local1 = game.s[snakeEraseCounter]; if (_local1) { delete map[_local1._x / blockSize][_local1._y / blockSize]; _local1.removeMovieClip(); } snakeEraseCounter++; } else { gameOver(); } } moveTimer++; } function gameOver() { textMC.gotoAndStop("gameOver"); delete game.onEnterFrame; gameRunning = false; } function placeFood(foodMC) { do { var xFood = random(gameWidth); var yFood = random(gameHeight); } while (map[xFood][yFood]); if (foodMC == "new") { foodMC = game.food.attachMovie("foodMC", foodCounter, foodCounter); foodCounter++; } foodMC._x = xFood * blockSize; foodMC._y = yFood * blockSize; map[xFood][yFood] = foodMC; } if ((_root.music == "ON") && (_root.setmusic != "instant")) { stopAllSounds(); menuMusic = new Sound(); menuMusic.attachSound("instant"); menuMusic.start(0, 100); _root.setmusic = "instant"; } blockSize = 8; gameHeight = 30; gameWidth = 45; SNAKE_BLOCK = 1; moveSpeed = 2; keyListener = new Object(); keyListener.onKeyDown = function () { var _local1 = Key.getCode(); if ((_local1 > 36) && (_local1 < 41)) { if (game.onEnterFrame != undefined) { if ((_local1 - 37) != turnQueue[0]) { turnQueue.unshift(_local1 - 37); } } } else if (_local1 == 32) { if (!gameRunning) { startGame(); } } else if (_local1 == 80) { if (gameRunning) { if (game.onEnterFrame) { delete game.onEnterFrame; textMC.gotoAndStop("paused"); } else { game.onEnterFrame = main; textMC.gotoAndStop("hide"); } } } }; Key.addListener(keyListener);
Frame 112
function startGame() { x = int(gameWidth / 2); y = gameHeight - 2; moveTimer = 0; xVelocity = [-1, 0, 1, 0]; yVelocity = [0, -1, 0, 1]; map = new Array(); var _local1 = 0; while (_local1 < gameWidth) { map[_local1] = new Array(); _local1++; } turnQueue = new Array(); game.createEmptyMovieClip("food", 1); game.createEmptyMovieClip("s", 2); scoreTextField.text = "Score: 0"; foodCounter = 0; snakeBlockCounter = 0; currentDirection = 1; snakeEraseCounter = -1; score = 0; placeFood("new"); textMC.gotoAndStop("hide"); game.onEnterFrame = main; gameRunning = true; game.createEmptyMovieClip("wall", 3); wallCounter = 0; placeWall(5, 5, "wallMC"); placeWall(6, 5, "wallMC"); placeWall(7, 5, "wallMC"); placeWall(8, 5, "wallMC"); placeWall(9, 5, "wallMC"); placeWall(10, 5, "wallMC"); placeWall(11, 5, "wallMC"); placeWall(12, 5, "wallMC"); placeWall(13, 5, "wallMC"); placeWall(14, 5, "wallMC"); placeWall(5, 6, "wallMC"); placeWall(5, 7, "wallMC"); placeWall(5, 8, "wallMC"); placeWall(5, 9, "wallMC"); placeWall(5, 10, "wallMC"); placeWall(5, 11, "wallMC"); placeWall(39, 11, "wallMC"); placeWall(39, 10, "wallMC"); placeWall(39, 9, "wallMC"); placeWall(39, 8, "wallMC"); placeWall(39, 7, "wallMC"); placeWall(39, 6, "wallMC"); placeWall(30, 5, "wallMC"); placeWall(31, 5, "wallMC"); placeWall(32, 5, "wallMC"); placeWall(33, 5, "wallMC"); placeWall(34, 5, "wallMC"); placeWall(35, 5, "wallMC"); placeWall(36, 5, "wallMC"); placeWall(37, 5, "wallMC"); placeWall(38, 5, "wallMC"); placeWall(39, 5, "wallMC"); placeWall(5, 24, "wallMC"); placeWall(6, 24, "wallMC"); placeWall(7, 24, "wallMC"); placeWall(8, 24, "wallMC"); placeWall(9, 24, "wallMC"); placeWall(10, 24, "wallMC"); placeWall(11, 24, "wallMC"); placeWall(12, 24, "wallMC"); placeWall(13, 24, "wallMC"); placeWall(14, 24, "wallMC"); placeWall(5, 23, "wallMC"); placeWall(5, 22, "wallMC"); placeWall(5, 21, "wallMC"); placeWall(5, 20, "wallMC"); placeWall(5, 19, "wallMC"); placeWall(5, 18, "wallMC"); placeWall(39, 18, "wallMC"); placeWall(39, 19, "wallMC"); placeWall(39, 20, "wallMC"); placeWall(39, 21, "wallMC"); placeWall(39, 22, "wallMC"); placeWall(39, 23, "wallMC"); placeWall(30, 24, "wallMC"); placeWall(31, 24, "wallMC"); placeWall(32, 24, "wallMC"); placeWall(33, 24, "wallMC"); placeWall(34, 24, "wallMC"); placeWall(35, 24, "wallMC"); placeWall(36, 24, "wallMC"); placeWall(37, 24, "wallMC"); placeWall(38, 24, "wallMC"); placeWall(39, 24, "wallMC"); placeWall(20, 12, "wallMC"); placeWall(21, 12, "wallMC"); placeWall(20, 13, "wallMC"); placeWall(21, 13, "wallMC"); placeWall(23, 12, "wallMC"); placeWall(24, 12, "wallMC"); placeWall(23, 13, "wallMC"); placeWall(24, 13, "wallMC"); placeWall(20, 15, "wallMC"); placeWall(21, 15, "wallMC"); placeWall(20, 16, "wallMC"); placeWall(21, 16, "wallMC"); placeWall(23, 15, "wallMC"); placeWall(24, 15, "wallMC"); placeWall(23, 16, "wallMC"); placeWall(24, 16, "wallMC"); } function main() { if ((moveTimer % moveSpeed) == 0) { if (turnQueue.length > 0) { var _local2 = turnQueue.pop(); if ((_local2 % 2) != (currentDirection % 2)) { currentDirection = _local2; } } x = x + xVelocity[currentDirection]; y = y + yVelocity[currentDirection]; moveTimer = 0; if (((((map[x][y] != SNAKE_BLOCK) && (x > -1)) && (x < gameWidth)) && (y > -1)) && (y < gameHeight)) { game.s.attachMovie("snakeMC", snakeBlockCounter, snakeBlockCounter, {_x:x * blockSize, _y:y * blockSize}); game.s[snakeBlockCounter].gotoAndStop(2); game.s[snakeBlockCounter - 1].gotoAndStop(1); snakeBlockCounter++; if (typeof(map[x][y]) == "movieclip") { score = score + 10; scoreTextField.text = "Score: " + score; snakeEraseCounter = snakeEraseCounter - 8; placeFood(map[x][y]); } map[x][y] = SNAKE_BLOCK; var _local1 = game.s[snakeEraseCounter]; if (_local1) { delete map[_local1._x / blockSize][_local1._y / blockSize]; _local1.removeMovieClip(); } snakeEraseCounter++; } else { gameOver(); } } moveTimer++; } function gameOver() { textMC.gotoAndStop("gameOver"); delete game.onEnterFrame; gameRunning = false; } function placeFood(foodMC) { do { var xFood = random(gameWidth); var yFood = random(gameHeight); } while (map[xFood][yFood]); if (foodMC == "new") { foodMC = game.food.attachMovie("foodMC", foodCounter, foodCounter); foodCounter++; } foodMC._x = xFood * blockSize; foodMC._y = yFood * blockSize; map[xFood][yFood] = foodMC; } if ((_root.music == "ON") && (_root.setmusic != "instant")) { stopAllSounds(); menuMusic = new Sound(); menuMusic.attachSound("instant"); menuMusic.start(0, 100); _root.setmusic = "instant"; } blockSize = 8; gameHeight = 30; gameWidth = 45; SNAKE_BLOCK = 1; moveSpeed = 1; keyListener = new Object(); keyListener.onKeyDown = function () { var _local1 = Key.getCode(); if ((_local1 > 36) && (_local1 < 41)) { if (game.onEnterFrame != undefined) { if ((_local1 - 37) != turnQueue[0]) { turnQueue.unshift(_local1 - 37); } } } else if (_local1 == 32) { if (!gameRunning) { startGame(); } } else if (_local1 == 80) { if (gameRunning) { if (game.onEnterFrame) { delete game.onEnterFrame; textMC.gotoAndStop("paused"); } else { game.onEnterFrame = main; textMC.gotoAndStop("hide"); } } } }; Key.addListener(keyListener);
Frame 113
function startGame() { x = int(gameWidth / 2); y = gameHeight - 2; moveTimer = 0; xVelocity = [-1, 0, 1, 0]; yVelocity = [0, -1, 0, 1]; map = new Array(); var _local1 = 0; while (_local1 < gameWidth) { map[_local1] = new Array(); _local1++; } turnQueue = new Array(); game.createEmptyMovieClip("food", 1); game.createEmptyMovieClip("s", 2); scoreTextField.text = "Score: 0"; foodCounter = 0; snakeBlockCounter = 0; currentDirection = 1; snakeEraseCounter = -10; score = 0; placeFood("new"); textMC.gotoAndStop("hide"); game.onEnterFrame = main; gameRunning = true; } function main() { if ((moveTimer % moveSpeed) == 0) { if (turnQueue.length > 0) { var _local2 = turnQueue.pop(); if ((_local2 % 2) != (currentDirection % 2)) { currentDirection = _local2; } } x = x + xVelocity[currentDirection]; y = y + yVelocity[currentDirection]; moveTimer = 0; if (((((map[x][y] != SNAKE_BLOCK) && (x > -1)) && (x < gameWidth)) && (y > -1)) && (y < gameHeight)) { game.s.attachMovie("snakeMC", snakeBlockCounter, snakeBlockCounter, {_x:x * blockSize, _y:y * blockSize}); game.s[snakeBlockCounter].gotoAndStop(2); game.s[snakeBlockCounter - 1].gotoAndStop(1); snakeBlockCounter++; if (typeof(map[x][y]) == "movieclip") { score = score + 10; scoreTextField.text = "Score: " + score; snakeEraseCounter = snakeEraseCounter - 3; placeFood(map[x][y]); } map[x][y] = SNAKE_BLOCK; var _local1 = game.s[snakeEraseCounter]; if (_local1) { delete map[_local1._x / blockSize][_local1._y / blockSize]; _local1.removeMovieClip(); } snakeEraseCounter++; } else { gameOver(); } } moveTimer++; } function gameOver() { textMC.gotoAndStop("gameOver"); delete game.onEnterFrame; gameRunning = false; } function placeFood(foodMC) { do { var xFood = random(gameWidth); var yFood = random(gameHeight); } while (map[xFood][yFood]); if (foodMC == "new") { foodMC = game.food.attachMovie("foodMC", foodCounter, foodCounter); foodCounter++; } foodMC._x = xFood * blockSize; foodMC._y = yFood * blockSize; map[xFood][yFood] = foodMC; } if ((_root.music == "ON") && (_root.setmusic != "instant")) { stopAllSounds(); menuMusic = new Sound(); menuMusic.attachSound("instant"); menuMusic.start(0, 100); _root.setmusic = "instant"; } blockSize = 8; gameHeight = 30; gameWidth = 45; SNAKE_BLOCK = 1; moveSpeed = 2; keyListener = new Object(); keyListener.onKeyDown = function () { var _local1 = Key.getCode(); if ((_local1 > 36) && (_local1 < 41)) { if (game.onEnterFrame != undefined) { if ((_local1 - 37) != turnQueue[0]) { turnQueue.unshift(_local1 - 37); } } } else if (_local1 == 32) { if (!gameRunning) { startGame(); } } else if (_local1 == 80) { if (gameRunning) { if (game.onEnterFrame) { delete game.onEnterFrame; textMC.gotoAndStop("paused"); } else { game.onEnterFrame = main; textMC.gotoAndStop("hide"); } } } }; Key.addListener(keyListener);
Frame 114
function startGame() { x = int(gameWidth / 2); y = gameHeight - 2; moveTimer = 0; xVelocity = [-1, 0, 1, 0]; yVelocity = [0, -1, 0, 1]; map = new Array(); var _local1 = 0; while (_local1 < gameWidth) { map[_local1] = new Array(); _local1++; } turnQueue = new Array(); game.createEmptyMovieClip("food", 1); game.createEmptyMovieClip("s", 2); scoreTextField.text = "Score: 0"; foodCounter = 0; snakeBlockCounter = 0; currentDirection = 1; snakeEraseCounter = -4; score = 0; placeFood("new"); textMC.gotoAndStop("hide"); game.onEnterFrame = main; gameRunning = true; game.createEmptyMovieClip("wall", 3); wallCounter = 0; placeWall(5, 5, "wallMC"); placeWall(7, 5, "wallMC"); placeWall(9, 5, "wallMC"); placeWall(11, 5, "wallMC"); placeWall(13, 5, "wallMC"); placeWall(15, 5, "wallMC"); placeWall(17, 5, "wallMC"); placeWall(19, 5, "wallMC"); placeWall(21, 5, "wallMC"); placeWall(23, 5, "wallMC"); placeWall(25, 5, "wallMC"); placeWall(27, 5, "wallMC"); placeWall(29, 5, "wallMC"); placeWall(31, 5, "wallMC"); placeWall(33, 5, "wallMC"); placeWall(35, 5, "wallMC"); placeWall(37, 5, "wallMC"); placeWall(39, 5, "wallMC"); placeWall(5, 24, "wallMC"); placeWall(6, 24, "wallMC"); placeWall(7, 24, "wallMC"); placeWall(8, 24, "wallMC"); placeWall(9, 24, "wallMC"); placeWall(10, 24, "wallMC"); placeWall(11, 24, "wallMC"); placeWall(12, 24, "wallMC"); placeWall(13, 24, "wallMC"); placeWall(14, 24, "wallMC"); placeWall(15, 24, "wallMC"); placeWall(16, 24, "wallMC"); placeWall(17, 24, "wallMC"); placeWall(18, 24, "wallMC"); placeWall(19, 24, "wallMC"); placeWall(20, 24, "wallMC"); placeWall(21, 24, "wallMC"); placeWall(23, 24, "wallMC"); placeWall(24, 24, "wallMC"); placeWall(25, 24, "wallMC"); placeWall(26, 24, "wallMC"); placeWall(27, 24, "wallMC"); placeWall(28, 24, "wallMC"); placeWall(29, 24, "wallMC"); placeWall(30, 24, "wallMC"); placeWall(31, 24, "wallMC"); placeWall(32, 24, "wallMC"); placeWall(33, 24, "wallMC"); placeWall(34, 24, "wallMC"); placeWall(35, 24, "wallMC"); placeWall(36, 24, "wallMC"); placeWall(37, 24, "wallMC"); placeWall(38, 24, "wallMC"); placeWall(39, 24, "wallMC"); } function main() { if ((moveTimer % moveSpeed) == 0) { if (turnQueue.length > 0) { var _local2 = turnQueue.pop(); if ((_local2 % 2) != (currentDirection % 2)) { currentDirection = _local2; } } x = x + xVelocity[currentDirection]; y = y + yVelocity[currentDirection]; moveTimer = 0; if (((((map[x][y] != SNAKE_BLOCK) && (x > -1)) && (x < gameWidth)) && (y > -1)) && (y < gameHeight)) { game.s.attachMovie("snakeMC", snakeBlockCounter, snakeBlockCounter, {_x:x * blockSize, _y:y * blockSize}); game.s[snakeBlockCounter].gotoAndStop(2); game.s[snakeBlockCounter - 1].gotoAndStop(1); snakeBlockCounter++; if (typeof(map[x][y]) == "movieclip") { score = score + 10; scoreTextField.text = "Score: " + score; snakeEraseCounter = snakeEraseCounter - 4; placeFood(map[x][y]); } map[x][y] = SNAKE_BLOCK; var _local1 = game.s[snakeEraseCounter]; if (_local1) { delete map[_local1._x / blockSize][_local1._y / blockSize]; _local1.removeMovieClip(); } snakeEraseCounter++; } else { gameOver(); } } moveTimer++; } function gameOver() { textMC.gotoAndStop("gameOver"); delete game.onEnterFrame; gameRunning = false; } function placeFood(foodMC) { do { var xFood = random(gameWidth); var yFood = random(gameHeight); } while (map[xFood][yFood]); if (foodMC == "new") { foodMC = game.food.attachMovie("foodMC", foodCounter, foodCounter); foodCounter++; } foodMC._x = xFood * blockSize; foodMC._y = yFood * blockSize; map[xFood][yFood] = foodMC; } if ((_root.music == "ON") && (_root.setmusic != "muziek2")) { stopAllSounds(); menuMusic = new Sound(); menuMusic.attachSound("muziek2"); menuMusic.start(0, 100); _root.setmusic = "muziek2"; } blockSize = 8; gameHeight = 30; gameWidth = 45; SNAKE_BLOCK = 1; moveSpeed = 2; keyListener = new Object(); keyListener.onKeyDown = function () { var _local1 = Key.getCode(); if ((_local1 > 36) && (_local1 < 41)) { if (game.onEnterFrame != undefined) { if ((_local1 - 37) != turnQueue[0]) { turnQueue.unshift(_local1 - 37); } } } else if (_local1 == 32) { if (!gameRunning) { startGame(); } } else if (_local1 == 80) { if (gameRunning) { if (game.onEnterFrame) { delete game.onEnterFrame; textMC.gotoAndStop("paused"); } else { game.onEnterFrame = main; textMC.gotoAndStop("hide"); } } } }; Key.addListener(keyListener);
Frame 115
function startGame() { x = int(gameWidth / 2); y = gameHeight - 2; moveTimer = 0; xVelocity = [-1, 0, 1, 0]; yVelocity = [0, -1, 0, 1]; map = new Array(); var _local1 = 0; while (_local1 < gameWidth) { map[_local1] = new Array(); _local1++; } turnQueue = new Array(); game.createEmptyMovieClip("food", 1); game.createEmptyMovieClip("s", 2); scoreTextField.text = "Score: 0"; foodCounter = 0; snakeBlockCounter = 0; currentDirection = 1; snakeEraseCounter = -4; score = 0; placeFood("new"); textMC.gotoAndStop("hide"); game.onEnterFrame = main; gameRunning = true; game.createEmptyMovieClip("wall", 3); wallCounter = 0; placeWall(20, 0, "wallMC"); placeWall(20, 1, "wallMC"); placeWall(20, 2, "wallMC"); placeWall(20, 4, "wallMC"); placeWall(20, 5, "wallMC"); placeWall(20, 6, "wallMC"); placeWall(19, 6, "wallMC"); placeWall(18, 6, "wallMC"); placeWall(17, 6, "wallMC"); placeWall(16, 6, "wallMC"); placeWall(15, 6, "wallMC"); placeWall(14, 6, "wallMC"); placeWall(13, 6, "wallMC"); placeWall(12, 6, "wallMC"); placeWall(9, 6, "wallMC"); placeWall(8, 6, "wallMC"); placeWall(7, 6, "wallMC"); placeWall(6, 6, "wallMC"); placeWall(5, 6, "wallMC"); placeWall(4, 6, "wallMC"); placeWall(3, 6, "wallMC"); placeWall(2, 6, "wallMC"); placeWall(1, 6, "wallMC"); placeWall(0, 6, "wallMC"); placeWall(43, 29, "wallMC"); placeWall(43, 28, "wallMC"); placeWall(44, 28, "wallMC"); placeWall(44, 29, "wallMC"); placeWall(42, 29, "wallMC"); placeWall(44, 27, "wallMC"); placeWall(32, 15, "wallMC"); placeWall(32, 8, "wallMC"); placeWall(35, 24, "wallMC"); } function main() { if ((moveTimer % moveSpeed) == 0) { if (turnQueue.length > 0) { var _local2 = turnQueue.pop(); if ((_local2 % 2) != (currentDirection % 2)) { currentDirection = _local2; } } x = x + xVelocity[currentDirection]; y = y + yVelocity[currentDirection]; moveTimer = 0; if (((((map[x][y] != SNAKE_BLOCK) && (x > -1)) && (x < gameWidth)) && (y > -1)) && (y < gameHeight)) { game.s.attachMovie("snakeMC", snakeBlockCounter, snakeBlockCounter, {_x:x * blockSize, _y:y * blockSize}); game.s[snakeBlockCounter].gotoAndStop(2); game.s[snakeBlockCounter - 1].gotoAndStop(1); snakeBlockCounter++; if (typeof(map[x][y]) == "movieclip") { score = score + 10; scoreTextField.text = "Score: " + score; snakeEraseCounter = snakeEraseCounter - 5; placeFood(map[x][y]); } map[x][y] = SNAKE_BLOCK; var _local1 = game.s[snakeEraseCounter]; if (_local1) { delete map[_local1._x / blockSize][_local1._y / blockSize]; _local1.removeMovieClip(); } snakeEraseCounter++; } else { gameOver(); } } moveTimer++; } function gameOver() { textMC.gotoAndStop("gameOver"); delete game.onEnterFrame; gameRunning = false; } function placeFood(foodMC) { do { var xFood = random(gameWidth); var yFood = random(gameHeight); } while (map[xFood][yFood]); if (foodMC == "new") { foodMC = game.food.attachMovie("foodMC", foodCounter, foodCounter); foodCounter++; } foodMC._x = xFood * blockSize; foodMC._y = yFood * blockSize; map[xFood][yFood] = foodMC; } if ((_root.music == "ON") && (_root.setmusic != "ocean")) { stopAllSounds(); menuMusic = new Sound(); menuMusic.attachSound("ocean"); menuMusic.start(0, 100); _root.setmusic = "ocean"; } blockSize = 8; gameHeight = 30; gameWidth = 45; SNAKE_BLOCK = 1; moveSpeed = 2; keyListener = new Object(); keyListener.onKeyDown = function () { var _local1 = Key.getCode(); if ((_local1 > 36) && (_local1 < 41)) { if (game.onEnterFrame != undefined) { if ((_local1 - 37) != turnQueue[0]) { turnQueue.unshift(_local1 - 37); } } } else if (_local1 == 32) { if (!gameRunning) { startGame(); } } else if (_local1 == 80) { if (gameRunning) { if (game.onEnterFrame) { delete game.onEnterFrame; textMC.gotoAndStop("paused"); } else { game.onEnterFrame = main; textMC.gotoAndStop("hide"); } } } }; Key.addListener(keyListener);
Frame 116
function startGame() { x = int(gameWidth / 2); y = gameHeight - 2; moveTimer = 0; xVelocity = [-1, 0, 1, 0]; yVelocity = [0, -1, 0, 1]; map = new Array(); var _local1 = 0; while (_local1 < gameWidth) { map[_local1] = new Array(); _local1++; } turnQueue = new Array(); game.createEmptyMovieClip("food", 1); game.createEmptyMovieClip("s", 2); scoreTextField.text = "Score: 0"; foodCounter = 0; snakeBlockCounter = 0; currentDirection = 1; snakeEraseCounter = -3; score = 0; placeFood("new"); textMC.gotoAndStop("hide"); game.onEnterFrame = main; gameRunning = true; game.createEmptyMovieClip("wall", 3); wallCounter = 0; placeWall(15, 9, "wallMC"); placeWall(19, 4, "wallMC"); placeWall(9, 13, "wallMC"); placeWall(21, 4, "wallMC"); placeWall(27, 19, "wallMC"); placeWall(7, 5, "wallMC"); placeWall(8, 18, "wallMC"); placeWall(12, 28, "wallMC"); placeWall(30, 25, "wallMC"); placeWall(31, 23, "wallMC"); placeWall(23, 6, "wallMC"); placeWall(33, 17, "wallMC"); placeWall(17, 17, "wallMC"); placeWall(35, 8, "wallMC"); placeWall(21, 29, "wallMC"); placeWall(13, 18, "wallMC"); } function main() { if ((moveTimer % moveSpeed) == 0) { if (turnQueue.length > 0) { var _local2 = turnQueue.pop(); if ((_local2 % 2) != (currentDirection % 2)) { currentDirection = _local2; } } x = x + xVelocity[currentDirection]; y = y + yVelocity[currentDirection]; moveTimer = 0; if (((((map[x][y] != SNAKE_BLOCK) && (x > -1)) && (x < gameWidth)) && (y > -1)) && (y < gameHeight)) { game.s.attachMovie("snakeMC", snakeBlockCounter, snakeBlockCounter, {_x:x * blockSize, _y:y * blockSize}); game.s[snakeBlockCounter].gotoAndStop(2); game.s[snakeBlockCounter - 1].gotoAndStop(1); snakeBlockCounter++; if (typeof(map[x][y]) == "movieclip") { score = score + 10; scoreTextField.text = "Score: " + score; snakeEraseCounter = snakeEraseCounter - 7; placeFood(map[x][y]); } map[x][y] = SNAKE_BLOCK; var _local1 = game.s[snakeEraseCounter]; if (_local1) { delete map[_local1._x / blockSize][_local1._y / blockSize]; _local1.removeMovieClip(); } snakeEraseCounter++; } else { gameOver(); } } moveTimer++; } function gameOver() { textMC.gotoAndStop("gameOver"); delete game.onEnterFrame; gameRunning = false; } function placeFood(foodMC) { do { var xFood = random(gameWidth); var yFood = random(gameHeight); } while (map[xFood][yFood]); if (foodMC == "new") { foodMC = game.food.attachMovie("foodMC", foodCounter, foodCounter); foodCounter++; } foodMC._x = xFood * blockSize; foodMC._y = yFood * blockSize; map[xFood][yFood] = foodMC; } if ((_root.music == "ON") && (_root.setmusic != "muziek")) { stopAllSounds(); menuMusic = new Sound(); menuMusic.attachSound("muziek"); menuMusic.start(0, 100); _root.setmusic = "muziek"; } blockSize = 8; gameHeight = 30; gameWidth = 45; SNAKE_BLOCK = 1; moveSpeed = 2; keyListener = new Object(); keyListener.onKeyDown = function () { var _local1 = Key.getCode(); if ((_local1 > 36) && (_local1 < 41)) { if (game.onEnterFrame != undefined) { if ((_local1 - 37) != turnQueue[0]) { turnQueue.unshift(_local1 - 37); } } } else if (_local1 == 32) { if (!gameRunning) { startGame(); } } else if (_local1 == 80) { if (gameRunning) { if (game.onEnterFrame) { delete game.onEnterFrame; textMC.gotoAndStop("paused"); } else { game.onEnterFrame = main; textMC.gotoAndStop("hide"); } } } }; Key.addListener(keyListener);
Frame 117
function startGame() { x = int(gameWidth / 2); y = gameHeight - 2; moveTimer = 0; xVelocity = [-1, 0, 1, 0]; yVelocity = [0, -1, 0, 1]; map = new Array(); var _local1 = 0; while (_local1 < gameWidth) { map[_local1] = new Array(); _local1++; } turnQueue = new Array(); game.createEmptyMovieClip("food", 1); game.createEmptyMovieClip("s", 2); scoreTextField.text = "Score: 0"; foodCounter = 0; snakeBlockCounter = 0; currentDirection = 1; snakeEraseCounter = -1; score = 0; placeFood("new"); textMC.gotoAndStop("hide"); game.onEnterFrame = main; gameRunning = true; game.createEmptyMovieClip("wall", 3); wallCounter = 0; placeWall(5, 5, "wallMC"); placeWall(6, 5, "wallMC"); placeWall(7, 5, "wallMC"); placeWall(8, 5, "wallMC"); placeWall(9, 5, "wallMC"); placeWall(10, 5, "wallMC"); placeWall(11, 5, "wallMC"); placeWall(12, 5, "wallMC"); placeWall(13, 5, "wallMC"); placeWall(14, 5, "wallMC"); placeWall(5, 6, "wallMC"); placeWall(5, 7, "wallMC"); placeWall(5, 8, "wallMC"); placeWall(5, 9, "wallMC"); placeWall(5, 10, "wallMC"); placeWall(5, 11, "wallMC"); placeWall(39, 11, "wallMC"); placeWall(39, 10, "wallMC"); placeWall(39, 9, "wallMC"); placeWall(39, 8, "wallMC"); placeWall(39, 7, "wallMC"); placeWall(39, 6, "wallMC"); placeWall(30, 5, "wallMC"); placeWall(31, 5, "wallMC"); placeWall(32, 5, "wallMC"); placeWall(33, 5, "wallMC"); placeWall(34, 5, "wallMC"); placeWall(35, 5, "wallMC"); placeWall(36, 5, "wallMC"); placeWall(37, 5, "wallMC"); placeWall(38, 5, "wallMC"); placeWall(39, 5, "wallMC"); placeWall(5, 24, "wallMC"); placeWall(6, 24, "wallMC"); placeWall(7, 24, "wallMC"); placeWall(8, 24, "wallMC"); placeWall(9, 24, "wallMC"); placeWall(10, 24, "wallMC"); placeWall(11, 24, "wallMC"); placeWall(12, 24, "wallMC"); placeWall(13, 24, "wallMC"); placeWall(14, 24, "wallMC"); placeWall(5, 23, "wallMC"); placeWall(5, 22, "wallMC"); placeWall(5, 21, "wallMC"); placeWall(5, 20, "wallMC"); placeWall(5, 19, "wallMC"); placeWall(5, 18, "wallMC"); placeWall(39, 18, "wallMC"); placeWall(39, 19, "wallMC"); placeWall(39, 20, "wallMC"); placeWall(39, 21, "wallMC"); placeWall(39, 22, "wallMC"); placeWall(39, 23, "wallMC"); placeWall(30, 24, "wallMC"); placeWall(31, 24, "wallMC"); placeWall(32, 24, "wallMC"); placeWall(33, 24, "wallMC"); placeWall(34, 24, "wallMC"); placeWall(35, 24, "wallMC"); placeWall(36, 24, "wallMC"); placeWall(37, 24, "wallMC"); placeWall(38, 24, "wallMC"); placeWall(39, 24, "wallMC"); } function main() { if ((moveTimer % moveSpeed) == 0) { if (turnQueue.length > 0) { var _local2 = turnQueue.pop(); if ((_local2 % 2) != (currentDirection % 2)) { currentDirection = _local2; } } x = x + xVelocity[currentDirection]; y = y + yVelocity[currentDirection]; moveTimer = 0; if (((((map[x][y] != SNAKE_BLOCK) && (x > -1)) && (x < gameWidth)) && (y > -1)) && (y < gameHeight)) { game.s.attachMovie("snakeMC", snakeBlockCounter, snakeBlockCounter, {_x:x * blockSize, _y:y * blockSize}); game.s[snakeBlockCounter].gotoAndStop(2); game.s[snakeBlockCounter - 1].gotoAndStop(1); snakeBlockCounter++; if (typeof(map[x][y]) == "movieclip") { score = score + 10; scoreTextField.text = "Score: " + score; snakeEraseCounter = snakeEraseCounter - 8; placeFood(map[x][y]); } map[x][y] = SNAKE_BLOCK; var _local1 = game.s[snakeEraseCounter]; if (_local1) { delete map[_local1._x / blockSize][_local1._y / blockSize]; _local1.removeMovieClip(); } snakeEraseCounter++; } else { gameOver(); } } moveTimer++; } function gameOver() { textMC.gotoAndStop("gameOver"); delete game.onEnterFrame; gameRunning = false; } function placeFood(foodMC) { do { var xFood = random(gameWidth); var yFood = random(gameHeight); } while (map[xFood][yFood]); if (foodMC == "new") { foodMC = game.food.attachMovie("foodMC", foodCounter, foodCounter); foodCounter++; } foodMC._x = xFood * blockSize; foodMC._y = yFood * blockSize; map[xFood][yFood] = foodMC; } if ((_root.music == "ON") && (_root.setmusic != "pokemon")) { stopAllSounds(); menuMusic = new Sound(); menuMusic.attachSound("pokemon"); menuMusic.start(0, 100); _root.setmusic = "pokemon"; } blockSize = 8; gameHeight = 30; gameWidth = 45; SNAKE_BLOCK = 1; moveSpeed = 1; keyListener = new Object(); keyListener.onKeyDown = function () { var _local1 = Key.getCode(); if ((_local1 > 36) && (_local1 < 41)) { if (game.onEnterFrame != undefined) { if ((_local1 - 37) != turnQueue[0]) { turnQueue.unshift(_local1 - 37); } } } else if (_local1 == 32) { if (!gameRunning) { startGame(); } } else if (_local1 == 80) { if (gameRunning) { if (game.onEnterFrame) { delete game.onEnterFrame; textMC.gotoAndStop("paused"); } else { game.onEnterFrame = main; textMC.gotoAndStop("hide"); } } } }; Key.addListener(keyListener);
Frame 118
function startGame() { x = int(gameWidth / 2); y = gameHeight - 2; moveTimer = 0; xVelocity = [-1, 0, 1, 0]; yVelocity = [0, -1, 0, 1]; map = new Array(); var _local1 = 0; while (_local1 < gameWidth) { map[_local1] = new Array(); _local1++; } turnQueue = new Array(); game.createEmptyMovieClip("food", 1); game.createEmptyMovieClip("s", 2); scoreTextField.text = "Score: 0"; foodCounter = 0; snakeBlockCounter = 0; currentDirection = 1; snakeEraseCounter = -1; score = 0; placeFood("new"); textMC.gotoAndStop("hide"); game.onEnterFrame = main; gameRunning = true; game.createEmptyMovieClip("wall", 3); wallCounter = 0; placeWall(0, 0, "wallMC"); placeWall(0, 1, "wallMC"); placeWall(1, 0, "wallMC"); placeWall(1, 1, "wallMC"); placeWall(43, 0, "wallMC"); placeWall(44, 0, "wallMC"); placeWall(43, 1, "wallMC"); placeWall(44, 1, "wallMC"); placeWall(0, 28, "wallMC"); placeWall(0, 29, "wallMC"); placeWall(1, 28, "wallMC"); placeWall(1, 29, "wallMC"); placeWall(43, 28, "wallMC"); placeWall(43, 29, "wallMC"); placeWall(44, 28, "wallMC"); placeWall(44, 29, "wallMC"); placeWall(21, 0, "wallMC"); placeWall(21, 1, "wallMC"); placeWall(21, 2, "wallMC"); placeWall(21, 3, "wallMC"); placeWall(21, 4, "wallMC"); placeWall(21, 5, "wallMC"); placeWall(21, 6, "wallMC"); placeWall(21, 9, "wallMC"); placeWall(21, 10, "wallMC"); placeWall(21, 11, "wallMC"); placeWall(21, 12, "wallMC"); placeWall(21, 13, "wallMC"); placeWall(21, 14, "wallMC"); placeWall(21, 15, "wallMC"); placeWall(21, 16, "wallMC"); placeWall(21, 17, "wallMC"); placeWall(21, 18, "wallMC"); placeWall(21, 19, "wallMC"); placeWall(21, 20, "wallMC"); placeWall(21, 23, "wallMC"); placeWall(21, 24, "wallMC"); placeWall(21, 25, "wallMC"); placeWall(21, 26, "wallMC"); placeWall(21, 27, "wallMC"); placeWall(21, 28, "wallMC"); placeWall(21, 29, "wallMC"); placeWall(22, 15, "wallMC"); placeWall(23, 15, "wallMC"); placeWall(24, 15, "wallMC"); placeWall(25, 15, "wallMC"); placeWall(26, 15, "wallMC"); placeWall(27, 15, "wallMC"); placeWall(28, 15, "wallMC"); placeWall(29, 15, "wallMC"); placeWall(30, 15, "wallMC"); placeWall(31, 15, "wallMC"); placeWall(32, 15, "wallMC"); placeWall(33, 15, "wallMC"); placeWall(34, 15, "wallMC"); placeWall(35, 15, "wallMC"); placeWall(36, 15, "wallMC"); placeWall(37, 15, "wallMC"); placeWall(38, 15, "wallMC"); placeWall(39, 15, "wallMC"); placeWall(40, 15, "wallMC"); placeWall(41, 15, "wallMC"); placeWall(42, 15, "wallMC"); placeWall(43, 15, "wallMC"); placeWall(44, 15, "wallMC"); } function main() { if ((moveTimer % moveSpeed) == 0) { if (turnQueue.length > 0) { var _local2 = turnQueue.pop(); if ((_local2 % 2) != (currentDirection % 2)) { currentDirection = _local2; } } x = x + xVelocity[currentDirection]; y = y + yVelocity[currentDirection]; moveTimer = 0; if (((((map[x][y] != SNAKE_BLOCK) && (x > -1)) && (x < gameWidth)) && (y > -1)) && (y < gameHeight)) { game.s.attachMovie("snakeMC", snakeBlockCounter, snakeBlockCounter, {_x:x * blockSize, _y:y * blockSize}); game.s[snakeBlockCounter].gotoAndStop(2); game.s[snakeBlockCounter - 1].gotoAndStop(1); snakeBlockCounter++; if (typeof(map[x][y]) == "movieclip") { score = score + 10; scoreTextField.text = "Score: " + score; snakeEraseCounter = snakeEraseCounter - 8; placeFood(map[x][y]); } map[x][y] = SNAKE_BLOCK; var _local1 = game.s[snakeEraseCounter]; if (_local1) { delete map[_local1._x / blockSize][_local1._y / blockSize]; _local1.removeMovieClip(); } snakeEraseCounter++; } else { gameOver(); } } moveTimer++; } function gameOver() { textMC.gotoAndStop("gameOver"); delete game.onEnterFrame; gameRunning = false; } function placeFood(foodMC) { do { var xFood = random(gameWidth); var yFood = random(gameHeight); } while (map[xFood][yFood]); if (foodMC == "new") { foodMC = game.food.attachMovie("foodMC", foodCounter, foodCounter); foodCounter++; } foodMC._x = xFood * blockSize; foodMC._y = yFood * blockSize; map[xFood][yFood] = foodMC; } if ((_root.music == "ON") && (_root.setmusic != "starfox")) { stopAllSounds(); menuMusic = new Sound(); menuMusic.attachSound("starfox"); menuMusic.start(0, 100); _root.setmusic = "starfox"; } blockSize = 8; gameHeight = 30; gameWidth = 45; SNAKE_BLOCK = 1; moveSpeed = 1; keyListener = new Object(); keyListener.onKeyDown = function () { var _local1 = Key.getCode(); if ((_local1 > 36) && (_local1 < 41)) { if (game.onEnterFrame != undefined) { if ((_local1 - 37) != turnQueue[0]) { turnQueue.unshift(_local1 - 37); } } } else if (_local1 == 32) { if (!gameRunning) { startGame(); } } else if (_local1 == 80) { if (gameRunning) { if (game.onEnterFrame) { delete game.onEnterFrame; textMC.gotoAndStop("paused"); } else { game.onEnterFrame = main; textMC.gotoAndStop("hide"); } } } }; Key.addListener(keyListener);
Frame 119
function startGame() { x = int(gameWidth / 2); y = gameHeight - 2; moveTimer = 0; xVelocity = [-1, 0, 1, 0]; yVelocity = [0, -1, 0, 1]; map = new Array(); var _local1 = 0; while (_local1 < gameWidth) { map[_local1] = new Array(); _local1++; } turnQueue = new Array(); game.createEmptyMovieClip("food", 1); game.createEmptyMovieClip("s", 2); scoreTextField.text = "Score: 0"; foodCounter = 0; snakeBlockCounter = 0; currentDirection = 1; snakeEraseCounter = -1; score = 0; placeFood("new"); textMC.gotoAndStop("hide"); game.onEnterFrame = main; gameRunning = true; game.createEmptyMovieClip("wall", 3); wallCounter = 0; placeWall(0, 0, "wallMC"); placeWall(0, 1, "wallMC"); placeWall(1, 0, "wallMC"); placeWall(1, 1, "wallMC"); placeWall(43, 0, "wallMC"); placeWall(44, 0, "wallMC"); placeWall(43, 1, "wallMC"); placeWall(44, 1, "wallMC"); placeWall(0, 28, "wallMC"); placeWall(0, 29, "wallMC"); placeWall(1, 28, "wallMC"); placeWall(1, 29, "wallMC"); placeWall(43, 28, "wallMC"); placeWall(43, 29, "wallMC"); placeWall(44, 28, "wallMC"); placeWall(44, 29, "wallMC"); placeWall(21, 15, "wallMC"); placeWall(21, 16, "wallMC"); placeWall(21, 17, "wallMC"); placeWall(21, 18, "wallMC"); placeWall(21, 19, "wallMC"); placeWall(21, 20, "wallMC"); placeWall(21, 23, "wallMC"); placeWall(21, 24, "wallMC"); placeWall(21, 25, "wallMC"); placeWall(21, 26, "wallMC"); placeWall(21, 27, "wallMC"); placeWall(21, 28, "wallMC"); placeWall(21, 29, "wallMC"); placeWall(22, 15, "wallMC"); placeWall(23, 15, "wallMC"); placeWall(24, 15, "wallMC"); placeWall(25, 15, "wallMC"); placeWall(26, 15, "wallMC"); placeWall(27, 15, "wallMC"); placeWall(28, 15, "wallMC"); placeWall(29, 15, "wallMC"); placeWall(30, 15, "wallMC"); placeWall(31, 15, "wallMC"); placeWall(32, 15, "wallMC"); placeWall(33, 15, "wallMC"); placeWall(34, 15, "wallMC"); placeWall(35, 15, "wallMC"); placeWall(36, 15, "wallMC"); placeWall(37, 15, "wallMC"); placeWall(38, 15, "wallMC"); placeWall(39, 15, "wallMC"); placeWall(40, 15, "wallMC"); placeWall(41, 15, "wallMC"); placeWall(42, 15, "wallMC"); placeWall(43, 15, "wallMC"); placeWall(44, 15, "wallMC"); } function main() { if ((moveTimer % moveSpeed) == 0) { if (turnQueue.length > 0) { var _local2 = turnQueue.pop(); if ((_local2 % 2) != (currentDirection % 2)) { currentDirection = _local2; } } x = x + xVelocity[currentDirection]; y = y + yVelocity[currentDirection]; moveTimer = 0; if (((((map[x][y] != SNAKE_BLOCK) && (x > -1)) && (x < gameWidth)) && (y > -1)) && (y < gameHeight)) { game.s.attachMovie("snakeMC", snakeBlockCounter, snakeBlockCounter, {_x:x * blockSize, _y:y * blockSize}); game.s[snakeBlockCounter].gotoAndStop(2); game.s[snakeBlockCounter - 1].gotoAndStop(1); snakeBlockCounter++; if (typeof(map[x][y]) == "movieclip") { score = score + 10; scoreTextField.text = "Score: " + score; snakeEraseCounter = snakeEraseCounter - 8; placeFood(map[x][y]); } map[x][y] = SNAKE_BLOCK; var _local1 = game.s[snakeEraseCounter]; if (_local1) { delete map[_local1._x / blockSize][_local1._y / blockSize]; _local1.removeMovieClip(); } snakeEraseCounter++; } else { gameOver(); } } moveTimer++; } function gameOver() { textMC.gotoAndStop("gameOver"); delete game.onEnterFrame; gameRunning = false; } function placeFood(foodMC) { do { var xFood = random(gameWidth); var yFood = random(gameHeight); } while (map[xFood][yFood]); if (foodMC == "new") { foodMC = game.food.attachMovie("foodMC", foodCounter, foodCounter); foodCounter++; } foodMC._x = xFood * blockSize; foodMC._y = yFood * blockSize; map[xFood][yFood] = foodMC; } if ((_root.music == "ON") && (_root.setmusic != "muziek")) { stopAllSounds(); menuMusic = new Sound(); menuMusic.attachSound("muziek"); menuMusic.start(0, 100); _root.setmusic = "muziek"; } blockSize = 8; gameHeight = 30; gameWidth = 45; SNAKE_BLOCK = 1; moveSpeed = 2; keyListener = new Object(); keyListener.onKeyDown = function () { var _local1 = Key.getCode(); if ((_local1 > 36) && (_local1 < 41)) { if (game.onEnterFrame != undefined) { if ((_local1 - 37) != turnQueue[0]) { turnQueue.unshift(_local1 - 37); } } } else if (_local1 == 32) { if (!gameRunning) { startGame(); } } else if (_local1 == 80) { if (gameRunning) { if (game.onEnterFrame) { delete game.onEnterFrame; textMC.gotoAndStop("paused"); } else { game.onEnterFrame = main; textMC.gotoAndStop("hide"); } } } }; Key.addListener(keyListener);
Frame 120
function startGame() { x = int(gameWidth / 2); y = gameHeight - 2; moveTimer = 0; xVelocity = [-1, 0, 1, 0]; yVelocity = [0, -1, 0, 1]; map = new Array(); var _local1 = 0; while (_local1 < gameWidth) { map[_local1] = new Array(); _local1++; } turnQueue = new Array(); game.createEmptyMovieClip("food", 1); game.createEmptyMovieClip("s", 2); scoreTextField.text = "Score: 0"; foodCounter = 0; snakeBlockCounter = 0; currentDirection = 1; snakeEraseCounter = -1; score = 0; placeFood("new"); textMC.gotoAndStop("hide"); game.onEnterFrame = main; gameRunning = true; game.createEmptyMovieClip("wall", 3); wallCounter = 0; placeWall(4, 10, "wallMC"); placeWall(5, 10, "wallMC"); placeWall(6, 10, "wallMC"); placeWall(7, 10, "wallMC"); placeWall(8, 10, "wallMC"); placeWall(9, 10, "wallMC"); placeWall(10, 10, "wallMC"); placeWall(11, 10, "wallMC"); placeWall(12, 10, "wallMC"); placeWall(13, 10, "wallMC"); placeWall(14, 10, "wallMC"); placeWall(15, 10, "wallMC"); placeWall(4, 27, "wallMC"); placeWall(5, 27, "wallMC"); placeWall(6, 27, "wallMC"); placeWall(7, 27, "wallMC"); placeWall(8, 27, "wallMC"); placeWall(9, 27, "wallMC"); placeWall(10, 27, "wallMC"); placeWall(11, 27, "wallMC"); placeWall(12, 27, "wallMC"); placeWall(13, 27, "wallMC"); placeWall(14, 27, "wallMC"); placeWall(15, 27, "wallMC"); placeWall(41, 17, "wallMC"); placeWall(40, 17, "wallMC"); placeWall(39, 17, "wallMC"); placeWall(38, 17, "wallMC"); placeWall(37, 17, "wallMC"); placeWall(36, 17, "wallMC"); placeWall(35, 17, "wallMC"); placeWall(34, 17, "wallMC"); placeWall(33, 17, "wallMC"); placeWall(32, 17, "wallMC"); placeWall(31, 17, "wallMC"); placeWall(30, 17, "wallMC"); } function main() { if ((moveTimer % moveSpeed) == 0) { if (turnQueue.length > 0) { var _local2 = turnQueue.pop(); if ((_local2 % 2) != (currentDirection % 2)) { currentDirection = _local2; } } x = x + xVelocity[currentDirection]; y = y + yVelocity[currentDirection]; moveTimer = 0; if (((((map[x][y] != SNAKE_BLOCK) && (x > -1)) && (x < gameWidth)) && (y > -1)) && (y < gameHeight)) { game.s.attachMovie("snakeMC", snakeBlockCounter, snakeBlockCounter, {_x:x * blockSize, _y:y * blockSize}); game.s[snakeBlockCounter].gotoAndStop(2); game.s[snakeBlockCounter - 1].gotoAndStop(1); snakeBlockCounter++; if (typeof(map[x][y]) == "movieclip") { score = score + 10; scoreTextField.text = "Score: " + score; snakeEraseCounter = snakeEraseCounter - 8; placeFood(map[x][y]); } map[x][y] = SNAKE_BLOCK; var _local1 = game.s[snakeEraseCounter]; if (_local1) { delete map[_local1._x / blockSize][_local1._y / blockSize]; _local1.removeMovieClip(); } snakeEraseCounter++; } else { gameOver(); } } moveTimer++; } function gameOver() { textMC.gotoAndStop("gameOver"); delete game.onEnterFrame; gameRunning = false; } function placeFood(foodMC) { do { var xFood = random(gameWidth); var yFood = random(gameHeight); } while (map[xFood][yFood]); if (foodMC == "new") { foodMC = game.food.attachMovie("foodMC", foodCounter, foodCounter); foodCounter++; } foodMC._x = xFood * blockSize; foodMC._y = yFood * blockSize; map[xFood][yFood] = foodMC; } if ((_root.music == "ON") && (_root.setmusic != "muziek2")) { stopAllSounds(); menuMusic = new Sound(); menuMusic.attachSound("muziek2"); menuMusic.start(0, 100); _root.setmusic = "muziek2"; } blockSize = 8; gameHeight = 30; gameWidth = 45; SNAKE_BLOCK = 1; moveSpeed = 2; keyListener = new Object(); keyListener.onKeyDown = function () { var _local1 = Key.getCode(); if ((_local1 > 36) && (_local1 < 41)) { if (game.onEnterFrame != undefined) { if ((_local1 - 37) != turnQueue[0]) { turnQueue.unshift(_local1 - 37); } } } else if (_local1 == 32) { if (!gameRunning) { startGame(); } } else if (_local1 == 80) { if (gameRunning) { if (game.onEnterFrame) { delete game.onEnterFrame; textMC.gotoAndStop("paused"); } else { game.onEnterFrame = main; textMC.gotoAndStop("hide"); } } } }; Key.addListener(keyListener);
Frame 121
function startGame() { x = int(gameWidth / 2); y = gameHeight - 2; moveTimer = 0; xVelocity = [-1, 0, 1, 0]; yVelocity = [0, -1, 0, 1]; map = new Array(); var _local1 = 0; while (_local1 < gameWidth) { map[_local1] = new Array(); _local1++; } turnQueue = new Array(); game.createEmptyMovieClip("food", 1); game.createEmptyMovieClip("s", 2); scoreTextField.text = "Score: 0"; foodCounter = 0; snakeBlockCounter = 0; currentDirection = 1; snakeEraseCounter = -1; score = 0; placeFood("new"); textMC.gotoAndStop("hide"); game.onEnterFrame = main; gameRunning = true; game.createEmptyMovieClip("wall", 3); wallCounter = 0; placeWall(3, 3, "wallMC"); placeWall(3, 4, "wallMC"); placeWall(3, 5, "wallMC"); placeWall(3, 6, "wallMC"); placeWall(3, 7, "wallMC"); placeWall(3, 8, "wallMC"); placeWall(3, 9, "wallMC"); placeWall(3, 10, "wallMC"); placeWall(3, 11, "wallMC"); placeWall(3, 12, "wallMC"); placeWall(3, 13, "wallMC"); placeWall(3, 14, "wallMC"); placeWall(4, 3, "wallMC"); placeWall(5, 3, "wallMC"); placeWall(6, 3, "wallMC"); placeWall(7, 3, "wallMC"); placeWall(8, 3, "wallMC"); placeWall(9, 3, "wallMC"); placeWall(10, 3, "wallMC"); placeWall(11, 3, "wallMC"); placeWall(12, 3, "wallMC"); placeWall(13, 3, "wallMC"); placeWall(13, 2, "wallMC"); placeWall(13, 4, "wallMC"); placeWall(13, 15, "wallMC"); placeWall(13, 16, "wallMC"); placeWall(13, 17, "wallMC"); placeWall(13, 18, "wallMC"); placeWall(13, 19, "wallMC"); placeWall(13, 20, "wallMC"); placeWall(13, 21, "wallMC"); placeWall(13, 22, "wallMC"); placeWall(13, 23, "wallMC"); placeWall(13, 24, "wallMC"); placeWall(13, 25, "wallMC"); placeWall(13, 26, "wallMC"); placeWall(3, 15, "wallMC"); placeWall(4, 15, "wallMC"); placeWall(5, 15, "wallMC"); placeWall(6, 15, "wallMC"); placeWall(7, 15, "wallMC"); placeWall(8, 15, "wallMC"); placeWall(9, 15, "wallMC"); placeWall(10, 15, "wallMC"); placeWall(11, 15, "wallMC"); placeWall(12, 15, "wallMC"); placeWall(13, 15, "wallMC"); placeWall(3, 27, "wallMC"); placeWall(4, 27, "wallMC"); placeWall(5, 27, "wallMC"); placeWall(6, 27, "wallMC"); placeWall(7, 27, "wallMC"); placeWall(8, 27, "wallMC"); placeWall(9, 27, "wallMC"); placeWall(10, 27, "wallMC"); placeWall(11, 27, "wallMC"); placeWall(12, 27, "wallMC"); placeWall(13, 27, "wallMC"); placeWall(3, 26, "wallMC"); placeWall(3, 28, "wallMC"); placeWall(31, 3, "wallMC"); placeWall(31, 4, "wallMC"); placeWall(31, 5, "wallMC"); placeWall(31, 6, "wallMC"); placeWall(31, 7, "wallMC"); placeWall(31, 8, "wallMC"); placeWall(31, 9, "wallMC"); placeWall(31, 10, "wallMC"); placeWall(31, 11, "wallMC"); placeWall(31, 12, "wallMC"); placeWall(31, 13, "wallMC"); placeWall(31, 14, "wallMC"); placeWall(31, 15, "wallMC"); placeWall(31, 3, "wallMC"); placeWall(32, 3, "wallMC"); placeWall(33, 3, "wallMC"); placeWall(34, 3, "wallMC"); placeWall(35, 3, "wallMC"); placeWall(36, 3, "wallMC"); placeWall(37, 3, "wallMC"); placeWall(38, 3, "wallMC"); placeWall(39, 3, "wallMC"); placeWall(40, 3, "wallMC"); placeWall(41, 2, "wallMC"); placeWall(41, 3, "wallMC"); placeWall(41, 4, "wallMC"); placeWall(31, 15, "wallMC"); placeWall(32, 15, "wallMC"); placeWall(33, 15, "wallMC"); placeWall(34, 15, "wallMC"); placeWall(35, 15, "wallMC"); placeWall(36, 15, "wallMC"); placeWall(37, 15, "wallMC"); placeWall(38, 15, "wallMC"); placeWall(39, 15, "wallMC"); placeWall(40, 15, "wallMC"); placeWall(41, 15, "wallMC"); placeWall(41, 15, "wallMC"); placeWall(41, 16, "wallMC"); placeWall(41, 17, "wallMC"); placeWall(41, 18, "wallMC"); placeWall(41, 19, "wallMC"); placeWall(41, 20, "wallMC"); placeWall(41, 21, "wallMC"); placeWall(41, 22, "wallMC"); placeWall(41, 23, "wallMC"); placeWall(41, 24, "wallMC"); placeWall(41, 25, "wallMC"); placeWall(41, 26, "wallMC"); placeWall(41, 27, "wallMC"); placeWall(31, 27, "wallMC"); placeWall(32, 27, "wallMC"); placeWall(33, 27, "wallMC"); placeWall(34, 27, "wallMC"); placeWall(35, 27, "wallMC"); placeWall(36, 27, "wallMC"); placeWall(37, 27, "wallMC"); placeWall(38, 27, "wallMC"); placeWall(39, 27, "wallMC"); placeWall(40, 27, "wallMC"); placeWall(41, 27, "wallMC"); placeWall(31, 26, "wallMC"); placeWall(31, 28, "wallMC"); } function main() { if ((moveTimer % moveSpeed) == 0) { if (turnQueue.length > 0) { var _local2 = turnQueue.pop(); if ((_local2 % 2) != (currentDirection % 2)) { currentDirection = _local2; } } x = x + xVelocity[currentDirection]; y = y + yVelocity[currentDirection]; moveTimer = 0; if (((((map[x][y] != SNAKE_BLOCK) && (x > -1)) && (x < gameWidth)) && (y > -1)) && (y < gameHeight)) { game.s.attachMovie("snakeMC", snakeBlockCounter, snakeBlockCounter, {_x:x * blockSize, _y:y * blockSize}); game.s[snakeBlockCounter].gotoAndStop(2); game.s[snakeBlockCounter - 1].gotoAndStop(1); snakeBlockCounter++; if (typeof(map[x][y]) == "movieclip") { score = score + 10; scoreTextField.text = "Score: " + score; snakeEraseCounter = snakeEraseCounter - 12; placeFood(map[x][y]); } map[x][y] = SNAKE_BLOCK; var _local1 = game.s[snakeEraseCounter]; if (_local1) { delete map[_local1._x / blockSize][_local1._y / blockSize]; _local1.removeMovieClip(); } snakeEraseCounter++; } else { gameOver(); } } moveTimer++; } function gameOver() { textMC.gotoAndStop("gameOver"); delete game.onEnterFrame; gameRunning = false; } function placeFood(foodMC) { do { var xFood = random(gameWidth); var yFood = random(gameHeight); } while (map[xFood][yFood]); if (foodMC == "new") { foodMC = game.food.attachMovie("foodMC", foodCounter, foodCounter); foodCounter++; } foodMC._x = xFood * blockSize; foodMC._y = yFood * blockSize; map[xFood][yFood] = foodMC; } if ((_root.music == "ON") && (_root.setmusic != "seagal")) { stopAllSounds(); menuMusic = new Sound(); menuMusic.attachSound("seagal"); menuMusic.start(0, 100); _root.setmusic = "seagal"; } blockSize = 8; gameHeight = 30; gameWidth = 45; SNAKE_BLOCK = 1; moveSpeed = 2; keyListener = new Object(); keyListener.onKeyDown = function () { var _local1 = Key.getCode(); if ((_local1 > 36) && (_local1 < 41)) { if (game.onEnterFrame != undefined) { if ((_local1 - 37) != turnQueue[0]) { turnQueue.unshift(_local1 - 37); } } } else if (_local1 == 32) { if (!gameRunning) { startGame(); } } else if (_local1 == 80) { if (gameRunning) { if (game.onEnterFrame) { delete game.onEnterFrame; textMC.gotoAndStop("paused"); } else { game.onEnterFrame = main; textMC.gotoAndStop("hide"); } } } }; Key.addListener(keyListener);
Symbol 3 MovieClip [snakeMC] Frame 1
stop();
Symbol 3 MovieClip [snakeMC] Frame 2
stop();
Symbol 12 MovieClip [RemotingDebugClasses] Frame 1
#initclip 57 Object.registerClass("RemotingDebugClasses", mx.remoting.DebugClasses); #endinitclip preview._visible = false; stop();
Symbol 57 MovieClip [RemotingClasses] Frame 1
#initclip 58 Object.registerClass("RemotingClasses", mx.remoting.ApiClasses); #endinitclip preview._visible = false; stop();
Symbol 77 MovieClip Frame 1
stop();
Instance of Symbol 75 MovieClip in Symbol 77 MovieClip Frame 1
onClipEvent (enterFrame) { loadProgress = Math.round((_root.getBytesLoaded() / _root.getBytesTotal()) * 100); this._alpha = 16 * loadProgress; if (loadProgress >= 5) { gotoAndStop (2); } }
Symbol 77 MovieClip Frame 2
stop();
Instance of Symbol 75 MovieClip in Symbol 77 MovieClip Frame 2
onClipEvent (enterFrame) { loadProgress = Math.round((_root.getBytesLoaded() / _root.getBytesTotal()) * 100) - 5; this._alpha = 16 * loadProgress; if (loadProgress >= 5) { nextFrame(); } }
Symbol 77 MovieClip Frame 3
stop();
Instance of Symbol 75 MovieClip in Symbol 77 MovieClip Frame 3
onClipEvent (enterFrame) { loadProgress = Math.round((_root.getBytesLoaded() / _root.getBytesTotal()) * 100) - 10; this._alpha = 16 * loadProgress; if (loadProgress >= 5) { nextFrame(); } }
Symbol 77 MovieClip Frame 4
stop();
Instance of Symbol 75 MovieClip in Symbol 77 MovieClip Frame 4
onClipEvent (enterFrame) { loadProgress = Math.round((_root.getBytesLoaded() / _root.getBytesTotal()) * 100) - 15; this._alpha = 16 * loadProgress; if (loadProgress >= 5) { nextFrame(); } }
Symbol 77 MovieClip Frame 5
stop();
Instance of Symbol 75 MovieClip in Symbol 77 MovieClip Frame 5
onClipEvent (enterFrame) { loadProgress = Math.round((_root.getBytesLoaded() / _root.getBytesTotal()) * 100) - 20; this._alpha = 16 * loadProgress; if (loadProgress >= 5) { nextFrame(); } }
Symbol 77 MovieClip Frame 6
stop();
Instance of Symbol 75 MovieClip in Symbol 77 MovieClip Frame 6
onClipEvent (enterFrame) { loadProgress = Math.round((_root.getBytesLoaded() / _root.getBytesTotal()) * 100) - 25; this._alpha = 16 * loadProgress; if (loadProgress >= 5) { nextFrame(); } }
Symbol 77 MovieClip Frame 7
stop();
Instance of Symbol 75 MovieClip in Symbol 77 MovieClip Frame 7
onClipEvent (enterFrame) { loadProgress = Math.round((_root.getBytesLoaded() / _root.getBytesTotal()) * 100) - 30; this._alpha = 16 * loadProgress; if (loadProgress >= 5) { nextFrame(); } }
Symbol 77 MovieClip Frame 8
stop();
Instance of Symbol 75 MovieClip in Symbol 77 MovieClip Frame 8
onClipEvent (enterFrame) { loadProgress = Math.round((_root.getBytesLoaded() / _root.getBytesTotal()) * 100) - 35; this._alpha = 16 * loadProgress; if (loadProgress >= 5) { nextFrame(); } }
Symbol 77 MovieClip Frame 9
stop();
Instance of Symbol 75 MovieClip in Symbol 77 MovieClip Frame 9
onClipEvent (enterFrame) { loadProgress = Math.round((_root.getBytesLoaded() / _root.getBytesTotal()) * 100) - 40; this._alpha = 16 * loadProgress; if (loadProgress >= 5) { nextFrame(); } }
Symbol 77 MovieClip Frame 10
stop();
Instance of Symbol 75 MovieClip in Symbol 77 MovieClip Frame 10
onClipEvent (enterFrame) { loadProgress = Math.round((_root.getBytesLoaded() / _root.getBytesTotal()) * 100) - 45; this._alpha = 16 * loadProgress; if (loadProgress >= 5) { nextFrame(); } }
Symbol 77 MovieClip Frame 11
stop();
Instance of Symbol 75 MovieClip in Symbol 77 MovieClip Frame 11
onClipEvent (enterFrame) { loadProgress = Math.round((_root.getBytesLoaded() / _root.getBytesTotal()) * 100) - 50; this._alpha = 16 * loadProgress; if (loadProgress >= 5) { nextFrame(); } }
Symbol 77 MovieClip Frame 12
stop();
Instance of Symbol 75 MovieClip in Symbol 77 MovieClip Frame 12
onClipEvent (enterFrame) { loadProgress = Math.round((_root.getBytesLoaded() / _root.getBytesTotal()) * 100) - 55; this._alpha = 16 * loadProgress; if (loadProgress >= 5) { nextFrame(); } }
Symbol 77 MovieClip Frame 13
stop();
Instance of Symbol 75 MovieClip in Symbol 77 MovieClip Frame 13
onClipEvent (enterFrame) { loadProgress = Math.round((_root.getBytesLoaded() / _root.getBytesTotal()) * 100) - 60; this._alpha = 16 * loadProgress; if (loadProgress >= 5) { nextFrame(); } }
Symbol 77 MovieClip Frame 14
stop();
Instance of Symbol 75 MovieClip in Symbol 77 MovieClip Frame 14
onClipEvent (enterFrame) { loadProgress = Math.round((_root.getBytesLoaded() / _root.getBytesTotal()) * 100) - 65; this._alpha = 16 * loadProgress; if (loadProgress >= 5) { nextFrame(); } }
Symbol 77 MovieClip Frame 15
stop();
Instance of Symbol 75 MovieClip in Symbol 77 MovieClip Frame 15
onClipEvent (enterFrame) { loadProgress = Math.round((_root.getBytesLoaded() / _root.getBytesTotal()) * 100) - 70; this._alpha = 16 * loadProgress; if (loadProgress >= 5) { nextFrame(); } }
Symbol 77 MovieClip Frame 16
stop();
Instance of Symbol 75 MovieClip in Symbol 77 MovieClip Frame 16
onClipEvent (enterFrame) { loadProgress = Math.round((_root.getBytesLoaded() / _root.getBytesTotal()) * 100) - 75; this._alpha = 16 * loadProgress; if (loadProgress >= 5) { nextFrame(); } }
Symbol 77 MovieClip Frame 17
stop();
Instance of Symbol 75 MovieClip in Symbol 77 MovieClip Frame 17
onClipEvent (enterFrame) { loadProgress = Math.round((_root.getBytesLoaded() / _root.getBytesTotal()) * 100) - 80; this._alpha = 16 * loadProgress; if (loadProgress >= 5) { nextFrame(); } }
Symbol 77 MovieClip Frame 18
stop();
Instance of Symbol 75 MovieClip in Symbol 77 MovieClip Frame 18
onClipEvent (enterFrame) { loadProgress = Math.round((_root.getBytesLoaded() / _root.getBytesTotal()) * 100) - 85; this._alpha = 16 * loadProgress; if (loadProgress >= 5) { nextFrame(); } }
Symbol 77 MovieClip Frame 19
stop();
Instance of Symbol 75 MovieClip in Symbol 77 MovieClip Frame 19
onClipEvent (enterFrame) { loadProgress = Math.round((_root.getBytesLoaded() / _root.getBytesTotal()) * 100) - 90; this._alpha = 16 * loadProgress; if (loadProgress >= 5) { nextFrame(); } }
Symbol 77 MovieClip Frame 20
stop();
Instance of Symbol 75 MovieClip in Symbol 77 MovieClip Frame 20
onClipEvent (enterFrame) { loadProgress = Math.round((_root.getBytesLoaded() / _root.getBytesTotal()) * 100) - 95; this._alpha = 16 * loadProgress; if (_root.getBytesLoaded() == _root.getBytesTotal()) { _root.gotoAndPlay("loaded"); } }
Symbol 77 MovieClip Frame 21
stop();
Symbol 84 MovieClip Frame 1
var pc = 0; this.onEnterFrame = function () { pc = Math.floor((_root.getBytesLoaded() / _root.getBytesTotal()) * 100); this.pc_txt.text = pc + "%"; this.preloaderBalk.gotoAndStop(Math.floor(pc / 5) + 1); if (pc == 100) { delete this.onEnterFrame; _root.gotoAndStop(2); } };
Symbol 8 MovieClip [__Packages.mx.remoting.DebugClasses] Frame 0
class mx.remoting.DebugClasses extends MovieClip { function DebugClasses () { super(); } }
Symbol 13 MovieClip [__Packages.mx.services.Log] Frame 0
class mx.services.Log { var level, name; function Log (logLevel, name) { level = ((logLevel == undefined) ? (BRIEF) : (logLevel)); this.name = ((name == undefined) ? "" : (name)); } function logInfo(msg, level) { var _local1 = this; var _local2 = level; if (_local2 == undefined) { _local2 = BRIEF; } if (_local2 <= _local1.level) { if (_local2 == DEBUG) { _local1.onLog((((_local1.getDateString() + " [DEBUG] ") + _local1.name) + ": ") + msg); } else { _local1.onLog((((_local1.getDateString() + " [INFO] ") + _local1.name) + ": ") + msg); } } } function logDebug(msg) { logInfo(msg, DEBUG); } function getDateString() { var _local1 = new Date(); return(((((((((_local1.getMonth() + 1) + "/") + _local1.getDate()) + " ") + _local1.getHours()) + ":") + _local1.getMinutes()) + ":") + _local1.getSeconds()); } function onLog(message) { trace(message); } static var NONE = -1; static var BRIEF = 0; static var VERBOSE = 1; static var DEBUG = 2; }
Symbol 14 MovieClip [__Packages.mx.remoting.Connection] Frame 0
class mx.remoting.Connection extends NetConnection { var uri; function Connection () { super(); } function getService(serviceName, client) { var _local1 = new mx.remoting.NetServiceProxy(this, serviceName, client); return(_local1); } function setCredentials(userId, password) { addHeader("Credentials", false, {userid:userId, password:password}); } function clone() { var _local1 = new mx.remoting.Connection(); _local1.connect(uri); return(_local1); } function getDebugId() { return(null); } function getDebugConfig() { return(null); } function setDebugId(id) { } function call() { super.call.apply(super, arguments); } function close() { super.close(); } function connect(url) { return(super.connect(url)); } function addHeader(name, mustUnderstand, obj) { super.addHeader(name, mustUnderstand, obj); } function trace(traceObj) { } function AppendToGatewayUrl(urlSuffix) { var _local1 = this; _local1.__urlSuffix = urlSuffix; if (_local1.__originalUrl == null) { _local1.__originalUrl = _local1.uri; } var _local2 = _local1.__originalUrl + urlSuffix; _local1.connect(_local2); } function ReplaceGatewayUrl(newUrl) { connect(newUrl); } function RequestPersistentHeader(info) { var _local1 = info; addHeader(_local1.name, _local1.mustUnderstand, _local1.data); } static var version = "1.2.0.124"; }
Symbol 15 MovieClip [__Packages.mx.remoting.NetServices] Frame 0
class mx.remoting.NetServices extends Object { static var defaultGatewayUrl, logger, traceNetServices; function NetServices () { super(); } static function setDefaultGatewayUrl(url) { defaultGatewayUrl = url; } static function setGatewayUrl(url) { gatewayUrl = url; } static function createGatewayConnection(url, infoLogger) { var _local1 = url; logger = infoLogger; if (_local1 == undefined) { _local1 = gatewayUrl; if (_local1 == undefined) { _local1 = defaultGatewayUrl; } } if (_local1 == undefined) { trace("NetServices", "warning", 4, "createGatewayConnection - gatewayUrl is undefined"); logger.logInfo(("NetServices: createGatewayConnection - gateway url <" + _local1) + "> is undefined", mx.services.Log.DEBUG); return(null); } var _local2 = new mx.remoting.Connection(); _local2.connect(_local1); __sharedConnections[_local1] = _local2; return(_local2); } static function getConnection(uri) { return(__sharedConnections[uri]); } static function getHostUrl() { var _local2 = _root; if (!isHttpUrl(_local2._url)) { trace("NetServices", "warning", 4, "createGatewayConnection - gatewayUrl is invalid"); return(null); } var _local1 = _local2._url.indexOf("/", 8); if (_local1 < 0) { trace("NetServices", "warning", 4, "createGatewayConnection - gatewayUrl is invalid"); return(null); } return(_local2._url.substring(0, _local1)); } static function isHttpUrl(url) { return((url.indexOf("http://") == 0) || (url.indexOf("https://") == 0)); } static function getHttpUrl(url) { var _local1 = url; if (!isHttpUrl(_local1)) { _local1 = getHostUrl() + _local1; } return(_local1); } static function trace(who, severity, number, message) { traceNetServices(who, severity, number, message); } static var version = "1.2.0.124"; static var gatewayUrl = _root.gatewayUrl; static var __sharedConnections = new Array(); }
Symbol 16 MovieClip [__Packages.mx.data.DataRange] Frame 0
interface mx.data.DataRange{}
Symbol 17 MovieClip [__Packages.mx.data.PageableData] Frame 0
interface mx.data.PageableData{}
Symbol 18 MovieClip [__Packages.mx.data.PageableList] Frame 0
interface mx.data.PageableList{}
Symbol 19 MovieClip [__Packages.mx.events.EventDispatcher] Frame 0
class mx.events.EventDispatcher { function EventDispatcher () { } static function _removeEventListener(queue, event, handler) { var _local3 = queue; if (_local3 != undefined) { var l = _local3.length; var _local1; _local1 = 0; while (_local1 < l) { var _local2 = _local3[_local1]; if (_local2 == handler) { _local3.splice(_local1, 1); return; } _local1++; } } } static function initialize(object) { var _local1 = object; if (_fEventDispatcher == undefined) { _fEventDispatcher = new mx.events.EventDispatcher(); } _local1.addEventListener = _fEventDispatcher.addEventListener; _local1.removeEventListener = _fEventDispatcher.removeEventListener; _local1.dispatchEvent = _fEventDispatcher.dispatchEvent; _local1.dispatchQueue = _fEventDispatcher.dispatchQueue; } function dispatchQueue(queueObj, eventObj) { var _local2 = eventObj; var queueName = ("__q_" + _local2.type); var queue = queueObj[queueName]; if (queue != undefined) { var i; for (i in queue) { var _local1 = queue[i]; var _local3 = typeof(_local1); if ((_local3 == "object") || (_local3 == "movieclip")) { if (_local1.handleEvent != undefined) { _local1.handleEvent(_local2); } if (_local1[_local2.type] != undefined) { if (exceptions[_local2.type] == undefined) { _local1[_local2.type](_local2); } } } else { _local1.apply(queueObj, [_local2]); } } } } function dispatchEvent(eventObj) { var _local1 = eventObj; var _local2 = this; if (_local1.target == undefined) { _local1.target = _local2; } _local2[_local1.type + "Handler"](_local1); _local2.dispatchQueue(_local2, _local1); } function addEventListener(event, handler) { var _local2 = this; var _local1 = "__q_" + event; if (_local2[_local1] == undefined) { _local2[_local1] = new Array(); } _global.ASSetPropFlags(_local2, _local1, 1); _removeEventListener(_local2[_local1], event, handler); _local2[_local1].push(handler); } function removeEventListener(event, handler) { var _local1 = "__q_" + event; _removeEventListener(this[_local1], event, handler); } static var _fEventDispatcher = undefined; static var exceptions = ["move", "draw"]; }
Symbol 20 MovieClip [__Packages.mx.remoting.NetServiceProxy] Frame 0
class mx.remoting.NetServiceProxy extends Object { var nc, client; function NetServiceProxy (netC, servName, cli) { var _local1 = this; super(); if (netC != null) { _local1.nc = netC; _local1.serviceName = servName; _local1.client = cli; } _local1._allowRes = true; } function _setParentService(service) { nc = service.nc; client = service.client; } function __resolve(methodName) { var _local1 = this; var _local2 = arguments; if (_local1._allowRes) { var _local3 = function () { var _local1 = this; var _local2 = arguments; if (_local1.client != null) { _local2.unshift(new mx.remoting.NetServiceProxyResponder(_local1, methodName)); } else if (typeof(_local2[0].onResult) != "function") { mx.remoting.NetServices.trace("NetServices", "warning", 3, "There is no defaultResponder, and no responder was given in call to " + methodName); _local2.unshift(new mx.remoting.NetServiceProxyResponder(_local1, methodName)); } if (typeof(_local1.serviceName) == "function") { _local1.serviceName = _local1.servicename; } _local2.unshift((_local1.serviceName + ".") + methodName); return(_local1.nc.call.apply(_local1.nc, _local2)); }; return(_local3); } return(null); } static function registerNetServiceProxy() { Object.registerClass("NetServiceProxy", mx.remoting.NetServiceProxy); return(true); } static var init = registerNetServiceProxy(); var _allowRes = false; }
Symbol 21 MovieClip [__Packages.mx.utils.Iterator] Frame 0
interface mx.utils.Iterator{}
Symbol 22 MovieClip [__Packages.mx.remoting.RecordSet] Frame 0
class mx.remoting.RecordSet extends Object { var mTitles, _items, mRecordSetID, dispatchEvent, gateway_conn, mDataFetcher; function RecordSet (columnNames) { var _local1 = this; super(); mx.events.EventDispatcher.initialize(_local1); _local1._items = new Array(); _local1.uniqueID = 0; if (_local1.mTitles != null) { } else { if (_local1.serverInfo == null) { if (_local1.serverinfo != null) { _local1.serverInfo = _local1.serverinfo; } } if (_local1.serverInfo == null) { _local1.mTitles = columnNames; } else if (_local1.serverInfo.version != 1) { mx.remoting.NetServices.trace("RecordSet", "warning", 100, "Received incompatible RecordSet version from server"); } else { _local1.mTitles = _local1.serverInfo.columnNames; _local1.mRecordsAvailable = 0; _local1.setData(((_local1.serverInfo.cursor == null) ? 0 : (_local1.serverInfo.cursor - 1)), _local1.serverInfo.initialData); if (_local1.serverInfo.initialData.length != _local1.serverInfo.totalCount) { _local1.mRecordSetID = _local1.serverInfo.id; if (_local1.mRecordSetID != null) { _local1.serviceName = ((_local1.serverInfo.serviceName == null) ? "RecordSet" : (_local1.serverInfo.serviceName)); _local1.mTotalCount = _local1.serverInfo.totalCount; _local1.mDeliveryMode = "ondemand"; _local1.mAllNotified = false; _local1.mOutstandingRecordCount = 0; } else { mx.remoting.NetServices.trace("RecordSet", "warning", 102, "Missing some records, but there's no RecordSet id"); } } _local1.serverInfo = null; } } } function addItem(item) { addItemAt(length, item); } function addItemAt(index, item) { var _local1 = index; var _local2 = this; var _local3 = true; if ((_local1 < _local2.__get__length()) && (_local1 >= 0)) { _local2.items.splice(_local1, 0, item); } else if (_local1 == _local2.__get__length()) { _local2.items[_local1] = item; } else { _local3 = false; mx.remoting.NetServices.trace("Cannot add an item outside the bounds of the RecordSet"); return; } if (_local3) { item.__ID__ = _local2.uniqueID++; } _local2.updateViews("addItems", _local1, _local1); } function addEventListener(event, listener) { } function clear() { var _local1 = this; if (_local1.checkLocal()) { } else { var _local2 = _local1.items.length; _local1.items.splice(0); _local1.uniqueID = 0; _local1.updateViews("removeItems", 0, _local2); } } function contains(itmToCheck) { var _local2 = itmToCheck; if (isObjectEmpty(_local2)) { return(false); } var itemAtIndex; var _local3; var _local1 = 0; while (_local1 < items.length) { itemAtIndex = items[_local1]; _local3 = true; for (var t in _local2) { if (_local2[t] != itemAtIndex[t]) { _local3 = false; break; } } if (_local3) { return(true); } _local1++; } return(false); } function getColumnNames() { return(mTitles); } function get columnNames() { return(getColumnNames()); } function getLocalLength() { return(items.length); } function getLength() { var _local1 = this; if (_local1.mRecordSetID != null) { return(_local1.mTotalCount); } return(_local1.items.length); } function getIterator() { var _local1 = new mx.remoting.RecordSetIterator(this); return(_local1); } function get length() { return(getLength()); } function getItemAt(index) { var _local1 = index; var _local2 = this; if ((_local1 < 0) || (_local1 >= _local2.__get__length())) { return(null); } if (_local2.mRecordSetID == null) { return(_local2.items[_local1]); } _local2.requestRecord(_local1); var _local3 = _local2.items[_local1]; if (_local3 == 1) { return("in progress"); } return(_local3); } function getItemID(index) { return(items[index].__ID__); } function get items() { return(_items); } function initialize(info) { } function filter(filterFunction, context) { if (checkLocal()) { } else { var _local3 = new mx.remoting.RecordSet(mTitles); var rcount = length; var _local2 = 0; while (_local2 < rcount) { var _local1 = getItemAt(_local2); if (((_local1 != null) && (_local1 != 1)) && (filterFunction(_local1, context))) { _local3.addItem(_local1); } _local2++; } return(_local3); } return(undefined); } function sortItems(compareFunc, optionFlags) { var _local1 = this; if (_local1.checkLocal()) { } else { _local1.items.sort(compareFunc, optionFlags); _local1.updateViews("sort"); } } function sortItemsBy(fieldNames, order, optionFlags) { var _local1 = this; if (_local1.checkLocal()) { } else { if (typeof(order) == "string") { _local1.items.sortOn(fieldNames); if (order.toUpperCase() == "DESC") { _local1.items.reverse(); } } else { _local1.items.sortOn(fieldNames, optionFlags); } _local1.updateViews("sort"); } } function sort(compareFunc) { var _local1 = this; if (_local1.checkLocal()) { } else { _local1.items.sort(compareFunc); _local1.updateViews("sort"); } } function isEmpty() { return(items.length == 0); } function isLocal() { return(mRecordSetID == null); } function isFullyPopulated() { return(isLocal()); } function getRemoteLength() { var _local1 = this; if (_local1.isLocal()) { return(_local1.mRecordsAvailable); } return(_local1.mTotalCount); } function getNumberAvailable() { var _local1 = this; if (_local1.isLocal()) { return(_local1.getLength()); } return(_local1.mRecordsAvailable); } function replaceItemAt(index, item) { var _local1 = index; var _local2 = this; if ((_local1 >= 0) && (_local1 <= _local2.__get__length())) { var _local3 = _local2.getItemID(_local1); _local2.items[_local1] = item; _local2.items[_local1].__ID__ = _local3; _local2.updateViews("updateItems", _local1, _local1); } } function removeAll() { clear(); } function removeItemAt(index) { var _local1 = index; var _local2 = this; var _local3 = _local2._items[_local1]; _local2._items.splice(_local1, 1); var rItems = [_local2._items[_local1]]; var rIDs = [_local2.getItemID(_local1)]; _local2.dispatchEvent({type:"modelChanged", eventName:"removeItems", firstItem:_local1, lastItem:_local1, removedItems:rItems, removedIDs:rIDs}); return(_local3); } function removeEventListener(event, listener) { } function requestRange(range) { var _local1 = range.getStart(); var _local2 = range.getEnd(); return(internalRequestRange(_local1, _local2)); } function setDeliveryMode(mode, pagesize, numPrefetchPages) { var _local1 = this; var _local2 = pagesize; var _local3 = numPrefetchPages; _local1.mDeliveryMode = mode.toLowerCase(); _local1.stopFetchAll(); if ((_local2 == null) || (_local2 <= 0)) { _local2 = 25; } switch (_local1.mDeliveryMode) { case "ondemand" : return; case "page" : if (_local3 == null) { _local3 = 0; } _local1.mPageSize = _local2; _local1.mNumPrefetchPages = _local3; return; case "fetchall" : _local1.stopFetchAll(); _local1.startFetchAll(_local2); return; default : mx.remoting.NetServices.trace("RecordSet", "warning", 107, "SetDeliveryMode: unknown mode string"); } } function editField(index, fieldName, value) { changeFieldValue(index, fieldName, value); } function getEditingData(index, fieldName) { return(items[index][fieldName]); } function setField(index, fieldName, value) { changeFieldValue(index, fieldName, value); } function changeFieldValue(index, fieldName, value) { var _local1 = index; var _local2 = this; if (_local2.checkLocal()) { } else if ((_local1 < 0) || (_local1 >= _local2.getLength())) { } else { _local2.items[_local1][fieldName] = value; _local2.updateViews("updateItems", _local1, _local1); } } function isObjectEmpty(objToCheck) { var _local2 = objToCheck; var _local1 = true; for (var _local3 in _local2) { _local1 = false; return(_local1); } return(_local1); } function arrayToObject(anArray) { if (mTitles == null) { mx.remoting.NetServices.trace("RecordSet", "warning", 105, "getItem: titles are not available"); return(null); } var _local3 = new Object(); var alen = anArray.length; var _local2; var _local1 = 0; while (_local1 < alen) { _local2 = mTitles[_local1]; if (_local2 == null) { _local2 = ("column" + _local1) + 1; } _local3[_local2] = anArray[_local1]; _local1++; } return(_local3); } function checkLocal() { if (isLocal()) { return(false); } mx.remoting.NetServices.trace("RecordSet", "warning", 108, "Operation not allowed on partial recordset"); return(true); } function getRecordSetService() { var _local1 = this; if (_local1.mRecordSetService == null) { if (_local1.gateway_conn == null) { _local1.gateway_conn = mx.remoting.NetServices.createGatewayConnection(); } else if (_global.netDebugInstance != undefined) { _local1.gateway_conn = _local1.gateway_conn.clone(); } if (_global.netDebugInstance != undefined) { _local1.gateway_conn.setupRecordSet(); _local1.gateway_conn.setDebugId("RecordSet " + _local1.mRecordSetID); } _local1.mRecordSetService = _local1.gateway_conn.getService(_local1.serviceName, _local1); if (_local1.mRecordSetService == null) { mx.remoting.NetServices.trace("RecordSet", "warning", 101, "Failed to create RecordSet service"); _local1.mRecordSetService = null; } } return(_local1.mRecordSetService); } function internalRequestRange(index, lastIndex) { var _local1 = index; var _local2 = this; var highestRequested = -1; if (_local1 < 0) { _local1 = 0; } if (lastIndex >= _local2.getRemoteLength()) { lastIndex = _local2.getRemoteLength() - 1; } var _local3; var last; while (_local1 <= lastIndex) { while ((_local1 <= lastIndex) && (_local2.items[_local1] != null)) { _local1++; } _local3 = _local1; while ((_local1 <= lastIndex) && (_local2.items[_local1] == null)) { _local2.mOutstandingRecordCount++; _local2.items[_local1] = 1; _local1++; } last = _local1 - 1; if (_local3 <= last) { _local2.logger.logInfo((((" Fetching records from index [" + _local3) + "] to index [") + last) + "]"); _local2.getRecordSetService().getRecords(_local2.mRecordSetID, _local3 + 1, (last - _local3) + 1); highestRequested = last; _local2.updateViews("fetchRows", _local3, last); } } return(highestRequested); } function removeItems(index, len) { var _local3 = index; var _local2 = new Array(); var _local1 = 0; while (_local1 < len) { _local2.push(getItemID(_local3 + _local1)); _local1++; } var oldItems = items.splice(_local3, len); dispatchEvent({type:"modelChanged", eventName:"removeItems", firstItem:_local3, lastItem:(_local3 + len) - 1, removedItems:oldItems, removedIDs:_local2}); } function getRecords_Result(info) { var _local1 = this; var _local2 = info; _local1.setData(_local2.Cursor - 1, _local2.Page); _local1.mOutstandingRecordCount = _local1.mOutstandingRecordCount - _local2.Page.length; _local1.updateViews("updateItems", _local2.Cursor - 1, ((_local2.Cursor - 1) + _local2.Page.length) - 1); if ((_local1.mRecordsAvailable == _local1.mTotalCount) && (!_local1.mAllNotified)) { _local1.updateViews("allRows"); _local1.mRecordSetService.release(); _local1.mAllNotified = true; _local1.mRecordSetID = null; _local1.mRecordSetService = null; } } function release_Result() { } function requestOneRecord(index) { var _local1 = this; var _local2 = index; if (_local1.items[_local2] == null) { if (_local1.mDeliveryMode == "ondemand") { _local1.logger.logInfo((" INFO: Fetching Record [" + _local2) + "]"); } _local1.getRecordSetService().getRecords(_local1.mRecordSetID, _local2 + 1, 1); _local1.mOutstandingRecordCount++; _local1.items[_local2] = 1; _local1.updateViews("fetchRows", _local2, _local2); } } function requestRecord(index) { var _local1 = this; if (_local1.mDeliveryMode != "page") { _local1.requestOneRecord(index); } else { var _local2 = int(index / _local1.mPageSize) * _local1.mPageSize; var _local3 = (_local2 + (_local1.mPageSize * (_local1.mNumPrefetchPages + 1))) - 1; _local1.internalRequestRange(_local2, _local3); } } function _setParentService(service) { gateway_conn = service.nc; } function setData(start, dataArray) { var _local1 = this; var datalen = dataArray.length; var _local3; var rec; var _local2 = 0; while (_local2 < datalen) { _local3 = _local2 + start; rec = _local1.items[_local3]; if ((rec != null) && (rec != 1)) { mx.remoting.NetServices.trace("RecordSet", "warning", 106, "Already got record # " + _local3); } else { _local1.mRecordsAvailable = _local1.mRecordsAvailable + 1; } _local1.items[_local3] = _local1.arrayToObject(dataArray[_local2]); _local1.items[_local3].__ID__ = _local1.uniqueID++; _local2++; } } function startFetchAll(pagesize) { var _local1 = this; if (_local1.mDataFetcher != null) { _local1.mDataFetcher.disable(); } _local1.mDataFetcher = new mx.remoting.RsDataFetcher(_local1, pagesize); } function stopFetchAll() { mDataFetcher.disable(); mDataFetcher = null; } function updateViews(event, first, last) { dispatchEvent({type:"modelChanged", eventName:event, firstItem:first, lastItem:last}); } static function registerRecordSet() { Object.registerClass("RecordSet", mx.remoting.RecordSet); return(true); } static var version = "1.2.0.124"; static var init = registerRecordSet(); }
Symbol 23 MovieClip [__Packages.mx.remoting.RecordSetIterator] Frame 0
class mx.remoting.RecordSetIterator { var _recordSet, _cursor; function RecordSetIterator (rec) { _recordSet = rec; _cursor = 0; } function hasNext() { return(_cursor < _recordSet.getLength()); } function next() { return(_recordSet.getItemAt(_cursor++)); } static var version = "1.2.0.124"; }
Symbol 24 MovieClip [__Packages.mx.remoting.RsDataRange] Frame 0
class mx.remoting.RsDataRange extends Object { var _start, _end; function RsDataRange (s, e) { super(); _start = s; _end = e; } function getStart() { return(_start); } function getEnd() { return(_end); } function setEnd(e) { _end = e; } function setStart(s) { _start = s; } }
Symbol 25 MovieClip [__Packages.mx.remoting.RsDataFetcher] Frame 0
class mx.remoting.RsDataFetcher extends Object { var mEnabled; function RsDataFetcher (pgRS, increment) { var _local1 = this; super(); _local1.mRecordSet = pgRS; _local1.mRecordSet.addEventListener("modelChanged", _local1); _local1.mIncrement = increment; _local1.mNextRecord = 0; _local1.mEnabled = true; _local1.doNext(); } function disable() { mEnabled = false; } function doNext() { var _local1 = this; if (_local1.mEnabled) { do { if (_local1.mNextRecord >= _local1.mRecordSet.getRemoteLength()) { return; } var _local2 = new mx.remoting.RsDataRange(_local1.mNextRecord, (_local1.mNextRecord + _local1.mIncrement) - 1); _local1.mHighestRequested = _local1.mRecordSet.requestRange(_local2); _local1.mNextRecord = _local1.mNextRecord + _local1.mIncrement; } while (_local1.mHighestRequested <= 0); } } function modelChanged(eventObj) { var _local1 = this; var _local2 = eventObj; if (((_local2.eventName == "updateItems") && (_local2.firstItem <= _local1.mHighestRequested)) && (_local2.lastItem >= _local1.mHighestRequested)) { _local1.doNext(); } if (_local2.eventName == "allRows") { _local1.disable(); } } }
Symbol 26 MovieClip [__Packages.mx.remoting.NetServiceProxyResponder] Frame 0
class mx.remoting.NetServiceProxyResponder extends Object { var service, methodName; function NetServiceProxyResponder (serv, method) { super(); service = serv; methodName = method; } function onResult(result) { var _local2 = result; var _local1 = service.client; if ((_local2 instanceof mx.remoting.NetServiceProxy) || (_local2 instanceof mx.remoting.RecordSet)) { _local2._setParentService(service); } var _local3 = methodName + "_Result"; if (typeof(_local1[_local3]) == "function") { _local1[_local3].apply(_local1, [_local2]); } else if (typeof(_local1.onResult) == "function") { _local1.onResult(_local2); } else { mx.remoting.NetServices.trace("NetServices", "info", 1, (_local3 + " was received from server: ") + _local2); } } function onStatus(result) { var _local2 = result; var _local1 = service.client; var _local3 = methodName + "_Status"; if (typeof(_local1[_local3]) == "function") { _local1[_local3].apply(_local1, [_local2]); } else if (typeof(_local1.onStatus) == "function") { _local1.onStatus(_local2); } else if (typeof(_root.onStatus) == "function") { _root.onStatus(_local2); } else if (typeof(_global.System.onStatus) == "function") { _global.System.onStatus(_local2); } else { mx.remoting.NetServices.trace("NetServices", "info", 2, (((_local3 + " was received from server: <") + _local2.level) + "> ") + _local2.description); } } }
Symbol 27 MovieClip [__Packages.mx.remoting.debug.NetDebugConfig] Frame 0
class mx.remoting.debug.NetDebugConfig extends Object { function NetDebugConfig () { super(); Object.registerClass("NetDebugConfig", mx.remoting.debug.NetDebugConfig); } static function getNetDebugVersion() { return(1); } static function attachNetDebugConfigFunctions(ndc) { var _local1 = ndc; _local1.setDebug = function (setval) { this.m_debug = setval; }; _local1.getDebug = function () { return(this.m_debug); }; for (var _local2 in _local1) { if (typeof(_local1[_local2]) == "object") { attachNetDebugConfigFunctions(_local1[_local2]); } } return(null); } static function getDefaultNetDebugConfig(isController) { var _local1 = _global; if (_local1.netDebugConfigSO == undefined) { var _local2 = "TestMovie_Config_Info"; if (isController) { _local2 = "Controller_Config_Info"; } _local1.netDebugConfigSO = SharedObject.getLocal(_local2); } if (_local1.netDebugConfigSO.data.config == undefined) { _local1.netDebugConfigSO.data.config = getRealDefaultNetDebugConfig(); } _local1.netDebugConfigSO.flush(); return(_local1.netDebugConfigSO.data.config); } static function getRealDefaultNetDebugConfig() { var _local1 = new mx.remoting.debug.NetDebugConfig(); _local1.m_debug = true; _local1.client = new mx.remoting.debug.NetDebugConfig(); _local1.client.m_debug = true; _local1.client.trace = true; _local1.client.recordset = true; _local1.client.http = true; _local1.client.rtmp = true; _local1.realtime_server = new mx.remoting.debug.NetDebugConfig(); _local1.realtime_server.m_debug = true; _local1.realtime_server.trace = true; _local1.app_server = new mx.remoting.debug.NetDebugConfig(); _local1.app_server.m_debug = true; _local1.app_server.trace = true; _local1.app_server.error = true; _local1.app_server.recordset = true; _local1.app_server.httpheaders = false; _local1.app_server.amf = false; _local1.app_server.amfheaders = false; _local1.app_server.coldfusion = true; return(_local1); } }
Symbol 28 MovieClip [__Packages.mx.utils.ObjectCopy] Frame 0
class mx.utils.ObjectCopy { function ObjectCopy () { } static function copy(refObj) { var _local1 = new Function(refObj.__proto__.constructor)(); copyProperties(_local1, refObj); return(_local1); } static function copyProperties(dstObj, srcObj) { var _local2 = srcObj; var to; for (var i in _local2) { to = typeof(_local2[i]); if (to != "function") { if (to == "object") { if (_local2[i] instanceof Array) { var p = new Array(); var _local3 = _local2[i]; var _local1 = 0; while (_local1 < _local3.length) { p[_local1] = _local3[_local1]; _local1++; } dstObj[i] = p; } else if (_local2[i] instanceof String) { dstObj[i] = new String(_local2[i]); } else if (_local2[i] instanceof Number) { dstObj[i] = new Number(_local2[i]); } else if (_local2[i] instanceof Boolean) { dstObj[i] = new Boolean(_local2[i]); } else { dstObj[i] = copy(_local2[i]); } } else { dstObj[i] = _local2[i]; } } } } }
Symbol 29 MovieClip [__Packages.mx.remoting.debug.events.NetDebug] Frame 0
class mx.remoting.debug.events.NetDebug extends Object { var date, time; function NetDebug () { super(); init(); } function init() { var _local1 = this; _local1.eventType = "DebugEvent"; _local1.source = "Client"; _local1.movieUrl = unescape(_root._url); _local1.initDate(); } function initDate() { var _local1 = new Date(); date = _local1; time = _local1.getTime(); } }
Symbol 30 MovieClip [__Packages.mx.remoting.debug.events.NetDebugNetConnection] Frame 0
class mx.remoting.debug.events.NetDebugNetConnection extends mx.remoting.debug.events.NetDebug { function NetDebugNetConnection () { super(); } }
Symbol 31 MovieClip [__Packages.mx.remoting.debug.events.NetDebugConnect] Frame 0
class mx.remoting.debug.events.NetDebugConnect extends mx.remoting.debug.events.NetDebugNetConnection { function NetDebugConnect (args) { var _local1 = args; var _local2 = this; super(); _local2.eventType = "Connect"; _local2.connectString = _local1[0]; if (_local1[1] != null) { _local2.userName = _local1[1]; } if (_local1[2] != null) { _local2.password = _local1[2]; } } }
Symbol 32 MovieClip [__Packages.mx.remoting.debug.commands.Local] Frame 0
class mx.remoting.debug.commands.Local extends Object { var command, data; function Local () { super(); } function init(commandname, dataobj) { command = commandname; data = dataobj; } }
Symbol 33 MovieClip [__Packages.mx.remoting.debug.commands.StartRTMPTrace] Frame 0
class mx.remoting.debug.commands.StartRTMPTrace extends mx.remoting.debug.commands.Local { var init; function StartRTMPTrace (cs) { super(); var _local1 = new Object(); _local1.connectstring = cs; _local1.url = _root._url; init("startRealTimeTrace", _local1); } }
Symbol 34 MovieClip [__Packages.mx.remoting.debug.ConnectionMixin] Frame 0
class mx.remoting.debug.ConnectionMixin extends Object { var _protocol, _id, _config; function ConnectionMixin () { super(); } static function initialize() { var _local1 = mx.remoting.Connection.prototype; var _local2 = mx.remoting.debug.ConnectionMixin.prototype; if (!_local1.netDebugProxyFunctions) { _local1.netDebugProxyFunctions = true; _local1.realConnect = _local1.connect; _local1.realCall = _local1.call; _local1.realClose = _local1.close; _local1.realAddHeader = _local1.addHeader; _local1.connect = _local2.netDebugProxyConnect; _local1.call = _local2.netDebugProxyCall; _local1.close = _local2.netDebugProxyClose; _local1.addHeader = _local2.netDebugProxyAddHeader; _local1.attachDebug = _local2.attachDebug; _local1.sendDebugEvent = _local2.sendDebugEvent; _local1.sendServerEvent = _local2.sendServerEvent; _local1.sendClientEvent = _local2.sendClientEvent; _local1.addNetDebugHeader = _local2.addNetDebugHeader; _local1.updateConfig = _local2.updateConfig; _local1.getNetDebug = _local2.getNetDebug; _local1.isRealTime = _local2.isRealTime; _local1.setupRecordSet = _local2.setupRecordSet; _local1.setDebugId = _local2.setDebugId; _local1.getDebugId = _local2.getDebugId; _local1.getDebugConfig = _local2.getDebugConfig; _local1.trace = _local2.trace; return(true); } return(false); } function attachDebug() { var _local1 = this; if (!_attached) { _attached = true; _local1._headerAdded = false; _local1._configured = false; _local1._config = new mx.remoting.debug.NetDebugConfig(); mx.utils.ObjectCopy.copyProperties(_local1._config, _local1.getNetDebug().getConfig()); _local1._protocol = "none"; _local1._id = String(_local1.getNetDebug().addNetConnection(_local1)); } } function sendDebugEvent(eventobj) { var _local1 = this; var _local2 = eventobj; _local2.protocol = _local1._protocol; _local2.debugId = _local1._id; return(_local1.getNetDebug().onEvent(_local2)); } function sendServerEvent(eventobj) { eventobj.movieUrl = unescape(_root._url); if (!sendDebugEvent(eventobj)) { } } function sendClientEvent(eventobj) { var _local1 = this; if (_local1._config.m_debug && (_local1._config.client.m_debug)) { if ((_local1._config.client.http && (_local1._protocol == "http")) || (_local1._config.client.rtmp && (_local1._protocol.substr(0, 4) == "rtmp"))) { if (!_local1.sendDebugEvent(eventobj)) { } } } } function addNetDebugHeader() { var _local1 = this; if (!_local1._headerAdded) { _local1._headerAdded = true; if ((_local1._config.m_debug && (_local1._config.app_server.m_debug)) && (_local1._protocol == "http")) { _local1.realAddHeader("amf_server_debug", true, _local1._config.app_server); } else { _local1.realAddHeader("amf_server_debug", true, undefined); } } } function updateConfig(config) { var _local1 = this; var _local2 = config; _local1.attachDebug(); if ((_local2 == null) && (!_local1._configured)) { _local1._configured = true; _local2 = mx.remoting.debug.NetDebugConfig.getRealDefaultNetDebugConfig(); } mx.utils.ObjectCopy.copyProperties(_local1._config, _local2); _local1._headerAdded = false; } function isRealTime() { return(_protocol.substr(0, 4) == "rtmp"); } function setupRecordSet() { var _local1 = this; _local1.attachDebug(); _local1._config.client.http = _local1._config.client.recordset; } function netDebugProxyConnect() { var _local1 = this; var _local2 = arguments; _local1.attachDebug(); var _local3 = _local2[0].substr(0, 4); if ((_local3 == "http") || (_local3.substr(0, 4) == "rtmp")) { if (_local2[0].charAt(4) == ":") { _local1._protocol = _local3; } else { _local1._protocol = _local2[0].substr(0, 5); } } else { _local1._protocol = "http"; } _local1.sendClientEvent(new mx.remoting.debug.events.NetDebugConnect(_local2)); if (_local1.isRealTime()) { _local1._connectString = _local2[0]; _local1.getNetDebug().sendCommand(new mx.remoting.debug.commands.StartRTMPTrace(_local2[0])); var ret = _local1.realConnect.apply(_local1, _local2); _local1.realCall("@getClientID", new mx.remoting.RTMPClientIDResponse(_local2[0], _local1)); return(ret); } return(Boolean(_local1.realConnect.apply(_local1, _local2))); } function netDebugProxyCall() { var _local1 = this; var _local2 = arguments; _local1.attachDebug(); _local1.sendClientEvent(new mx.remoting.debug.events.NetDebugCall(_local2)); _local1.addNetDebugHeader(); if (_local1._config.app_server) { _local2[1] = new mx.remoting.debug.NetDebugResponseProxy(_local1, _local2[1]); return(Boolean(_local1.realCall.apply(_local1, _local2))); } return(Boolean(_local1.realCall.apply(_local1, _local2))); } function netDebugProxyClose() { var _local1 = this; _local1.attachDebug(); _local1.sendClientEvent(new mx.remoting.debug.events.NetDebugClose()); if (_local1.isRealTime()) { _local1.getNetDebug().sendCommand(new mx.remoting.debug.commands.StopRTMPTrace(_local1._connectString, _local1._clientId)); } var _local2 = _local1.realClose(); _local1.getNetDebug().removeNetConnection(_local1); return(_local2); } function netDebugProxyAddHeader() { var _local1 = this; _local1.attachDebug(); _local1.sendClientEvent(new mx.remoting.debug.events.NetDebugAddHeader(arguments)); return(Boolean(_local1.realAddHeader.apply(_local1, arguments))); } function setDebugId(id) { attachDebug(); _id = id; } function getDebugId() { attachDebug(); return(_id); } function trace(traceobj) { var _local1 = this; _local1.attachDebug(); if ((_local1._config.m_debug && (_local1._config.client.m_debug)) && (_local1._config.client.trace)) { _local1.sendDebugEvent(new mx.remoting.debug.events.NetDebugTrace(traceobj)); } } function getDebugConfig() { attachDebug(); return(_config); } function getNetDebug() { return(mx.remoting.debug.NetDebug.getNetDebug()); } static var _attached = false; }
Symbol 35 MovieClip [__Packages.mx.remoting.debug.events.NetDebugDuplicateNCDError] Frame 0
class mx.remoting.debug.events.NetDebugDuplicateNCDError extends mx.remoting.debug.events.NetDebugNetConnection { function NetDebugDuplicateNCDError () { var _local1 = this; super(); _local1.eventType = "Error"; _local1.source = "NCD"; _local1.message = "NCD_ALREADY_RUNNING"; } }
Symbol 36 MovieClip [__Packages.mx.remoting.debug.GlobalLocalConnection] Frame 0
class mx.remoting.debug.GlobalLocalConnection extends Object { var sendPrefix; function GlobalLocalConnection (isController, receiver, domainName) { var _local2 = this; var _local3 = _global; super(); _local2.maxConnections = 10; var sToMovie = "_NetDebugLocalToDebugMovie"; var sToController = "_NetDebugLocalToController"; var connectname = null; if (isController) { connectname = sToController; _local2.sendNames = new Array(); _local2.sendNames.push(sToMovie); var _local1 = 0; while (_local1 < _local2.maxConnections) { _local2.sendNames.push(sToMovie + _local1); _local1++; } _local2.maxConnections = 0; } else { connectname = sToMovie; _local2.sendNames = new Array(); _local2.sendNames.push(sToController); } _local2.setDomainName(domainName); if (_local3.g_NetDebugLocalConnection == undefined) { _local3.g_NetDebugLocalConnection = new LocalConnection(); _local3.g_NetDebugLocalConnection.allowDomain = function () { return(true); }; } if (receiver != null) { _local3.g_NetDebugLocalConnection.m_Receiver = receiver; _local3.g_NetDebugLocalConnection.onData = function (dataobj) { _global.g_NetDebugLocalConnection.m_Receiver.onReceive(dataobj); }; _local3.g_NetDebugLocalConnection.onCommand = function (commandobj) { _global.g_NetDebugLocalConnection.m_Receiver.onReceiveCommand(commandobj); }; if (!_local3.g_NetDebugLocalConnection.connect(connectname)) { var connected = false; var _local1 = 0; while (_local1 < _local2.maxConnections) { if (_local3.g_NetDebugLocalConnection.connect(connectname + _local1)) { connected = true; break; } _local1++; } if (!connected) { if (isController) { receiver.onReceiveError(new mx.remoting.debug.events.NetDebugDuplicateNCDError()); } } } } } function setDomainName(domainName) { var _local1 = domainName; if ((_local1 != null) && (_local1 != "")) { sendPrefix = _local1 + ":"; } else { sendPrefix = ""; } } function send(dataobj) { return(sendRaw("onData", dataobj)); } function sendCommand(commandObj) { return(sendRaw("onCommand", commandObj)); } function sendRaw(functionName, obj) { var _local3 = this; var _local2 = true; var snlen = _local3.sendNames.length; var _local1 = 0; while (_local1 < snlen) { _local2 = Boolean(_local2 & _global.g_NetDebugLocalConnection.send(_local3.sendPrefix + _local3.sendNames[_local1], functionName, obj)); _local1++; } return(_local2); } }
Symbol 37 MovieClip [__Packages.mx.remoting.debug.commands.GetConfig] Frame 0
class mx.remoting.debug.commands.GetConfig extends mx.remoting.debug.commands.Local { var init; function GetConfig () { super(); } function GetConfigCommand() { super(); init("getConfig", null); } }
Symbol 38 MovieClip [__Packages.mx.remoting.debug.events.NetDebugFailedSendError] Frame 0
class mx.remoting.debug.events.NetDebugFailedSendError extends mx.remoting.debug.events.NetDebugNetConnection { function NetDebugFailedSendError (ev) { var _local1 = this; super(); _local1.eventType = "Error"; _local1.source = "NCD"; _local1.originalEvent = ev; _local1.message = "NCD_FAILED_TO_SEND_EVENT"; } }
Symbol 39 MovieClip [__Packages.mx.remoting.debug.events.NetDebugStatus] Frame 0
class mx.remoting.debug.events.NetDebugStatus extends mx.remoting.debug.events.NetDebugNetConnection { var eventType, status; function NetDebugStatus (statusobj) { super(); eventType = "Status"; status = statusobj; } }
Symbol 40 MovieClip [__Packages.mx.remoting.debug.events.NetDebugError] Frame 0
class mx.remoting.debug.events.NetDebugError extends mx.remoting.debug.events.NetDebug { var eventType, error; function NetDebugError (dataobj) { super(); eventType = "NetDebugError"; error = dataobj; } }
Symbol 41 MovieClip [__Packages.mx.remoting.debug.events.NetDebugTraceNetServices] Frame 0
class mx.remoting.debug.events.NetDebugTraceNetServices extends mx.remoting.debug.events.NetDebug { function NetDebugTraceNetServices (w, s, n, m) { var _local1 = this; super(); _local1.eventType = "NetServicesTrace"; _local1.trace = m; _local1.who = w; _local1.severity = s; _local1.number = n; } }
Symbol 42 MovieClip [__Packages.mx.remoting.debug.events.NetDebugTrace] Frame 0
class mx.remoting.debug.events.NetDebugTrace extends mx.remoting.debug.events.NetDebug { var eventType, trace; function NetDebugTrace (traceobj) { super(); eventType = "Trace"; trace = traceobj; } }
Symbol 43 MovieClip [__Packages.mx.remoting.debug.NetDebug] Frame 0
class mx.remoting.debug.NetDebug extends Object { static var ndSingleton; var _ncs, _nextNewId, _glc, _config; function NetDebug () { var _local1 = this; super(); _local1._ncs = new Array(); _local1._config = mx.remoting.debug.NetDebugConfig.getDefaultNetDebugConfig(false); _local1._glc = new mx.remoting.debug.GlobalLocalConnection(false, _local1); _local1._glc.sendCommand(new mx.remoting.debug.commands.GetConfig()); _local1._nextNewId = 0; if (_global.System.onStatus == undefined) { _global.System.onStatus = globalOnStatus; } mx.remoting.NetServices.traceNetServices = traceNetServices; } function addNetConnection(nc) { _ncs.push(nc); return(_nextNewId++); } function requestNewConfig() { return(sendCommand(new mx.remoting.debug.commands.GetConfig())); } function removeNetConnection(nc) { var _local2 = this; var _local3 = _local2._ncs.length; var _local1 = 0; while (_local1 < _local3) { if (nc == _local2._ncs[_local1]) { _local2._ncs.splice(_local1, 1); return; } _local1++; } } function sendDebugEvent(eventobj) { if (!_glc.send(eventobj)) { _glc.send(new mx.remoting.debug.events.NetDebugFailedSendError(stripNCDEventToMinmal(eventobj))); return(false); } return(true); } function sendCommand(commandobj) { return(_glc.sendCommand(commandobj)); } function updateConfig(config) { var _local2 = this; mx.utils.ObjectCopy.copyProperties(_local2._config, config); var _local3 = _local2._ncs.length; var _local1 = 0; while (_local1 < _local3) { if (_local2._ncs[_local1] != null) { _local2._ncs[_local1].updateConfig(config); } _local1++; } } function sendStatus(statusobj) { var _local1 = this; if (_local1._config.m_debug && (_local1._config.client.m_debug)) { return(_local1._glc.send(new mx.remoting.debug.events.NetDebugStatus(statusobj))); } return(undefined); } function onEvent(eventObj) { return(sendDebugEvent(eventObj)); } function onEventError(errorObj) { return(sendDebugEvent(new mx.remoting.debug.events.NetDebugError(errorObj))); } function onReceiveCommand(commandobj) { this[commandobj.command](commandobj.data); } function onReceiveError(errorobj) { sendDebugEvent(new mx.remoting.debug.events.NetDebugError(errorobj)); } function getConfig() { return(_config); } static function getNetDebug() { return(ndSingleton); } static function trace(obj) { getNetDebug()._trace(obj); } static function traceNetServices(who, severity, number, message) { getNetDebug()._traceNetServices(who, severity, number, message); } static function globalOnStatus(statusobj) { getNetDebug().sendStatus(statusobj); } static function initialize() { if (ndSingleton == null) { ndSingleton = new mx.remoting.debug.NetDebug(); mx.remoting.debug.ConnectionMixin.initialize(); } return(true); } static function stripNCDEventToMinmal(ev) { var _local1 = ev; var _local2 = new Object(); if (_local1.eventType != null) { _local2.eventType = _local1.eventType; } if (_local1.source != null) { _local2.source = _local1.source; } if (_local1.movieUrl != null) { _local2.movieUrl = _local1.movieUrl; } if (_local1.date != null) { _local2.date = _local1.date; } if (_local1.time != null) { _local2.time = _local1.time; } if (_local1.protocol != null) { _local2.protocol = _local1.protocol; } if (_local1.debugId != null) { _local2.debugId = _local1.debugId; } return(_local2); } function _traceNetServices(who, severity, number, message) { var _local1 = this; if ((_local1._config.m_debug && (_local1._config.client.m_debug)) && (_local1._config.client.trace)) { if (!_local1.sendDebugEvent(new mx.remoting.debug.events.NetDebugTraceNetServices(who, severity, number, message))) { } } } function _trace(traceobj) { var _local1 = this; if ((_local1._config.m_debug && (_local1._config.client.m_debug)) && (_local1._config.client.trace)) { if (!_local1.sendDebugEvent(new mx.remoting.debug.events.NetDebugTrace(traceobj))) { } } } static var version = "1.2.0.124"; }
Symbol 44 MovieClip [__Packages.mx.remoting.debug.commands.AddRTMPClient] Frame 0
class mx.remoting.debug.commands.AddRTMPClient extends mx.remoting.debug.commands.Local { var init; function AddRTMPClient (cs, cid) { super(); var _local1 = new Object(); _local1.connectstring = cs; _local1.url = _root._url; _local1.clientid = cid; init("addRealTimeClient", _local1); } }
Symbol 45 MovieClip [__Packages.mx.remoting.RTMPClientIDResponse] Frame 0
class mx.remoting.RTMPClientIDResponse extends Object { var _connectString, _nc; function RTMPClientIDResponse (cs, nc) { super(); _connectString = cs; _nc = nc; } function onResult(cid) { _nc._clientId = cid; mx.remoting.debug.NetDebug.getNetDebug().sendCommand(new mx.remoting.debug.commands.AddRTMPClient(_connectString, cid)); } }
Symbol 46 MovieClip [__Packages.mx.remoting.debug.events.NetDebugCall] Frame 0
class mx.remoting.debug.events.NetDebugCall extends mx.remoting.debug.events.NetDebugNetConnection { function NetDebugCall (args) { var _local2 = this; var _local3 = args; super(); _local2.eventType = "Call"; _local2.methodName = _local3[0]; _local2.parameters = new Array(); var alen = _local3.length; var _local1 = 2; while (_local1 < alen) { _local2.parameters[_local1 - 2] = _local3[_local1]; _local1++; } } }
Symbol 47 MovieClip [__Packages.mx.remoting.debug.events.NetDebugResult] Frame 0
class mx.remoting.debug.events.NetDebugResult extends mx.remoting.debug.events.NetDebugNetConnection { var eventType, result; function NetDebugResult (resultobj) { super(); eventType = "Result"; result = resultobj; } }
Symbol 48 MovieClip [__Packages.mx.remoting.debug.events.NetDebugReceiveCall] Frame 0
class mx.remoting.debug.events.NetDebugReceiveCall extends mx.remoting.debug.events.NetDebugNetConnection { function NetDebugReceiveCall (mName, args) { var _local1 = this; super(); _local1.eventType = "ReceivedCall"; _local1.methodName = mName; _local1.parameters = args; } }
Symbol 49 MovieClip [__Packages.mx.remoting.debug.NetDebugResponseProxy] Frame 0
class mx.remoting.debug.NetDebugResponseProxy extends Object { var _sourceNC, _originalNR; function NetDebugResponseProxy (source, original) { super(); _sourceNC = source; _originalNR = original; } function onDebugEvents(debugevents) { var _local3 = debugevents; var _local2 = _local3.length; var _local1 = 0; while (_local1 < _local2) { _sourceNC.sendServerEvent(_local3[_local1]); _local1++; } } function onResult(resultobj) { _sourceNC.sendClientEvent(new mx.remoting.debug.events.NetDebugResult(resultobj)); _originalNR.onResult(resultobj); } function onStatus(statusobj) { var _local1 = this; var _local2 = statusobj; _local1._sourceNC.sendClientEvent(new mx.remoting.debug.events.NetDebugStatus(_local2)); if (_local1._originalNR.onStatus != undefined) { _local1._originalNR.onStatus(_local2); } else { _global.System.onStatus(_local2); } } function __resolve(name) { var _local1 = name; trace("NetDebugResponseProxy.__resolve name: " + _local1); _sourceNC.sendClientEvent(new mx.remoting.debug.events.NetDebugReceiveCall(_local1, arguments)); _originalNR[_local1].apply(arguments); return(null); } }
Symbol 50 MovieClip [__Packages.mx.remoting.debug.events.NetDebugClose] Frame 0
class mx.remoting.debug.events.NetDebugClose extends mx.remoting.debug.events.NetDebugNetConnection { var eventType; function NetDebugClose () { super(); eventType = "Close"; } }
Symbol 51 MovieClip [__Packages.mx.remoting.debug.commands.StopRTMPTrace] Frame 0
class mx.remoting.debug.commands.StopRTMPTrace extends mx.remoting.debug.commands.Local { var init; function StopRTMPTrace () { super(); } function StopRTMPTraceCommand(cs, cid) { var _local1 = new Object(); _local1.connectstring = cs; _local1.url = _root._url; _local1.clientid = cid; init("stopRealTimeTrace", _local1); } }
Symbol 52 MovieClip [__Packages.mx.remoting.debug.events.NetDebugAddHeader] Frame 0
class mx.remoting.debug.events.NetDebugAddHeader extends mx.remoting.debug.events.NetDebugNetConnection { function NetDebugAddHeader (args) { var _local1 = this; var _local2 = args; super(); _local1.eventType = "AddHeader"; _local1.headerName = _local2[0]; _local1.mustUnderstand = _local2[1]; if (_local2[2] != null) { _local1.headerObject = _local2[2]; } } }
Symbol 53 MovieClip [__Packages.mx.remoting.debug.events.NetDebugInfoError] Frame 0
class mx.remoting.debug.events.NetDebugInfoError extends mx.remoting.debug.events.NetDebugNetConnection { function NetDebugInfoError (infoobj, mes) { var _local1 = this; super(); _local1.eventType = "Error"; _local1.source = "NCD"; _local1.info = infoobj; if (mes != null) { _local1.message = mes; } } }
Symbol 54 MovieClip [__Packages.mx.remoting.debug.events.NetDebugRtmpLog] Frame 0
class mx.remoting.debug.events.NetDebugRtmpLog extends mx.remoting.debug.events.NetDebugNetConnection { function NetDebugRtmpLog (infoobj) { var _local1 = this; super(); _local1.eventType = "Trace"; _local1.source = "Flash Communication Server"; _local1.info = infoobj; _local1.trace = infoobj.description; } }
Symbol 55 MovieClip [__Packages.mx.remoting.debug.commands.UpdateNetDebugConfig] Frame 0
class mx.remoting.debug.commands.UpdateNetDebugConfig extends mx.remoting.debug.commands.Local { var init; function UpdateNetDebugConfig () { super(); } function UpdateNetDebugCommand(dataobj) { super(); init("updateConfig", dataobj); } }
Symbol 56 MovieClip [__Packages.mx.remoting.ApiClasses] Frame 0
class mx.remoting.ApiClasses extends MovieClip { function ApiClasses () { super(); } }
Symbol 58 MovieClip [__Packages.mx.remoting.DataGlue] Frame 0
class mx.remoting.DataGlue extends Object { var __dataProv, __labelStr, __dataStr, formatFunction; function DataGlue (dp) { super(); __dataProv = dp; } function get dataProvider() { return(__dataProv); } function get labelString() { return(__labelStr); } function set labelString(val) { __labelStr = val; //return(labelString); } function get dataString() { return(__dataStr); } function set dataString(val) { __dataStr = val; //return(dataString); } static function bindFormatStrings(dataConsumer, dp, labelStr, dataStr) { var _local1 = new mx.remoting.DataGlue(dp); _local1.__set__labelString(labelStr); _local1.__set__dataString(dataStr); _local1.getItemAt = mx.remoting.DataGlue.prototype.getItemAt_FormatString; dataConsumer.dataProvider = _local1; } static function bindFormatFunction(dataConsumer, dp, formatFunc) { var _local1 = new mx.remoting.DataGlue(dp); _local1.formatFunction = formatFunc; _local1.getItemAt = mx.remoting.DataGlue.prototype.getItemAt_FormatFunction; dataConsumer.setDataProvider(_local1); } function addEventListener(eventName, listener) { dataProvider.addEventListener(eventName, listener); } function get length() { return(getLength()); } function getLength() { return(dataProvider.length); } function format(formatString, item) { var _local3 = formatString.split("#"); var result = ""; var tlen = _local3.length; var _local2; var _local1 = 0; while (_local1 < tlen) { result = result + _local3[_local1]; _local2 = _local3[_local1 + 1]; if (_local2 != undefined) { result = result + item[_local2]; } _local1 = _local1 + 2; } return(result); } function getItemAt_FormatString(index) { var _local2 = this; var _local1 = _local2.dataProvider.getItemAt(index); if ((_local1 == "in progress") || (_local1 == undefined)) { return(_local1); } return({label:_local2.format(_local2.__get__labelString(), _local1), data:((_local2.__get__dataString() == null) ? (_local1) : (_local2.format(_local2.__get__dataString(), _local1)))}); } function getItemAt_FormatFunction(index) { var _local1 = dataProvider.getItemAt(index); if ((_local1 == "in progress") || (_local1 == undefined)) { return(_local1); } return(formatFunction(_local1)); } function getItemID(index) { return(dataProvider.getItemID(index)); } function addItemAt(index, value) { dataProvider.addItemAt(index, value); } function addItem(value) { dataProvider.addItem(value); } function removeItemAt(index) { dataProvider.removeItemAt(index); } function removeAll() { dataProvider.removeAll(); } function replaceItemAt(index, itemObj) { dataProvider.replaceItemAt(index, itemObj); } function sortItemsBy(fieldNames, optionFlags) { dataProvider.sortItemsBy(fieldNames, optionFlags); } function sortItems(compareFunc, optionFlags) { dataProvider.sortItems(compareFunc, optionFlags); } static var version = "1.2.0.124"; }
Symbol 59 MovieClip [__Packages.mx.remoting.PendingCall] Frame 0
class mx.remoting.PendingCall extends Object { var __service, __methodName, __responder; function PendingCall (srv, methodName) { super(); __service = srv; __methodName = methodName; } function get responder() { return(__responder); } function set responder(res) { __responder = res; //return(responder); } function onResult(result) { var _local1 = result; var _local2 = this; _local1.serviceName = ((typeof(_local1.serviceName) == "function") ? (_local1.servicename) : (_local1.serviceName)); if (_local1 != null) { if (_local1 instanceof mx.remoting.NetServiceProxy) { var serv = (new mx.remoting.Service(null, null, _local1.serviceName, _local2.__service.__get__connection(), _local2.__service.__get__responder())); _local1 = serv; } else if (_local1 instanceof mx.remoting.RecordSet) { var _local3 = new mx.remoting.NetServiceProxy(_local2.__service.__get__connection()); _local1._setParentService(_local3); _local1.logger = _local2.__service.log; } } if (_local2.__responder != null) { _local2.__responder.onResult(new mx.rpc.ResultEvent(_local1)); } if (_local2.__service.log != null) { _local2.__service.log.logInfo((((_local2.__service.__get__name() + ".") + _local2.__methodName) + "() returned ") + mx.data.binding.ObjectDumper.toString(_local1)); } } function onStatus(status) { var _local1 = this; var _local2 = status; if (_local1.__responder != null) { _local1.__responder.onFault(new mx.rpc.FaultEvent(new mx.rpc.Fault(_local2.code, _local2.description, _local2.details, _local2.type))); } if (_local1.__service.log != null) { _local1.__service.log.logDebug("Service invocation failed."); _local1.__service.log.logDebug((((_local1.__service.__get__name() + ".") + _local1.__methodName) + "() returned ") + mx.data.binding.ObjectDumper.toString(_local2)); } } function get methodName() { return(__methodName); } static var inited = mx.remoting.NetServiceProxy.registerNetServiceProxy(); }
Symbol 60 MovieClip [__Packages.mx.rpc.ResultEvent] Frame 0
class mx.rpc.ResultEvent extends Object { var __result; function ResultEvent (res) { super(); __result = res; } function get result() { return(__result); } }
Symbol 61 MovieClip [__Packages.mx.rpc.Fault] Frame 0
class mx.rpc.Fault extends Object { var __faultcode, __faultstring, __detail, __type; function Fault (code, msg, detail, type) { var _local1 = this; super(); _local1.__faultcode = code; _local1.__faultstring = msg; _local1.__detail = detail; _local1.__type = type; } function get faultcode() { return(__faultcode); } function get faultstring() { return(__faultstring); } function get detail() { return(__detail); } function get description() { var _local2 = this; if (_local2.__description == null) { if (_local2.__faultstring.indexOf(":") > -1) { _local2.__description = _local2.__faultstring.substring(_local2.__faultstring.indexOf(":") + 1); var _local1 = 0; while (_local2.__description.indexOf(" ", _local1) == _local1) { _local1++; } if (_local1 > 0) { _local2.__description = _local2.__description.substring(_local1); } } else { _local2.__description = _local2.__faultstring; } } return(_local2.__description); } function get type() { return(__type); } }
Symbol 62 MovieClip [__Packages.mx.rpc.FaultEvent] Frame 0
class mx.rpc.FaultEvent extends Object { var __fault; function FaultEvent (f) { super(); __fault = f; } function get fault() { return(__fault); } }
Symbol 63 MovieClip [__Packages.mx.rpc.Responder] Frame 0
interface mx.rpc.Responder{}
Symbol 64 MovieClip [__Packages.mx.remoting.Service] Frame 0
class mx.remoting.Service extends Object { var __conn, __serviceName, __responder; function Service (gatewayURI, logger, serviceName, conn, resp) { var _local1 = this; var _local2 = conn; var _local3 = gatewayURI; super(); _local1.log = logger; _local1.log.logInfo("Creating Service for " + serviceName, mx.services.Log.VERBOSE); if ((_local3 == "") && (_local2 == null)) { _local3 = mx.remoting.NetServices.gatewayUrl; } _local3 = mx.remoting.NetServices.getHttpUrl(_local3); if (_local2 == null) { _local2 = mx.remoting.NetServices.getConnection(_local3); if (_local2 == null) { _local1.log.logInfo("Creating gateway connection for " + _local3, mx.services.Log.VERBOSE); _local2 = mx.remoting.NetServices.createGatewayConnection(_local3, logger); } } _local1.__conn = _local2; _local2.updateConfig(); _local1._allowRes = true; _local1.__serviceName = serviceName; _local1.__responder = resp; _local1.log.logInfo("Successfully created Service", mx.services.Log.VERBOSE); } function get connection() { return(__conn); } function __resolve(methodName) { var _local2 = this; if (_local2._allowRes) { var _local1 = _local2.__makeOpFunc(methodName); _local2[methodName] = _local1; return(_local1); } return(null); } function __makeOpFunc(name) { var op = (new mx.remoting.Operation(name, this)); var _local1 = function () { op.invoke(arguments); return(op.send()); }; _local1.send = function () { return(op.createThenSend()); }; _local1.setResponder = function (resp) { op.responder = resp; }; _local1.getRequest = function () { return(op.request); }; _local1.setRequest = function (val) { op.request = val; }; _local1.addProperty("request", _local1.getRequest, _local1.setRequest); _local1.operation = op; return(_local1); } function get name() { return(__serviceName); } function get responder() { return(__responder); } static var version = "1.2.0.124"; var _allowRes = false; }
Symbol 65 MovieClip [__Packages.mx.remoting.Operation] Frame 0
class mx.remoting.Operation { var __arguments, __responder, __request, __methodName; function Operation (methodName, parent) { var _local1 = this; _local1.__service = parent; _local1.__responder = parent.responder; _local1.__methodName = methodName; _local1.__invokationName = (_local1.__service.__get__name() + ".") + methodName; _local1.__request = new Object(); _local1.__arguments = new Array(); } function createThenSend(Void) { createArguments(); return(send()); } function send(Void) { var _local1 = this; _local1.__service.log.logInfo((("Invoking " + _local1.__methodName) + " on ") + _local1.__service.__get__name()); var _local3 = new mx.remoting.PendingCall(_local1.__service, _local1.__methodName); _local3.__set__responder(_local1.__responder); var _local2 = null; if (_local1.__arguments == null) { _local2 = new Array(); } else { _local2 = _local1.__arguments.concat(); } _local1.__invokationName = (_local1.__service.__get__name() + ".") + _local1.__methodName; _local2.unshift(_local1.__invokationName, _local3); _local1.__service.connection.call.apply(_local1.__service.__get__connection(), _local2); return(_local3); } function invoke(a) { __arguments = a; } function get responder() { return(__responder); } function set responder(r) { __responder = r; //return(responder); } function get request() { return(__request); } function set request(r) { __request = r; //return(request); } function get name() { return(__methodName); } function createArguments() { var _local1 = this; if (_local1.__request != null) { _local1.__arguments = new Array(); for (var _local2 in _local1.__request) { if (_local2 != "arguments") { _local1.__arguments.unshift(_local1.__request[_local2]); } } } } }
Symbol 66 MovieClip [__Packages.mx.data.binding.ObjectDumper] Frame 0
class mx.data.binding.ObjectDumper { var inProgress; function ObjectDumper () { inProgress = new Array(); } static function toString(obj, showFunctions, showUndefined, showXMLstructures, maxLineLength, indent) { var _local1 = indent; var _local2 = maxLineLength; var _local3 = new mx.data.binding.ObjectDumper(); if (_local2 == undefined) { _local2 = 100; } if (_local1 == undefined) { _local1 = 0; } return(_local3.realToString(obj, showFunctions, showUndefined, showXMLstructures, _local2, _local1)); } function realToString(obj, showFunctions, showUndefined, showXMLstructures, maxLineLength, indent) { var _local1 = obj; var x = 0; while (x < inProgress.length) { if (inProgress[x] == _local1) { return("***"); } x++; } inProgress.push(_local1); indent++; var t = typeof(_local1); var result; if ((_local1 instanceof XMLNode) && (showXMLstructures != true)) { result = _local1.toString(); } else if (_local1 instanceof Date) { result = _local1.toString(); } else if (t == "object") { var _local3 = new Array(); if (_local1 instanceof Array) { result = "["; var i = 0; while (i < _local1.length) { _local3.push(i); i++; } } else { result = "{"; for (var i in _local1) { _local3.push(i); } _local3.sort(); } var sep = ""; var _local2 = 0; while (_local2 < _local3.length) { var val = _local1[_local3[_local2]]; var show = true; if (typeof(val) == "function") { show = showFunctions == true; } if (typeof(val) == "undefined") { show = showUndefined == true; } if (show) { result = result + sep; if (!(_local1 instanceof Array)) { result = result + (_local3[_local2] + ": "); } result = result + realToString(val, showFunctions, showUndefined, showXMLstructures, maxLineLength, indent); sep = ", `"; } _local2++; } if (_local1 instanceof Array) { result = result + "]"; } else { result = result + "}"; } } else if (t == "function") { result = "function"; } else if (t == "string") { result = ("\"" + _local1) + "\""; } else { result = String(_local1); } if (result == "undefined") { result = "-"; } inProgress.pop(); return(replaceAll(result, "`", ((result.length < maxLineLength) ? "" : (newline + doIndent(indent))))); } static function replaceAll(str, from, to) { var _local3 = str.split(from); var result = ""; var _local2 = ""; var _local1 = 0; while (_local1 < _local3.length) { result = result + (_local2 + _local3[_local1]); _local2 = to; _local1++; } return(result); } function doIndent(indent) { var _local3 = indent; var _local2 = ""; var _local1 = 0; while (_local1 < _local3) { _local2 = _local2 + " "; _local1++; } return(_local2); } }
Symbol 67 MovieClip [__Packages.mx.rpc.RelayResponder] Frame 0
class mx.rpc.RelayResponder extends Object { var __onFault, __obj, __onResult; function RelayResponder (resp, resultFunc, faultFunc) { var _local1 = this; super(); _local1.__obj = resp; _local1.__onFault = faultFunc; _local1.__onResult = resultFunc; } function onFault(fault) { __obj[__onFault](fault); } function onResult(result) { __obj[__onResult](result); } }
Symbol 68 MovieClip [__Packages.mx.rpc.DefaultResponder] Frame 0
class mx.rpc.DefaultResponder { var __target; function DefaultResponder (t) { target = (t); } function get target() { return(__target); } function set target(t) { __target = t; //return(target); } function onResult(event) { trace("RPC Result: " + event.__get__result()); } function onFault(event) { trace("RPC Fault: " + event.fault.faultstring); } }
Symbol 91 Button
on (release) { getURL ("http://www.flashrevo.com", "_blank"); }
Symbol 95 Button
on (release) { getURL ("http://www.clashflash.com", "_blank"); }
Symbol 114 MovieClip Frame 90
stop();
Symbol 128 MovieClip Frame 1
stop();
Symbol 153 MovieClip Frame 30
stop();
Symbol 157 Button
on (release) { getURL ("http://www.flashrevo.com", "_blank"); }
Symbol 194 Button
on (release) { _root.cpuSpeed = 7.8; gotoAndStop ("play"); } on (release) { _root.naamSpelerA = speler.spelerA.text; _root.spelerA = speler._currentframe; _root.pongA = (speler._currentframe * 2) - 1; _root.naamSpelerB = "Tenkes"; gotoAndStop ("lvl6"); }
Symbol 201 Button
on (release) { _root.cpuSpeed = 9; gotoAndStop ("play"); } on (release) { _root.naamSpelerA = speler.spelerA.text; _root.spelerA = speler._currentframe; _root.pongA = (speler._currentframe * 2) - 1; _root.naamSpelerB = "Mr. G&W"; gotoAndStop ("lvl8"); }
Symbol 207 Button
on (release) { _root.cpuSpeed = 10; gotoAndStop ("play"); } on (release) { _root.naamSpelerA = speler.spelerA.text; _root.spelerA = speler._currentframe; _root.pongA = (speler._currentframe * 2) - 1; _root.naamSpelerB = "Mr. G&W"; gotoAndStop ("lvl9"); }
Symbol 217 MovieClip Frame 15
stop();
Symbol 220 MovieClip Frame 31
stop();
Symbol 266 MovieClip Frame 645
stop();
Symbol 279 MovieClip Frame 1
stop();
Symbol 282 MovieClip Frame 1
stop();
Symbol 285 MovieClip Frame 21
stop();
Symbol 305 MovieClip Frame 1
stop(); back.onRelease = function () { _root.gotoAndStop("menu"); };
Symbol 305 MovieClip Frame 2
stop(); back.onRelease = function () { _root.gotoAndStop("menu"); };
Symbol 377 MovieClip Frame 310
stop();

Library Items

Symbol 1 GraphicUsed by:3
Symbol 2 GraphicUsed by:3
Symbol 3 MovieClip [snakeMC]Uses:1 2
Symbol 4 GraphicUsed by:5
Symbol 5 MovieClip [wallMC]Uses:4
Symbol 6 GraphicUsed by:7
Symbol 7 MovieClip [foodMC]Uses:6
Symbol 9 BitmapUsed by:10
Symbol 10 GraphicUses:9Used by:11
Symbol 11 MovieClipUses:10Used by:12 57
Symbol 12 MovieClip [RemotingDebugClasses]Uses:11Used by:Timeline
Symbol 57 MovieClip [RemotingClasses]Uses:11Used by:Timeline
Symbol 69 GraphicUsed by:Timeline
Symbol 70 GraphicUsed by:71
Symbol 71 MovieClipUses:70Used by:Timeline
Symbol 72 GraphicUsed by:84
Symbol 73 GraphicUsed by:77
Symbol 74 GraphicUsed by:75
Symbol 75 MovieClipUses:74Used by:77
Symbol 76 GraphicUsed by:77
Symbol 77 MovieClipUses:73 75 76Used by:84
Symbol 78 FontUsed by:79 298 301 304
Symbol 79 EditableTextUses:78Used by:84
Symbol 80 GraphicUsed by:81
Symbol 81 MovieClipUses:80Used by:84
Symbol 82 GraphicUsed by:83
Symbol 83 MovieClipUses:82Used by:84
Symbol 84 MovieClipUses:72 77 79 81 83Used by:Timeline
Symbol 8 MovieClip [__Packages.mx.remoting.DebugClasses]
Symbol 13 MovieClip [__Packages.mx.services.Log]
Symbol 14 MovieClip [__Packages.mx.remoting.Connection]
Symbol 15 MovieClip [__Packages.mx.remoting.NetServices]
Symbol 16 MovieClip [__Packages.mx.data.DataRange]
Symbol 17 MovieClip [__Packages.mx.data.PageableData]
Symbol 18 MovieClip [__Packages.mx.data.PageableList]
Symbol 19 MovieClip [__Packages.mx.events.EventDispatcher]
Symbol 20 MovieClip [__Packages.mx.remoting.NetServiceProxy]
Symbol 21 MovieClip [__Packages.mx.utils.Iterator]
Symbol 22 MovieClip [__Packages.mx.remoting.RecordSet]
Symbol 23 MovieClip [__Packages.mx.remoting.RecordSetIterator]
Symbol 24 MovieClip [__Packages.mx.remoting.RsDataRange]
Symbol 25 MovieClip [__Packages.mx.remoting.RsDataFetcher]
Symbol 26 MovieClip [__Packages.mx.remoting.NetServiceProxyResponder]
Symbol 27 MovieClip [__Packages.mx.remoting.debug.NetDebugConfig]
Symbol 28 MovieClip [__Packages.mx.utils.ObjectCopy]
Symbol 29 MovieClip [__Packages.mx.remoting.debug.events.NetDebug]
Symbol 30 MovieClip [__Packages.mx.remoting.debug.events.NetDebugNetConnection]
Symbol 31 MovieClip [__Packages.mx.remoting.debug.events.NetDebugConnect]
Symbol 32 MovieClip [__Packages.mx.remoting.debug.commands.Local]
Symbol 33 MovieClip [__Packages.mx.remoting.debug.commands.StartRTMPTrace]
Symbol 34 MovieClip [__Packages.mx.remoting.debug.ConnectionMixin]
Symbol 35 MovieClip [__Packages.mx.remoting.debug.events.NetDebugDuplicateNCDError]
Symbol 36 MovieClip [__Packages.mx.remoting.debug.GlobalLocalConnection]
Symbol 37 MovieClip [__Packages.mx.remoting.debug.commands.GetConfig]
Symbol 38 MovieClip [__Packages.mx.remoting.debug.events.NetDebugFailedSendError]
Symbol 39 MovieClip [__Packages.mx.remoting.debug.events.NetDebugStatus]
Symbol 40 MovieClip [__Packages.mx.remoting.debug.events.NetDebugError]
Symbol 41 MovieClip [__Packages.mx.remoting.debug.events.NetDebugTraceNetServices]
Symbol 42 MovieClip [__Packages.mx.remoting.debug.events.NetDebugTrace]
Symbol 43 MovieClip [__Packages.mx.remoting.debug.NetDebug]
Symbol 44 MovieClip [__Packages.mx.remoting.debug.commands.AddRTMPClient]
Symbol 45 MovieClip [__Packages.mx.remoting.RTMPClientIDResponse]
Symbol 46 MovieClip [__Packages.mx.remoting.debug.events.NetDebugCall]
Symbol 47 MovieClip [__Packages.mx.remoting.debug.events.NetDebugResult]
Symbol 48 MovieClip [__Packages.mx.remoting.debug.events.NetDebugReceiveCall]
Symbol 49 MovieClip [__Packages.mx.remoting.debug.NetDebugResponseProxy]
Symbol 50 MovieClip [__Packages.mx.remoting.debug.events.NetDebugClose]
Symbol 51 MovieClip [__Packages.mx.remoting.debug.commands.StopRTMPTrace]
Symbol 52 MovieClip [__Packages.mx.remoting.debug.events.NetDebugAddHeader]
Symbol 53 MovieClip [__Packages.mx.remoting.debug.events.NetDebugInfoError]
Symbol 54 MovieClip [__Packages.mx.remoting.debug.events.NetDebugRtmpLog]
Symbol 55 MovieClip [__Packages.mx.remoting.debug.commands.UpdateNetDebugConfig]
Symbol 56 MovieClip [__Packages.mx.remoting.ApiClasses]
Symbol 58 MovieClip [__Packages.mx.remoting.DataGlue]
Symbol 59 MovieClip [__Packages.mx.remoting.PendingCall]
Symbol 60 MovieClip [__Packages.mx.rpc.ResultEvent]
Symbol 61 MovieClip [__Packages.mx.rpc.Fault]
Symbol 62 MovieClip [__Packages.mx.rpc.FaultEvent]
Symbol 63 MovieClip [__Packages.mx.rpc.Responder]
Symbol 64 MovieClip [__Packages.mx.remoting.Service]
Symbol 65 MovieClip [__Packages.mx.remoting.Operation]
Symbol 66 MovieClip [__Packages.mx.data.binding.ObjectDumper]
Symbol 67 MovieClip [__Packages.mx.rpc.RelayResponder]
Symbol 68 MovieClip [__Packages.mx.rpc.DefaultResponder]
Symbol 85 GraphicUsed by:Timeline
Symbol 86 GraphicUsed by:87 91
Symbol 87 MovieClipUses:86Used by:90
Symbol 88 GraphicUsed by:89 91
Symbol 89 MovieClipUses:88Used by:90
Symbol 90 MovieClipUses:87 89Used by:91
Symbol 91 ButtonUses:90 86 88Used by:266  Timeline
Symbol 92 GraphicUsed by:95
Symbol 93 GraphicUsed by:95
Symbol 94 GraphicUsed by:95
Symbol 95 ButtonUses:92 93 94Used by:266  Timeline
Symbol 96 GraphicUsed by:114
Symbol 97 GraphicUsed by:114
Symbol 98 GraphicUsed by:114
Symbol 99 GraphicUsed by:114
Symbol 100 GraphicUsed by:114
Symbol 101 GraphicUsed by:114
Symbol 102 GraphicUsed by:114
Symbol 103 GraphicUsed by:114
Symbol 104 GraphicUsed by:114
Symbol 105 GraphicUsed by:114
Symbol 106 GraphicUsed by:114
Symbol 107 GraphicUsed by:114
Symbol 108 GraphicUsed by:114
Symbol 109 GraphicUsed by:114
Symbol 110 GraphicUsed by:114
Symbol 111 GraphicUsed by:114
Symbol 112 GraphicUsed by:114
Symbol 113 GraphicUsed by:114
Symbol 114 MovieClipUses:96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113Used by:Timeline
Symbol 115 ShapeTweeningUsed by:118
Symbol 116 ShapeTweeningUsed by:118
Symbol 117 GraphicUsed by:118
Symbol 118 MovieClipUses:115 116 117Used by:Timeline
Symbol 119 Sound [tiesto]Used by:128
Symbol 120 Sound [starfox]Used by:128
Symbol 121 Sound [instant]Used by:128
Symbol 122 Sound [Menu]Used by:128
Symbol 123 Sound [pokemon]Used by:128
Symbol 124 Sound [ocean]Used by:128
Symbol 125 Sound [muziek]Used by:128
Symbol 126 Sound [muziek2]Used by:128
Symbol 127 Sound [seagal]Used by:128
Symbol 128 MovieClipUses:119 120 121 122 123 124 125 126 127Used by:Timeline
Symbol 129 BitmapUsed by:130 148
Symbol 130 GraphicUses:129Used by:Timeline
Symbol 131 GraphicUsed by:135 137 140 142
Symbol 132 FontUsed by:133 136 138 141 175 179 182 185 269 272
Symbol 133 TextUses:132Used by:135
Symbol 134 GraphicUsed by:135 137 142
Symbol 135 ButtonUses:131 133 134Used by:Timeline
Symbol 136 TextUses:132Used by:137
Symbol 137 ButtonUses:131 136 134Used by:Timeline
Symbol 138 TextUses:132Used by:140
Symbol 139 GraphicUsed by:140
Symbol 140 ButtonUses:131 138 139Used by:Timeline
Symbol 141 TextUses:132Used by:142
Symbol 142 ButtonUses:131 141 134Used by:Timeline
Symbol 143 GraphicUsed by:147
Symbol 144 FontUsed by:145 210
Symbol 145 TextUses:144Used by:147
Symbol 146 GraphicUsed by:147
Symbol 147 ButtonUses:143 145 146Used by:Timeline
Symbol 148 GraphicUses:129Used by:149
Symbol 149 MovieClipUses:148Used by:Timeline
Symbol 150 ShapeTweeningUsed by:153
Symbol 151 GraphicUsed by:153
Symbol 152 GraphicUsed by:153
Symbol 153 MovieClipUses:150 151 152Used by:Timeline
Symbol 154 GraphicUsed by:157
Symbol 155 FontUsed by:156
Symbol 156 TextUses:155Used by:157
Symbol 157 ButtonUses:154 156Used by:Timeline
Symbol 158 GraphicUsed by:Timeline
Symbol 159 GraphicUsed by:Timeline
Symbol 160 GraphicUsed by:173
Symbol 161 GraphicUsed by:173
Symbol 162 GraphicUsed by:173
Symbol 163 GraphicUsed by:173
Symbol 164 GraphicUsed by:173
Symbol 165 GraphicUsed by:173
Symbol 166 GraphicUsed by:173
Symbol 167 GraphicUsed by:173
Symbol 168 GraphicUsed by:173
Symbol 169 GraphicUsed by:173
Symbol 170 GraphicUsed by:173
Symbol 171 GraphicUsed by:173
Symbol 172 GraphicUsed by:173
Symbol 173 MovieClipUses:160 161 162 163 164 165 166 167 168 169 170 171 172Used by:Timeline
Symbol 174 GraphicUsed by:177
Symbol 175 TextUses:132Used by:177
Symbol 176 GraphicUsed by:177
Symbol 177 ButtonUses:174 175 176Used by:305  Timeline
Symbol 178 GraphicUsed by:181 184 187
Symbol 179 TextUses:132Used by:181
Symbol 180 GraphicUsed by:181
Symbol 181 ButtonUses:178 179 180Used by:Timeline
Symbol 182 TextUses:132Used by:184
Symbol 183 GraphicUsed by:184
Symbol 184 ButtonUses:178 182 183Used by:Timeline
Symbol 185 TextUses:132Used by:187
Symbol 186 GraphicUsed by:187
Symbol 187 ButtonUses:178 185 186Used by:Timeline
Symbol 188 GraphicUsed by:Timeline
Symbol 189 BitmapUsed by:190 192 193
Symbol 190 GraphicUses:189Used by:194
Symbol 191 GraphicUsed by:194 201 207 214 225 231 237 243 249
Symbol 192 GraphicUses:189Used by:194
Symbol 193 GraphicUses:189Used by:194
Symbol 194 ButtonUses:190 191 192 193Used by:Timeline
Symbol 195 BitmapUsed by:196 198 199 200
Symbol 196 GraphicUses:195Used by:201
Symbol 197 GraphicUsed by:201
Symbol 198 GraphicUses:195Used by:201
Symbol 199 GraphicUses:195Used by:201
Symbol 200 GraphicUses:195Used by:201
Symbol 201 ButtonUses:196 191 197 198 199 200Used by:Timeline
Symbol 202 BitmapUsed by:203 204 205 206
Symbol 203 GraphicUses:202Used by:207
Symbol 204 GraphicUses:202Used by:207
Symbol 205 GraphicUses:202Used by:207
Symbol 206 GraphicUses:202Used by:207
Symbol 207 ButtonUses:203 191 204 205 206Used by:Timeline
Symbol 208 BitmapUsed by:209 212 213
Symbol 209 GraphicUses:208Used by:214
Symbol 210 TextUses:144Used by:214
Symbol 211 GraphicUsed by:214
Symbol 212 GraphicUses:208Used by:214
Symbol 213 GraphicUses:208Used by:214
Symbol 214 ButtonUses:209 210 191 211 212 213Used by:Timeline
Symbol 215 GraphicUsed by:217
Symbol 216 GraphicUsed by:217
Symbol 217 MovieClipUses:215 216Used by:Timeline
Symbol 218 GraphicUsed by:220
Symbol 219 GraphicUsed by:220
Symbol 220 MovieClipUses:218 219Used by:Timeline
Symbol 221 BitmapUsed by:222 223 224
Symbol 222 GraphicUses:221Used by:225
Symbol 223 GraphicUses:221Used by:225
Symbol 224 GraphicUses:221Used by:225
Symbol 225 ButtonUses:222 191 223 224Used by:Timeline
Symbol 226 BitmapUsed by:227 228 229 230
Symbol 227 GraphicUses:226Used by:231
Symbol 228 GraphicUses:226Used by:231
Symbol 229 GraphicUses:226Used by:231
Symbol 230 GraphicUses:226Used by:231
Symbol 231 ButtonUses:227 191 228 229 230Used by:Timeline
Symbol 232 BitmapUsed by:233 234 235 236
Symbol 233 GraphicUses:232Used by:237
Symbol 234 GraphicUses:232Used by:237
Symbol 235 GraphicUses:232Used by:237
Symbol 236 GraphicUses:232Used by:237
Symbol 237 ButtonUses:233 191 234 235 236Used by:Timeline
Symbol 238 BitmapUsed by:239 240 241 242
Symbol 239 GraphicUses:238Used by:243
Symbol 240 GraphicUses:238Used by:243
Symbol 241 GraphicUses:238Used by:243
Symbol 242 GraphicUses:238Used by:243
Symbol 243 ButtonUses:239 191 240 241 242Used by:Timeline
Symbol 244 BitmapUsed by:245 246 247 248
Symbol 245 GraphicUses:244Used by:249
Symbol 246 GraphicUses:244Used by:249
Symbol 247 GraphicUses:244Used by:249
Symbol 248 GraphicUses:244Used by:249
Symbol 249 ButtonUses:245 191 246 247 248Used by:Timeline
Symbol 250 GraphicUsed by:Timeline
Symbol 251 GraphicUsed by:266
Symbol 252 FontUsed by:253 254 255 256 257 259 260 261 262 263 264 265 286 287 288 289 290 291 293 299 302 306 307 309 310 311 316 317 324 326 327 328 330 331 355 358 359 360 362 363 366 368 369 373 374 375 376 378 380 381 402 404 405 414 416 417 421
Symbol 253 EditableTextUses:252Used by:266
Symbol 254 EditableTextUses:252Used by:266
Symbol 255 EditableTextUses:252Used by:266
Symbol 256 EditableTextUses:252Used by:266
Symbol 257 EditableTextUses:252Used by:266
Symbol 258 GraphicUsed by:266
Symbol 259 EditableTextUses:252Used by:266
Symbol 260 EditableTextUses:252Used by:266
Symbol 261 EditableTextUses:252Used by:266
Symbol 262 EditableTextUses:252Used by:266
Symbol 263 EditableTextUses:252Used by:266
Symbol 264 EditableTextUses:252Used by:266
Symbol 265 EditableTextUses:252Used by:266
Symbol 266 MovieClipUses:251 253 254 255 256 257 91 95 258 259 260 261 262 263 264 265Used by:Timeline
Symbol 267 GraphicUsed by:Timeline
Symbol 268 GraphicUsed by:271 274
Symbol 269 TextUses:132Used by:271
Symbol 270 GraphicUsed by:271
Symbol 271 ButtonUses:268 269 270Used by:Timeline
Symbol 272 TextUses:132Used by:274
Symbol 273 GraphicUsed by:274
Symbol 274 ButtonUses:268 272 273Used by:Timeline
Symbol 275 FontUsed by:276 277 278 280 281
Symbol 276 TextUses:275Used by:279
Symbol 277 TextUses:275Used by:279
Symbol 278 TextUses:275Used by:279
Symbol 279 MovieClipUses:276 277 278Used by:Timeline
Symbol 280 TextUses:275Used by:282
Symbol 281 TextUses:275Used by:282
Symbol 282 MovieClipUses:280 281Used by:Timeline
Symbol 283 GraphicUsed by:Timeline
Symbol 284 GraphicUsed by:285
Symbol 285 MovieClipUses:284Used by:Timeline
Symbol 286 EditableTextUses:252Used by:Timeline
Symbol 287 EditableTextUses:252Used by:Timeline
Symbol 288 EditableTextUses:252Used by:Timeline
Symbol 289 EditableTextUses:252Used by:Timeline
Symbol 290 EditableTextUses:252Used by:Timeline
Symbol 291 EditableTextUses:252Used by:Timeline
Symbol 292 GraphicUsed by:Timeline
Symbol 293 EditableTextUses:252Used by:Timeline
Symbol 294 MovieClipUsed by:Timeline
Symbol 295 GraphicUsed by:Timeline
Symbol 296 GraphicUsed by:308  Timeline
Symbol 297 GraphicUsed by:305
Symbol 298 EditableTextUses:78Used by:305
Symbol 299 EditableTextUses:252Used by:305
Symbol 300 GraphicUsed by:305
Symbol 301 EditableTextUses:78Used by:305
Symbol 302 EditableTextUses:252Used by:305
Symbol 303 GraphicUsed by:305
Symbol 304 EditableTextUses:78Used by:305
Symbol 305 MovieClipUses:297 177 298 299 300 301 302 303 304Used by:Timeline
Symbol 306 EditableTextUses:252Used by:Timeline
Symbol 307 EditableTextUses:252Used by:Timeline
Symbol 308 MovieClipUses:296Used by:Timeline
Symbol 309 EditableTextUses:252Used by:Timeline
Symbol 310 EditableTextUses:252Used by:Timeline
Symbol 311 EditableTextUses:252Used by:Timeline
Symbol 312 GraphicUsed by:Timeline
Symbol 313 GraphicUsed by:Timeline
Symbol 314 GraphicUsed by:315
Symbol 315 MovieClipUses:314Used by:Timeline
Symbol 316 EditableTextUses:252Used by:Timeline
Symbol 317 EditableTextUses:252Used by:Timeline
Symbol 318 GraphicUsed by:320
Symbol 319 GraphicUsed by:320
Symbol 320 MovieClipUses:318 319Used by:Timeline
Symbol 321 GraphicUsed by:323
Symbol 322 GraphicUsed by:323
Symbol 323 MovieClipUses:321 322Used by:Timeline
Symbol 324 EditableTextUses:252Used by:Timeline
Symbol 325 GraphicUsed by:Timeline
Symbol 326 EditableTextUses:252Used by:Timeline
Symbol 327 EditableTextUses:252Used by:Timeline
Symbol 328 EditableTextUses:252Used by:Timeline
Symbol 329 GraphicUsed by:Timeline
Symbol 330 EditableTextUses:252Used by:Timeline
Symbol 331 EditableTextUses:252Used by:Timeline
Symbol 332 GraphicUsed by:342
Symbol 333 GraphicUsed by:342
Symbol 334 GraphicUsed by:342
Symbol 335 GraphicUsed by:342
Symbol 336 GraphicUsed by:342
Symbol 337 GraphicUsed by:342
Symbol 338 GraphicUsed by:342
Symbol 339 GraphicUsed by:342
Symbol 340 GraphicUsed by:342
Symbol 341 GraphicUsed by:342
Symbol 342 MovieClipUses:332 333 334 335 336 337 338 339 340 341Used by:Timeline
Symbol 343 GraphicUsed by:344
Symbol 344 MovieClipUses:343Used by:Timeline
Symbol 345 ShapeTweeningUsed by:350
Symbol 346 ShapeTweeningUsed by:350
Symbol 347 ShapeTweeningUsed by:350
Symbol 348 ShapeTweeningUsed by:350
Symbol 349 GraphicUsed by:350
Symbol 350 MovieClipUses:345 346 347 348 349Used by:Timeline
Symbol 351 GraphicUsed by:352
Symbol 352 MovieClipUses:351Used by:Timeline
Symbol 353 GraphicUsed by:354
Symbol 354 MovieClipUses:353Used by:Timeline
Symbol 355 EditableTextUses:252Used by:Timeline
Symbol 356 GraphicUsed by:Timeline
Symbol 357 GraphicUsed by:Timeline
Symbol 358 EditableTextUses:252Used by:Timeline
Symbol 359 EditableTextUses:252Used by:Timeline
Symbol 360 EditableTextUses:252Used by:Timeline
Symbol 361 GraphicUsed by:Timeline
Symbol 362 EditableTextUses:252Used by:Timeline
Symbol 363 EditableTextUses:252Used by:Timeline
Symbol 364 GraphicUsed by:Timeline
Symbol 365 GraphicUsed by:Timeline
Symbol 366 EditableTextUses:252Used by:Timeline
Symbol 367 GraphicUsed by:Timeline
Symbol 368 EditableTextUses:252Used by:Timeline
Symbol 369 EditableTextUses:252Used by:Timeline
Symbol 370 GraphicUsed by:Timeline
Symbol 371 GraphicUsed by:Timeline
Symbol 372 GraphicUsed by:Timeline
Symbol 373 EditableTextUses:252Used by:377
Symbol 374 EditableTextUses:252Used by:377
Symbol 375 EditableTextUses:252Used by:377
Symbol 376 EditableTextUses:252Used by:377
Symbol 377 MovieClipUses:373 374 375 376Used by:Timeline
Symbol 378 EditableTextUses:252Used by:Timeline
Symbol 379 GraphicUsed by:Timeline
Symbol 380 EditableTextUses:252Used by:Timeline
Symbol 381 EditableTextUses:252Used by:Timeline
Symbol 382 GraphicUsed by:Timeline
Symbol 383 GraphicUsed by:384
Symbol 384 MovieClipUses:383Used by:Timeline
Symbol 385 GraphicUsed by:388
Symbol 386 GraphicUsed by:388
Symbol 387 GraphicUsed by:388
Symbol 388 MovieClipUses:385 386 387Used by:Timeline
Symbol 389 GraphicUsed by:391
Symbol 390 GraphicUsed by:391
Symbol 391 MovieClipUses:389 390Used by:Timeline
Symbol 392 GraphicUsed by:Timeline
Symbol 393 GraphicUsed by:400
Symbol 394 GraphicUsed by:400
Symbol 395 GraphicUsed by:400
Symbol 396 GraphicUsed by:400
Symbol 397 GraphicUsed by:400
Symbol 398 GraphicUsed by:400
Symbol 399 GraphicUsed by:400
Symbol 400 MovieClipUses:393 394 395 396 397 398 399Used by:Timeline
Symbol 401 GraphicUsed by:Timeline
Symbol 402 EditableTextUses:252Used by:Timeline
Symbol 403 GraphicUsed by:Timeline
Symbol 404 EditableTextUses:252Used by:Timeline
Symbol 405 EditableTextUses:252Used by:Timeline
Symbol 406 GraphicUsed by:Timeline
Symbol 407 GraphicUsed by:Timeline
Symbol 408 GraphicUsed by:Timeline
Symbol 409 GraphicUsed by:Timeline
Symbol 410 GraphicUsed by:Timeline
Symbol 411 GraphicUsed by:412 413
Symbol 412 MovieClipUses:411Used by:Timeline
Symbol 413 MovieClipUses:411Used by:Timeline
Symbol 414 EditableTextUses:252Used by:Timeline
Symbol 415 GraphicUsed by:Timeline
Symbol 416 EditableTextUses:252Used by:Timeline
Symbol 417 EditableTextUses:252Used by:Timeline
Symbol 418 BitmapUsed by:419
Symbol 419 GraphicUses:418Used by:Timeline
Symbol 420 GraphicUsed by:Timeline
Symbol 421 EditableTextUses:252Used by:Timeline

Instance Names

"settingsbut"Frame 104Symbol 135 Button
"creditsbut"Frame 104Symbol 137 Button
"instantbut"Frame 104Symbol 140 Button
"helpbut"Frame 104Symbol 142 Button
"specialbut"Frame 104Symbol 147 Button
"back"Frame 105Symbol 177 Button
"easy"Frame 105Symbol 181 Button
"medium"Frame 105Symbol 184 Button
"hard"Frame 105Symbol 187 Button
"lvl8but"Frame 106Symbol 201 Button
"lvl1but"Frame 106Symbol 207 Button
"speciallvlbut"Frame 106Symbol 214 Button
"lvl3but"Frame 106Symbol 225 Button
"lvl4but"Frame 106Symbol 231 Button
"lvl7but"Frame 106Symbol 237 Button
"lvl2but"Frame 106Symbol 243 Button
"lvl5but"Frame 106Symbol 249 Button
"soundsbut"Frame 108Symbol 271 Button
"gfxbut"Frame 108Symbol 274 Button
"gamequal"Frame 108Symbol 279 MovieClip
"mus"Frame 108Symbol 282 MovieClip
"game"Frame 110Symbol 294 MovieClip
"textMC"Frame 110Symbol 305 MovieClip
"scoreTextField"Frame 110Symbol 306 EditableText
"scoreTextField"Frame 111Symbol 309 EditableText
"scoreTextField"Frame 112Symbol 311 EditableText
"game"Frame 113Symbol 294 MovieClip
"textMC"Frame 113Symbol 305 MovieClip
"scoreTextField"Frame 113Symbol 324 EditableText
"scoreTextField"Frame 114Symbol 328 EditableText
"scoreTextField"Frame 115Symbol 355 EditableText
"scoreTextField"Frame 116Symbol 360 EditableText
"scoreTextField"Frame 117Symbol 366 EditableText
"scoreTextField"Frame 118Symbol 378 EditableText
"scoreTextField"Frame 119Symbol 402 EditableText
"scoreTextField"Frame 120Symbol 414 EditableText
"scoreTextField"Frame 121Symbol 421 EditableText
"preview"Symbol 12 MovieClip [RemotingDebugClasses] Frame 1Symbol 11 MovieClip
"preview"Symbol 57 MovieClip [RemotingClasses] Frame 1Symbol 11 MovieClip
"preloaderBalk"Symbol 84 MovieClip Frame 1Symbol 77 MovieClip
"pc_txt"Symbol 84 MovieClip Frame 1Symbol 79 EditableText
"back"Symbol 305 MovieClip Frame 1Symbol 177 Button

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS1/AS2.
ExportAssets (56)Timeline Frame 1Symbol 3 as "snakeMC"
ExportAssets (56)Timeline Frame 1Symbol 5 as "wallMC"
ExportAssets (56)Timeline Frame 1Symbol 7 as "foodMC"
ExportAssets (56)Timeline Frame 1Symbol 12 as "RemotingDebugClasses"
ExportAssets (56)Timeline Frame 1Symbol 57 as "RemotingClasses"
ExportAssets (56)Timeline Frame 1Symbol 8 as "__Packages.mx.remoting.DebugClasses"
ExportAssets (56)Timeline Frame 1Symbol 13 as "__Packages.mx.services.Log"
ExportAssets (56)Timeline Frame 1Symbol 14 as "__Packages.mx.remoting.Connection"
ExportAssets (56)Timeline Frame 1Symbol 15 as "__Packages.mx.remoting.NetServices"
ExportAssets (56)Timeline Frame 1Symbol 16 as "__Packages.mx.data.DataRange"
ExportAssets (56)Timeline Frame 1Symbol 17 as "__Packages.mx.data.PageableData"
ExportAssets (56)Timeline Frame 1Symbol 18 as "__Packages.mx.data.PageableList"
ExportAssets (56)Timeline Frame 1Symbol 19 as "__Packages.mx.events.EventDispatcher"
ExportAssets (56)Timeline Frame 1Symbol 20 as "__Packages.mx.remoting.NetServiceProxy"
ExportAssets (56)Timeline Frame 1Symbol 21 as "__Packages.mx.utils.Iterator"
ExportAssets (56)Timeline Frame 1Symbol 22 as "__Packages.mx.remoting.RecordSet"
ExportAssets (56)Timeline Frame 1Symbol 23 as "__Packages.mx.remoting.RecordSetIterator"
ExportAssets (56)Timeline Frame 1Symbol 24 as "__Packages.mx.remoting.RsDataRange"
ExportAssets (56)Timeline Frame 1Symbol 25 as "__Packages.mx.remoting.RsDataFetcher"
ExportAssets (56)Timeline Frame 1Symbol 26 as "__Packages.mx.remoting.NetServiceProxyResponder"
ExportAssets (56)Timeline Frame 1Symbol 27 as "__Packages.mx.remoting.debug.NetDebugConfig"
ExportAssets (56)Timeline Frame 1Symbol 28 as "__Packages.mx.utils.ObjectCopy"
ExportAssets (56)Timeline Frame 1Symbol 29 as "__Packages.mx.remoting.debug.events.NetDebug"
ExportAssets (56)Timeline Frame 1Symbol 30 as "__Packages.mx.remoting.debug.events.NetDebugNetConnection"
ExportAssets (56)Timeline Frame 1Symbol 31 as "__Packages.mx.remoting.debug.events.NetDebugConnect"
ExportAssets (56)Timeline Frame 1Symbol 32 as "__Packages.mx.remoting.debug.commands.Local"
ExportAssets (56)Timeline Frame 1Symbol 33 as "__Packages.mx.remoting.debug.commands.StartRTMPTrace"
ExportAssets (56)Timeline Frame 1Symbol 34 as "__Packages.mx.remoting.debug.ConnectionMixin"
ExportAssets (56)Timeline Frame 1Symbol 35 as "__Packages.mx.remoting.debug.events.NetDebugDuplicateNCDError"
ExportAssets (56)Timeline Frame 1Symbol 36 as "__Packages.mx.remoting.debug.GlobalLocalConnection"
ExportAssets (56)Timeline Frame 1Symbol 37 as "__Packages.mx.remoting.debug.commands.GetConfig"
ExportAssets (56)Timeline Frame 1Symbol 38 as "__Packages.mx.remoting.debug.events.NetDebugFailedSendError"
ExportAssets (56)Timeline Frame 1Symbol 39 as "__Packages.mx.remoting.debug.events.NetDebugStatus"
ExportAssets (56)Timeline Frame 1Symbol 40 as "__Packages.mx.remoting.debug.events.NetDebugError"
ExportAssets (56)Timeline Frame 1Symbol 41 as "__Packages.mx.remoting.debug.events.NetDebugTraceNetServices"
ExportAssets (56)Timeline Frame 1Symbol 42 as "__Packages.mx.remoting.debug.events.NetDebugTrace"
ExportAssets (56)Timeline Frame 1Symbol 43 as "__Packages.mx.remoting.debug.NetDebug"
ExportAssets (56)Timeline Frame 1Symbol 44 as "__Packages.mx.remoting.debug.commands.AddRTMPClient"
ExportAssets (56)Timeline Frame 1Symbol 45 as "__Packages.mx.remoting.RTMPClientIDResponse"
ExportAssets (56)Timeline Frame 1Symbol 46 as "__Packages.mx.remoting.debug.events.NetDebugCall"
ExportAssets (56)Timeline Frame 1Symbol 47 as "__Packages.mx.remoting.debug.events.NetDebugResult"
ExportAssets (56)Timeline Frame 1Symbol 48 as "__Packages.mx.remoting.debug.events.NetDebugReceiveCall"
ExportAssets (56)Timeline Frame 1Symbol 49 as "__Packages.mx.remoting.debug.NetDebugResponseProxy"
ExportAssets (56)Timeline Frame 1Symbol 50 as "__Packages.mx.remoting.debug.events.NetDebugClose"
ExportAssets (56)Timeline Frame 1Symbol 51 as "__Packages.mx.remoting.debug.commands.StopRTMPTrace"
ExportAssets (56)Timeline Frame 1Symbol 52 as "__Packages.mx.remoting.debug.events.NetDebugAddHeader"
ExportAssets (56)Timeline Frame 1Symbol 53 as "__Packages.mx.remoting.debug.events.NetDebugInfoError"
ExportAssets (56)Timeline Frame 1Symbol 54 as "__Packages.mx.remoting.debug.events.NetDebugRtmpLog"
ExportAssets (56)Timeline Frame 1Symbol 55 as "__Packages.mx.remoting.debug.commands.UpdateNetDebugConfig"
ExportAssets (56)Timeline Frame 1Symbol 56 as "__Packages.mx.remoting.ApiClasses"
ExportAssets (56)Timeline Frame 1Symbol 58 as "__Packages.mx.remoting.DataGlue"
ExportAssets (56)Timeline Frame 1Symbol 59 as "__Packages.mx.remoting.PendingCall"
ExportAssets (56)Timeline Frame 1Symbol 60 as "__Packages.mx.rpc.ResultEvent"
ExportAssets (56)Timeline Frame 1Symbol 61 as "__Packages.mx.rpc.Fault"
ExportAssets (56)Timeline Frame 1Symbol 62 as "__Packages.mx.rpc.FaultEvent"
ExportAssets (56)Timeline Frame 1Symbol 63 as "__Packages.mx.rpc.Responder"
ExportAssets (56)Timeline Frame 1Symbol 64 as "__Packages.mx.remoting.Service"
ExportAssets (56)Timeline Frame 1Symbol 65 as "__Packages.mx.remoting.Operation"
ExportAssets (56)Timeline Frame 1Symbol 66 as "__Packages.mx.data.binding.ObjectDumper"
ExportAssets (56)Timeline Frame 1Symbol 67 as "__Packages.mx.rpc.RelayResponder"
ExportAssets (56)Timeline Frame 1Symbol 68 as "__Packages.mx.rpc.DefaultResponder"
ExportAssets (56)Timeline Frame 3Symbol 119 as "tiesto"
ExportAssets (56)Timeline Frame 3Symbol 120 as "starfox"
ExportAssets (56)Timeline Frame 3Symbol 121 as "instant"
ExportAssets (56)Timeline Frame 3Symbol 122 as "Menu"
ExportAssets (56)Timeline Frame 3Symbol 123 as "pokemon"
ExportAssets (56)Timeline Frame 3Symbol 124 as "ocean"
ExportAssets (56)Timeline Frame 3Symbol 125 as "muziek"
ExportAssets (56)Timeline Frame 3Symbol 126 as "muziek2"
ExportAssets (56)Timeline Frame 3Symbol 127 as "seagal"

Labels

"intro"Frame 3
"menu"Frame 104
"action"Frame 105
"special"Frame 106
"credits"Frame 107
"settings"Frame 108
"help"Frame 109
"game_easy"Frame 110
"game_medium"Frame 111
"game_hard"Frame 112
"lvl1"Frame 113
"lvl2"Frame 114
"lvl3"Frame 115
"lvl4"Frame 116
"lvl7"Frame 117
"lvl8"Frame 118
"lvl5"Frame 119
"lvl6"Frame 120
"speciallvl"Frame 121
"LOW"Symbol 279 MovieClip Frame 1
"MEDIUM"Symbol 279 MovieClip Frame 2
"HIGH"Symbol 279 MovieClip Frame 3
"ON"Symbol 282 MovieClip Frame 1
"OFF"Symbol 282 MovieClip Frame 2
"start"Symbol 305 MovieClip Frame 1
"gameOver"Symbol 305 MovieClip Frame 2
"paused"Symbol 305 MovieClip Frame 3
"hide"Symbol 305 MovieClip Frame 4




http://swfchan.com/13/64097/info.shtml
Created: 13/4 -2019 08:24:56 Last modified: 13/4 -2019 08:24:56 Server time: 20/01 -2025 12:26:02