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

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

Collect! - Pure Code Game.swf

This is the info page for
Flash #60331

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


ActionScript [AS1/AS2]
Frame 1
function checkVer() { function itemHandler0(obj, item) { getURL ("http://www.naois.net/", "_blank"); } function itemHandler1(obj, item) { getURL ("http://www.newgrounds.com/audio/view.php?id=1278103&sub=42629", "_blank"); } var _local2 = _root.getSWFVersion(); if ((_local2 >= 7) || (_local2 == -1)) { _root.menu = myMenu; myMenu = new ContextMenu(); myMenu.hideBuiltInItems(); gameNaois = new ContextMenuItem("Game by Naois", itemHandler0); myMenu.customItems.push(gameNaois); musicGporev = new ContextMenuItem("Music by Gporev", itemHandler0); myMenu.customItems.push(musicGporev); } else { Stage.showMenu = false; } } function checkSite() { var _local3 = new String(_root._url).slice(0, 21); var _local5 = new String(_root._url).slice(0, 17); var _local2 = new String(_root._url).slice(0, 25); var _local4 = new String(_root._url).slice(0, 8); if ((((_local3 == "http://www.naois.net/") || (_local5 == "http://naois.net/")) || (_local2 == "http://uploads.ungrounded")) || (_local4 == "file:///")) { _root.webBlocker_mc._visible = false; } else { _root.webBlocker_mc._visible = true; _root.paused = true; } } function drawBG(colors) { _root.background_mc.removeMovieClip(); _root.createEmptyMovieClip("background_mc", 0); with (_root.background_mc) { alphas = [100, 100]; ratios = [0, 255]; matrix = {a:200, b:0, c:0, d:0, e:200, f:0, g:200, h:200, i:1}; beginGradientFill("linear", colors, alphas, ratios, matrix); moveTo(0, 0); lineTo(0, 640); lineTo(340, 640); lineTo(340, 0); lineTo(0, 0); endFill(); _root.background_mc._rotation = 270; _root.background_mc._y = 340; } } function drawRect(instance, fillC, fillA, width, height) { with (instance) { beginFill(fillC, fillA); lineStyle(0, 0, 0); var w = width; var h = height; var w2 = (w / 2); var h2 = (h / 2); moveTo(-w2, -h2); lineTo(w2, -h2); lineTo(w2, h2); lineTo(-w2, h2); lineTo(-w2, -h2); endFill(); } } function drawPlrSqr(color) { with (_root.player_mc) { var sL = 20; var p = (sL / 2); beginFill(color, 100); lineStyle(2, 0, 100); moveTo(-p, -sL); lineTo(p, -sL); lineTo(p, 0); lineTo(-p, 0); lineTo(-p, -sL); endFill(); } } function platform(instance) { if (!_root.bounds_mc.wall_mc.hitTest(instance._x + 12, instance._y, true)) { if (Key.isDown(39)) { if (air) { instance._x = instance._x + speed; instance._xscale = 100; } else { instance._x = instance._x + speed; instance._xscale = 100; } } if (!_root.bounds_mc.wall_mc.hitTest(instance._x - 12, instance._y, true)) { if (Key.isDown(37)) { if (air) { instance._x = instance._x - speed; } else { instance._x = instance._x - speed; } } } } var _local4 = instance._x; var _local3 = instance._y; n = 1; while (n <= 12) { if (_root.bounds_mc.wall_mc.hitTest(_local4 + n, _local3, true)) { instance._x--; } else if (_root.bounds_mc.wall_mc.hitTest(_local4 - n, _local3, true)) { instance._x++; } else { clearInterval(pushOut); } n++; } if (!air) { if (Key.isDown(38)) { air = true; thrustSpeed = thrust; } } if (air) { thrustSpeed = thrustSpeed - grav; instance._y = instance._y - thrustSpeed; } if (!_root.bounds_mc.ground_mc.hitTest(instance._x, instance._y, true)) { air = true; } w = -10; while (w <= 10) { if (_root.bounds_mc.ground_mc.hitTest(instance._x + w, instance._y, true)) { air = false; thrustSpeed = 0; instance._y--; } w++; } if (thrustSpeed <= -8) { thrustSpeed = -8; } } function showTable() { _root.enterScore_mc._visible = false; _root.scoretable._visible = true; } function reset() { _root.scoretable._visible = false; _root.enterScore_mc._visible = false; _root.title_mc._visible = true; _root.player_mc._x = 0; _root.player_mc._y = 0; _root.score = 0; _root.health = 100; _root.paused = true; score_txt.htmlText = (("<font color='#009900'><b>Health: " + _root.health) + "</b></font>\nScore: ") + _root.score; drawBG([52224, 11206570]); b = 1; while (b <= 24) { _root["b" + b]._x = Math.round(Math.random() * 100) + 650; _root["b" + b]._y = Math.round(Math.random() * 260) + 50; b++; } } function moveItems() { if (!paused) { _root.bounds_mc.ground_mc.seg1._x = Math.round((Math.random() * 560) + 40); _root.bounds_mc.ground_mc.seg2._x = Math.round((Math.random() * 560) + 40); _root.bounds_mc.ground_mc.seg3._x = Math.round((Math.random() * 560) + 40); _root.bounds_mc.ground_mc.seg1._y = 120; _root.bounds_mc.ground_mc.seg2._y = 180; _root.bounds_mc.ground_mc.seg3._y = 240; _root.star0._x = Math.round((Math.random() * 560) + 40); _root.star0._y = Math.round((Math.random() * 120) + 120); _root.star1._x = Math.round((Math.random() * 560) + 40); _root.star1._y = Math.round((Math.random() * 120) + 120); _root.star2._x = Math.round((Math.random() * 560) + 40); _root.star2._y = Math.round((Math.random() * 120) + 120); _root.star3._x = Math.round((Math.random() * 560) + 40); _root.star3._y = Math.round((Math.random() * 120) + 120); } } function playerScore() { i = 0; while (i <= 3) { if (_root["star" + i].hitTest(_root.player_mc)) { _root.score = _root.score + 5; _root["star" + i]._x = -50; if (_root.health >= 50) { score_txt.htmlText = (("<font color='#009900'><b>Health: " + _root.health) + "</b></font>\nScore: ") + _root.score; } else { score_txt.htmlText = (("<font color='#CC0000'><b>Health: " + _root.health) + "</b></font>\nScore: ") + _root.score; } } i++; } } function bulletHit() { b = 1; while (b <= 24) { if (_root["b" + b].hitTest(_root.player_mc)) { _root.health--; _root["b" + b]._x = Math.round(Math.random() * 100) + 650; _root["b" + b]._y = Math.round(Math.random() * 260) + 50; if (_root.health >= 75) { drawBG([52224, 11206570]); score_txt.htmlText = (("<font color='#009900'><b>Health: " + _root.health) + "</b></font>\nScore: ") + _root.score; } else if (_root.health >= 50) { drawBG([16449280, 16646045]); score_txt.htmlText = (("<font color='#009900'><b>Health: " + _root.health) + "</b></font>\nScore: ") + _root.score; } else if (_root.health >= 25) { drawBG([16750848, 16763773]); score_txt.htmlText = (("<font color='#CC0000'><b>Health: " + _root.health) + "</b></font>\nScore: ") + _root.score; } else { drawBG([13369344, 16749973]); score_txt.htmlText = (("<font color='#CC0000'><b>Health: " + _root.health) + "</b></font>\nScore: ") + _root.score; } if (_root.health <= 0) { _root.paused = true; _root.enterScore_mc._visible = true; _root.enterScore_mc.score_txt.text = "Score: " + _root.score; } } b++; } } function bulletMove() { var _local3 = 4; var _local2 = 5; var _local4 = 6; var _local5 = Math.round(Math.random() * 3); if ((_root.score >= 40) && (_root.score <= 80)) { _root.b1._x = _root.b1._x - _local3; _root.b2._x = _root.b2._x - _local2; _root.b3._x = _root.b3._x - _local4; } else if ((_root.score >= 85) && (_root.score <= 160)) { _root.b1._x = _root.b1._x - _local3; _root.b2._x = _root.b2._x - _local3; _root.b3._x = _root.b3._x - _local2; _root.b4._x = _root.b4._x - _local2; _root.b5._x = _root.b5._x - _local4; _root.b6._x = _root.b6._x - _local4; } else if ((_root.score >= 165) && (_root.score <= 240)) { _root.b1._x = _root.b1._x - _local3; _root.b2._x = _root.b2._x - _local3; _root.b3._x = _root.b3._x - _local3; _root.b4._x = _root.b4._x - _local2; _root.b5._x = _root.b5._x - _local2; _root.b6._x = _root.b6._x - _local2; _root.b7._x = _root.b7._x - _local4; _root.b8._x = _root.b8._x - _local4; _root.b9._x = _root.b9._x - _local4; } else if ((_root.score >= 245) && (_root.score <= 320)) { _root.b1._x = _root.b1._x - _local3; _root.b2._x = _root.b2._x - _local3; _root.b3._x = _root.b3._x - _local3; _root.b4._x = _root.b4._x - _local3; _root.b5._x = _root.b5._x - _local3; _root.b6._x = _root.b6._x - _local2; _root.b7._x = _root.b7._x - _local2; _root.b8._x = _root.b8._x - _local2; _root.b9._x = _root.b9._x - _local2; _root.b10._x = _root.b10._x - _local2; _root.b11._x = _root.b11._x - _local4; _root.b12._x = _root.b12._x - _local4; _root.b13._x = _root.b13._x - _local4; _root.b14._x = _root.b14._x - _local4; _root.b15._x = _root.b15._x - _local4; } else if ((_root.score >= 325) && (_root.score <= 400)) { _root.b1._x = _root.b1._x - _local3; _root.b2._x = _root.b2._x - _local3; _root.b3._x = _root.b3._x - _local3; _root.b4._x = _root.b4._x - _local3; _root.b5._x = _root.b5._x - _local3; _root.b6._x = _root.b6._x - _local3; _root.b7._x = _root.b7._x - _local2; _root.b8._x = _root.b8._x - _local2; _root.b9._x = _root.b9._x - _local2; _root.b10._x = _root.b10._x - _local2; _root.b11._x = _root.b11._x - _local2; _root.b12._x = _root.b12._x - _local2; _root.b13._x = _root.b13._x - _local4; _root.b14._x = _root.b14._x - _local4; _root.b15._x = _root.b15._x - _local4; _root.b16._x = _root.b16._x - _local2; _root.b17._x = _root.b17._x - _local4; _root.b18._x = _root.b18._x - _local4; } else if (_root.score >= 405) { _root.b1._x = _root.b1._x - _local3; _root.b2._x = _root.b2._x - _local3; _root.b3._x = _root.b3._x - _local3; _root.b4._x = _root.b4._x - _local3; _root.b5._x = _root.b5._x - _local3; _root.b6._x = _root.b6._x - _local3; _root.b7._x = _root.b7._x - _local3; _root.b8._x = _root.b8._x - _local3; _root.b9._x = _root.b9._x - _local2; _root.b10._x = _root.b10._x - _local2; _root.b11._x = _root.b11._x - _local2; _root.b12._x = _root.b12._x - _local2; _root.b13._x = _root.b13._x - _local2; _root.b14._x = _root.b14._x - _local2; _root.b15._x = _root.b15._x - _local2; _root.b16._x = _root.b16._x - _local2; _root.b17._x = _root.b17._x - _local4; _root.b18._x = _root.b18._x - _local4; _root.b19._x = _root.b19._x - _local4; _root.b20._x = _root.b20._x - _local4; _root.b21._x = _root.b21._x - _local4; _root.b22._x = _root.b22._x - _local4; _root.b23._x = _root.b23._x - _local4; _root.b24._x = _root.b24._x - _local4; } b = 1; while (b <= 24) { if (_root["b" + b]._x < -30) { _root["b" + b]._x = Math.round(Math.random() * 100) + 650; _root["b" + b]._y = Math.round(Math.random() * 260) + 50; } b++; } } function __com_mochibot__(swfid, mc, lv, trk) { var x; var g; var s; var fv; var sb; var u; var res; var mb; var mbc; mb = "__mochibot__"; mbc = "mochibot.com"; g = (_global ? (_global) : (_level0._root)); if (g[mb + swfid]) { return(g[mb + swfid]); } s = System.security; x = mc._root.getSWFVersion; fv = (x ? (mc.getSWFVersion()) : ((_global ? 6 : 5))); if (!s) { s = {}; } sb = s.sandboxType; if (sb == "localWithFile") { return(null); } x = s.allowDomain; if (x) { s.allowDomain(mbc); } x = s.allowInsecureDomain; if (x) { s.allowInsecureDomain(mbc); } u = (((((((((((("http://" + mbc) + "/my/core.swf?mv=7&fv=") + fv) + "&v=") + escape(getVersion())) + "&swfid=") + escape(swfid)) + "&l=") + lv) + "&f=") + mc) + (sb ? ("&sb=" + sb) : "")) + (trk ? "&t=1" : ""); lv = ((fv > 6) ? (mc.getNextHighestDepth()) : ((g[mb + "level"] ? (g[mb + "level"] + 1) : (lv)))); g[mb + "level"] = lv; if (fv == 5) { res = "_level" + lv; if (!eval (res)) { loadMovieNum (u, lv); } } else { res = mc.createEmptyMovieClip(mb + swfid, lv); res.loadMovie(u); } return(res); } _root.stop(); _root.createEmptyMovieClip("webBlocker_mc", 500); _root.createTextField("byNaois_txt", 501, 550, 312, 90, 40); _root.byNaois_txt.html = true; _root.byNaois_txt.selectable = false; _root.byNaois_txt.multiline = true; _root.byNaois_txt.htmlText = "<font color='#ffffff'><a href='http://www.naois.net/'><b>Game by Naois</b></a><br><a href='http://www.newgrounds.com/audio/view.php?id=1278103&sub=42629'>Music by Gporev</a></font>"; with (webBlocker_mc) { drawRect(_root.webBlocker_mc, 0, 100, 640, 340); _root.webBlocker_mc._x = 320; _root.webBlocker_mc._y = 170; createTextField("webBlocker_txt", 5, -180, -150, 400, 340); webBlocker_txt.html = true; webBlocker_txt.selectable = false; webBlocker_txt.multiline = true; webBlocker_txt.wordWrap = true; webBlocker_txt.htmlText = "<p align='center'><font color='#ffffff' size='24'><b>UN-AUTHORIZED LOCATION</b></font></p><br><br><font color='#ffffff' size='16'>You are attempting to view this game on a site that does not have permission to show it. If you are the administrator of this site, you may contact me through email to request permission.<br><br><p align='center'>Email: <u><a href='mailto:thenaois@gmail.com'>theNaois[a]gmail.com</a></u><br>Web Site: <u><a href='http://www.naois.net/'>Naois.net</a></u></p>"; } var music_sound = new Sound(); music_sound.loadSound("http://www.naois.net/music/collect/changeyourmind.mp3", true); music_sound.onSoundComplete = function () { music_sound.start(0, 0); }; _root.attachSound(music_sound); _root.createEmptyMovieClip("preloader_mc", 406); _root.createEmptyMovieClip("bounds_mc", 1); _root.createEmptyMovieClip("player_mc", 2); _root.createEmptyMovieClip("star_mc", 3); _root.createEmptyMovieClip("bullet_mc", 4); _root.createTextField("score_txt", 100, 16, 6, 90, 50); _root.bounds_mc.createEmptyMovieClip("ground_mc", 1); _root.bounds_mc.createEmptyMovieClip("wall_mc", 2); _root.bounds_mc.ground_mc.createEmptyMovieClip("seg1", 1); _root.bounds_mc.ground_mc.createEmptyMovieClip("seg2", 2); _root.bounds_mc.ground_mc.createEmptyMovieClip("seg3", 3); _root.createEmptyMovieClip("background_mc", 0); _root.createEmptyMovieClip("enterScore_mc", 200); _root.enterScore_mc.createTextField("name_txt", 0, 0, 0, 35, 19); _root.enterScore_mc.createTextField("nameInpt_txt", 1, 0, 0, 140, 19); _root.enterScore_mc.createTextField("score_txt", 2, 0, 0, 80, 20); _root.enterScore_mc.createTextField("gameOver_txt", 4, 0, 0, 80, 20); _root.enterScore_mc.createEmptyMovieClip("send_btn", 3); _root.createEmptyMovieClip("scoretable", 401); _root.scoretable.createTextField("highscores_txt", 1, 0, 0, 150, 200); _root.scoretable.createEmptyMovieClip("exit_btn", 2); _root.createEmptyMovieClip("title_mc", 400); drawBG([52224, 11206570]); with (title_mc) { drawRect(_root.title_mc, 153, 100, 640, 340); _root.title_mc._x = 320; _root.title_mc._y = 170; _root.title_mc._visible = true; createTextField("title_txt", 1, 0, 0, 140, 50); title_txt._x = -60; title_txt._y = -140; title_txt.html = true; title_txt.selectable = false; title_txt.htmlText = "<font size='36' color='#FFFFFF'><b>Collect!</b></font>"; createTextField("instructions_txt", 4, 0, 0, 190, 200); instructions_txt.selectable = false; instructions_txt.html = true; instructions_txt.multiline = true; instructions_txt.wordWrap = true; instructions_txt.htmlText = "<font color='#ffffff'><b><u>Instructions:</u></b><br>Collect the stars by navigating the square with the arrow keys. As your score increases, bullets will begin to come across the screen. Avoid them, as they will cause your health to decrease. Try to get the highest score possible before your health drops to zero, and get your name on the high score list."; instructions_txt._x = -90; instructions_txt._y = -85; createEmptyMovieClip("play_btn", 2); with (_root.title_mc.play_btn) { drawRect(_root.title_mc.play_btn, 6710886, 100, 40, 20); var txtX = (((-_root.title_mc.play_btn._width) / 2) + 7); var txtY = ((-_root.title_mc.play_btn._height) / 2); createTextField("send_txt", 1, txtX, txtY, 40, 19); send_txt.html = true; send_txt.htmlText = "<b><font color='#ffffff'>Play</font></b>"; send_txt.selectable = false; _root.enterScore_mc.send_btn._x = 0; _root.enterScore_mc.send_btn._y = -100; _root.title_mc.play_btn.onRelease = function () { _root.title_mc._visible = false; _root.paused = false; }; _root.title_mc.play_btn._x = 0; _root.title_mc.play_btn._y = 140; } createEmptyMovieClip("showHighscore_btn", 5); with (_root.title_mc.showHighscore_btn) { drawRect(_root.title_mc.showHighscore_btn, 6710886, 100, 100, 20); var txtX = (((-_root.title_mc.showHighscore_btn._width) / 2) + 3); var txtY = ((-_root.title_mc.showHighscore_btn._height) / 2); createTextField("show_txt", 1, txtX, txtY, 100, 19); show_txt.html = true; show_txt.htmlText = "<b><font color='#ffffff'>Show Highscores</font></b>"; show_txt.selectable = false; _root.title_mc.showHighscore_btn.onRelease = function () { _root.showTable(); }; _root.title_mc.showHighscore_btn._x = 264; _root.title_mc.showHighscore_btn._y = -154; } createEmptyMovieClip("colorChooser_mc", 3); with (_root.title_mc.colorChooser_mc) { _root.title_mc.colorChooser_mc._x = -37; _root.title_mc.colorChooser_mc._y = 76; createTextField("title_txt", 0, 0, 0, 400, 19); _root.title_mc.colorChooser_mc.title_txt.html = true; _root.title_mc.colorChooser_mc.title_txt.selectable = false; _root.title_mc.colorChooser_mc.title_txt.htmlText = "<font color='#ffffff'>Choose Color:</font>"; createEmptyMovieClip("highlight_mc", 1); createEmptyMovieClip("red_btn", 4); createEmptyMovieClip("blue_btn", 5); createEmptyMovieClip("green_btn", 6); createEmptyMovieClip("purple_btn", 7); drawRect(_root.title_mc.colorChooser_mc.highlight_mc, 16777215, 100, 18, 18); drawRect(_root.title_mc.colorChooser_mc.red_btn, 10027008, 100, 16, 16); drawRect(_root.title_mc.colorChooser_mc.blue_btn, 255, 100, 16, 16); drawRect(_root.title_mc.colorChooser_mc.green_btn, 39168, 100, 16, 16); drawRect(_root.title_mc.colorChooser_mc.purple_btn, 10027263, 100, 16, 16); _root.title_mc.colorChooser_mc.highlight_mc._y = 30; _root.title_mc.colorChooser_mc.highlight_mc._x = 7; _root.title_mc.colorChooser_mc.red_btn._y = 30; _root.title_mc.colorChooser_mc.red_btn._x = 7; _root.title_mc.colorChooser_mc.green_btn._y = 30; _root.title_mc.colorChooser_mc.green_btn._x = 27; _root.title_mc.colorChooser_mc.blue_btn._y = 30; _root.title_mc.colorChooser_mc.blue_btn._x = 47; _root.title_mc.colorChooser_mc.purple_btn._y = 30; _root.title_mc.colorChooser_mc.purple_btn._x = 67; _root.title_mc.colorChooser_mc.red_btn.onRelease = function () { _root.drawPlrSqr(10027008); _root.title_mc.colorChooser_mc.highlight_mc._y = 30; _root.title_mc.colorChooser_mc.highlight_mc._x = 7; }; _root.title_mc.colorChooser_mc.green_btn.onRelease = function () { _root.drawPlrSqr(39168); _root.title_mc.colorChooser_mc.highlight_mc._y = 30; _root.title_mc.colorChooser_mc.highlight_mc._x = 27; }; _root.title_mc.colorChooser_mc.blue_btn.onRelease = function () { _root.drawPlrSqr(255); _root.title_mc.colorChooser_mc.highlight_mc._y = 30; _root.title_mc.colorChooser_mc.highlight_mc._x = 47; }; _root.title_mc.colorChooser_mc.purple_btn.onRelease = function () { _root.drawPlrSqr(10027263); _root.title_mc.colorChooser_mc.highlight_mc._y = 30; _root.title_mc.colorChooser_mc.highlight_mc._x = 67; }; } } with (enterScore_mc) { drawRect(_root.enterScore_mc, 15526360, 80, 200, 100); _root.enterScore_mc._x = 320; _root.enterScore_mc._y = 170; _root.enterScore_mc._visible = false; var w2 = ((_root.enterScore_mc._width - 40) / 2); var h2 = (_root.enterScore_mc._height / 2); _root.enterScore_mc.nameInpt_txt._x = (-w2) + 45; _root.enterScore_mc.nameInpt_txt._y = (-h2) + 25; _root.enterScore_mc.nameInpt_txt.border = true; _root.enterScore_mc.nameInpt_txt.maxChars = 18; _root.enterScore_mc.nameInpt_txt.type = "input"; _root.enterScore_mc.nameInpt_txt.text = "-Name-"; _root.enterScore_mc.name_txt.selectable = false; _root.enterScore_mc.name_txt._x = (-w2) + 10; _root.enterScore_mc.name_txt._y = (-h2) + 25; _root.enterScore_mc.name_txt.text = "Name:"; _root.enterScore_mc.score_txt.selectable = false; _root.enterScore_mc.score_txt._x = (-w2) + 10; _root.enterScore_mc.score_txt._y = (-h2) + 45; _root.enterScore_mc.gameOver_txt.selectable = false; _root.enterScore_mc.gameOver_txt.html = true; _root.enterScore_mc.gameOver_txt.htmlText = "<b><u>Game Over</u></b>"; _root.enterScore_mc.gameOver_txt._x = (-w2) + 10; _root.enterScore_mc.gameOver_txt._y = (-h2) + 4; } with (enterScore_mc.send_btn) { drawRect(_root.enterScore_mc.send_btn, 6710886, 100, 40, 20); var w2 = (_root.enterScore_mc.send_btn._width / 2); var h2 = (_root.enterScore_mc.send_btn._height / 2); createTextField("send_txt", 1, (-w2) + 2, -h2, 40, 19); send_txt.html = true; send_txt.htmlText = "<b><font color='#ffffff'>SEND</font></b>"; send_txt.selectable = false; _root.enterScore_mc.send_btn._x = 0; _root.enterScore_mc.send_btn._y = 30; } var scoreName = ""; _root.enterScore_mc.send_btn.onRelease = function () { _root.scoreName = _root.enterScore_mc.nameInpt_txt.text; _root.scoretable.filename = "scores/collect.sco"; _root.scoretable.scoresize = 10; _root.scoretable.action = "INSERT"; _root.scoretable.viewtype = "FLASH"; _root.scoretable.winname = _root.scoreName; _root.scoretable.winscore = _root.score; _root.scoretable.loadVariables("http://www.naois.net/scores.php", "GET"); _root.scoretable.highscores_txt.htmlText = ((((((((((((((((((((((((((((((((((((((("<b> High Scores:</b><br><br> 1. " + _root.scoretable.NAME0) + " - ") + _root.scoretable.SCORE0) + "<br> 2. ") + _root.scoretable.NAME1) + " - ") + _root.scoretable.SCORE1) + "<br> 3. ") + _root.scoretable.NAME2) + " - ") + _root.scoretable.SCORE2) + "<br> 4. ") + _root.scoretable.NAME3) + " - ") + _root.scoretable.SCORE3) + "<br> 5. ") + _root.scoretable.NAME4) + " - ") + _root.scoretable.SCORE4) + "<br> 6. ") + _root.scoretable.NAME5) + " - ") + _root.scoretable.SCORE5) + "<br> 7. ") + _root.scoretable.NAME6) + " - ") + _root.scoretable.SCORE6) + "<br> 8. ") + _root.scoretable.NAME7) + " - ") + _root.scoretable.SCORE7) + "<br> 9. ") + _root.scoretable.NAME8) + " - ") + _root.scoretable.SCORE8) + "<br>10. ") + _root.scoretable.NAME9) + " - ") + _root.scoretable.SCORE9) + ""; showTable(); }; getScore = setInterval(function () { _root.scoretable.filename = "scores/collect.sco"; _root.scoretable.scoresize = 10; _root.scoretable.action = "VIEW"; _root.scoretable.viewtype = "FLASH"; _root.scoretable.loadVariables("http://www.naois.net/scores.php", "GET"); _root.scoretable.highscores_txt.htmlText = ((((((((((((((((((((((((((((((((((((((("<b> High Scores:</b><br><br> 1. " + _root.scoretable.NAME0) + " - ") + _root.scoretable.SCORE0) + "<br> 2. ") + _root.scoretable.NAME1) + " - ") + _root.scoretable.SCORE1) + "<br> 3. ") + _root.scoretable.NAME2) + " - ") + _root.scoretable.SCORE2) + "<br> 4. ") + _root.scoretable.NAME3) + " - ") + _root.scoretable.SCORE3) + "<br> 5. ") + _root.scoretable.NAME4) + " - ") + _root.scoretable.SCORE4) + "<br> 6. ") + _root.scoretable.NAME5) + " - ") + _root.scoretable.SCORE5) + "<br> 7. ") + _root.scoretable.NAME6) + " - ") + _root.scoretable.SCORE6) + "<br> 8. ") + _root.scoretable.NAME7) + " - ") + _root.scoretable.SCORE7) + "<br> 9. ") + _root.scoretable.NAME8) + " - ") + _root.scoretable.SCORE8) + "<br>10. ") + _root.scoretable.NAME9) + " - ") + _root.scoretable.SCORE9) + "<br>"; }, 1000); with (_root.scoretable) { drawRect(_root.scoretable, 15526360, 90, 160, 200); var w2 = 86; var h2 = 100; _root.scoretable._x = 320; _root.scoretable._y = 170; _root.scoretable._visible = false; _root.scoretable.highscores_txt._x = (-w2) + 10; _root.scoretable.highscores_txt._y = (-h2) + 10; _root.scoretable.highscores_txt.html = true; _root.scoretable.highscores_txt.multiline = true; _root.scoretable.highscores_txt.selectable = false; } with (_root.scoretable.exit_btn) { drawRect(_root.scoretable.exit_btn, 6710886, 100, 39, 20); var w2 = 19.5; var h2 = 10; createTextField("exit_txt", 1, (-w2) + 2, -h2, 37, 19); exit_txt.html = true; exit_txt.htmlText = "<b><font color='#ffffff'>Menu</font></b>"; exit_txt.selectable = false; _root.scoretable.exit_btn._x = 54; _root.scoretable.exit_btn._y = -82; } _root.scoretable.exit_btn.onRelease = function () { reset(); }; with (_root.star_mc) { lineStyle(2, 16750848, 100); beginFill(16776960, 100); moveTo(0, -13); lineTo(4, -3); lineTo(15, -3); lineTo(5, 3); lineTo(10, 13); lineTo(0, 6); lineTo(-10, 13); lineTo(-5, 3); lineTo(-15, -3); lineTo(-4, -3); lineTo(0, -13); endFill(); _root.star_mc._x = -50; } duplicateMovieClip (_root.star_mc, "star0", 10); duplicateMovieClip (_root.star_mc, "star1", 11); duplicateMovieClip (_root.star_mc, "star2", 12); duplicateMovieClip (_root.star_mc, "star3", 13); with (_root.bullet_mc) { lineStyle(2, 13421772, 100); lineTo(25, 0); _x = -50; } b = 1; while (b <= 24) { duplicateMovieClip (_root.bullet_mc, "b" + b, 20 + b); _root["b" + b]._y = Math.round(Math.random() * 260) + 50; _root["b" + b]._x = Math.round(Math.random() * 100) + 650; b++; } with (_root.bounds_mc.ground_mc) { beginFill(0, 100); lineStyle(2, 0, 100); moveTo(0, 320); lineTo(640, 300); lineTo(640, 340); lineTo(0, 340); lineTo(0, 320); endFill(); } i = 1; while (i <= 3) { with (_root.bounds_mc.ground_mc["seg" + i]) { beginFill(0, 100); lineStyle(0, 0, 100); moveTo(0, 0); lineTo(80, 0); lineTo(80, 20); lineTo(0, 20); lineTo(0, 0); endFill(); } i++; } _root.bounds_mc.ground_mc.seg1._x = Math.round((Math.random() * 560) + 40); _root.bounds_mc.ground_mc.seg2._x = Math.round((Math.random() * 560) + 40); _root.bounds_mc.ground_mc.seg3._x = Math.round((Math.random() * 560) + 40); _root.bounds_mc.ground_mc.seg1._y = 120; _root.bounds_mc.ground_mc.seg2._y = 180; _root.bounds_mc.ground_mc.seg3._y = 240; with (_root.bounds_mc.wall_mc) { beginFill(0, 100); lineStyle(0, 0, 0); moveTo(-30, 0); lineTo(-30, 150); lineTo(-30, 320); lineTo(60, 320); lineTo(-10, 150); lineTo(-10, 0); moveTo(640, 0); lineTo(640, 340); lineTo(680, 340); lineTo(680, 0); lineTo(640, 0); endFill(); } drawPlrSqr(10027008); var speed = 6; var thrust = 12; var thrustSpeed = 0; var grav = 1; var air = false; var radius = 15; var score = 0; var health = 100; _root.score_txt.html = true; _root.score_txt.selectable = false; _root.score_txt.multiline = true; _root.score_txt.htmlText = (("<font color='#009900'><b>Health: " + _root.health) + "</b></font>\nScore: ") + _root.score; var paused = true; moveItemsIntv = setInterval(moveItems, 4000); _root.player_mc.onEnterFrame = function () { if (!paused) { platform(_root.player_mc); bulletHit(); bulletMove(); playerScore(); } checkVer(); checkSite(); }; __com_mochibot__("1608bb3b", this, 10301, true);

Special Tags

Protect (24)Timeline Frame 131 bytes "..$1$ka$0nP6UQ5I5g7ZdpjLr5UcX1."




http://swfchan.com/13/60331/info.shtml
Created: 16/4 -2019 07:53:08 Last modified: 16/4 -2019 07:53:08 Server time: 15/05 -2024 20:04:33