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>

Speed Math Quizz with Piper.swf

This is the info page for
Flash #104508

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


Text
<p align="center"><font face="Arial Black" size="24" color="#eee617" letterSpacing="0.000000" kerning="1">215</font></p>

<p align="center"><font face="Arial" size="14" color="#eae225" letterSpacing="0.000000" kerning="1"><b><i>Get 16 answers right in 60 secondes and you&apos;ll get to see the bonus video</i></b></font></p>

<p align="center"><font face="Arial Black" size="25" color="#7c0808" letterSpacing="0.000000" kerning="1">30</font></p>

<p align="center"></p>

ActionScript [AS3]

Section 1
//compteur_6 (StripMath_fla.compteur_6) package StripMath_fla { import flash.events.*; import flash.display.*; import flash.text.*; public dynamic class compteur_6 extends MovieClip { public var tourn:MovieClip; public var lbl:TextField; public function compteur_6(){ addFrameScript(0, frame1); } public function updateframe(_arg1:Event):void{ var _local2:*; _local2 = (60 - Math.floor((currentFrame / 12))); lbl.text = _local2; } function frame1(){ addEventListener(Event.ENTER_FRAME, updateframe); } } }//package StripMath_fla
Section 2
//MainTimeline (StripMath_fla.MainTimeline) package StripMath_fla { import flash.events.*; import flash.display.*; import flash.text.*; import flash.net.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.media.*; import flash.printing.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class MainTimeline extends MovieClip { public var Y0; public var txtTxt; public var Link:SimpleButton; public var tcStop; public var ecartY; public var myCpt:MovieClip; public var txt:TextField; public var TC; public var myScore:MovieClip; public var rayY; public var score:int; public var btRep2:btRep; public var btRep3:btRep; public var btRep0:btRep; public var btRep1:btRep; public var btOK:SimpleButton; public var tcGo; public var lblQuestion:TextField; public var myVid:MovieClip; public var fautes; public var linkFSG:SimpleButton; public function MainTimeline(){ addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5); } public function btDebut_Click(_arg1:MouseEvent){ btOK.removeEventListener(MouseEvent.CLICK, btDebut_Click); gotoAndPlay(3); } public function loadProgress(_arg1:Event){ var _local2:int; var _local3:int; var _local4:int; _local2 = this.root.loaderInfo.bytesLoaded; _local3 = this.root.loaderInfo.bytesTotal; _local4 = ((100 * _local2) / _local3); txt.text = (("Please Wait: " + _local4) + "%"); if (_local2 >= _local3){ txt.text = "Click on the Start Button to play"; removeEventListener(Event.ENTER_FRAME, loadProgress); btOK.visible = true; }; } function frame3(){ TC = new Array(85, 109, 134, 171, 201, 228); tcGo = 1; tcStop = (TC[0] - 1); txtTxt = "Ready to Play?"; txt.text = "Get 16 answers right in 60 secondes and you'll get to see the bonus video"; } function frame1(){ addEventListener(Event.ENTER_FRAME, loadProgress); btOK.addEventListener(MouseEvent.CLICK, btDebut_Click); btOK.visible = false; linkFSG.addEventListener(MouseEvent.MOUSE_UP, linkFSGClick); Link.addEventListener(MouseEvent.MOUSE_UP, LinkClick); } public function LinkClick(_arg1:MouseEvent){ var _local2:URLRequest; _local2 = new URLRequest("http://www.uplay-istrip.com/"); navigateToURL(_local2, "_blank"); } public function linkFSGClick(_arg1:MouseEvent){ var _local2:URLRequest; _local2 = new URLRequest("http://www.free-strip-games.com/"); navigateToURL(_local2, "_blank"); } public function btRepFausse_click(_arg1:MouseEvent){ fautes++; if (fautes > 20){ perdu(); } else { newQ(); }; } public function btOK_Click(_arg1:MouseEvent){ myVid.removeEventListener(Event.ENTER_FRAME, videoEvent); btOK.removeEventListener(MouseEvent.CLICK, btOK_Click); myVid.stop(); this.gotoAndStop(5); } public function newQ(){ var _local1:*; var _local2:*; var _local3:*; var _local4:*; var _local5:*; var _local6:*; var _local7:*; var _local8:*; var _local9:int; var _local10:int; _local1 = Math.floor((Math.random() * 20)); _local2 = Math.floor((Math.random() * 10)); _local3 = (Math.floor((Math.random() * 10)) + 1); _local4 = (_local1 + (_local2 * _local3)); _local5 = 0; do { _local5 = (Math.floor((Math.random() * 10)) - 5); } while (_local5 == 0); _local6 = (_local4 + _local5); do { _local5 = ((_local4 + Math.floor((Math.random() * 10))) - 5); } while ((((_local5 == _local4)) || ((_local5 == _local6)))); _local7 = _local5; do { _local5 = ((_local4 + Math.floor((Math.random() * 10))) - 5); } while ((((((_local5 == _local4)) || ((_local5 == _local6)))) || ((_local5 == _local7)))); _local8 = _local5; _local5 = Math.floor((Math.random() * 4)); btRep0.y = rayY[_local5]; do { _local5 = Math.floor((Math.random() * 4)); } while (rayY[_local5] == btRep0.y); btRep1.y = rayY[_local5]; _local9 = 0; while (_local9 < 4) { if (((!((rayY[_local9] == btRep0.y))) && (!((rayY[_local9] == btRep1.y))))){ btRep2.y = rayY[_local9]; break; }; _local9++; }; _local10 = 0; while (_local10 < 4) { if (((((!((rayY[_local10] == btRep0.y))) && (!((rayY[_local10] == btRep1.y))))) && (!((rayY[_local10] == btRep2.y))))){ btRep3.y = rayY[_local10]; break; }; _local10++; }; btRep0.lbl.text = _local4; btRep1.lbl.text = _local6; btRep2.lbl.text = _local7; btRep3.lbl.text = _local8; lblQuestion.text = (((((_local1 + " + ") + _local2) + " x ") + _local3) + " = ?"); } function frame4(){ stop(); myVid.gotoAndPlay(tcGo); myVid.addEventListener(Event.ENTER_FRAME, videoEvent); btOK.addEventListener(MouseEvent.CLICK, btOK_Click); } public function newGame(){ btOK.visible = false; score = 1; fautes = 0; myScore.gotoAndStop(0); newQ(); myCpt.gotoAndPlay(0); myCpt.addEventListener(Event.ENTER_FRAME, myCptEvent); } public function perdu(){ var _local1:*; myCpt.stop(); myCpt.tourn.stop(); myCpt.removeEventListener(Event.ENTER_FRAME, myCptEvent); btRep0.visible = (btRep1.visible = (btRep2.visible = (btRep3.visible = false))); btOK.removeEventListener(MouseEvent.CLICK, btOK2_Click); _local1 = Math.floor((score / 4)); if (_local1 > 4){ _local1 = 4; }; tcGo = TC[_local1]; txt.text = "You loose"; btOK.visible = false; tcStop = (TC[(_local1 + 1)] - 2); txtTxt = "Play Again?"; gotoAndStop(4); } public function btRepBonne_click(_arg1:MouseEvent){ score++; btRep0.visible = (btRep1.visible = (btRep2.visible = (btRep3.visible = true))); myScore.gotoAndStop(score); if (score == 17){ btRep0.visible = (btRep1.visible = (btRep2.visible = (btRep3.visible = false))); btOK.visible = true; lblQuestion.text = "You win!"; myCpt.stop(); myCpt.tourn.stop(); myCpt.removeEventListener(Event.ENTER_FRAME, myCptEvent); } else { newQ(); }; } public function btOK2_Click(_arg1:MouseEvent){ btOK.removeEventListener(MouseEvent.CLICK, btOK2_Click); tcGo = 228; txt.text = "Bravo, you're good at Math"; btOK.visible = false; tcStop = 658; txtTxt = "Play Again?"; gotoAndStop(4); } function frame5(){ stop(); btRep0 = new btRep(); addChild(btRep0); btRep1 = new btRep(); addChild(btRep1); btRep2 = new btRep(); addChild(btRep2); btRep3 = new btRep(); addChild(btRep3); ecartY = 60; Y0 = 139; fautes = 0; rayY = new Array(Y0, (Y0 + ecartY), (Y0 + (2 * ecartY)), (Y0 + (3 * ecartY))); btRep0.x = (btRep1.x = (btRep2.x = (btRep3.x = 0x0200))); btOK.addEventListener(MouseEvent.CLICK, btOK2_Click); newGame(); btRep0.addEventListener(MouseEvent.CLICK, btRepBonne_click); btRep1.addEventListener(MouseEvent.CLICK, btRepFausse_click); btRep2.addEventListener(MouseEvent.CLICK, btRepFausse_click); btRep3.addEventListener(MouseEvent.CLICK, btRepFausse_click); btRep0.buttonMode = true; btRep0.useHandCursor = true; btRep0.mouseChildren = false; btRep1.buttonMode = true; btRep1.useHandCursor = true; btRep1.mouseChildren = false; btRep2.buttonMode = true; btRep2.useHandCursor = true; btRep2.mouseChildren = false; btRep3.buttonMode = true; btRep3.useHandCursor = true; btRep3.mouseChildren = false; } public function videoEvent(_arg1:Event){ if (myVid.currentFrame >= tcStop){ myVid.stop(); myVid.removeEventListener(Event.ENTER_FRAME, videoEvent); txt.text = txtTxt; btOK.visible = true; btOK.addEventListener(MouseEvent.CLICK, btOK_Click); }; } function frame2(){ stop(); } public function myCptEvent(_arg1:Event){ if (myCpt.currentFrame >= 720){ perdu(); }; } } }//package StripMath_fla
Section 3
//btRep (btRep) package { import flash.display.*; import flash.text.*; public dynamic class btRep extends MovieClip { public var lbl:TextField; } }//package

Library Items

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

Instance Names

"Link"Frame 1Symbol 7 Button
"linkFSG"Frame 1Symbol 7 Button
"txt"Frame 1Symbol 11 EditableText
"btOK"Frame 1Symbol 14 Button
"myVid"Frame 4Symbol 16 MovieClip
"myScore"Frame 5Symbol 56 MovieClip
"myCpt"Frame 5Symbol 60 MovieClip {StripMath_fla.compteur_6}
"lblQuestion"Frame 5Symbol 64 EditableText
"lbl"Symbol 3 MovieClip {btRep} Frame 1Symbol 2 EditableText
"tourn"Symbol 60 MovieClip {StripMath_fla.compteur_6} Frame 1Symbol 58 MovieClip
"lbl"Symbol 60 MovieClip {StripMath_fla.compteur_6} Frame 1Symbol 59 EditableText

Special Tags

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




http://swfchan.com/21/104508/info.shtml
Created: 18/3 -2019 11:37:44 Last modified: 18/3 -2019 11:37:44 Server time: 22/12 -2024 08:16:00