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

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

1271226416877.swf

This is the info page for
Flash #83139

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


Text
Мимо !

Ура!  Цель поражена!

x

v

dt

dx

y

dy



6

1

k

2

4

,

0

2

воздуха

r

чугуна

m

3

3

, где

Математическая модель

y(t) = v
0


t• sinα - g•t
2
/2

x(t) = v
0


t• cos α

Математическая модель

Математическое моделирование

Полет снаряда, выпущенного из пушки

Управляемые параметры

Постоянные величины

L = 550 м - расст. до центра цели

H = 170 м   -    высота  цели

v

o

-  начальная скорость (м/с)

α

-  угол к горизонту

α

m   -    масса   снаряда  (кг)

Сопротивление воздуха

r = 0,07 м    -     радиус  снаряда

d = 40 м    -    диаметр цели

k1  и  k2   -   коэффициенты

60

200


90°

ПУСК !

Очистить

L

H

не учитывать

учитывать

v
x

v
y

v
0

d

Время (с)

(0,0)

X

Y

ActionScript [AS1/AS2]

Frame 1
function my_round(number, n) { var _local1 = Math.pow(10, n); return(Math.round(number * _local1) / _local1); } fscommand ("fullscreen", "true"); fscommand ("allowscale", "false"); btnExit.onRelease = function () { fscommand ("quit"); }; var frm; var c; var pov = 0; var mu = 0.0182; var ro1 = 1.29; var ro2 = 7800; var radius = 0.07; var m = 1000; var vx; var vy; var xd; var yd; var vxd; var vyd; var k; var k1; var k2; var a = 0.013; var b = 0.049; var midPrav; var push; var frameRate = 6; var t = 0; var x0 = 35; var y0 = 710; var L = 550; var H = 170; var nose = 10; var newspeed = 130; var speed; var depth = 100; var depthdied = 10; var newangle = (Math.PI/4); var angle; var initP = new Object(); initP._x = 35; initP._y = 710; initP._rotation = 0; push = attachMovie("idPushka", "didPushka", 3, initP); black1._visible = true; black2._visible = false; in1.text = 130; in2.text = 45; var initObj = new Object(); initObj._x = 520; initObj._y = 220; frm = attachMovie("idformula1", "didformula1", 1, initObj); bel1.onPress = function () { black1._visible = true; black2._visible = false; var _local1 = new Object(); _local1._x = 520; _local1._y = 220; frm = attachMovie("idformula1", "didformula1", 1, _local1); }; bel2.onPress = function () { black2._visible = true; black1._visible = false; var _local1 = new Object(); _local1._x = 430; _local1._y = 200; frm = attachMovie("idformula2", "didformula2", 1, _local1); }; btnPusk.onRelease = function () { var _local1 = this; var _local2 = _root; _local1.enabled = false; btnClear.enabled = false; depth++; angle = newangle; speed = newspeed; t = 0; var name = ("idyadro" + depth); var clip = _local2.attachMovie("idyadro", name, depth); clip._x = x0; clip._y = y0; xd = x0; yd = y0; vxd = speed * Math.cos(angle); vyd = speed * Math.sin(angle); k = 0.22; m = (((4.18879020478639 * radius) * radius) * radius) * ro2; k1 = 18.8495559215388 * mu; k2 = (((1.25663706143592 * radius) * radius) * ro1) / 2; clip.onEnterFrame = function () { var _local1 = this; var _local2 = _root; if (black1._visible) { t = t + (1 / framerate); tout.text = my_round(t, 2); _local1._x = x0 + ((speed * t) * Math.cos(angle)); _local1._y = (y0 - ((speed * t) * Math.sin(angle))) + (((9.8 * t) * t) / 2); depth++; var n = ("idpoint" + depth); var cl = _local2.attachMovie("idpoint", n, depth); cl._x = _local1._x; cl._y = _local1._y; if (clip.hitTest(cell1)) { depthdied++; var n2 = ("iddied" + depthdied); var cl2 = _local2.attachMovie("iddied", n2, depthdied); cl2._x = _local1._x; cl2._y = _local1._y; clip.removeMovieClip(); var _local3 = new Object(); _local3._x = 80; _local3._y = 260; midPrav = attachMovie("idPrav", "didPrav", 2, _local3); btnPusk.enabled = true; btnClear.enabled = true; } else if ((((clip.hitTest(noncellex1) || (clip.hitTest(noncell1ex1))) || (clip.hitTest(noncell2ex1))) || (clip.hitTest(noncell3ex1))) || (clip.hitTest(noncell4ex1))) { depthdied++; var n2 = ("iddied" + depthdied); var cl2 = _local2.attachMovie("iddied", n2, depthdied); cl2._x = _local1._x; cl2._y = _local1._y; clip.removeMovieClip(); var _local3 = new Object(); _local3._x = 180; _local3._y = 230; midPrav = attachMovie("idNeprav", "didNeprav", 2, _local3); btnPusk.enabled = true; btnClear.enabled = true; } } else { t = t + (1 / framerate); tout.text = my_round(t, 2); _local1._x = xd + (k * vxd); _local1._y = yd - (k * vyd); c = Math.sqrt((vxd * vxd) + (vyd * vyd)); vx = vxd + (k * (((-(k1 + (k2 * c))) * vxd) / m)); vy = vyd + (k * (-9.8 - (((k1 + (k2 * c)) * vyd) / m))); xd = _local1._x; yd = _local1._y; vxd = vx; vyd = vy; depth++; var n = ("idpointblue" + depth); var cl = _local2.attachMovie("idpointblue", n, depth); cl._x = _local1._x; cl._y = _local1._y; if (clip.hitTest(cell1)) { depthdied++; var n2 = ("iddied" + depthdied); var cl2 = _local2.attachMovie("iddied", n2, depthdied); cl2._x = _local1._x; cl2._y = _local1._y; clip.removeMovieClip(); var _local3 = new Object(); _local3._x = 80; _local3._y = 260; midPrav = attachMovie("idPrav", "didPrav", 2, _local3); btnPusk.enabled = true; btnClear.enabled = true; } else if ((((clip.hitTest(noncellex1) || (clip.hitTest(noncell1ex1))) || (clip.hitTest(noncell2ex1))) || (clip.hitTest(noncell3ex1))) || (clip.hitTest(noncell4ex1))) { depthdied++; var n2 = ("iddied" + depthdied); var cl2 = _local2.attachMovie("iddied", n2, depthdied); cl2._x = _local1._x; cl2._y = _local1._y; clip.removeMovieClip(); var _local3 = new Object(); _local3._x = 180; _local3._y = 230; midPrav = attachMovie("idNeprav", "didNeprav", 2, _local3); btnPusk.enabled = true; btnClear.enabled = true; } } }; }; btnClear.onRelease = function () { var i = 100; while (i <= depth) { eval ("idpoint" + i).removeMovieClip(); eval ("idpointblue" + i).removeMovieClip(); i++; } depth = 100; var i = 1; while (i <= depthdied) { eval ("iddied" + i).removeMovieClip(); i++; } depthdied = 10; tout.text = 0; midPrav.removeMovieClip(); }; skala1.begun2.onPress = function () { this.startDrag(true, 0, -skala1.polz2._height, 0, 0); _root.onMouseMove = function () { newspeed = ((-140 * skala1.begun2._y) / skala1.polz2._height) + 60; in1.text = Math.floor(newspeed); }; }; skala1.begun2.onRelease = function () { this.stopDrag(); delete _root.onMouseMove; }; skala1.begun2.onReleaseOutside = function () { this.stopDrag(); delete _root.onMouseMove; }; skala2.begun2.onPress = function () { this.startDrag(true, 0, -skala2.polz2._height, 0, 0); _root.onMouseMove = function () { newangle = ((Math.PI/2) * (-skala2.begun2._y)) / skala2.polz2._height; in2.text = Math.floor((newangle * 180) / Math.PI) + 1; }; }; skala2.begun2.onRelease = function () { this.stopDrag(); delete _root.onMouseMove; initP._rotation = (45 - Math.floor((newangle * 180) / Math.PI)) - 1; push = attachMovie("idPushka", "didPushka", 3, initP); }; skala2.begun2.onReleaseOutside = function () { this.stopDrag(); delete _root.onMouseMove; initP._rotation = (45 - Math.floor((newangle * 180) / Math.PI)) - 1; push = attachMovie("idPushka", "didPushka", 3, initP); };

Library Items

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

Instance Names

"btnExit"Frame 1Symbol 72 Button
"btnClear"Frame 1Symbol 84 Button
"btnPusk"Frame 1Symbol 88 Button
"skala1"Frame 1Symbol 93 MovieClip
"skala2"Frame 1Symbol 93 MovieClip
"noncellex1"Frame 1Symbol 105 MovieClip
"noncell1ex1"Frame 1Symbol 108 MovieClip
"noncell2ex1"Frame 1Symbol 110 MovieClip
"noncell3ex1"Frame 1Symbol 111 MovieClip
"noncell4ex1"Frame 1Symbol 119 MovieClip
"bel1"Frame 1Symbol 134 MovieClip
"bel2"Frame 1Symbol 134 MovieClip
"black1"Frame 1Symbol 136 MovieClip
"black2"Frame 1Symbol 136 MovieClip
"in1"Frame 1Symbol 143 EditableText
"in2"Frame 1Symbol 144 EditableText
"cell1"Frame 1Symbol 146 MovieClip
"tout"Frame 1Symbol 154 EditableText
"polz2"Symbol 93 MovieClip Frame 1Symbol 90 MovieClip
"begun2"Symbol 93 MovieClip Frame 1Symbol 92 MovieClip

Special Tags

ExportAssets (56)Timeline Frame 1Symbol 2 as "idPushka"
ExportAssets (56)Timeline Frame 1Symbol 4 as "iddied"
ExportAssets (56)Timeline Frame 1Symbol 5 as "idyadro"
ExportAssets (56)Timeline Frame 1Symbol 7 as "idpointblue"
ExportAssets (56)Timeline Frame 1Symbol 8 as "idpoint"
ExportAssets (56)Timeline Frame 1Symbol 11 as "idNeprav"
ExportAssets (56)Timeline Frame 1Symbol 13 as "idPrav"
ExportAssets (56)Timeline Frame 1Symbol 59 as "idformula2"
ExportAssets (56)Timeline Frame 1Symbol 65 as "idformula1"

Labels

"kadr1"Frame 1




http://swfchan.com/17/83139/info.shtml
Created: 1/4 -2019 00:19:56 Last modified: 1/4 -2019 00:19:56 Server time: 22/12 -2024 10:52:15