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

swfchan turned sixteen years old yesterday! (5may2024)

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

pacman-flash.swf

This is the info page for
Flash #78570

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


Text
LOADING...

PLAY GAME

HIGH SCORES

PA  MAN

<p align="center"><font face="Verdana" size="9" color="#ffffff" letterSpacing="0.000000" kerning="0"><a href="http://www.neave.com/games" target = "_blank">neave </a></font></p>

<p align="center"><font face="Whimsy TT" size="15" color="#ff0000" letterSpacing="0.000000" kerning="0"><a href="http://www.thepcmanwebsite.com" target = "_top"><b>The PCman Website</b></a></font></p><p align="center"><font face="Arial" size="12" color="#0000ff" letterSpacing="0.000000" kerning="0"><a href="http://www.thepcmanwebsite.com" target = "_top"><b>http://www.thepcmanwebsite.com</b></a></font></p><p align="center"><font face="Arial" size="12" color="#ffffff" letterSpacing="0.000000" kerning="0"><a href="http://www.thepcmanwebsite.com" target = "_top"><b>Click here to play tons more games!</b></a></font></p>

<p align="center"><font face="Arial" size="14" color="#ffff00" letterSpacing="0.000000" kerning="0"><a href="http://www.thepcmanwebsite.com/affiliate_games.shtml" target = "_top"><b>Get FREE Games for your site</b></a></font></p>

<p align="center"><font face="Verdana" size="9" color="#ffffff" letterSpacing="0.000000" kerning="0">The original game is a registered trademark of Namco LTD.</font></p>

<p align="center"></p>

SCORE

LIVES

GET READY!

PAUSED

QUIT? Y/N

LEVEL

GAME OVER

GO BACK

<p align="center"><font face="Whimsy TT" size="18" color="#ff0000" letterSpacing="0.000000" kerning="0"><a href="http://www.thepcmanwebsite.com" target = "_top"><b>The PCman&apos;s</b></a><font color="#66ff66"><a href="http://www.thepcmanwebsite.com" target = "_top"><b> &nbsp;</b></a><font size="15" color="#ffff33"><a href="http://www.thepcmanwebsite.com" target = "_top"><b>High Score list</b></a></font></font></font></p>

OK

ENTER YOUR NAME,
HIGH SCORER!

NAME

SCORE

LAST 10

NEXT 10

ActionScript [AS1/AS2]

Frame 1
stop(); Stage.showMenu = false; this.onEnterFrame = function () { var _local1 = this; sofar = _local1.getBytesLoaded(); total = _local1.getBytesTotal(); Bar._width = int((sofar / total) * 100); if (sofar == total) { delete _local1.onEnterFrame; nextFrame(); } };
Frame 2
String.prototype.addCommas = function () { var _local3 = this.length; var _local2 = ""; var _local1 = 0; while (_local1 <= _local3) { _local2 = this.charAt(_local3 - _local1) + _local2; if ((((_local1 % 3) == 0) && (_local1 > 0)) && (_local1 < _local3)) { _local2 = "," + _local2; } _local1++; } return(_local2); }; game_so = SharedObject.getLocal("neavePacman"); score = 0;
Frame 4
function initVars() { pacDir = 3; pacPos = 0; pacX = 14; pacY = 23; nextX = pacX - 1; nextY = pacY; nextPacDir = 3; ghKill = 100; ghBlue = 0; numEyes = 0; Pacman.gotoAndStop(1); pacStep = 4; pacPosMax = 2; pauseCount = 0; with (Pacman) { _x = OFFX + (12 * pacX); _y = OFFY + (12 * pacY); _rotation = 0; } tellTarget (Ghost[1]) { ghPos = 1; ghDir = 3; ghX = 13; ghY = 11; ghNX = ghX - 1; _y = (_root.OFFY + 132); cOrig = 14483456 /* 0xDD0000 */; }; tellTarget (Ghost[2]) { ghDir = 0; ghX = 13; cOrig = 16751001 /* 0xFF9999 */; }; tellTarget (Ghost[3]) { ghDir = 2; ghX = 11; cOrig = 6750207 /* 0x66FFFF */; }; tellTarget (Ghost[4]) { ghDir = 2; ghX = 15; cOrig = 16750848 /* 0xFF9900 */; }; g = 1; while (g < 5) { tellTarget (Ghost[g]) { if (this.g > 1) { ghPos = 0; ghY = 14; ghNX = ghX; _y = (_root.OFFY + 174); } _x = ((_root.OFFX + (12 * ghX)) + 6); gotoAndStop (1); Eyes.gotoAndStop(1); gNum = 0; ghNY = ghY; ghStep = 4; ghPosMax = 2; ghFast = true; Shape._visible = true; Shape.Hit._visible = true; c = new Color(Shape); c.setRGB(cOrig); }; g++; } } function setPacMove(d) { var _local1 = d; if (_local1 == 0) { nextX = pacX; nextY = pacY - 1; Pacman._rotation = 90; } else if (_local1 == 1) { nextX = pacX + 1; nextY = pacY; Pacman._rotation = 180; } else if (_local1 == 2) { nextX = pacX; nextY = pacY + 1; Pacman._rotation = -90; } else if (_local1 == 3) { nextX = pacX - 1; nextY = pacY; Pacman._rotation = 0; } } function setGhMove(d, g) { with (Ghost[g]) { if (d == 0) { ghNX = ghX; ghNY = ghY - 1; } else if (d == 1) { ghNX = ghX + 1; ghNY = ghY; } else if (d == 2) { ghNX = ghX; ghNY = ghY + 1; } else if (d == 3) { ghNX = ghX - 1; ghNY = ghY; } } } function startBGSnd() { var _local1 = _root; tellTarget ("BGSnd") { if (_local1.ghBlue > 2) { if (_local1.numEyes) { EyesGh.start(0, 100); BlueGh.stop(); } else { EyesGh.stop(); BlueGh.start(0, 100); } } else { BlueGh.stop(); EyesGh.stop(); _local1["Back" + _local1.bgNum].start(0, 1000); } }; } OFFX = 18; OFFY = 18; score = 0; lastScore = 0; lives = 3; level = 0; fruitNum = 1; notMute = true; newLev = true; newGame = true; newLife = false; quttting = false; quit = false; Snd.ChSnd = true; Pacman.Hit._visible = false; ghPause = 40; ghBVal = 162; ghMove = new Array(4); ghChoice = new Array(4); ghBest = new Array(4); var g = 1; while (g < 5) { Ghost.attachMovie("Ghost", g, g); Ghost.attachMovie("GhKill", "K" + g, g + 4); Ghost["K" + g].kval = ""; g++; } var i = 1; while (i < 5) { _root["Life" + i].gotoAndStop(1); if (i >= lives) { _root["Life" + i]._visible = false; } i++; } m = "#############################............##............##.####.#####.##.#####.####.##O####.#####.##.#####.####O##.####.#####.##.#####.####.##..........................##.####.##.########.##.####.##.####.##.########.##.####.##......##....##....##......#######.##### ## #####.############.##### ## #####.############.## ##.############.## ######## ##.############.## # # # ## ##.######L . # # # ## . R######.## ### #### ##.############.## ######## ##.############.## ##.############.## ######## ##.############.## ######## ##.#######............##............##.####.#####.##.#####.####.##.####.#####.##.#####.####.##O..##....... .......##..O####.##.##.########.##.##.######.##.##.########.##.##.####......##....##....##......##.##########.##.##########.##.##########.##.##########.##..........................#############################"; var i = -1; while (i < 29) { Maze.attachMovie("Empty", i, i + 1); i++; } pos = 0; var j = 0; while (j < 31) { var i = 0; while (i < 28) { Maze[i][j] = m.charAt(pos++); pill = false; if (Maze[i][j] == ".") { pill = true; Maze[i].attachMovie("Pill", "P" + j, pos); } if (Maze[i][j] == "O") { pill = true; Maze[i].attachMovie("Power", "P" + j, pos); } if (pill) { with (Maze[i]["P" + j]) { _x = OFFX + (12 * i); _y = OFFY + (12 * j); } } i++; } j++; }
Instance of Symbol 25 MovieClip [Empty] "Maze" in Frame 4
onClipEvent (keyDown) { with (_root) { if (Key.getCode() == 38) { nextPacDir = 0; } else if (Key.getCode() == 39) { nextPacDir = 1; } else if (Key.getCode() == 40) { nextPacDir = 2; } else if (Key.getCode() == 37) { nextPacDir = 3; } else if (playing && ((Key.getCode() == 80) || (Key.getCode() == 112))) { if (Ready._visible) { Ready._visible = false; Ready.gotoAndStop(1); if (notMute) { startBGSnd(); } if (!stopped) { Pacman.play(); } play(); } else { stop(); Ready.gotoAndStop("Paused"); Ready._visible = true; stopAllSounds(); Pacman.stop(); } } else if (playing && (((Key.getCode() == 81) || (Key.getCode() == 113)) || (Key.getCode() == 27))) { quitting = true; stop(); Ready.gotoAndStop("Quit"); Ready._visible = true; stopAllSounds(); Pacman.stop(); } else if (quitting && ((Key.getCode() == 78) || (Key.getCode() == 110))) { quitting = false; Ready._visible = false; Ready.gotoAndStop(1); if (notMute) { startBGSnd(); } if (!stopped) { Pacman.play(); } play(); } else if (quitting && ((Key.getCode() == 89) || (Key.getCode() == 121))) { quit = true; play(); } else if ((playing && (!Ready._visible)) && ((Key.getCode() == 77) || (Key.getCode() == 109))) { notMute = !notMute; if (notMute) { startBGSnd(); } else { stopAllSounds(); } } else if ((Key.getCode() == 76) || (Key.getCode() == 108)) { toggleHighQuality(); } } }
Frame 5
stop(); stopAllSounds(); playing = false; stopped = true; Fruit.gotoAndStop(1); if (newLev) { newLev = false; bgNum = 1; pillEat = 0; level++; if (ghPause > 4) { ghPause = ghPause - 4; } if (ghBVal > 2) { ghBVal = ghBVal - 10; } if (fruitNum < 14) { fruitNum++; FrLev.gotoAndStop(fruitNum); } initVars(); if (!newGame) { var g = 1; while (g < 5) { Ghost[g]._visible = false; g++; } Pacman._visible = false; BGSnd.gotoAndPlay("NewLev"); } } if (newLife) { newLife = false; Ready._visible = true; lives--; if (lives > 0) { _root["Life" + lives]._visible = false; initVars(); BGSnd.gotoAndPlay("NewLife"); } else { Pacman._visible = false; Ready.gotoAndStop("GameOver"); } } if (newGame) { BGSnd.gotoAndPlay("NewGame"); }
Frame 6
ang = Math.abs(pacDir - nextPacDir) / 2; if (ang == 1) { pacDir = nextPacDir; } else if (pacPos == 0) { tempDir = pacDir; pacDir = nextPacDir; } setPacMove(pacDir); if (pacPos == 0) { P = Maze[pacX]["P" + pacY]; if (P._visible) { pacStep = 4; pacPosMax = 2; if (notMute) { tellTarget ("Snd") { if (ChSnd) { gotoAndPlay ("Chomp1"); } else { gotoAndPlay ("Chomp2"); } ChSnd = !ChSnd; }; } P._visible = false; pillEat++; if (notMute) { if (pillEat == 180) { BGSnd.Back1.stop(); bgNum = 2; BGSnd.Back2.start(0, 1000); } else if (pillEat == 230) { BGSnd.Back2.stop(); bgNum = 3; BGSnd.Back3.start(0, 1000); } } if (pillEat == 244) { newLev = true; gotoAndStop ("Restart"); } score = score + 10; if (Maze[pacX][pacY] == "O") { score = score + 40; if (notMute) { BGSnd["Back" + bgNum].stop(); BGSnd.BlueGh.start(0, 100); } ghBlue = ghBval; ghKill = 100; var g = 1; while (g < 5) { tellTarget (Ghost[g]) { if (Shape._visible) { c.setRGB(13311); gotoAndStop (2); ghFast = false; e = new Color(PPEyes); e.setRGB(16777215); } }; g++; } } } else if ((++pauseCount) % 2) { pacStep = 4; pacPosMax = 2; } else { pacStep = 6; pacPosMax = 1; } if (Maze[pacX + 1][pacY] == "L") { pacX = 28; nextX = 27; Pacman._x = OFFX + 336; } else if (Maze[pacX - 1][pacY] == "R") { pacX = -1; nextX = 0; Pacman._x = OFFX - 12; } if ((Maze[nextX][nextY] == "#") && (ang != 1)) { pacDir = tempDir; setPacMove(pacDir); } } if (!((pacPos == 0) && (Maze[nextX][nextY] == "#"))) { with (Pacman) { if (nextX < pacX) { _x = _x - pacStep; pacPos--; } else if (nextX > pacX) { _x = _x + pacStep; pacPos++; } else if (nextY < pacY) { _y = _y - pacStep; pacPos--; } else if (nextY > pacY) { _y = _y + pacStep; pacPos++; } } if ((pacPos < 0) || (pacPos > pacPosMax)) { if (pacPos > pacPosMax) { pacPos = 0; } else if (pacPos < 0) { pacPos = pacPosMax; } pacX = nextX; pacY = nextY; } if (stopped) { stopped = false; Pacman.play(); } } else if (!stopped) { stopped = true; Pacman.gotoAndStop(1); } tellTarget ("Fruit") { if (_currentframe == 1) { if (!random(600)) { gotoAndStop(_root.fruitNum); } } else if (fCount) { if (hitTest(_root.Pacman.Hit)) { gotoAndStop ("Show"); } else { fCount--; } } else { gotoAndStop (1); } }; if (ghBlue) { ghBlue--; } unBlue = false; var g = 1; while (g < 5) { with (Ghost[g]) { if (ghBlue && (_currentframe == 2)) { if (((((ghBlue == 50) || (ghBlue == 40)) || (ghBlue == 30)) || (ghBlue == 20)) || (ghBlue == 10)) { c.setRGB(16777215); e.setRGB(16711680); } else if (((((ghBlue == 45) || (ghBlue == 35)) || (ghBlue == 25)) || (ghBlue == 15)) || (ghBlue == 5)) { c.setRGB(13311); e.setRGB(16777215); } else if (ghBlue == 1) { gotoAndStop(1); c.setRGB(cOrig); ghFast = true; } } gTest = false; if (ghPos == 0) { if ((Maze[ghX + 1][ghY] == "L") && (ghDir == 3)) { ghX = 29; ghNX = 28; _x = OFFX + 348; } else if ((Maze[ghX - 1][ghY] == "R") && (ghDir == 1)) { ghX = -2; ghNX = -1; _x = OFFX - 24; } else if ((ghX > 0) && (ghX < 27)) { var i = 0; while (i < 4) { ghMove[i] = 1; i++; } oppDir = ((ghDir < 2) ? (ghDir + 2) : (ghDir - 2)); ghMove[oppDir] = 0; if (Maze[ghX][ghY - 1] == "#") { ghMove[0] = 0; } if (Maze[ghX + 1][ghY] == "#") { ghMove[1] = 0; } if (Maze[ghX][ghY + 1] == "#") { ghMove[2] = 0; } if (Maze[ghX - 1][ghY] == "#") { ghMove[3] = 0; } pos = 0; var i = 0; while (i < 4) { ghChoice[i] = -1; if (ghMove[i]) { ghChoice[pos++] = i; } i++; } bestXDir = -1; bestYDir = -1; if (Shape._visible && (_currentframe == 1)) { testX = pacX; testY = pacY; } else { testX = 13; testY = 11; } if (testX < ghX) { bestXDir = 3; } else if (testX > ghX) { bestXDir = 1; } if (testY < ghY) { bestYDir = 0; } else if (testY > ghY) { bestYDir = 2; } best = 0; var i = 0; while (i < pos) { if ((ghChoice[i] == bestXDir) || (ghChoice[i] == bestYDir)) { ghBest[best++] = ghChoice[i]; } i++; } if ((best == 0) || (Shape._visible && (!random(3)))) { ghDir = ghChoice[random(pos)]; } else { ghDir = ghBest[random(best)]; } if (ghFast) { ghStep = 4; ghPosMax = 2; } else { ghStep = 2; ghPosMax = 5; } gNum++; if (ghX == 13) { if ((ghY > 11) && (ghY < 15)) { if (Shape._visible) { gTest = true; ghDir = 0; if (gNum < 4) { _y = _y - 2; } } else if (ghY == 13) { unBlue = true; numEyes--; Shape._visible = true; Shape.Hit._visible = true; } } else if (ghY == 11) { if ((gNum == 1) && (g == 1)) { _x = _x - 2; } if (gNum == 4) { ghPos = 2; if (ghFast) { _x = _x + 2; } else { _x = _x - 2; } } if (!Shape._visible) { gTest = true; ghDir = 2; } } } if ((ghY > 11) && (ghY < 15)) { if ((ghX == 11) && (gNum == (ghPause + 2))) { gTest = true; ghDir = 1; gNum = -1; } if ((ghX == 15) && (gNum == ((2 * ghPause) + 2))) { gTest = true; ghDir = 3; gNum = -1; } } } } setGhMove(ghDir, g); if ((!((ghPos == 0) && (Maze[ghNX][ghNY] == "#"))) || (gTest)) { if (ghNX < ghX) { _x = _x - ghStep; ghPos--; } else if (ghNX > ghX) { _x = _x + ghStep; ghPos++; } else if (ghNY < ghY) { _y = _y - ghStep; ghPos--; } else if (ghNY > ghY) { _y = _y + ghStep; ghPos++; } Eyes.gotoAndStop(ghDir + 1); if ((ghPos < 0) || (ghPos > ghPosMax)) { if (ghPos > ghPosMax) { ghPos = 0; } else if (ghPos < 0) { ghPos = ghPosMax; } ghX = ghNX; ghY = ghNY; } } if ((Shape.Hit._visible && (Pacman.Hit.hitTest(Shape.Hit))) && (!newLev)) { if (_currentframe == 1) { _root.stop(); playing = false; Pacman.gotoAndPlay("Die"); } else { BGSnd.BlueGh.stop(); ghKill = ghKill * 2; score = score + ghKill; ghFast = true; if (ghPos > ghPosMax) { ghPos = 0; } else if (ghPos < 0) { ghPos = ghPosMax; } if (notMute) { Snd.gotoAndPlay("EatGhost"); } gotoAndStop(1); numEyes++; Shape._visible = false; Shape.Hit._visible = false; c.setRGB(cOrig); with (Ghost["K" + g]) { _visible = true; _x = Ghost[g]._x; _y = Ghost[g]._y; kval = ghKill; play(); } } } } g++; } if (ghBlue && (notMute)) { with (BGSnd) { if (ghBlue == 1) { BlueGh.stop(); EyesGh.stop(); eval ("Back" + bgNum).start(0, 1000); } else if (unBlue && (!numEyes)) { EyesGh.stop(); BlueGh.start(0, 100); } } } if (lastScore != score) { s = Math.floor(score / 10000); sTest = (s + 1) / 2; if (((lives < 5) && (sTest == int(sTest))) && (Math.floor(lastScore / 10000) < s)) { eval ("Life" + lives)._visible = true; lives++; if (notMute) { BGSnd.ExLife.start(0, 6); } } } lastScore = score; if (!playing) { stop(); } if (quit) { gotoAndStop (2); }
Frame 7
gotoAndPlay ("Loop");
Frame 9
stop(); name_txt.restrict = "A-Z 0-9.\\-"; name_txt.text = game_so.data.playerName; Selection.setFocus(name_txt); Selection.setSelection(name_txt.length, name_txt.length);
Frame 10
stop(); showScores = function () { var _local2 = 10; while (_local2 > 0) { var _local3 = scoreboard_lv["name" + (page + _local2)]; var s = scoreboard_lv["score" + (page + _local2)]; var _local1 = this[("line" + _local2) + "_mc"]; _local1.rank_txt.text = (page + _local2) + "."; _local1.name_txt.text = (_local3.length ? (_local3.toUpperCase()) : "..."); _local1.score_txt.text = (s.length ? (s.addCommas()) : "..."); _local1.rank_txt.textColor = (_local1.name_txt.textColor = (_local1.score_txt.textColor = ((game_so.data.playerName.length && (_local3.toUpperCase() == game_so.data.playerName.toUpperCase())) ? 16777011 : 16777215))); _local1._visible = true; loading_mc._visible = false; _local2--; } }; page = 0; maxScore = 100; scoreboard_lv = new LoadVars(); if ((score > 0) && (game_so.data.playerName.length > 0)) { scoreboard_lv.score = score; scoreboard_lv.name = game_so.data.playerName.toLowerCase(); } scoreboard_lv.game = "pacman"; scoreboard_lv.sendAndLoad("pf.php", scoreboard_lv, "POST"); scoreboard_lv.onLoad = function (success) { if (success) { if (Boolean(scoreboard_lv.success)) { next_btn._visible = true; if (scoreboard_lv.maxScore.length > 0) { maxScore = Number(scoreboard_lv.maxScore); } showScores(); } else { loading_mc.errorMsg = scoreboard_lv.errorMsg.toUpperCase(); loading_mc.gotoAndStop(2); } } else { loading_mc.errorMsg = "COULD NOT ACCESS SCORES."; loading_mc.gotoAndStop(2); } }; score = 0; next_btn._visible = (last_btn._visible = false);
Symbol 16 MovieClip Frame 1
stop();
Symbol 19 MovieClip [Ghost] Frame 1
stop();
Symbol 23 MovieClip [GhKill] Frame 1
stop();
Symbol 23 MovieClip [GhKill] Frame 2
tellTarget ("/") { playing = false; Pacman._visible = false; }; play();
Symbol 23 MovieClip [GhKill] Frame 12
tellTarget ("/") { playing = true; Pacman._visible = true; gotoAndPlay ("Loop"); };
Symbol 23 MovieClip [GhKill] Frame 41
kval = ""; tellTarget ("_parent") { if (fval) { gotoAndStop (1); } };
Symbol 30 Button
on (release) { Key.removeListener(this); play(); }
Symbol 32 Button
on (release) { gotoAndStop (10); }
Symbol 41 MovieClip Frame 8
stop();
Symbol 42 MovieClip Frame 5
gotoAndPlay (1);
Symbol 42 MovieClip Frame 6
_root.BGSnd.stop(); stopAllSounds();
Symbol 42 MovieClip Frame 25
tellTarget ("/") { BGSnd.gotoAndPlay("Killed"); for (var g in Ghost) { Ghost[g]._visible = false; } };
Symbol 42 MovieClip Frame 27
_rotation = 0;
Symbol 42 MovieClip Frame 59
stop(); tellTarget ("/") { newLife = true; gotoAndPlay ("Restart"); };
Symbol 44 MovieClip Frame 17
stop(); CPac.gotoAndStop(1); _root.Demo.play();
Symbol 54 MovieClip Frame 1
stop(); col = new Array(14483456, 16751001, 6750207, 16750848); i = 0; while (i < 4) { G.attachMovie("Ghost", i, i); tellTarget (G[i]) { _x = -200; Eyes.gotoAndStop(2); }; this["c" + i] = new Color(G[i].Shape); this["c" + i].setRGB(col[i]); i++; } ck = new Color("GK"); GK.kval = 100; count = 0;
Symbol 54 MovieClip Frame 2
count++; if (count < 86) { Pac._x = Pac._x + 4; i = 0; while (i < 4) { if (count > ((6 * i) + 10)) { G[i]._x = G[i]._x + 4; } i++; } } else if (count == 86) { Pill._visible = false; Pac._rotation = 0; i = 0; while (i < 4) { G[i].gotoAndStop(2); this["c" + i].setRGB(50344959); i++; } } else if (count < 172) { Pac._x = Pac._x - 4; i = 0; while (i < 4) { with (G[i]) { _x = _x - 2; if (_visible && (Shape.Hit.hitTest(Pac.Hit))) { _visible = false; GK._x = _x; GK.kval = GK.kval * 2; } } i++; } if (count == 155) { GK.kval = ""; } } else if (count == 172) { i = 0; while (i < 4) { this["c" + i].setRGB(col[i]); tellTarget (G[i]) { gotoAndStop (1); Eyes.gotoAndStop(2); _visible = true; _x = -200; }; i++; } tellTarget ("GK") { _x = -16; _xscale = (_xscale * 2); _yscale = (_yscale * 2); }; } else if (count < 580) { i = 0; while (i < 4) { if (count == (244 + (90 * i))) { ck.setRGB(col[i]); if (i == 0) { GK.kval = "\"BLINKY\""; } if (i == 1) { GK.kval = "\"PINKY\""; } if (i == 2) { GK.kval = "\"INKEY\""; } if (i == 3) { GK.kval = "\"CLYDE\""; } } else if (((count > (180 + (90 * i))) && (count < (244 + (90 * i)))) || ((count > (270 + (90 * i))) && (count < (307 + (90 * i))))) { G[i]._x = G[i]._x + 4; GK.kval = ""; } i++; } } else { tellTarget ("GK") { _x = -200; _xscale = 100; _yscale = 100; kval = 100; }; i = 0; while (i < 4) { G[i]._x = -200; i++; } tellTarget ("Pac") { _x = -196; _rotation = 180; }; ck.setRGB(16777215); Pill._visible = true; count = 0; }
Symbol 54 MovieClip Frame 3
gotoAndPlay (2);
Symbol 75 MovieClip Frame 1
fCount = 200; stop();
Symbol 75 MovieClip Frame 2
fval = 100;
Symbol 75 MovieClip Frame 3
fval = 300;
Symbol 75 MovieClip Frame 4
fval = 500;
Symbol 75 MovieClip Frame 5
fval = 500;
Symbol 75 MovieClip Frame 6
fval = 700;
Symbol 75 MovieClip Frame 7
fval = 700;
Symbol 75 MovieClip Frame 8
fval = 1000;
Symbol 75 MovieClip Frame 9
fval = 1000;
Symbol 75 MovieClip Frame 10
fval = 2000;
Symbol 75 MovieClip Frame 11
fval = 2000;
Symbol 75 MovieClip Frame 12
fval = 3000;
Symbol 75 MovieClip Frame 13
fval = 3000;
Symbol 75 MovieClip Frame 14
fval = 5000;
Symbol 75 MovieClip Frame 15
stop(); tellTarget ("/") { if (notMute) { Snd.gotoAndPlay("EatFruit"); } }; _root.score = _root.score + fval; F.kval = fval; F.gotoAndPlay(2);
Symbol 84 MovieClip Frame 5
if (_root.notMute) { _root.BGSnd.NewLev.start(); }
Symbol 84 MovieClip Frame 33
stop();
Symbol 86 MovieClip Frame 26
stop(); _root.gotoAndPlay("Over");
Symbol 87 MovieClip Frame 1
stop();
Symbol 87 MovieClip Frame 4
with (_root) { LevMov.lval = ((level < 10) ? ("0" + level) : (level)); }
Symbol 91 MovieClip Frame 1
stop(); Back1 = new Sound(); Back1.attachSound("BG1"); Back2 = new Sound(); Back2.attachSound("BG2"); Back3 = new Sound(); Back3.attachSound("BG3"); BlueGh = new Sound(); BlueGh.attachSound("BGGhost"); EyesGh = new Sound(); EyesGh.attachSound("BGEyes"); ExLife = new Sound(); ExLife.attachSound("ExLife"); NewLev = new Sound(); NewLev.attachSound("NewLev");
Symbol 91 MovieClip Frame 2
if (!_root.notMute) { gotoAndPlay ("NewLev"); }
Symbol 91 MovieClip Frame 31
tellTarget ("/") { if (!newGame) { Ready.gotoAndStop("Level"); Ready._visible = true; var j = 0; while (j < 31) { var i = 0; while (i < 28) { Maze[i]["P" + j]._visible = true; i++; } j++; } } newGame = false; };
Symbol 91 MovieClip Frame 65
tellTarget ("/") { g = 1; while (g < 5) { Ghost[g]._visible = true; g++; } Pacman._visible = true; Ready.gotoAndStop(1); };
Symbol 91 MovieClip Frame 87
tellTarget ("/") { Ready._visible = false; playing = true; nextPacDir = 3; play(); if (notMute) { BGSnd["Back" + bgNum].start(0, 1000); } }; stop();
Symbol 91 MovieClip Frame 88
if (!_root.notMute) { stop(); }
Symbol 91 MovieClip Frame 90
stop();
Symbol 96 MovieClip Frame 1
stop();
Symbol 96 MovieClip Frame 3
stop();
Symbol 96 MovieClip Frame 5
stop();
Symbol 96 MovieClip Frame 18
stop(); _root.BGSnd.EyesGh.start(0, 100);
Symbol 96 MovieClip Frame 20
stop();
Symbol 98 Button
on (release) { gotoAndStop (2); }
Symbol 101 Button
on (release, keyPress "<Enter>") { if (name_txt.length > 0) { game_so.data.playerName = name_txt.text; } nextFrame(); }
Symbol 111 MovieClip Frame 1
stop(); errorMsg = "";
Symbol 113 Button
on (press) { page = page - 10; if (page < 0) { page = 0; } if (page < 10) { last_btn._visible = false; } next_btn._visible = true; showScores(); }
Symbol 115 Button
on (press) { page = page + 10; if (page > maxScore) { page = maxScore; } if (page > (maxScore - 20)) { next_btn._visible = false; } last_btn._visible = true; showScores(); }

Library Items

Symbol 1 Sound [NewLev]
Symbol 2 Sound [ExLife]
Symbol 3 Sound [BGEyes]
Symbol 4 Sound [BGGhost]
Symbol 5 Sound [BG3]
Symbol 6 Sound [BG2]
Symbol 7 Sound [BG1]
Symbol 8 GraphicUsed by:9 20 28 30 32 42 54 75 87 98 101 113 115  Timeline
Symbol 9 MovieClipUses:8Used by:14 42  Timeline
Symbol 10 GraphicUsed by:12
Symbol 11 GraphicUsed by:12
Symbol 12 MovieClipUses:10 11Used by:14
Symbol 13 GraphicUsed by:14
Symbol 14 MovieClipUses:9 12 13Used by:19
Symbol 15 GraphicUsed by:16 18 24 42  Timeline
Symbol 16 MovieClipUses:15Used by:19
Symbol 17 GraphicUsed by:18
Symbol 18 MovieClipUses:15 17Used by:19
Symbol 19 MovieClip [Ghost]Uses:14 16 18
Symbol 20 MovieClip [Pill]Uses:8
Symbol 21 FontUsed by:22 26 29 31 43 49 76 77 78 79 81 82 83 85 88 97 99 100 102 103 104 105 106 107 108 110 112 114
Symbol 22 EditableTextUses:21Used by:23 53
Symbol 23 MovieClip [GhKill]Uses:22Used by:75
Symbol 24 MovieClip [Power]Uses:15Used by:54
Symbol 25 MovieClip [Empty]Used by:54  Timeline
Symbol 26 TextUses:21Used by:111  Timeline
Symbol 27 GraphicUsed by:Timeline
Symbol 28 MovieClipUses:8Used by:Timeline
Symbol 29 TextUses:21Used by:30
Symbol 30 ButtonUses:29 8Used by:Timeline
Symbol 31 TextUses:21Used by:32
Symbol 32 ButtonUses:31 8Used by:Timeline
Symbol 33 GraphicUsed by:42  Timeline
Symbol 34 GraphicUsed by:42
Symbol 35 GraphicUsed by:42
Symbol 36 GraphicUsed by:42
Symbol 37 GraphicUsed by:42
Symbol 38 GraphicUsed by:42
Symbol 39 GraphicUsed by:42
Symbol 40 GraphicUsed by:41
Symbol 41 MovieClipUses:40Used by:42
Symbol 42 MovieClipUses:9 33 15 8 34 35 36 37 38 39 41Used by:44 54  Timeline
Symbol 43 TextUses:21Used by:44
Symbol 44 MovieClipUses:42 43Used by:Timeline
Symbol 45 FontUsed by:46 51 52
Symbol 46 EditableTextUses:45Used by:Timeline
Symbol 47 FontUsed by:49 99
Symbol 48 FontUsed by:49 50
Symbol 49 EditableTextUses:21 47 48Used by:Timeline
Symbol 50 EditableTextUses:48Used by:Timeline
Symbol 51 EditableTextUses:45Used by:Timeline
Symbol 52 EditableTextUses:45Used by:Timeline
Symbol 53 MovieClipUses:22Used by:54
Symbol 54 MovieClipUses:53 25 42 8 24Used by:Timeline
Symbol 55 GraphicUsed by:Timeline
Symbol 56 GraphicUsed by:Timeline
Symbol 57 GraphicUsed by:Timeline
Symbol 58 GraphicUsed by:Timeline
Symbol 59 GraphicUsed by:Timeline
Symbol 60 GraphicUsed by:Timeline
Symbol 61 GraphicUsed by:Timeline
Symbol 62 GraphicUsed by:Timeline
Symbol 63 GraphicUsed by:Timeline
Symbol 64 GraphicUsed by:Timeline
Symbol 65 GraphicUsed by:75
Symbol 66 GraphicUsed by:75
Symbol 67 GraphicUsed by:75
Symbol 68 GraphicUsed by:75
Symbol 69 GraphicUsed by:75
Symbol 70 GraphicUsed by:75
Symbol 71 GraphicUsed by:75
Symbol 72 GraphicUsed by:75
Symbol 73 GraphicUsed by:75
Symbol 74 GraphicUsed by:75
Symbol 75 MovieClipUses:8 65 66 67 68 69 70 71 72 73 74 23Used by:Timeline
Symbol 76 TextUses:21Used by:Timeline
Symbol 77 TextUses:21Used by:Timeline
Symbol 78 TextUses:21Used by:87
Symbol 79 TextUses:21Used by:80
Symbol 80 MovieClipUses:79Used by:87
Symbol 81 TextUses:21Used by:87
Symbol 82 EditableTextUses:21Used by:84
Symbol 83 TextUses:21Used by:84
Symbol 84 MovieClipUses:82 83Used by:87
Symbol 85 TextUses:21Used by:86
Symbol 86 MovieClipUses:85Used by:87
Symbol 87 MovieClipUses:78 8 80 81 84 86Used by:Timeline
Symbol 88 EditableTextUses:21Used by:Timeline
Symbol 89 SoundUsed by:91
Symbol 90 SoundUsed by:91
Symbol 91 MovieClipUses:89 90Used by:Timeline
Symbol 92 SoundUsed by:96
Symbol 93 SoundUsed by:96
Symbol 94 SoundUsed by:96
Symbol 95 SoundUsed by:96
Symbol 96 MovieClipUses:92 93 94 95Used by:Timeline
Symbol 97 TextUses:21Used by:98
Symbol 98 ButtonUses:97 8Used by:Timeline
Symbol 99 EditableTextUses:21 47Used by:Timeline
Symbol 100 TextUses:21Used by:101
Symbol 101 ButtonUses:100 8Used by:Timeline
Symbol 102 EditableTextUses:21Used by:Timeline
Symbol 103 TextUses:21Used by:Timeline
Symbol 104 TextUses:21Used by:Timeline
Symbol 105 TextUses:21Used by:Timeline
Symbol 106 EditableTextUses:21Used by:109
Symbol 107 EditableTextUses:21Used by:109
Symbol 108 EditableTextUses:21Used by:109
Symbol 109 MovieClipUses:106 107 108Used by:Timeline
Symbol 110 EditableTextUses:21Used by:111
Symbol 111 MovieClipUses:26 110Used by:Timeline
Symbol 112 TextUses:21Used by:113
Symbol 113 ButtonUses:112 8Used by:Timeline
Symbol 114 TextUses:21Used by:115
Symbol 115 ButtonUses:114 8Used by:Timeline

Instance Names

"Bar"Frame 1Symbol 28 MovieClip
"PacLogo"Frame 2Symbol 44 MovieClip
"Demo"Frame 2Symbol 54 MovieClip
"Maze"Frame 4Symbol 25 MovieClip [Empty]
"Fruit"Frame 4Symbol 75 MovieClip
"FrLev"Frame 4Symbol 75 MovieClip
"Ghost"Frame 4Symbol 25 MovieClip [Empty]
"Pacman"Frame 4Symbol 42 MovieClip
"Life1"Frame 4Symbol 42 MovieClip
"Life2"Frame 4Symbol 42 MovieClip
"Life3"Frame 4Symbol 42 MovieClip
"Ready"Frame 4Symbol 87 MovieClip
"Life4"Frame 4Symbol 42 MovieClip
"BGSnd"Frame 4Symbol 91 MovieClip
"Snd"Frame 4Symbol 96 MovieClip
"name_txt"Frame 9Symbol 102 EditableText
"Demo"Frame 9Symbol 54 MovieClip
"PacLogo"Frame 9Symbol 44 MovieClip
"line1_mc"Frame 10Symbol 109 MovieClip
"Hit"Frame 10Symbol 9 MovieClip
"line2_mc"Frame 10Symbol 109 MovieClip
"line3_mc"Frame 10Symbol 109 MovieClip
"line4_mc"Frame 10Symbol 109 MovieClip
"line5_mc"Frame 10Symbol 109 MovieClip
"line6_mc"Frame 10Symbol 109 MovieClip
"line7_mc"Frame 10Symbol 109 MovieClip
"line8_mc"Frame 10Symbol 109 MovieClip
"line9_mc"Frame 10Symbol 109 MovieClip
"line10_mc"Frame 10Symbol 109 MovieClip
"loading_mc"Frame 10Symbol 111 MovieClip
"last_btn"Frame 10Symbol 113 Button
"next_btn"Frame 10Symbol 115 Button
"Hit"Symbol 14 MovieClip Frame 1Symbol 9 MovieClip
"Btm"Symbol 14 MovieClip Frame 1Symbol 12 MovieClip
"Shape"Symbol 19 MovieClip [Ghost] Frame 1Symbol 14 MovieClip
"Eyes"Symbol 19 MovieClip [Ghost] Frame 1Symbol 16 MovieClip
"PPEyes"Symbol 19 MovieClip [Ghost] Frame 2Symbol 18 MovieClip
"Hit"Symbol 42 MovieClip Frame 1Symbol 9 MovieClip
"D1"Symbol 42 MovieClip Frame 45Symbol 41 MovieClip
"D2"Symbol 42 MovieClip Frame 50Symbol 41 MovieClip
"CPac"Symbol 44 MovieClip Frame 1Symbol 42 MovieClip
"GK"Symbol 54 MovieClip Frame 1Symbol 53 MovieClip
"G"Symbol 54 MovieClip Frame 1Symbol 25 MovieClip [Empty]
"Pac"Symbol 54 MovieClip Frame 1Symbol 42 MovieClip
"Pill"Symbol 54 MovieClip Frame 2Symbol 24 MovieClip [Power]
"F"Symbol 75 MovieClip Frame 15Symbol 23 MovieClip [GhKill]
"Psd"Symbol 87 MovieClip Frame 2Symbol 80 MovieClip
"LevMov"Symbol 87 MovieClip Frame 4Symbol 84 MovieClip
"GO"Symbol 87 MovieClip Frame 5Symbol 86 MovieClip
"score_txt"Symbol 109 MovieClip Frame 1Symbol 106 EditableText
"name_txt"Symbol 109 MovieClip Frame 1Symbol 107 EditableText
"rank_txt"Symbol 109 MovieClip Frame 1Symbol 108 EditableText

Special Tags

Protect (24)Timeline Frame 131 bytes "..$1$9F$GyXJ1PoBdBp/QPe1Wrqj40."
ExportAssets (56)Timeline Frame 1Symbol 1 as "NewLev"
ExportAssets (56)Timeline Frame 1Symbol 2 as "ExLife"
ExportAssets (56)Timeline Frame 1Symbol 3 as "BGEyes"
ExportAssets (56)Timeline Frame 1Symbol 4 as "BGGhost"
ExportAssets (56)Timeline Frame 1Symbol 5 as "BG3"
ExportAssets (56)Timeline Frame 1Symbol 6 as "BG2"
ExportAssets (56)Timeline Frame 1Symbol 7 as "BG1"
ExportAssets (56)Timeline Frame 1Symbol 19 as "Ghost"
ExportAssets (56)Timeline Frame 1Symbol 20 as "Pill"
ExportAssets (56)Timeline Frame 1Symbol 23 as "GhKill"
ExportAssets (56)Timeline Frame 1Symbol 24 as "Power"
ExportAssets (56)Timeline Frame 1Symbol 25 as "Empty"
ExportAssets (56)Timeline Frame 2Symbol 25 as "Empty"
ExportAssets (56)Timeline Frame 2Symbol 24 as "Power"
ExportAssets (56)Timeline Frame 2Symbol 25 as "Empty"
ExportAssets (56)Timeline Frame 2Symbol 24 as "Power"
ExportAssets (56)Timeline Frame 2Symbol 25 as "Empty"
ExportAssets (56)Timeline Frame 4Symbol 25 as "Empty"
ExportAssets (56)Timeline Frame 4Symbol 23 as "GhKill"
ExportAssets (56)Timeline Frame 4Symbol 25 as "Empty"
ExportAssets (56)Timeline Frame 5Symbol 25 as "Empty"
ExportAssets (56)Timeline Frame 5Symbol 25 as "Empty"
ExportAssets (56)Timeline Frame 6Symbol 25 as "Empty"
ExportAssets (56)Timeline Frame 6Symbol 25 as "Empty"
ExportAssets (56)Timeline Frame 7Symbol 25 as "Empty"
ExportAssets (56)Timeline Frame 7Symbol 25 as "Empty"
ExportAssets (56)Timeline Frame 8Symbol 25 as "Empty"

Labels

"Restart"Frame 5
"Loop"Frame 6
"Over"Frame 8
"Die"Symbol 42 MovieClip Frame 6
"Show"Symbol 75 MovieClip Frame 15
"Paused"Symbol 87 MovieClip Frame 2
"Quit"Symbol 87 MovieClip Frame 3
"Level"Symbol 87 MovieClip Frame 4
"GameOver"Symbol 87 MovieClip Frame 5
"NewGame"Symbol 91 MovieClip Frame 2
"NewLev"Symbol 91 MovieClip Frame 21
"NewLife"Symbol 91 MovieClip Frame 65
"Killed"Symbol 91 MovieClip Frame 88
"Chomp1"Symbol 96 MovieClip Frame 2
"Chomp2"Symbol 96 MovieClip Frame 4
"EatGhost"Symbol 96 MovieClip Frame 6
"EatFruit"Symbol 96 MovieClip Frame 19

Dynamic Text Variables

kvalSymbol 22 EditableText""
lvalSymbol 82 EditableText""
scoreSymbol 88 EditableText""
errorMsgSymbol 110 EditableText""




http://swfchan.com/16/78570/info.shtml
Created: 3/4 -2019 13:23:17 Last modified: 3/4 -2019 13:23:17 Server time: 06/05 -2024 21:23:41