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/43689596?noj=FRM43689596-22DC" width="1" height="1"></div>

1187649270.nitro_ring.swf

This is the info page for
Flash #9394

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


ActionScript [AS3]
Section 1
//MainTimeline (ring_fla.MainTimeline) package ring_fla { import flash.events.*; import flash.display.*; import flash.utils.*; import flash.geom.*; import flash.text.*; public dynamic class MainTimeline extends MovieClip { public var y1:Number; public var fpstimer:Timer; public var cooling_map:ByteArray; public var rect:Rectangle; public var color:int; public var f:Number; public var b:Number; public var j:Number; public var k:Number; public var i:Number; public var g; public var w; public var a:Number; public var r; public var h:Number; public var offset:int; public var fps_counter:Number; public var bytes:ByteArray; public var pal:Array; public var pal_image:Bitmap; public var x1; public var FPS:TextField; public var colour:uint; public var pal_data:flame; public var angle:Number; public var firedata:BitmapData; public var fireimage:Bitmap; public var myTimer:Timer; public function MainTimeline(){ addFrameScript(0, frame1); } public function create_pal(){ var _local1:*; var _local2:*; var _local3:Number; var _local4:int; i = 0; while (i < 0x0100) { _local4 = pal_data.getPixel(i, 0); _local1 = (_local4 % 0x0100); _local2 = ((_local4 & -16711936) / 0x0100); _local3 = ((_local4 & 0xFF0000) / 65536); trace(((((((("pal[" + i) + "] = (255<<24) | (") + _local1) + "<<16) | (") + _local2) + "<<8) | ") + _local3)); i++; }; } public function cool(){ j = 1; while (j < (h - 2)) { k = 1; while (k < (w - 2)) { offset = ((((k << 7) + (k << 5)) + j) << 2); cooling_map[offset] = 10; cooling_map[offset] = (((((cooling_map[(((((k << 7) + (k << 5)) + j) + 1) << 2)] + cooling_map[(((((k << 7) + (k << 5)) + j) - 1) << 2)]) + cooling_map[(((((k + 2) << 7) + ((k + 2) << 5)) + j) << 2)]) + cooling_map[(((((k - 1) << 7) + ((k - 1) << 5)) + j) << 2)]) + cooling_map[((((k << 7) + (k << 5)) + j) << 2)]) / 5); k++; }; j++; }; } function frame1(){ pal_data = new flame(0x0100, 10); pal_image = new Bitmap(pal_data); firedata = new BitmapData(160, 160); fireimage = new Bitmap(firedata); rect = new Rectangle(0, 0, 160, 160); angle = 0; w = 160; h = 160; fireimage.width = 320; fireimage.height = 320; color = 0xFF; bytes = new ByteArray(); bytes.length = ((w * h) * 4); offset = 0; cooling_map = new ByteArray(); cooling_map.length = ((w * h) * 4); myTimer = new Timer(1); myTimer.addEventListener(TimerEvent.TIMER, render); myTimer.start(); fpstimer = new Timer(1000); fpstimer.addEventListener(TimerEvent.TIMER, fps_update); fpstimer.start(); cool(); pal = new Array(); pal[0] = ((((0xFF << 24) | (0 << 16)) | (0 << 8)) | 1); pal[1] = ((((0xFF << 24) | (0 << 16)) | (0 << 8)) | 1); pal[2] = ((((0xFF << 24) | (0 << 16)) | (0 << 8)) | 4); pal[3] = ((((0xFF << 24) | (0 << 16)) | (1 << 8)) | 5); pal[4] = ((((0xFF << 24) | (0 << 16)) | (0 << 8)) | 8); pal[5] = ((((0xFF << 24) | (1 << 16)) | (0 << 8)) | 9); pal[6] = ((((0xFF << 24) | (0 << 16)) | (0 << 8)) | 12); pal[7] = ((((0xFF << 24) | (0 << 16)) | (0 << 8)) | 14); pal[8] = ((((0xFF << 24) | (0 << 16)) | (0 << 8)) | 16); pal[9] = ((((0xFF << 24) | (0 << 16)) | (0 << 8)) | 19); pal[10] = ((((0xFF << 24) | (0 << 16)) | (0 << 8)) | 21); pal[11] = ((((0xFF << 24) | (0 << 16)) | (0 << 8)) | 24); pal[12] = ((((0xFF << 24) | (0 << 16)) | (0 << 8)) | 28); pal[13] = ((((0xFF << 24) | (0 << 16)) | (0 << 8)) | 28); pal[14] = ((((0xFF << 24) | (0 << 16)) | (0 << 8)) | 30); pal[15] = ((((0xFF << 24) | (0 << 16)) | (0 << 8)) | 31); pal[16] = ((((0xFF << 24) | (0 << 16)) | (0 << 8)) | 34); pal[17] = ((((0xFF << 24) | (0 << 16)) | (0 << 8)) | 36); pal[18] = ((((0xFF << 24) | (0 << 16)) | (1 << 8)) | 39); pal[19] = ((((0xFF << 24) | (0 << 16)) | (1 << 8)) | 39); pal[20] = ((((0xFF << 24) | (1 << 16)) | (0 << 8)) | 42); pal[21] = ((((0xFF << 24) | (1 << 16)) | (0 << 8)) | 44); pal[22] = ((((0xFF << 24) | (0 << 16)) | (0 << 8)) | 46); pal[23] = ((((0xFF << 24) | (1 << 16)) | (0 << 8)) | 50); pal[24] = ((((0xFF << 24) | (0 << 16)) | (1 << 8)) | 52); pal[25] = ((((0xFF << 24) | (0 << 16)) | (0 << 8)) | 55); pal[26] = ((((0xFF << 24) | (0 << 16)) | (0 << 8)) | 58); pal[27] = ((((0xFF << 24) | (0 << 16)) | (0 << 8)) | 59); pal[28] = ((((0xFF << 24) | (0 << 16)) | (0 << 8)) | 63); pal[29] = ((((0xFF << 24) | (0 << 16)) | (0 << 8)) | 64); pal[30] = ((((0xFF << 24) | (1 << 16)) | (0 << 8)) | 66); pal[31] = ((((0xFF << 24) | (1 << 16)) | (0 << 8)) | 66); pal[32] = ((((0xFF << 24) | (0 << 16)) | (1 << 8)) | 69); pal[33] = ((((0xFF << 24) | (0 << 16)) | (0 << 8)) | 70); pal[34] = ((((0xFF << 24) | (1 << 16)) | (0 << 8)) | 72); pal[35] = ((((0xFF << 24) | (2 << 16)) | (0 << 8)) | 76); pal[36] = ((((0xFF << 24) | (0 << 16)) | (0 << 8)) | 79); pal[37] = ((((0xFF << 24) | (1 << 16)) | (0 << 8)) | 81); pal[38] = ((((0xFF << 24) | (0 << 16)) | (0 << 8)) | 85); pal[39] = ((((0xFF << 24) | (0 << 16)) | (0 << 8)) | 85); pal[40] = ((((0xFF << 24) | (1 << 16)) | (0 << 8)) | 86); pal[41] = ((((0xFF << 24) | (1 << 16)) | (0 << 8)) | 86); pal[42] = ((((0xFF << 24) | (0 << 16)) | (0 << 8)) | 90); pal[43] = ((((0xFF << 24) | (1 << 16)) | (0 << 8)) | 92); pal[44] = ((((0xFF << 24) | (1 << 16)) | (0 << 8)) | 96); pal[45] = ((((0xFF << 24) | (1 << 16)) | (0 << 8)) | 99); pal[46] = ((((0xFF << 24) | (2 << 16)) | (0 << 8)) | 102); pal[47] = ((((0xFF << 24) | (0 << 16)) | (0 << 8)) | 103); pal[48] = ((((0xFF << 24) | (1 << 16)) | (0 << 8)) | 103); pal[49] = ((((0xFF << 24) | (0 << 16)) | (1 << 8)) | 105); pal[50] = ((((0xFF << 24) | (0 << 16)) | (0 << 8)) | 108); pal[51] = ((((0xFF << 24) | (1 << 16)) | (0 << 8)) | 112); pal[52] = ((((0xFF << 24) | (0 << 16)) | (0 << 8)) | 115); pal[53] = ((((0xFF << 24) | (1 << 16)) | (0 << 8)) | 118); pal[54] = ((((0xFF << 24) | (0 << 16)) | (0 << 8)) | 119); pal[55] = ((((0xFF << 24) | (1 << 16)) | (0 << 8)) | 120); pal[56] = ((((0xFF << 24) | (0 << 16)) | (1 << 8)) | 123); pal[57] = ((((0xFF << 24) | (0 << 16)) | (1 << 8)) | 123); pal[58] = ((((0xFF << 24) | (0 << 16)) | (1 << 8)) | 125); pal[59] = ((((0xFF << 24) | (0 << 16)) | (1 << 8)) | 126); pal[60] = ((((0xFF << 24) | (0 << 16)) | (0 << 8)) | 130); pal[61] = ((((0xFF << 24) | (1 << 16)) | (0 << 8)) | 134); pal[62] = ((((0xFF << 24) | (0 << 16)) | (0 << 8)) | 138); pal[63] = ((((0xFF << 24) | (0 << 16)) | (0 << 8)) | 139); pal[64] = ((((0xFF << 24) | (0 << 16)) | (0 << 8)) | 141); pal[65] = ((((0xFF << 24) | (0 << 16)) | (0 << 8)) | 142); pal[66] = ((((0xFF << 24) | (0 << 16)) | (0 << 8)) | 144); pal[67] = ((((0xFF << 24) | (0 << 16)) | (1 << 8)) | 145); pal[68] = ((((0xFF << 24) | (0 << 16)) | (1 << 8)) | 146); pal[69] = ((((0xFF << 24) | (0 << 16)) | (3 << 8)) | 148); pal[70] = ((((0xFF << 24) | (0 << 16)) | (4 << 8)) | 153); pal[71] = ((((0xFF << 24) | (0 << 16)) | (5 << 8)) | 154); pal[72] = ((((0xFF << 24) | (0 << 16)) | (5 << 8)) | 157); pal[73] = ((((0xFF << 24) | (0 << 16)) | (7 << 8)) | 158); pal[74] = ((((0xFF << 24) | (0 << 16)) | (9 << 8)) | 160); pal[75] = ((((0xFF << 24) | (2 << 16)) | (11 << 8)) | 162); pal[76] = ((((0xFF << 24) | (1 << 16)) | (12 << 8)) | 163); pal[77] = ((((0xFF << 24) | (2 << 16)) | (13 << 8)) | 164); pal[78] = ((((0xFF << 24) | (2 << 16)) | (16 << 8)) | 166); pal[79] = ((((0xFF << 24) | (3 << 16)) | (18 << 8)) | 168); pal[80] = ((((0xFF << 24) | (4 << 16)) | (19 << 8)) | 169); pal[81] = ((((0xFF << 24) | (3 << 16)) | (20 << 8)) | 170); pal[82] = ((((0xFF << 24) | (3 << 16)) | (23 << 8)) | 172); pal[83] = ((((0xFF << 24) | (4 << 16)) | (24 << 8)) | 173); pal[84] = ((((0xFF << 24) | (3 << 16)) | (25 << 8)) | 174); pal[85] = ((((0xFF << 24) | (4 << 16)) | (26 << 8)) | 175); pal[86] = ((((0xFF << 24) | (4 << 16)) | (28 << 8)) | 178); pal[87] = ((((0xFF << 24) | (5 << 16)) | (29 << 8)) | 179); pal[88] = ((((0xFF << 24) | (6 << 16)) | (31 << 8)) | 181); pal[89] = ((((0xFF << 24) | (6 << 16)) | (33 << 8)) | 183); pal[90] = ((((0xFF << 24) | (7 << 16)) | (34 << 8)) | 185); pal[91] = ((((0xFF << 24) | (7 << 16)) | (36 << 8)) | 187); pal[92] = ((((0xFF << 24) | (6 << 16)) | (37 << 8)) | 188); pal[93] = ((((0xFF << 24) | (8 << 16)) | (39 << 8)) | 190); pal[94] = ((((0xFF << 24) | (9 << 16)) | (40 << 8)) | 191); pal[95] = ((((0xFF << 24) | (10 << 16)) | (43 << 8)) | 193); pal[96] = ((((0xFF << 24) | (10 << 16)) | (45 << 8)) | 195); pal[97] = ((((0xFF << 24) | (8 << 16)) | (45 << 8)) | 195); pal[98] = ((((0xFF << 24) | (10 << 16)) | (47 << 8)) | 197); pal[99] = ((((0xFF << 24) | (12 << 16)) | (49 << 8)) | 199); pal[100] = ((((0xFF << 24) | (11 << 16)) | (51 << 8)) | 200); pal[101] = ((((0xFF << 24) | (11 << 16)) | (53 << 8)) | 202); pal[102] = ((((0xFF << 24) | (13 << 16)) | (55 << 8)) | 204); pal[103] = ((((0xFF << 24) | (12 << 16)) | (55 << 8)) | 204); pal[104] = ((((0xFF << 24) | (12 << 16)) | (58 << 8)) | 206); pal[105] = ((((0xFF << 24) | (13 << 16)) | (59 << 8)) | 207); pal[106] = ((((0xFF << 24) | (12 << 16)) | (60 << 8)) | 208); pal[107] = ((((0xFF << 24) | (14 << 16)) | (62 << 8)) | 210); pal[108] = ((((0xFF << 24) | (14 << 16)) | (65 << 8)) | 212); pal[109] = ((((0xFF << 24) | (16 << 16)) | (67 << 8)) | 214); pal[110] = ((((0xFF << 24) | (16 << 16)) | (68 << 8)) | 215); pal[111] = ((((0xFF << 24) | (15 << 16)) | (69 << 8)) | 216); pal[112] = ((((0xFF << 24) | (16 << 16)) | (69 << 8)) | 220); pal[113] = ((((0xFF << 24) | (15 << 16)) | (70 << 8)) | 221); pal[114] = ((((0xFF << 24) | (14 << 16)) | (71 << 8)) | 222); pal[115] = ((((0xFF << 24) | (16 << 16)) | (73 << 8)) | 224); pal[116] = ((((0xFF << 24) | (17 << 16)) | (76 << 8)) | 226); pal[117] = ((((0xFF << 24) | (19 << 16)) | (78 << 8)) | 228); pal[118] = ((((0xFF << 24) | (18 << 16)) | (79 << 8)) | 229); pal[119] = ((((0xFF << 24) | (17 << 16)) | (80 << 8)) | 230); pal[120] = ((((0xFF << 24) | (19 << 16)) | (82 << 8)) | 232); pal[121] = ((((0xFF << 24) | (19 << 16)) | (85 << 8)) | 234); pal[122] = ((((0xFF << 24) | (17 << 16)) | (85 << 8)) | 234); pal[123] = ((((0xFF << 24) | (18 << 16)) | (86 << 8)) | 235); pal[124] = ((((0xFF << 24) | (21 << 16)) | (91 << 8)) | 239); pal[125] = ((((0xFF << 24) | (22 << 16)) | (92 << 8)) | 240); pal[126] = ((((0xFF << 24) | (20 << 16)) | (92 << 8)) | 240); pal[127] = ((((0xFF << 24) | (20 << 16)) | (94 << 8)) | 242); pal[128] = ((((0xFF << 24) | (22 << 16)) | (96 << 8)) | 244); pal[129] = ((((0xFF << 24) | (21 << 16)) | (98 << 8)) | 245); pal[130] = ((((0xFF << 24) | (24 << 16)) | (101 << 8)) | 248); pal[131] = ((((0xFF << 24) | (24 << 16)) | (102 << 8)) | 249); pal[132] = ((((0xFF << 24) | (25 << 16)) | (102 << 8)) | 252); pal[133] = ((((0xFF << 24) | (24 << 16)) | (104 << 8)) | 253); pal[134] = ((((0xFF << 24) | (23 << 16)) | (106 << 8)) | 252); pal[135] = ((((0xFF << 24) | (22 << 16)) | (107 << 8)) | 253); pal[136] = ((((0xFF << 24) | (24 << 16)) | (110 << 8)) | 254); pal[137] = ((((0xFF << 24) | (22 << 16)) | (111 << 8)) | 0xFF); pal[138] = ((((0xFF << 24) | (23 << 16)) | (113 << 8)) | 254); pal[139] = ((((0xFF << 24) | (22 << 16)) | (115 << 8)) | 254); pal[140] = ((((0xFF << 24) | (21 << 16)) | (116 << 8)) | 0xFF); pal[141] = ((((0xFF << 24) | (23 << 16)) | (119 << 8)) | 0xFF); pal[142] = ((((0xFF << 24) | (22 << 16)) | (121 << 8)) | 0xFF); pal[143] = ((((0xFF << 24) | (21 << 16)) | (122 << 8)) | 254); pal[144] = ((((0xFF << 24) | (22 << 16)) | (126 << 8)) | 0xFF); pal[145] = ((((0xFF << 24) | (21 << 16)) | (128 << 8)) | 0xFF); pal[146] = ((((0xFF << 24) | (21 << 16)) | (131 << 8)) | 0xFF); pal[147] = ((((0xFF << 24) | (21 << 16)) | (134 << 8)) | 0xFF); pal[148] = ((((0xFF << 24) | (22 << 16)) | (135 << 8)) | 0xFF); pal[149] = ((((0xFF << 24) | (19 << 16)) | (138 << 8)) | 254); pal[150] = ((((0xFF << 24) | (21 << 16)) | (140 << 8)) | 0xFF); pal[151] = ((((0xFF << 24) | (18 << 16)) | (143 << 8)) | 0xFF); pal[152] = ((((0xFF << 24) | (18 << 16)) | (145 << 8)) | 254); pal[153] = ((((0xFF << 24) | (15 << 16)) | (148 << 8)) | 252); pal[154] = ((((0xFF << 24) | (17 << 16)) | (150 << 8)) | 254); pal[155] = ((((0xFF << 24) | (15 << 16)) | (153 << 8)) | 253); pal[156] = ((((0xFF << 24) | (16 << 16)) | (154 << 8)) | 254); pal[157] = ((((0xFF << 24) | (15 << 16)) | (156 << 8)) | 253); pal[158] = ((((0xFF << 24) | (17 << 16)) | (158 << 8)) | 0xFF); pal[159] = ((((0xFF << 24) | (16 << 16)) | (160 << 8)) | 0xFF); pal[160] = ((((0xFF << 24) | (17 << 16)) | (163 << 8)) | 0xFF); pal[161] = ((((0xFF << 24) | (16 << 16)) | (165 << 8)) | 0xFF); pal[162] = ((((0xFF << 24) | (15 << 16)) | (167 << 8)) | 0xFF); pal[163] = ((((0xFF << 24) | (15 << 16)) | (170 << 8)) | 0xFF); pal[164] = ((((0xFF << 24) | (16 << 16)) | (171 << 8)) | 0xFF); pal[165] = ((((0xFF << 24) | (13 << 16)) | (174 << 8)) | 0xFF); pal[166] = ((((0xFF << 24) | (14 << 16)) | (175 << 8)) | 0xFF); pal[167] = ((((0xFF << 24) | (12 << 16)) | (178 << 8)) | 0xFF); pal[168] = ((((0xFF << 24) | (13 << 16)) | (180 << 8)) | 0xFF); pal[169] = ((((0xFF << 24) | (11 << 16)) | (184 << 8)) | 254); pal[170] = ((((0xFF << 24) | (11 << 16)) | (185 << 8)) | 0xFF); pal[171] = ((((0xFF << 24) | (11 << 16)) | (189 << 8)) | 254); pal[172] = ((((0xFF << 24) | (9 << 16)) | (189 << 8)) | 254); pal[173] = ((((0xFF << 24) | (11 << 16)) | (192 << 8)) | 254); pal[174] = ((((0xFF << 24) | (10 << 16)) | (193 << 8)) | 0xFF); pal[175] = ((((0xFF << 24) | (10 << 16)) | (196 << 8)) | 0xFF); pal[176] = ((((0xFF << 24) | (9 << 16)) | (197 << 8)) | 0xFF); pal[177] = ((((0xFF << 24) | (9 << 16)) | (200 << 8)) | 0xFF); pal[178] = ((((0xFF << 24) | (8 << 16)) | (202 << 8)) | 0xFF); pal[179] = ((((0xFF << 24) | (7 << 16)) | (205 << 8)) | 254); pal[180] = ((((0xFF << 24) | (9 << 16)) | (207 << 8)) | 0xFF); pal[181] = ((((0xFF << 24) | (7 << 16)) | (210 << 8)) | 0xFF); pal[182] = ((((0xFF << 24) | (7 << 16)) | (210 << 8)) | 0xFF); pal[183] = ((((0xFF << 24) | (6 << 16)) | (215 << 8)) | 0xFF); pal[184] = ((((0xFF << 24) | (7 << 16)) | (216 << 8)) | 0xFF); pal[185] = ((((0xFF << 24) | (6 << 16)) | (220 << 8)) | 0xFF); pal[186] = ((((0xFF << 24) | (5 << 16)) | (222 << 8)) | 0xFF); pal[187] = ((((0xFF << 24) | (5 << 16)) | (225 << 8)) | 0xFF); pal[188] = ((((0xFF << 24) | (3 << 16)) | (226 << 8)) | 254); pal[189] = ((((0xFF << 24) | (5 << 16)) | (228 << 8)) | 0xFF); pal[190] = ((((0xFF << 24) | (5 << 16)) | (230 << 8)) | 0xFF); pal[191] = ((((0xFF << 24) | (5 << 16)) | (233 << 8)) | 0xFF); pal[192] = ((((0xFF << 24) | (3 << 16)) | (234 << 8)) | 0xFF); pal[193] = ((((0xFF << 24) | (2 << 16)) | (236 << 8)) | 254); pal[194] = ((((0xFF << 24) | (4 << 16)) | (239 << 8)) | 0xFF); pal[195] = ((((0xFF << 24) | (4 << 16)) | (240 << 8)) | 0xFF); pal[196] = ((((0xFF << 24) | (5 << 16)) | (242 << 8)) | 0xFF); pal[197] = ((((0xFF << 24) | (2 << 16)) | (244 << 8)) | 0xFF); pal[198] = ((((0xFF << 24) | (0 << 16)) | (247 << 8)) | 0xFF); pal[199] = ((((0xFF << 24) | (0 << 16)) | (250 << 8)) | 0xFF); pal[200] = ((((0xFF << 24) | (1 << 16)) | (253 << 8)) | 0xFF); pal[201] = ((((0xFF << 24) | (0 << 16)) | (0xFF << 8)) | 0xFF); pal[202] = ((((0xFF << 24) | (1 << 16)) | (0xFF << 8)) | 0xFF); pal[203] = ((((0xFF << 24) | (4 << 16)) | (0xFF << 8)) | 0xFF); pal[204] = ((((0xFF << 24) | (11 << 16)) | (0xFF << 8)) | 254); pal[205] = ((((0xFF << 24) | (15 << 16)) | (0xFF << 8)) | 0xFF); pal[206] = ((((0xFF << 24) | (21 << 16)) | (0xFF << 8)) | 253); pal[207] = ((((0xFF << 24) | (24 << 16)) | (0xFF << 8)) | 253); pal[208] = ((((0xFF << 24) | (27 << 16)) | (0xFF << 8)) | 253); pal[209] = ((((0xFF << 24) | (32 << 16)) | (0xFF << 8)) | 254); pal[210] = ((((0xFF << 24) | (38 << 16)) | (0xFF << 8)) | 0xFF); pal[211] = ((((0xFF << 24) | (43 << 16)) | (0xFF << 8)) | 0xFF); pal[212] = ((((0xFF << 24) | (49 << 16)) | (0xFF << 8)) | 254); pal[213] = ((((0xFF << 24) | (55 << 16)) | (0xFF << 8)) | 254); pal[214] = ((((0xFF << 24) | (61 << 16)) | (0xFF << 8)) | 254); pal[215] = ((((0xFF << 24) | (66 << 16)) | (0xFF << 8)) | 0xFF); pal[216] = ((((0xFF << 24) | (69 << 16)) | (0xFF << 8)) | 254); pal[217] = ((((0xFF << 24) | (73 << 16)) | (0xFF << 8)) | 254); pal[218] = ((((0xFF << 24) | (81 << 16)) | (0xFF << 8)) | 253); pal[219] = ((((0xFF << 24) | (85 << 16)) | (0xFF << 8)) | 254); pal[220] = ((((0xFF << 24) | (92 << 16)) | (0xFF << 8)) | 254); pal[221] = ((((0xFF << 24) | (97 << 16)) | (0xFF << 8)) | 0xFF); pal[222] = ((((0xFF << 24) | (103 << 16)) | (0xFF << 8)) | 0xFF); pal[223] = ((((0xFF << 24) | (107 << 16)) | (0xFF << 8)) | 0xFF); pal[224] = ((((0xFF << 24) | (113 << 16)) | (0xFF << 8)) | 254); pal[225] = ((((0xFF << 24) | (117 << 16)) | (0xFF << 8)) | 254); pal[226] = ((((0xFF << 24) | (123 << 16)) | (0xFF << 8)) | 0xFF); pal[227] = ((((0xFF << 24) | (128 << 16)) | (0xFF << 8)) | 0xFF); pal[228] = ((((0xFF << 24) | (136 << 16)) | (0xFF << 8)) | 0xFF); pal[229] = ((((0xFF << 24) | (139 << 16)) | (0xFF << 8)) | 0xFF); pal[230] = ((((0xFF << 24) | (144 << 16)) | (0xFF << 8)) | 0xFF); pal[231] = ((((0xFF << 24) | (147 << 16)) | (0xFF << 8)) | 0xFF); pal[232] = ((((0xFF << 24) | (150 << 16)) | (0xFF << 8)) | 0xFF); pal[233] = ((((0xFF << 24) | (154 << 16)) | (0xFF << 8)) | 0xFF); pal[234] = ((((0xFF << 24) | (159 << 16)) | (0xFF << 8)) | 254); pal[235] = ((((0xFF << 24) | (163 << 16)) | (0xFF << 8)) | 0xFF); pal[236] = ((((0xFF << 24) | (171 << 16)) | (254 << 8)) | 0xFF); pal[237] = ((((0xFF << 24) | (175 << 16)) | (0xFF << 8)) | 0xFF); pal[238] = ((((0xFF << 24) | (179 << 16)) | (0xFF << 8)) | 254); pal[239] = ((((0xFF << 24) | (182 << 16)) | (254 << 8)) | 254); pal[240] = ((((0xFF << 24) | (187 << 16)) | (0xFF << 8)) | 254); pal[241] = ((((0xFF << 24) | (191 << 16)) | (0xFF << 8)) | 0xFF); pal[242] = ((((0xFF << 24) | (195 << 16)) | (0xFF << 8)) | 0xFF); pal[243] = ((((0xFF << 24) | (198 << 16)) | (254 << 8)) | 0xFF); pal[244] = ((((0xFF << 24) | (206 << 16)) | (254 << 8)) | 0xFF); pal[245] = ((((0xFF << 24) | (211 << 16)) | (0xFF << 8)) | 0xFF); pal[246] = ((((0xFF << 24) | (216 << 16)) | (254 << 8)) | 254); pal[247] = ((((0xFF << 24) | (220 << 16)) | (254 << 8)) | 254); pal[248] = ((((0xFF << 24) | (223 << 16)) | (0xFF << 8)) | 254); pal[249] = ((((0xFF << 24) | (226 << 16)) | (254 << 8)) | 254); pal[250] = ((((0xFF << 24) | (231 << 16)) | (0xFF << 8)) | 253); pal[251] = ((((0xFF << 24) | (235 << 16)) | (0xFF << 8)) | 254); pal[252] = ((((0xFF << 24) | (243 << 16)) | (0xFF << 8)) | 0xFF); pal[253] = ((((0xFF << 24) | (247 << 16)) | (0xFF << 8)) | 0xFF); pal[254] = ((((0xFF << 24) | (253 << 16)) | (0xFF << 8)) | 0xFF); pal[0xFF] = ((((0xFF << 24) | (0xFF << 16)) | (0xFF << 8)) | 0xFF); } public function render(_arg1:TimerEvent):void{ color = mouseX; j = 1; while (j < (h - 2)) { k = 1; while (k < (w - 2)) { offset = ((((k << 7) + (k << 5)) + j) << 2); f = ((((((bytes[(((((k << 7) + (k << 5)) + j) + 1) << 2)] + bytes[(((((k << 7) + (k << 5)) + j) - 1) << 2)]) + bytes[(((((k + 1) << 7) + ((k + 1) << 5)) + j) << 2)]) + bytes[(((((k - 1) << 7) + ((k - 1) << 5)) + j) << 2)]) + bytes[((((k << 7) + (k << 5)) + j) << 2)]) / 5) - cooling_map[offset]); if (f < 0){ f = 0; }; if (f > 0xFF){ f = 0xFF; }; bytes[offset] = f; k++; }; j++; }; addChild(fireimage); angle = (angle + 0.01); i = 0; while (i < 45) { x1 = (80 + (Math.sin(((angle + i) + (mouseX / 100))) * (Math.sin((angle + (mouseX / 100))) * 64))); y1 = (80 + (Math.cos(((angle + i) + (mouseY / 100))) * (Math.sin((angle + (mouseX / 100))) * 32))); bytes[((((y1 << 7) + (y1 << 5)) + x1) << 2)] = 0xFF; x1 = (80 + (Math.cos(((angle + i) + (mouseX / 100))) * (Math.sin((angle + (mouseX / 100))) * 32))); y1 = (80 + (Math.sin(((angle + i) + (mouseY / 100))) * (Math.sin((angle + (mouseX / 100))) * 64))); bytes[((((y1 << 7) + (y1 << 5)) + x1) << 2)] = 0xFF; x1 = (80 + (Math.cos(((angle + i) + (mouseY / 100))) * (Math.cos((angle + (mouseX / 100))) * 64))); y1 = (80 + (Math.sin(((angle + i) + (mouseY / 100))) * (Math.cos((angle + (mouseX / 100))) * 64))); bytes[((((y1 << 7) + (y1 << 5)) + x1) << 2)] = 0xFF; x1 = (80 + (Math.cos((((angle * 2) + i) + (mouseY / 100))) * (Math.cos(((45 + angle) + (mouseX / 100))) * 64))); y1 = (80 + (Math.sin((((angle * 2) + i) + (mouseY / 100))) * (Math.cos(((45 + angle) + (mouseX / 100))) * 64))); bytes[((((y1 << 7) + (y1 << 5)) + x1) << 2)] = 0xFF; i++; }; offset = 0; bytes.position = 0; fireimage.bitmapData.setPixels(rect, bytes); fireimage.bitmapData.paletteMap(fireimage.bitmapData, rect, new Point(0, 0), null, null, null, pal); fps_counter++; } public function RGB(_arg1:Number, _arg2:Number, _arg3:Number){ return (((_arg3 | (_arg2 << 8)) | (_arg1 << 16))); } public function fps_update(_arg1:TimerEvent):void{ FPS.text = String(fps_counter); fps_counter = 0; } } }//package ring_fla
Section 2
//bitmapdata1 (bitmapdata1) package { import flash.display.*; public dynamic class bitmapdata1 extends BitmapData { public function bitmapdata1(_arg1:Number, _arg2:Number){ super(_arg1, _arg2); } } }//package
Section 3
//flame (flame) package { import flash.display.*; public dynamic class flame extends BitmapData { public function flame(_arg1:Number, _arg2:Number){ super(_arg1, _arg2); } } }//package

Library Items

Symbol 1 Bitmap {bitmapdata1}
Symbol 2 Bitmap {flame}Used by:Timeline
Symbol 3 FontUsed by:4
Symbol 4 EditableTextUses:3Used by:Timeline

Instance Names

"FPS"Frame 1Symbol 4 EditableText

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS3.




http://swfchan.com/2/9394/info.shtml
Created: 9/6 -2019 21:21:18 Last modified: 9/6 -2019 21:21:18 Server time: 22/12 -2024 19:46:54