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

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

police.swf

This is the info page for
Flash #51082

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


Text
English

gamedesign

gamedesign

ActionScript [AS1/AS2]

Frame 1
stop();
Symbol 3 Button
on (press) { var a = this._name.split("_"); _parent._parent.click_cel(Number(a[1]), Number(a[2])); }
Symbol 4 MovieClip [mcCelOrg] Frame 1
stop();
Symbol 4 MovieClip [mcCelOrg] Frame 2
stop();
Symbol 8 MovieClip Frame 1
_visible = false;
Symbol 14 MovieClip Frame 1
stop();
Symbol 31 MovieClip Frame 1
stop();
Symbol 36 MovieClip Frame 1
stop(); n = Number(this._name.slice(2)); mcPat.gotoAndStop(n); t = ["", "Reset", "Top Page", "Chinese"]; tf.text = t[n]; btn.onRelease = function () { _parent.click_link(n); };
Symbol 37 MovieClip Frame 1
function draw_line(cx1, cy1, cx2, cy2, curve) { var _local9 = cel[cy1][cx1].px; var _local8 = cel[cy1][cx1].py; var _local6 = cel[cy2][cx2].px; var _local5 = cel[cy2][cx2].py; mcLineLayer.lineStyle(2, 13167487, 100); mcLineLayer.moveTo(_local9, _local8); if (curve) { var _local7 = cel[cy1][cx2].px; var _local10 = cel[cy1][cx2].py; mcLineLayer.curveTo(_local7, _local10, _local6, _local5); } else { mcLineLayer.lineTo(_local6, _local5); } cel[cy1][cx1].cone[cel[cy1][cx1].cc] = (cy2 * xmax) + cx2; cel[cy1][cx1].cc++; cel[cy2][cx2].cone[cel[cy2][cx2].cc] = (cy1 * xmax) + cx1; cel[cy2][cx2].cc++; } xmax = 4; ymax = 4; cel_size = 80; cel = new Array(); i = 0; while (i < ymax) { cel[i] = new Array(); j = 0; while (j < xmax) { cel[i][j] = new Object(); cel[i][j].cone = new Array(); cel[i][j].cc = 0; cel[i][j].px = (320 + (j * cel_size)) - (i * cel_size); cel[i][j].py = (120 + ((j * cel_size) / 2)) + ((i * cel_size) / 2); cel[i][j].danger = 0; j++; } i++; } cel[2][3].danger = 1; cel[3][2].danger = 1; c = 0; i = 0; while (i < ymax) { j = 0; while (j < xmax) { if ((i + j) >= 6) { } else { mcname = (("mc_" + j) + "_") + i; mcCelLayer.attachMovie("mcCelOrg", mcname, c++); mc = eval ("mcCelLayer." + mcname); mc._x = cel[i][j].px; mc._y = cel[i][j].py; } j++; } i++; } i = 0; while (i < ymax) { j = 0; while (j < xmax) { if ((i + j) >= 5) { } else { if (j < (xmax - 1)) { draw_line(j, i, j + 1, i, false); } if (i < (ymax - 1)) { draw_line(j, i, j, i + 1, false); } } j++; } i++; } draw_line(2, 3, 3, 2, true);
Symbol 37 MovieClip Frame 4
function set_person(n, dir, cx, cy) { var mc = eval ("mcPerson" + n); mc._visible = true; mc.gotoAndStop((1 + (n * 4)) + dir); mc.cx = cx; mc.cy = cy; var mcs = eval ("mcShadow" + n); mcs.gotoAndStop(1 + dir); mc._x = (mcs._x = cel[cy][cx].px); mc._y = (mcs._y = cel[cy][cx].py); } function start_move(n, nx, ny) { who = n; var mc = eval ("mcPerson" + n); mc.nx = nx; mc.ny = ny; gotoAndStop ("move"); } set_person(0, 1, 0, 0); set_person(1, 0, 1, 3);
Symbol 37 MovieClip Frame 7
function click_cel(cx, cy) { var i = 0; while (i < ymax) { var j = 0; while (j < xmax) { var mc = eval ((("mcCelLayer.mc_" + j) + "_") + i); mc.gotoAndStop(1); j++; } i++; } start_move(0, cx, cy); } stop(); cx = mcPerson0.cx; cy = mcPerson0.cy; i = 0; while (i < cel[cy][cx].cc) { n = cel[cy][cx].cone[i]; nx = Math.floor(n % xmax); ny = Math.floor(n / xmax); var mc = eval ((("mcCelLayer.mc_" + nx) + "_") + ny); mc.gotoAndStop(2); i++; }
Symbol 37 MovieClip Frame 13
stop(); cx = mcPerson1.cx; cy = mcPerson1.cy; i = 0; while (i < ymax) { j = 0; while (j < xmax) { cel[i][j].pt = 100 + (Math.random() * 10); if (cel[i][j].danger) { cel[i][j].pt = 90; if (cel[cy][cx].danger) { cel[i][j].pt = 80; } } j++; } i++; } ex = mcPerson0.cx; ey = mcPerson0.cy; cel[ey][ex].pt = 1; i = 0; while (i < cel[ey][ex].cc) { n = cel[ey][ex].cone[i]; nx = Math.floor(n % xmax); ny = Math.floor(n / ymax); cel[ny][nx].pt = 2 + (Math.random() * 10); i++; } dx = 0; dy = 0; max = -1; i = 0; while (i < cel[cy][cx].cc) { n = cel[cy][cx].cone[i]; nx = Math.floor(n % xmax); ny = Math.floor(n / ymax); if (cel[ny][nx].pt > max) { max = cel[ny][nx].pt; dx = nx; dy = ny; } i++; } start_move(1, dx, dy);
Symbol 37 MovieClip Frame 20
stop(); cnt = 0; cmax = 8; mc = eval ("mcPerson" + who); mc.ox = mc._x; mc.oy = mc._y; mc.dx = cel[mc.ny][mc.nx].px; mc.dy = cel[mc.ny][mc.nx].py; if (mc.dy > mc.oy) { if (mc.dx > mc.ox) { dir = 0; } else { dir = 1; } } else if (mc.dx > mc.ox) { dir = 3; } else { dir = 2; } mc.gotoAndStop((1 + (who * 4)) + dir); if (mcPerson0._y < mcPerson1._y) { if (mcPerson0.getDepth() > mcPerson1.getDepth()) { mcPerson0.swapDepths(mcPerson1); } } else if (mcPerson0.getDepth() < mcPerson1.getDepth()) { mcPerson0.swapDepths(mcPerson1); } mcs = eval ("mcShadow" + who); mcs.gotoAndStop(1 + dir); onEnterFrame = function () { var mc = eval ("mcPerson" + who); var mcs = eval ("mcShadow" + who); var px = (mc.ox + (((mc.dx - mc.ox) * cnt) / cmax)); var py = (mc.oy + (((mc.dy - mc.oy) * cnt) / cmax)); (-Math.sin((Math.PI * cnt) / cmax)) * 50; mc._x = px; mc._y = py - (Math.sin((Math.PI * cnt) / cmax) * 50); mcs._x = px; mcs._y = py; cnt++; if (cnt > cmax) { delete onEnterFrame; set_person(who, dir, mc.nx, mc.ny); if ((mcPerson0.cx == mcPerson1.cx) && (mcPerson0.cy == mcPerson1.cy)) { gotoAndStop ("catch"); } else if (who == 0) { gotoAndStop ("com"); } else { gotoAndStop ("user"); } } };
Symbol 37 MovieClip Frame 26
function start_run(n) { var mc = eval ("mcPerson" + n); mc.run = 1; mc.ox = mc._x; mc.oy = mc._y; mc.dx = mc._x + (addx[dir] * cel_size); mc.dy = mc._y + ((addy[dir] * cel_size) / 2); mc.cnt = 0; mc.gotoAndStop((1 + (n * 4)) + dir); } function running(n) { var mc = eval ("mcPerson" + n); var mcs = eval ("mcShadow" + n); if (mc.run == 0) { return(undefined); } var px = (mc.ox + (((mc.dx - mc.ox) * mc.cnt) / cmax)); var py = (mc.oy + (((mc.dy - mc.oy) * mc.cnt) / cmax)); (-Math.sin((Math.PI * mc.cnt) / cmax)) * 50; mc._x = px; mc._y = py - (Math.sin((Math.PI * mc.cnt) / cmax) * 50); mcs._x = px; mcs._y = py; mc.cnt++; if (mc.cnt > cmax) { mc.ox = mc._x; mc.oy = mc._y; mc.dx = mc._x + (addx[dir] * cel_size); mc.dy = mc._y + ((addy[dir] * cel_size) / 2); mc.cnt = 0; } } stop(); addx = [1, -1, -1, 1]; addy = [1, 1, -1, -1]; pix = 12; mcPerson0._x = mcPerson0._x - (addx[dir] * pix); mcPerson0._y = mcPerson0._y - ((addy[dir] * pix) / 2); mcPerson1._x = mcPerson1._x + (addx[dir] * pix); mcPerson1._y = mcPerson1._y + ((addy[dir] * pix) / 2); mcPerson0.run = 0; mcPerson1.run = 0; stat = 0; ot = getTimer(); onEnterFrame = function () { var _local1 = getTimer(); switch (stat) { case 0 : if (_local1 > (ot + 3000)) { ot = _local1; start_run(1); stat++; } break; case 1 : if (_local1 > (ot + 500)) { ot = _local1; start_run(0); stat++; } break; case 2 : if (_local1 > (ot + 3000)) { delete onEnterFrame; gotoAndStop ("end"); } break; } running(0); running(1); };
Symbol 37 MovieClip Frame 34
stop(); mcScreen._alpha = 0; onEnterFrame = function () { mcScreen._alpha = mcScreen._alpha + 3; if (mcScreen._alpha >= 100) { delete onEnterFrame; gotoAndStop ("link"); } };
Symbol 37 MovieClip Frame 41
function click_link(n) { switch (n) { case 1 : gotoAndPlay (1); break; case 2 : getURL ("http://www.gamedesign.jp/"); } } stop();
Symbol 42 Button
on (release) { getURL ("http://www.gamedesign.jp/"); }

Library Items

Symbol 1 GraphicUsed by:4
Symbol 2 GraphicUsed by:3
Symbol 3 ButtonUses:2Used by:4
Symbol 4 MovieClip [mcCelOrg]Uses:1 3
Symbol 5 GraphicUsed by:6
Symbol 6 MovieClipUses:5Used by:37
Symbol 7 GraphicUsed by:8
Symbol 8 MovieClipUses:7Used by:9
Symbol 9 MovieClipUses:8Used by:37
Symbol 10 GraphicUsed by:14
Symbol 11 GraphicUsed by:14
Symbol 12 GraphicUsed by:14
Symbol 13 GraphicUsed by:14
Symbol 14 MovieClipUses:10 11 12 13Used by:37
Symbol 15 BitmapUsed by:16
Symbol 16 GraphicUses:15Used by:31
Symbol 17 BitmapUsed by:18
Symbol 18 GraphicUses:17Used by:31 36
Symbol 19 BitmapUsed by:20
Symbol 20 GraphicUses:19Used by:31
Symbol 21 BitmapUsed by:22
Symbol 22 GraphicUses:21Used by:31
Symbol 23 BitmapUsed by:24
Symbol 24 GraphicUses:23Used by:31
Symbol 25 BitmapUsed by:26
Symbol 26 GraphicUses:25Used by:31
Symbol 27 BitmapUsed by:28
Symbol 28 GraphicUses:27Used by:31
Symbol 29 BitmapUsed by:30
Symbol 30 GraphicUses:29Used by:31
Symbol 31 MovieClipUses:16 18 20 22 24 26 28 30Used by:37
Symbol 32 GraphicUsed by:33
Symbol 33 ButtonUses:32Used by:36
Symbol 34 FontUsed by:35
Symbol 35 EditableTextUses:34Used by:36
Symbol 36 MovieClipUses:33 18 35Used by:37
Symbol 37 MovieClipUses:6 9 14 31 36Used by:Timeline
Symbol 38 FontUsed by:39 40
Symbol 39 TextUses:38Used by:42
Symbol 40 TextUses:38Used by:42
Symbol 41 GraphicUsed by:42
Symbol 42 ButtonUses:39 40 41Used by:Timeline

Instance Names

"btn"Symbol 4 MovieClip [mcCelOrg] Frame 2Symbol 3 Button
"btn"Symbol 36 MovieClip Frame 1Symbol 33 Button
"tf"Symbol 36 MovieClip Frame 1Symbol 35 EditableText
"mcLineLayer"Symbol 37 MovieClip Frame 1Symbol 9 MovieClip
"mcCelLayer"Symbol 37 MovieClip Frame 1Symbol 9 MovieClip
"mcShadow0"Symbol 37 MovieClip Frame 4Symbol 14 MovieClip
"mcShadow1"Symbol 37 MovieClip Frame 4Symbol 14 MovieClip
"mcPerson0"Symbol 37 MovieClip Frame 4Symbol 31 MovieClip
"mcPerson1"Symbol 37 MovieClip Frame 4Symbol 31 MovieClip
"mcScreen"Symbol 37 MovieClip Frame 34Symbol 6 MovieClip
"mc1"Symbol 37 MovieClip Frame 41Symbol 36 MovieClip
"mc2"Symbol 37 MovieClip Frame 41Symbol 36 MovieClip

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS1/AS2.
ExportAssets (56)Timeline Frame 1Symbol 4 as "mcCelOrg"

Labels

"user"Symbol 37 MovieClip Frame 7
"com"Symbol 37 MovieClip Frame 13
"move"Symbol 37 MovieClip Frame 20
"catch"Symbol 37 MovieClip Frame 26
"end"Symbol 37 MovieClip Frame 34
"link"Symbol 37 MovieClip Frame 41




http://swfchan.com/11/51082/info.shtml
Created: 25/4 -2019 11:12:36 Last modified: 25/4 -2019 11:12:36 Server time: 14/11 -2024 06:46:39