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

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

OSI.swf

This is the info page for
Flash #87633

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


Text
Copyright (c) 2008 Anventure

OSI GAME

Time

Score

Menu

Instructions

Application

Session

Data link

Presentation

Transport

Physical

Network

Review

Replay

Error List

Word

Correct

Wrong

Instruction

Welcome  to the OSI Game
1. The goal of this game is to land the falling objects in the OSI layer they are associated with.
2. Use your left and right arrow keys to move the falling object and tap the space  bar to drop it.
3. When time runs out, click the review button to view corrections for any you got wrong.
Good Luck!

ActionScript [AS1/AS2]

Frame 1
stop(); fscommand ("showmenu", "false"); this.onEnterFrame = function () { total_bytes = getBytesTotal(); loaded_bytes = getBytesLoaded(); gotoframe = Math.floor((loaded_bytes / total_bytes) * 100); preload_mc.loading = gotoframe + "%"; trace(" Level 01 :" + gotoframe); preload_mc.gotoAndStop(gotoframe); if (gotoframe >= 100) { this.onEnterFrame = null; _root.gotoAndPlay(2); } };
Frame 2
stopAllSounds(); fscommand ("fullscreen", true); fscommand ("showmenu", false);
Frame 110
stop();
Frame 145
function tim() { sec--; time_mc.sec = sec; if ((sec == 0) && (min == 0)) { review._visible = true; ball_mc._x = 1000; game_mc.gotoAndPlay(2); _root.timer_mc.gotoAndStop(_currentframe); sec = 0; clearInterval(cl); } else if (sec == 0) { min--; sec = 60; } } function hitting(a, word) { if (rs == a) { ball_mc.gotoAndStop(3); score++; score_mc.score = score; } else { wrong_wordarr.push(word); ball_mc.gotoAndStop(2); my_sound.start(); wrong_Arrvalue.push(my_array[rs][as]); wrong_Arr.push(my); } } function Refresh() { ball_mc._y = -10; ball_mc.gotoAndStop(1); xs = random(6); ball_mc._x = Xpos[xs]; rs = random(7); as1 = my_array[rs].length; as = random(as1); ball_mc.tex = my_array[rs][as]; if (rs == 0) { my = "Application"; } else if (rs == 1) { my = "Presentation"; } else if (rs == 2) { my = "Session"; } else if (rs == 3) { my = "Transport"; } else if (rs == 4) { my = "Network"; } else if (rs == 5) { my = "DataLink"; } else if (rs == 6) { my = "Physical"; } if ((sec == 0) && (min == 0)) { ball_mc._x = 1000; } } function visi() { v = 0; while (v < wrong_Arrvalue.length) { removeMovieClip(_root["dyn" + v]); v++; } } function buildList() { spacing = 50; var _local1 = -1; if (wrong_Arrvalue.length >= 7) { error_mc.bar._visible = true; } else { error_mc.bar._visible = false; } while (_local1++ , _local1 < wrong_Arrvalue.length) { name = "infoBar" + _local1; y = _local1 * spacing; error_mc.list.attachMovie("infoBar", name, _local1); error_mc.list[name]._y = y; error_mc.list[name].word.text = wrong_Arrvalue[_local1]; error_mc.list[name].correct.text = wrong_Arr[_local1]; error_mc.list[name].wrong.text = wrong_wordarr[_local1]; } } function scroll(direction) { speed = 10; if (direction == "up") { if (((error_mc.list._y - speed) + error_mc.list._height) > (startingY + bottom)) { error_mc.list._y = error_mc.list._y - speed; } else { error_mc.list._y = (startingY + bottom) - error_mc.list._height; } } else if (direction == "down") { if ((error_mc.list._y + speed) < startingY) { error_mc.list._y = error_mc.list._y + speed; } else { error_mc.list._y = startingY; } } } stop(); var min = 0; var sec = 60; var my_array = [["FTP", "DNS", "HTTP", "SMTP", "Telnet", "DHCP", "IRC", "LDAP", "NFS", "SMB", "TFTP", "VoIP", "Whois", "E mail"], ["MIME", "ASCII", "MPEG", "SSL", "MIDI", "Encryption"], ["NetBIOS", "Sockets", "PPTP", "SSH Authentication"], ["TCP", "UDP", "Segments"], ["IP", "ARP", "OSPF", "ICMP", "Router", "IPsec", "Packets"], ["MAC", "PPP", "802.3", "Token ring", "Fibre channel", "Frame relay", "Ethernet", "LLC", "FDDI", "IEEE 802.2", "Token ring", "AppleTalk", "Frames"], ["Bits", "10BASE T", "Cable", "Hub", "Repeater", "Network adapter", "Firewire", "Modem", "T1", "DSL"]]; var my = ""; var wrong_Arrvalue = new Array(); var wrong_Arr = new Array(); var score = 0; score_mc.score = score; var rs = random(7); var wrong_wordarr = new Array(); var wrong_word = ""; var mc = ""; var as1 = my_array[rs].length; var as = random(as1); var speed = (random(3) + 2); var flag = true; var xs = random(6); var my_sound = new Sound(); ball_mc.tex = my_array[rs][as]; ball_mc._y = -20; var Xpos = new Array("100.6", "200.6", "300.6", "400.6", "500.6", "600.6", "680.6"); ball_mc._x = Xpos[xs]; ins_mc._visible = false; error_mc._visible = false; review._visible = false; timer_mc.gotoAndPlay(2); if (rs == 0) { my = "Application"; } else if (rs == 1) { my = "Presentation"; } else if (rs == 2) { my = "Session"; } else if (rs == 3) { my = "Transport"; } else if (rs == 4) { my = "Network"; } else if (rs == 5) { my = "DataLink"; } else if (rs == 6) { my = "Physical"; } ball_mc.onEnterFrame = function () { if (flag) { this._y = this._y + 1; if (this.hitTest(hit1._x, hit1._y, true)) { hit1.type = 0; flag = false; wrong_word = "Application"; run_mc.gotoAndPlay(2); hitting(hit1.type, wrong_word); } else if (this.hitTest(hit2._x, hit2._y, true)) { hit2.type = 1; flag = false; wrong_word = "Presentation"; run_mc.gotoAndPlay(2); hitting(hit2.type, wrong_word); } else if (this.hitTest(hit3._x, hit3._y, true)) { hit3.type = 2; flag = false; wrong_word = "Session"; run_mc.gotoAndPlay(2); hitting(hit3.type, wrong_word); } else if (this.hitTest(hit4._x, hit4._y, true)) { hit4.type = 3; flag = false; wrong_word = "Transport"; run_mc.gotoAndPlay(2); hitting(hit4.type, wrong_word); } else if (this.hitTest(hit5._x, hit5._y, true)) { hit5.type = 4; flag = false; wrong_word = "Network"; run_mc.gotoAndPlay(2); hitting(hit5.type, wrong_word); } else if (this.hitTest(hit6._x, hit6._y, true)) { hit6.type = 5; flag = false; wrong_word = "Datalink"; run_mc.gotoAndPlay(2); hitting(hit6.type, wrong_word); } else if (this.hitTest(hit7._x, hit7._y, true)) { hit7.type = 6; flag = false; wrong_word = "Physical"; run_mc.gotoAndPlay(2); hitting(hit7.type, wrong_word); } } else { this._y = this._y; } }; inst_btn.onRelease = function () { flag = false; timer_mc.gotoAndStop(_currentframe); ins_mc._visible = true; error_mc._visible = false; }; menu_btn.onRelease = function () { clearInterval(cl); timer_mc.gotoAndStop(1); sec = 0; _root.gotoAndPlay(108); }; startingY = error_mc.list._y; bottom = 180;
Instance of Symbol 108 MovieClip "ball_mc" in Frame 145
onClipEvent (keyDown) { if (Key.isDown(37)) { this._x = this._x - 100; if (this._x <= 100) { this._x = 100; } } else if (Key.isDown(32)) { this._y = this._y + 510; if (this._y >= 510) { this._y = 510; } } else if (Key.isDown(39)) { this._x = this._x + 100; if (this._x >= 680) { this._x = 680; } } }
Instance of Symbol 110 MovieClip "time_mc" in Frame 145
/* no clip actions */
Instance of Symbol 112 MovieClip "score_mc" in Frame 145
/* no clip actions */
Symbol 39 Button
on (press) { gotoAndPlay (112); }
Symbol 108 MovieClip Frame 1
stop();
Symbol 113 MovieClip Frame 1
stop();
Symbol 113 MovieClip Frame 10
_root.flag = true; _root.Refresh();
Symbol 131 Button
on (release) { trace("CLICKED:"); _root.error_mc._visible = true; _root.ins_mc._visible = false; _root.buildList(); }
Symbol 132 Button
on (release) { clearInterval(_root.cl); _root.visi(); _root.gotoAndPlay(108); }
Symbol 133 MovieClip Frame 1
stop();
Symbol 133 MovieClip Frame 11
if (_root.wrong_Arrvalue.length == 0) { trace("TEST:" + _root.wrong_Arrvalue.length); _root.game_mc.revi_btn._visible = false; } else { _root.game_mc.revi_btn._visible = true; }
Symbol 133 MovieClip Frame 21
stop(); if (_root.wrong_Arrvalue.length == 0) { trace("TEST:" + _root.wrong_Arrvalue.length); _root.game_mc.revi_btn._visible = false; } else { _root.game_mc.revi_btn._visible = true; }
Symbol 139 Button
on (release) { _root.error_mc._visible = false; _root.visi(); }
Symbol 142 Button
on (press) { buttonPressed = "yes"; } on (release, dragOut, releaseOutside) { buttonPressed = ""; }
Instance of Symbol 143 MovieClip "up" in Symbol 144 MovieClip Frame 1
onClipEvent (enterFrame) { if (buttonPressed == "yes") { _root.scroll("up"); } }
Instance of Symbol 143 MovieClip "down" in Symbol 144 MovieClip Frame 1
onClipEvent (enterFrame) { if (buttonPressed == "yes") { _root.scroll("down"); } }
Symbol 152 Button
on (press) { _root.flag = true; _root.timer_mc.gotoAndPlay(_currentframe); _root.ins_mc._visible = false; }
Symbol 156 MovieClip Frame 1
_root.tim();

Library Items

Symbol 1 FontUsed by:2 3 4 9 19 44 48 53 59 64 67 70 77 80 83 86 103 121 127 140 145 146 147 153 154
Symbol 2 EditableTextUses:1Used by:5
Symbol 3 EditableTextUses:1Used by:5
Symbol 4 EditableTextUses:1Used by:5
Symbol 5 MovieClip [infoBar]Uses:2 3 4
Symbol 6 GraphicUsed by:11
Symbol 7 ShapeTweeningUsed by:11
Symbol 8 GraphicUsed by:11
Symbol 9 EditableTextUses:1Used by:11
Symbol 10 GraphicUsed by:11
Symbol 11 MovieClipUses:6 7 8 9 10Used by:Timeline
Symbol 12 GraphicUsed by:Timeline
Symbol 13 GraphicUsed by:15 115
Symbol 14 GraphicUsed by:15 115
Symbol 15 MovieClipUses:13 14Used by:Timeline
Symbol 16 ShapeTweeningUsed by:Timeline
Symbol 17 BitmapUsed by:18
Symbol 18 GraphicUses:17Used by:Timeline
Symbol 19 TextUses:1Used by:Timeline
Symbol 20 GraphicUsed by:Timeline
Symbol 21 ShapeTweeningUsed by:Timeline
Symbol 22 ShapeTweeningUsed by:Timeline
Symbol 23 BitmapUsed by:24
Symbol 24 GraphicUses:23Used by:Timeline
Symbol 25 GraphicUsed by:Timeline
Symbol 26 GraphicUsed by:27
Symbol 27 MovieClipUses:26Used by:Timeline
Symbol 28 BitmapUsed by:29
Symbol 29 GraphicUses:28Used by:30
Symbol 30 MovieClipUses:29Used by:Timeline
Symbol 31 FontUsed by:32
Symbol 32 TextUses:31Used by:33
Symbol 33 MovieClipUses:32Used by:Timeline
Symbol 34 BitmapUsed by:35 37
Symbol 35 GraphicUses:34Used by:38 39
Symbol 36 BitmapUsed by:37
Symbol 37 GraphicUses:36 34Used by:38 39
Symbol 38 ButtonUses:35 37Used by:Timeline
Symbol 39 ButtonUses:35 37Used by:Timeline
Symbol 40 GraphicUsed by:41
Symbol 41 MovieClipUses:40Used by:Timeline
Symbol 42 BitmapUsed by:43
Symbol 43 GraphicUses:42Used by:47 50 73 75 110 112
Symbol 44 TextUses:1Used by:47 73 110
Symbol 45 FontUsed by:46 49 72 74 109 111
Symbol 46 EditableTextUses:45Used by:47
Symbol 47 MovieClipUses:43 44 46Used by:Timeline
Symbol 48 TextUses:1Used by:50 75 112
Symbol 49 EditableTextUses:45Used by:50
Symbol 50 MovieClipUses:43 48 49Used by:Timeline
Symbol 51 BitmapUsed by:52
Symbol 52 GraphicUses:51Used by:56
Symbol 53 TextUses:1Used by:56
Symbol 54 BitmapUsed by:55
Symbol 55 GraphicUses:54Used by:56
Symbol 56 ButtonUses:52 53 55Used by:Timeline
Symbol 57 BitmapUsed by:58
Symbol 58 GraphicUses:57Used by:62
Symbol 59 TextUses:1Used by:62
Symbol 60 BitmapUsed by:61
Symbol 61 GraphicUses:60Used by:62
Symbol 62 ButtonUses:58 59 61Used by:Timeline
Symbol 63 GraphicUsed by:65
Symbol 64 TextUses:1Used by:65 89
Symbol 65 MovieClipUses:63 64Used by:Timeline
Symbol 66 GraphicUsed by:68
Symbol 67 TextUses:1Used by:68 93
Symbol 68 MovieClipUses:66 67Used by:Timeline
Symbol 69 GraphicUsed by:71
Symbol 70 TextUses:1Used by:71 99
Symbol 71 MovieClipUses:69 70Used by:Timeline
Symbol 72 EditableTextUses:45Used by:73
Symbol 73 MovieClipUses:43 44 72Used by:Timeline
Symbol 74 EditableTextUses:45Used by:75
Symbol 75 MovieClipUses:43 48 74Used by:Timeline
Symbol 76 GraphicUsed by:78
Symbol 77 TextUses:1Used by:78 91
Symbol 78 MovieClipUses:76 77Used by:Timeline
Symbol 79 GraphicUsed by:81
Symbol 80 TextUses:1Used by:81 95
Symbol 81 MovieClipUses:79 80Used by:Timeline
Symbol 82 GraphicUsed by:84
Symbol 83 TextUses:1Used by:84 101
Symbol 84 MovieClipUses:82 83Used by:Timeline
Symbol 85 GraphicUsed by:87
Symbol 86 TextUses:1Used by:87 97
Symbol 87 MovieClipUses:85 86Used by:Timeline
Symbol 88 GraphicUsed by:89
Symbol 89 MovieClipUses:88 64Used by:Timeline
Symbol 90 GraphicUsed by:91
Symbol 91 MovieClipUses:90 77Used by:Timeline
Symbol 92 GraphicUsed by:93
Symbol 93 MovieClipUses:92 67Used by:Timeline
Symbol 94 GraphicUsed by:95
Symbol 95 MovieClipUses:94 80Used by:Timeline
Symbol 96 GraphicUsed by:97
Symbol 97 MovieClipUses:96 86Used by:Timeline
Symbol 98 GraphicUsed by:99
Symbol 99 MovieClipUses:98 70Used by:Timeline
Symbol 100 GraphicUsed by:101
Symbol 101 MovieClipUses:100 83Used by:Timeline
Symbol 102 GraphicUsed by:108
Symbol 103 EditableTextUses:1Used by:108
Symbol 104 GraphicUsed by:108
Symbol 105 SoundUsed by:108
Symbol 106 GraphicUsed by:108
Symbol 107 SoundUsed by:108
Symbol 108 MovieClipUses:102 103 104 105 106 107Used by:Timeline
Symbol 109 EditableTextUses:45Used by:110
Symbol 110 MovieClipUses:43 44 109Used by:Timeline
Symbol 111 EditableTextUses:45Used by:112
Symbol 112 MovieClipUses:43 48 111Used by:Timeline
Symbol 113 MovieClipUsed by:Timeline
Symbol 114 GraphicUsed by:133
Symbol 115 MovieClipUses:13 14Used by:133
Symbol 116 GraphicUsed by:133
Symbol 117 BitmapUsed by:118
Symbol 118 GraphicUses:117Used by:133
Symbol 119 BitmapUsed by:120 123
Symbol 120 GraphicUses:119Used by:124 131
Symbol 121 TextUses:1Used by:124 131
Symbol 122 BitmapUsed by:123
Symbol 123 GraphicUses:122 119Used by:124 131
Symbol 124 ButtonUses:120 121 123Used by:133
Symbol 125 BitmapUsed by:126 129
Symbol 126 GraphicUses:125Used by:130 132
Symbol 127 TextUses:1Used by:130 132
Symbol 128 BitmapUsed by:129
Symbol 129 GraphicUses:128 125Used by:130 132
Symbol 130 ButtonUses:126 127 129Used by:133
Symbol 131 ButtonUses:120 121 123Used by:133
Symbol 132 ButtonUses:126 127 129Used by:133
Symbol 133 MovieClipUses:114 115 116 118 124 130 131 132Used by:Timeline
Symbol 134 GraphicUsed by:150 155
Symbol 135 BitmapUsed by:136
Symbol 136 GraphicUses:135Used by:139 151 152
Symbol 137 BitmapUsed by:138
Symbol 138 GraphicUses:137Used by:139 151 152
Symbol 139 ButtonUses:136 138Used by:150
Symbol 140 TextUses:1Used by:150 155
Symbol 141 GraphicUsed by:142
Symbol 142 ButtonUses:141Used by:143
Symbol 143 MovieClipUses:142Used by:144
Symbol 144 MovieClipUses:143Used by:150
Symbol 145 TextUses:1Used by:150
Symbol 146 TextUses:1Used by:150
Symbol 147 TextUses:1Used by:150
Symbol 148 GraphicUsed by:150
Symbol 149 MovieClipUsed by:150
Symbol 150 MovieClipUses:134 139 140 144 145 146 147 148 149Used by:Timeline
Symbol 151 ButtonUses:136 138Used by:155
Symbol 152 ButtonUses:136 138Used by:155
Symbol 153 TextUses:1Used by:155
Symbol 154 TextUses:1Used by:155
Symbol 155 MovieClipUses:134 151 140 152 153 154Used by:Timeline
Symbol 156 MovieClipUsed by:Timeline

Instance Names

"preload_mc"Frame 1Symbol 11 MovieClip
"time_mc"Frame 120Symbol 47 MovieClip
"hit1"Frame 145Symbol 89 MovieClip
"hit2"Frame 145Symbol 91 MovieClip
"hit3"Frame 145Symbol 93 MovieClip
"hit4"Frame 145Symbol 95 MovieClip
"hit5"Frame 145Symbol 97 MovieClip
"hit6"Frame 145Symbol 99 MovieClip
"hit7"Frame 145Symbol 101 MovieClip
"ball_mc"Frame 145Symbol 108 MovieClip
"time_mc"Frame 145Symbol 110 MovieClip
"score_mc"Frame 145Symbol 112 MovieClip
"menu_btn"Frame 145Symbol 56 Button
"inst_btn"Frame 145Symbol 62 Button
"run_mc"Frame 145Symbol 113 MovieClip
"game_mc"Frame 145Symbol 133 MovieClip
"error_mc"Frame 145Symbol 150 MovieClip
"ins_mc"Frame 145Symbol 155 MovieClip
"timer_mc"Frame 145Symbol 156 MovieClip
"word"Symbol 5 MovieClip [infoBar] Frame 1Symbol 2 EditableText
"correct"Symbol 5 MovieClip [infoBar] Frame 1Symbol 3 EditableText
"wrong"Symbol 5 MovieClip [infoBar] Frame 1Symbol 4 EditableText
"revi_btn"Symbol 133 MovieClip Frame 11Symbol 124 Button
"revi_btn"Symbol 133 MovieClip Frame 21Symbol 131 Button
"up"Symbol 144 MovieClip Frame 1Symbol 143 MovieClip
"down"Symbol 144 MovieClip Frame 1Symbol 143 MovieClip
"bar"Symbol 150 MovieClip Frame 1Symbol 144 MovieClip
"list"Symbol 150 MovieClip Frame 1Symbol 149 MovieClip

Special Tags

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

Dynamic Text Variables

loadingSymbol 9 EditableText""
secSymbol 46 EditableText""
secSymbol 49 EditableText""
secSymbol 72 EditableText""
scoreSymbol 74 EditableText""
texSymbol 103 EditableText""
secSymbol 109 EditableText""
scoreSymbol 111 EditableText""




http://swfchan.com/18/87633/info.shtml
Created: 29/3 -2019 21:44:51 Last modified: 29/3 -2019 21:44:51 Server time: 26/04 -2024 22:24:25