STORY LOOP FURRY PORN GAMES C SERVICES [?] [R] RND POPULAR | Archived flashes: 229595 |
/disc/ · /res/ — /show/ · /fap/ · /gg/ · /swf/ | P0001 · P2595 · P5190 |
This is the info page for Flash #59768 |
ActionScript [AS1/AS2]
Frame 1fscommand ("fullscreen", "false"); fscommand ("showmenu", "false"); calctext = "0"; decimal = eval("False"); lastkey = "empty";Frame 5stop();Symbol 7 Buttonon (press) { newdig = "3.14159"; call("/actions:digitcall"); }Symbol 15 Buttonon (press) { if ((lastkey eq "operator") or (lastkey eq "equals")) { calctext = "0."; decimal = eval("True"); } if (Number(decimal) == Number(eval("False"))) { calctext = calctext add "."; decimal = eval("True"); } lastkey = "digit"; }Symbol 17 Buttonon (press) { newdig = "0"; call("/actions:digitcall"); }Symbol 19 Buttonon (press) { newdig = "1"; call("/actions:digitcall"); }Symbol 21 Buttonon (press) { newdig = "4"; call("/actions:digitcall"); }Symbol 23 Buttonon (press) { newdig = "7"; call("/actions:digitcall"); }Symbol 25 Buttonon (press) { newdig = "2"; call("/actions:digitcall"); }Symbol 27 Buttonon (press) { newdig = "5"; call("/actions:digitcall"); }Symbol 29 Buttonon (press) { newdig = "8"; call("/actions:digitcall"); }Symbol 31 Buttonon (press) { newdig = "3"; call("/actions:digitcall"); }Symbol 33 Buttonon (press) { newdig = "6"; call("/actions:digitcall"); }Symbol 35 Buttonon (press) { newdig = "9"; call("/actions:digitcall"); }Symbol 37 Buttonon (release) { newop = "/"; call("/actions:opcall"); }Symbol 40 Buttonon (release) { newop = "*"; call("/actions:opcall"); }Symbol 42 Buttonon (release) { newop = "-"; call("/actions:opcall"); }Symbol 44 Buttonon (release) { newop = "+"; call("/actions:opcall"); }Symbol 46 Buttonon (release) { if (Number(calctext) < 0) { calctext = "Error. Press C."; } else { i = 0; n = 1; while (Number(i) < 500) { n = n - (((n * n) - calctext) / (2 * n)); i = Number(i) + 1; } calctext = n; lastkey = "equals"; } }Symbol 48 Buttonon (release) { call("/actions:calculate"); lastkey = "equals"; operator = "empty"; }Symbol 50 Buttonon (release) { calctext = "0"; x1 = "0"; lastkey = "clear"; operator = "empty"; decimal = eval("False"); }Symbol 53 Buttonon (release) { stopAllSounds(); }Symbol 54 MovieClip Frame 1stop();Symbol 54 MovieClip Frame 5if (((/:calctext eq "0") or (/:lastkey eq "equals")) or (/:lastkey eq "operator")) { Set("/:calctext", /:newdig); } else { Set("/:calctext", /:calctext add /:newdig); } Set("/:lastkey", "digit");Symbol 54 MovieClip Frame 10if (/:lastkey eq "operator") { Set("/:operator", /:newop); } else if (((/:lastkey eq "digit") or (/:lastkey eq "equals")) or (/:lastkey eq "clear")) { call("calculate"); Set("/:operator", /:newop); } Set("/:lastkey", "operator");Symbol 54 MovieClip Frame 15if (/:operator eq "+") { z1 = Number(/:x1) + Number(/:calctext); Set("/:calctext", z1); Set("/:x1", z1); } else if (/:operator eq "-") { z1 = /:x1 - /:calctext; Set("/:calctext", z1); Set("/:x1", z1); } else if (/:operator eq "*") { z1 = /:x1 * /:calctext; Set("/:calctext", z1); Set("/:x1", z1); } else if (/:operator eq "/") { z1 = /:x1; Set("/:calctext", z1); Set("/:x1", z1); } else if (/:operator eq "exp") { if ((Number(/:calctext) != Number(int(/:calctext))) or (Number(/:calctext) < 1)) { Set("/:calctext", "Error. Press C."); } else { it = 1; base = /:x1; z1 = base; maxit = /:calctext; while (Number(it) < Number(maxit)) { z1 = z1 * base; it = Number(it) + 1; } Set("/:calctext", z1); Set("/:x1", z1); } } else { Set("/:x1", /:calctext); }
Library Items
Symbol 1 Graphic | Used by:2 | ||
Symbol 2 MovieClip | Uses:1 | Used by:Timeline | |
Symbol 3 Graphic | Used by:7 17 19 21 23 25 27 29 31 33 35 37 40 42 44 46 48 50 53 | ||
Symbol 4 Graphic | Used by:7 | ||
Symbol 5 Graphic | Used by:7 15 17 19 21 23 25 27 29 31 33 35 37 40 42 44 46 48 50 53 | ||
Symbol 6 Graphic | Used by:7 15 17 19 21 23 25 27 29 31 33 35 37 40 44 46 48 50 53 | ||
Symbol 7 Button | Uses:3 4 5 6 | Used by:Timeline | |
Symbol 8 Graphic | Used by:9 | ||
Symbol 9 MovieClip | Uses:8 | Used by:Timeline | |
Symbol 10 Graphic | Used by:15 | ||
Symbol 11 Graphic | Used by:15 42 | ||
Symbol 12 Font | Used by:13 16 18 20 22 24 26 28 30 32 34 39 43 47 49 | ||
Symbol 13 Text | Uses:12 | Used by:15 | |
Symbol 14 Sound | Used by:15 17 19 21 23 25 27 29 31 33 35 37 40 42 44 46 48 50 53 | ||
Symbol 15 Button | Uses:10 11 5 6 13 14 | Used by:Timeline | |
Symbol 16 Text | Uses:12 | Used by:17 | |
Symbol 17 Button | Uses:3 16 5 6 14 | Used by:Timeline | |
Symbol 18 Text | Uses:12 | Used by:19 | |
Symbol 19 Button | Uses:3 18 5 6 14 | Used by:Timeline | |
Symbol 20 Text | Uses:12 | Used by:21 | |
Symbol 21 Button | Uses:3 20 5 6 14 | Used by:Timeline | |
Symbol 22 Text | Uses:12 | Used by:23 | |
Symbol 23 Button | Uses:3 22 5 6 14 | Used by:Timeline | |
Symbol 24 Text | Uses:12 | Used by:25 | |
Symbol 25 Button | Uses:3 24 5 6 14 | Used by:Timeline | |
Symbol 26 Text | Uses:12 | Used by:27 | |
Symbol 27 Button | Uses:3 26 5 6 14 | Used by:Timeline | |
Symbol 28 Text | Uses:12 | Used by:29 | |
Symbol 29 Button | Uses:3 28 5 6 14 | Used by:Timeline | |
Symbol 30 Text | Uses:12 | Used by:31 | |
Symbol 31 Button | Uses:3 30 5 6 14 | Used by:Timeline | |
Symbol 32 Text | Uses:12 | Used by:33 | |
Symbol 33 Button | Uses:3 32 5 6 14 | Used by:Timeline | |
Symbol 34 Text | Uses:12 | Used by:35 | |
Symbol 35 Button | Uses:3 34 5 6 14 | Used by:Timeline | |
Symbol 36 Graphic | Used by:37 | ||
Symbol 37 Button | Uses:3 36 5 6 14 | Used by:Timeline | |
Symbol 38 Graphic | Used by:40 | ||
Symbol 39 Text | Uses:12 | Used by:40 | |
Symbol 40 Button | Uses:3 38 5 6 39 14 | Used by:Timeline | |
Symbol 41 Graphic | Used by:42 | ||
Symbol 42 Button | Uses:3 11 5 41 14 | Used by:Timeline | |
Symbol 43 Text | Uses:12 | Used by:44 | |
Symbol 44 Button | Uses:3 43 5 6 14 | Used by:Timeline | |
Symbol 45 Graphic | Used by:46 | ||
Symbol 46 Button | Uses:3 45 5 6 14 | Used by:Timeline | |
Symbol 47 Text | Uses:12 | Used by:48 | |
Symbol 48 Button | Uses:3 47 5 6 14 | Used by:Timeline | |
Symbol 49 Text | Uses:12 | Used by:50 | |
Symbol 50 Button | Uses:3 49 5 6 14 | Used by:Timeline | |
Symbol 51 Font | Used by:52 | ||
Symbol 52 Text | Uses:51 | Used by:53 | |
Symbol 53 Button | Uses:3 52 5 6 14 | Used by:Timeline | |
Symbol 54 MovieClip | Used by:Timeline | ||
Symbol 55 Font | Used by:56 | ||
Symbol 56 EditableText | Uses:55 | Used by:Timeline |
Instance Names
"actions" | Frame 1 | Symbol 54 MovieClip |
Labels
"digitcall" | Symbol 54 MovieClip Frame 5 |
"opcall" | Symbol 54 MovieClip Frame 10 |
"calculate" | Symbol 54 MovieClip Frame 15 |
Dynamic Text Variables
calctext | Symbol 56 EditableText | " " |
|