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

Double Digits.swf

This is the info page for
Flash #23638

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


Text
12

24

+

123

123

123

123

Which is the
correct answer?

Yes

Try Again

No

New
Problem

Subtraction

Addition

Addition

Subtraction

Subtraction

ActionScript [AS1/AS2]

Frame 1
function gen() { firstnumber = Math.floor(numberlimit * Math.random()) + 10; secondnumber = Math.floor(numberlimit * Math.random()) + 10; } function clear() { draw.gotoAndPlay("clear"); } function hoff() { h1.gotoAndStop("off"); h2.gotoAndStop("off"); h3.gotoAndStop("off"); h4.gotoAndStop("off"); } loadMovie ("header.swf", "headerclip"); ans = new Array(); var numberlimit = 90; var numberdif = 20; var type = 1; subtraction.gotoAndStop("off"); addition.gotoAndStop("on"); gen(); choice = Math.floor(4 * Math.random()) + 1; ans[choice] = firstnumber + secondnumber; if (choice == 1) { ans[2] = ((1 + firstnumber) + secondnumber) + Math.floor(numberdif * Math.random()); ans[3] = ((1 + firstnumber) + secondnumber) + Math.floor(numberdif * Math.random()); ans[4] = ((1 + firstnumber) + secondnumber) + Math.floor(numberdif * Math.random()); } else if (choice == 2) { ans[1] = ((1 + firstnumber) + secondnumber) + Math.floor(numberdif * Math.random()); ans[3] = ((1 + firstnumber) + secondnumber) + Math.floor(numberdif * Math.random()); ans[4] = ((1 + firstnumber) + secondnumber) + Math.floor(numberdif * Math.random()); } else if (choice == 3) { ans[1] = ((1 + firstnumber) + secondnumber) + Math.floor(numberdif * Math.random()); ans[2] = ((1 + firstnumber) + secondnumber) + Math.floor(numberdif * Math.random()); ans[4] = ((1 + firstnumber) + secondnumber) + Math.floor(numberdif * Math.random()); } else { ans[1] = ((1 + firstnumber) + secondnumber) + Math.floor(numberdif * Math.random()); ans[2] = ((1 + firstnumber) + secondnumber) + Math.floor(numberdif * Math.random()); ans[3] = ((1 + firstnumber) + secondnumber) + Math.floor(numberdif * Math.random()); } ans1 = ans[1]; ans2 = ans[2]; ans3 = ans[3]; ans4 = ans[4]; stop();
Symbol 12 MovieClip Frame 1
if (drag) { this._x = _root._xmouse; this._y = _root._ymouse; }
Symbol 12 MovieClip Frame 2
gotoAndPlay (1);
Symbol 16 Button
on (rollOut, dragOut, releaseOutside) { mouse = 0; Mouse.show(); pencilm.drag = false; pencilm._x = 148; pencilm._y = 390; } on (press) { mc.drag = true; mouse = 1; x1 = 0; a1 = 0; } on (release) { mouse = 0; } on (rollOver) { Mouse.hide(); pencilm.drag = true; }
Symbol 19 MovieClip Frame 1
if (drag) { this._x = _root._xmouse; this._y = _root._ymouse; }
Symbol 19 MovieClip Frame 2
gotoAndPlay (1);
Symbol 20 MovieClip Frame 1
var tool = "pencil"; pencilcolor = new Color("pencil"); pencilcolor.setRGB(0);
Symbol 20 MovieClip Frame 2
if (Number(mouse) == 1) { if (Number(x1) == 0) { x1 = int(getProperty("mc", _x)); y1 = int(getProperty("mc", _y)); } else { x0 = int(getProperty("mc", _x)); y0 = int(getProperty("mc", _y)); if ((5 < Number((x0 - x1) * (x0 - x1))) or (5 < Number((y0 - y1) * (y0 - y1)))) { n1 = Number(n1) + 1; duplicateMovieClip (tool, tool add n1, n1); setProperty(tool add n1, _x , x1); setProperty(tool add n1, _y , y1); setProperty(tool add n1, _xscale , x0 - x1); setProperty(tool add n1, _yscale , y0 - y1); x1 = x0; y1 = y0; } } }
Symbol 20 MovieClip Frame 3
gotoAndPlay (2);
Symbol 20 MovieClip Frame 4
while (n1 >= 0) { removeMovieClip(tool add n1); n1 = n1 - 1; } n1 = 0; gotoAndPlay (2);
Symbol 22 Button
on (rollOver) { Mouse.show(); } on (rollOut) { Mouse.hide(); }
Symbol 26 Button
on (release) { if (_parent.choice == 1) { if (this == _level0.h1) { this.gotoAndStop("yes"); _parent.yesno.gotoAndPlay("yes"); } else { this.gotoAndStop("no"); _parent.yesno.gotoAndPlay("no"); } } else if (_parent.choice == 2) { if (this == _level0.h2) { this.gotoAndStop("yes"); _parent.yesno.gotoAndPlay("yes"); } else { this.gotoAndStop("no"); _parent.yesno.gotoAndPlay("no"); } } else if (_parent.choice == 3) { if (this == _level0.h3) { this.gotoAndStop("yes"); _parent.yesno.gotoAndPlay("yes"); } else { this.gotoAndStop("no"); _parent.yesno.gotoAndPlay("no"); } } else if (this == _level0.h4) { this.gotoAndStop("yes"); _parent.yesno.gotoAndPlay("yes"); } else { this.gotoAndStop("no"); _parent.yesno.gotoAndPlay("no"); } } on (rollOver) { Mouse.show(); }
Symbol 29 MovieClip Frame 1
stop();
Symbol 29 MovieClip Frame 2
stop();
Symbol 29 MovieClip Frame 3
stop();
Symbol 44 MovieClip Frame 1
stop();
Symbol 44 MovieClip Frame 6
stop();
Symbol 44 MovieClip Frame 12
stop();
Symbol 46 Button
on (release) { subtraction.gotoAndStop("off"); addition.gotoAndStop("on"); if (type == 1) { } else { yesno.gotoAndStop("off"); hoff(); gen(); sign = "+"; type = 1; choice = Math.floor(4 * Math.random()) + 1; ans[choice] = firstnumber + secondnumber; if (choice == 1) { ans[2] = ((1 + firstnumber) + secondnumber) + (Math.floor(numberdif * Math.random()) + 1); ans[3] = ((1 + firstnumber) + secondnumber) + (Math.floor(numberdif * Math.random()) + 1); ans[4] = ((1 + firstnumber) + secondnumber) + (Math.floor(numberdif * Math.random()) + 1); } else if (choice == 2) { ans[1] = ((1 + firstnumber) + secondnumber) + (Math.floor(numberdif * Math.random()) + 1); ans[3] = ((1 + firstnumber) + secondnumber) + (Math.floor(numberdif * Math.random()) + 1); ans[4] = ((1 + firstnumber) + secondnumber) + (Math.floor(numberdif * Math.random()) + 1); } else if (choice == 3) { ans[1] = ((1 + firstnumber) + secondnumber) + (Math.floor(numberdif * Math.random()) + 1); ans[2] = ((1 + firstnumber) + secondnumber) + (Math.floor(numberdif * Math.random()) + 1); ans[4] = ((1 + firstnumber) + secondnumber) + (Math.floor(numberdif * Math.random()) + 1); } else { ans[1] = ((1 + firstnumber) + secondnumber) + (Math.floor(numberdif * Math.random()) + 1); ans[2] = ((1 + firstnumber) + secondnumber) + (Math.floor(numberdif * Math.random()) + 1); ans[3] = ((1 + firstnumber) + secondnumber) + (Math.floor(numberdif * Math.random()) + 1); } ans1 = ans[1]; ans2 = ans[2]; ans3 = ans[3]; ans4 = ans[4]; clear(); } } on (rollOver) { Mouse.show(); } on (rollOut) { Mouse.hide(); }
Symbol 47 Button
on (release) { subtraction.gotoAndStop("on"); addition.gotoAndStop("off"); if (type == 2) { } else { yesno.gotoAndStop("off"); hoff(); gen(); while (firstnumber < secondnumber) { gen(); } sign = "-"; type = 2; choice = Math.floor(4 * Math.random()) + 1; ans[choice] = firstnumber - secondnumber; if (choice == 1) { ans[2] = ((1 + firstnumber) - secondnumber) + (Math.floor(numberdif * Math.random()) + 1); ans[3] = ((1 + firstnumber) - secondnumber) + (Math.floor(numberdif * Math.random()) + 1); ans[4] = ((1 + firstnumber) - secondnumber) + (Math.floor(numberdif * Math.random()) + 1); } else if (choice == 2) { ans[1] = ((1 + firstnumber) - secondnumber) + (Math.floor(numberdif * Math.random()) + 1); ans[3] = ((1 + firstnumber) - secondnumber) + (Math.floor(numberdif * Math.random()) + 1); ans[4] = ((1 + firstnumber) - secondnumber) + (Math.floor(numberdif * Math.random()) + 1); } else if (choice == 3) { ans[1] = ((1 + firstnumber) - secondnumber) + (Math.floor(numberdif * Math.random()) + 1); ans[2] = ((1 + firstnumber) - secondnumber) + (Math.floor(numberdif * Math.random()) + 1); ans[4] = ((1 + firstnumber) - secondnumber) + (Math.floor(numberdif * Math.random()) + 1); } else { ans[1] = ((1 + firstnumber) - secondnumber) + (Math.floor(numberdif * Math.random()) + 1); ans[2] = ((1 + firstnumber) - secondnumber) + (Math.floor(numberdif * Math.random()) + 1); ans[3] = ((1 + firstnumber) - secondnumber) + (Math.floor(numberdif * Math.random()) + 1); } ans1 = ans[1]; ans2 = ans[2]; ans3 = ans[3]; ans4 = ans[4]; clear(); } } on (rollOver) { Mouse.show(); } on (rollOut) { Mouse.hide(); }
Symbol 51 Button
on (release) { yesno.gotoAndStop("off"); hoff(); if (type == 1) { gen(); sign = "+"; type = 1; choice = Math.floor(4 * Math.random()) + 1; ans[choice] = firstnumber + secondnumber; if (choice == 1) { ans[2] = (firstnumber + secondnumber) + (Math.floor(numberdif * Math.random()) + 1); ans[3] = (firstnumber + secondnumber) + (Math.floor(numberdif * Math.random()) + 1); ans[4] = (firstnumber + secondnumber) + (Math.floor(numberdif * Math.random()) + 1); } else if (choice == 2) { ans[1] = (firstnumber + secondnumber) + (Math.floor(numberdif * Math.random()) + 1); ans[3] = (firstnumber + secondnumber) + (Math.floor(numberdif * Math.random()) + 1); ans[4] = (firstnumber + secondnumber) + (Math.floor(numberdif * Math.random()) + 1); } else if (choice == 3) { ans[1] = (firstnumber + secondnumber) + (Math.floor(numberdif * Math.random()) + 1); ans[2] = (firstnumber + secondnumber) + (Math.floor(numberdif * Math.random()) + 1); ans[4] = (firstnumber + secondnumber) + (Math.floor(numberdif * Math.random()) + 1); } else { ans[1] = (firstnumber + secondnumber) + (Math.floor(numberdif * Math.random()) + 1); ans[2] = (firstnumber + secondnumber) + (Math.floor(numberdif * Math.random()) + 1); ans[3] = (firstnumber + secondnumber) + (Math.floor(numberdif * Math.random()) + 1); } ans1 = ans[1]; ans2 = ans[2]; ans3 = ans[3]; ans4 = ans[4]; clear(); } else if (type == 2) { gen(); while (firstnumber < secondnumber) { gen(); } sign = "-"; type = 2; choice = Math.floor(4 * Math.random()) + 1; ans[choice] = firstnumber - secondnumber; if (choice == 1) { ans[2] = (firstnumber - secondnumber) + (Math.floor(numberdif * Math.random()) + 1); ans[3] = (firstnumber - secondnumber) + (Math.floor(numberdif * Math.random()) + 1); ans[4] = (firstnumber - secondnumber) + (Math.floor(numberdif * Math.random()) + 1); } else if (choice == 2) { ans[1] = (firstnumber - secondnumber) + (Math.floor(numberdif * Math.random()) + 1); ans[3] = (firstnumber - secondnumber) + (Math.floor(numberdif * Math.random()) + 1); ans[4] = (firstnumber - secondnumber) + (Math.floor(numberdif * Math.random()) + 1); } else if (choice == 3) { ans[1] = (firstnumber - secondnumber) + (Math.floor(numberdif * Math.random()) + 1); ans[2] = (firstnumber - secondnumber) + (Math.floor(numberdif * Math.random()) + 1); ans[4] = (firstnumber - secondnumber) + (Math.floor(numberdif * Math.random()) + 1); } else { ans[1] = (firstnumber - secondnumber) + (Math.floor(numberdif * Math.random()) + 1); ans[2] = (firstnumber - secondnumber) + (Math.floor(numberdif * Math.random()) + 1); ans[3] = (firstnumber - secondnumber) + (Math.floor(numberdif * Math.random()) + 1); } ans1 = ans[1]; ans2 = ans[2]; ans3 = ans[3]; ans4 = ans[4]; clear(); } else { gen(); sign = "x"; type = 3; choice = Math.floor(4 * Math.random()) + 1; ans[choice] = firstnumber * secondnumber; if (choice == 1) { ans[2] = (firstnumber * secondnumber) + (Math.floor(numberdif * Math.random()) + 1); ans[3] = (firstnumber * secondnumber) + (Math.floor(numberdif * Math.random()) + 1); ans[4] = (firstnumber * secondnumber) + (Math.floor(numberdif * Math.random()) + 1); } else if (choice == 2) { ans[1] = (firstnumber * secondnumber) + (Math.floor(numberdif * Math.random()) + 1); ans[3] = (firstnumber * secondnumber) + (Math.floor(numberdif * Math.random()) + 1); ans[4] = (firstnumber * secondnumber) + (Math.floor(numberdif * Math.random()) + 1); } else if (choice == 3) { ans[1] = (firstnumber * secondnumber) + (Math.floor(numberdif * Math.random()) + 1); ans[2] = (firstnumber * secondnumber) + (Math.floor(numberdif * Math.random()) + 1); ans[4] = (firstnumber * secondnumber) + (Math.floor(numberdif * Math.random()) + 1); } else { ans[1] = (firstnumber * secondnumber) + (Math.floor(numberdif * Math.random()) + 1); ans[2] = (firstnumber * secondnumber) + (Math.floor(numberdif * Math.random()) + 1); ans[3] = (firstnumber * secondnumber) + (Math.floor(numberdif * Math.random()) + 1); } ans1 = ans[1]; ans2 = ans[2]; ans3 = ans[3]; ans4 = ans[4]; clear(); } } on (rollOver) { Mouse.show(); }
Symbol 58 MovieClip Frame 1
stop();
Symbol 58 MovieClip Frame 2
stop();
Symbol 61 MovieClip Frame 1
stop();
Symbol 61 MovieClip Frame 2
stop();

Library Items

Symbol 1 GraphicUsed by:Timeline
Symbol 2 GraphicUsed by:3
Symbol 3 MovieClipUses:2Used by:5
Symbol 4 GraphicUsed by:5
Symbol 5 MovieClipUses:3 4Used by:Timeline
Symbol 6 GraphicUsed by:Timeline
Symbol 7 FontUsed by:8 9 30 31 32 33
Symbol 8 EditableTextUses:7Used by:Timeline
Symbol 9 EditableTextUses:7Used by:Timeline
Symbol 10 FontUsed by:11
Symbol 11 EditableTextUses:10Used by:Timeline
Symbol 12 MovieClipUsed by:20
Symbol 13 GraphicUsed by:14
Symbol 14 MovieClipUses:13Used by:20
Symbol 15 GraphicUsed by:16
Symbol 16 ButtonUses:15Used by:20
Symbol 17 GraphicUsed by:18
Symbol 18 MovieClipUses:17Used by:19
Symbol 19 MovieClipUses:18Used by:20
Symbol 20 MovieClipUses:12 14 16 19Used by:Timeline
Symbol 21 GraphicUsed by:22
Symbol 22 ButtonUses:21Used by:Timeline
Symbol 23 GraphicUsed by:Timeline
Symbol 24 GraphicUsed by:26 29
Symbol 25 SoundUsed by:26 46 47 51
Symbol 26 ButtonUses:24 25Used by:29
Symbol 27 GraphicUsed by:29
Symbol 28 GraphicUsed by:29
Symbol 29 MovieClipUses:26 27 28 24Used by:Timeline
Symbol 30 EditableTextUses:7Used by:Timeline
Symbol 31 EditableTextUses:7Used by:Timeline
Symbol 32 EditableTextUses:7Used by:Timeline
Symbol 33 EditableTextUses:7Used by:Timeline
Symbol 34 FontUsed by:35 38 41 42 49 53 54 57 59 60
Symbol 35 TextUses:34Used by:44
Symbol 36 GraphicUsed by:44
Symbol 37 GraphicUsed by:44
Symbol 38 TextUses:34Used by:44
Symbol 39 SoundUsed by:44
Symbol 40 GraphicUsed by:44
Symbol 41 TextUses:34Used by:44
Symbol 42 TextUses:34Used by:44
Symbol 43 SoundUsed by:44
Symbol 44 MovieClipUses:35 36 37 38 39 40 41 42 43Used by:Timeline
Symbol 45 GraphicUsed by:46 47
Symbol 46 ButtonUses:45 25Used by:Timeline
Symbol 47 ButtonUses:45 25Used by:Timeline
Symbol 48 GraphicUsed by:51
Symbol 49 TextUses:34Used by:51
Symbol 50 GraphicUsed by:51
Symbol 51 ButtonUses:48 49 50 25Used by:Timeline
Symbol 52 GraphicUsed by:58 61
Symbol 53 TextUses:34Used by:58 61
Symbol 54 TextUses:34Used by:58
Symbol 55 GraphicUsed by:58 61
Symbol 56 GraphicUsed by:58 61
Symbol 57 TextUses:34Used by:58
Symbol 58 MovieClipUses:52 53 54 55 56 57Used by:Timeline
Symbol 59 TextUses:34Used by:61
Symbol 60 TextUses:34Used by:61
Symbol 61 MovieClipUses:52 53 59 55 56 60Used by:Timeline
Symbol 62 GraphicUsed by:63
Symbol 63 MovieClipUses:62Used by:Timeline

Instance Names

"draw"Frame 1Symbol 20 MovieClip
"h1"Frame 1Symbol 29 MovieClip
"h2"Frame 1Symbol 29 MovieClip
"h3"Frame 1Symbol 29 MovieClip
"h4"Frame 1Symbol 29 MovieClip
"yesno"Frame 1Symbol 44 MovieClip
"addition"Frame 1Symbol 58 MovieClip
"subtraction"Frame 1Symbol 61 MovieClip
"headerclip"Frame 1Symbol 63 MovieClip
"pencilgraphic"Symbol 19 MovieClip Frame 1Symbol 18 MovieClip
"mc"Symbol 20 MovieClip Frame 1Symbol 12 MovieClip
"pencil"Symbol 20 MovieClip Frame 1Symbol 14 MovieClip
"pencilm"Symbol 20 MovieClip Frame 1Symbol 19 MovieClip

Labels

"start"Symbol 20 MovieClip Frame 2
"clear"Symbol 20 MovieClip Frame 4
"off"Symbol 29 MovieClip Frame 1
"yes"Symbol 29 MovieClip Frame 2
"no"Symbol 29 MovieClip Frame 3
"off"Symbol 44 MovieClip Frame 1
"yes"Symbol 44 MovieClip Frame 2
"no"Symbol 44 MovieClip Frame 7
"on"Symbol 58 MovieClip Frame 1
"off"Symbol 58 MovieClip Frame 2
"on"Symbol 61 MovieClip Frame 1
"off"Symbol 61 MovieClip Frame 2

Dynamic Text Variables

firstnumberSymbol 8 EditableText"12"
secondnumberSymbol 9 EditableText"24"
signSymbol 11 EditableText"+"
ans1Symbol 30 EditableText"123"
ans2Symbol 31 EditableText"123"
ans4Symbol 32 EditableText"123"
ans3Symbol 33 EditableText"123"




http://swfchan.com/5/23638/info.shtml
Created: 26/5 -2019 02:33:48 Last modified: 26/5 -2019 02:33:48 Server time: 22/12 -2024 08:53:00