STORY LOOP FURRY PORN GAMES C SERVICES [?] [R] RND POPULAR | Archived flashes: 229676 |
/disc/ · /res/ — /show/ · /fap/ · /gg/ · /swf/ | P0001 · P2596 · P5192 |
This is resource PSPCBSH, an Archived Thread.
Original location: http://boards.4chan.org/f/thread/3045419/how-to-improve… Recognized format: Yes, thread post count is 14. Discovered flash files: 1 File: korankiller.swf-(57 KB, 550x400, Other) [_] how to improve this? Anonymous 03/20/16(Sun)20:41:28 No.3045419 this file just loads korans and deletes them while increasing a counter by 1 every time. anyone with more knowledge than i know how to improve on it? source code: var fuckislam:int = 0 //frame counter koransdestroyed.text = String("Korans destroyed:" + fuckislam) //text field var loadkoran:koran = new koran(); addEventListener(Event.ENTER_FRAME, burnKoran); //enter frame event function burnKoran(event:Event):void { addChild(loadkoran); removeChild(loadkoran); fuckislam += 1 koransdestroyed.text = String("Korans destroyed:" + fuckislam) } //make and destroy korans also, what is the largest number AS3 can hold in a text box? i tried testing if the text would wrap properly since the text field is long enough to hold multiple lines by changing "fuckislam += 1" into "fuckislam += 999999" and it started spitting out negative values for some reason. tried again with a longer string of 9's and it stayed stationary at 0 >> [_] Anonymous 03/20/16(Sun)20:58:45 No.3045429 >>3045419 Integers are 32 bit, and so have a maximum value of 2,147,483,647. If it's 40 frames per second, that's roughly 40 million per second, which means that it'll overflow back into negatives in something like 50 seconds. Much faster if it has more than 40 frames per second. You should either use an unsigned integer (to double it), or use a Long or Double or whatever it is that ActionScript has access to. Integers have to fit in 32 bits, so if they're signed (can be positive or negative) the values of possible combinations of those 32 bits are half positive, half negative. If you do it unsigned, you double the amount of combinations, because it only cares about positive. That being said, I don't see any point of this, I don't think deleting a text string really counts as burning a Koran, and even if it did, this is just needlessly edgy. Actually, looking at your code, it is never actually destroying any Koran at all. It just defines a Koran, then adds it to view and removes it from view. You haven't deleted a single Koran, except when you close the flash, and even then, that's arguable. >> [_] Anonymous 03/20/16(Sun)21:01:30 No.3045432 >>3045419 With every koran you delete you bring a new one to life! It should be also called koran...birther.swf! >> [_] John Moses Browning 03/20/16(Sun)21:02:31 No.3045433 >>3045419 >>3045432 kekd >> [_] Anonymous 03/20/16(Sun)21:04:07 No.3045434 >>3045429 deleting a koran is functionally equivalent to burning one seeing as a new one can be printed in a matter of minutes. but yeah, it's needlessly edgy. have any ideas on how to "truly' copy and delete korans in flash? >> [_] Anonymous 03/20/16(Sun)21:15:27 No.3045437 if you want to see any of what you're deleting (thereby increasing kek's) you have to get it below 17 frames a sec otherwise too fast to see >> [_] Anonymous 03/20/16(Sun)21:21:36 No.3045438 >>3045419 You could start by spelling Quran correctly. >> [_] Anonymous 03/20/16(Sun)21:23:19 No.3045439 >>3045438 it's spelled either way >> [_] Anonymous 03/20/16(Sun)21:27:41 No.3045442 >>3045438 actually Koran, Quran and Qur'an are all just transliterations from the original Arabic text. All three are equally wrong, goyim. :^) >> [_] John Moses Browning 03/20/16(Sun)21:28:37 No.3045444 >>3045439 Use capital letters and perhaps punctuation. There is a board for people with bad writing skills go >>>/pol/ >> [_] Anonymous 03/20/16(Sun)21:33:05 No.3045445 >>3045444 are you really trying to send me to /pol/. first thing id do is show them this file and then you'd have /pol/lacks in your /f/ >> [_] Anonymous 03/20/16(Sun)21:51:20 No.3045455 >>3045445 They're already here, if you haven't been able to tell from the flashes being spammed lately (Le can't stump the trump, >Not wanting to date a transgender, Sweden.avi, etc) >> [_] Anonymous 03/20/16(Sun)21:53:51 No.3045461 You should scrap the whole thing and start over Make the code download copies of the text from online databases. Make a huge list of databases that your sourcecode will pool from make your flash again where it's an auto destruction of the text when users click to play the flash on this website ?????? PROFIT!!!!! >> [_] Anonymous 03/20/16(Sun)22:11:04 No.3045468 >>3045445 we're already here, trust me. |
|