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 #82580 |
A Grey Square™ - That Doesn't Do Anything |
Play |
Play |
Score: |
0000000 |
Top Score: |
0000000 |
Restart |
Restart |
ActionScript [AS3]
Section 1//MainTimeline (agstdda_fla.MainTimeline) package agstdda_fla { import flash.events.*; import flash.display.*; import flash.text.*; public dynamic class MainTimeline extends MovieClip { public var labelScore:TextField; public var topScore:String; public var labelTopScore:TextField; public var buttonRestart:SimpleButton; public var buttonPlay:SimpleButton; public var score:String; public function MainTimeline(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); buttonPlay.addEventListener(MouseEvent.CLICK, function (_arg1:MouseEvent):void{ var _local2:*; gotoAndStop(2); }); } function frame2(){ score = "000000"; topScore = "000000"; addEventListener(Event.ENTER_FRAME, onEnterFrame); buttonRestart.addEventListener(MouseEvent.CLICK, function (_arg1:MouseEvent):void{ var _local2:*; score = "0"; }); } public function onEnterFrame(_arg1:Event):void{ score = String((int(score) + 10)); while (score.length < 7) { score = ("0" + score); }; if (int(score) > int(topScore)){ topScore = score; }; labelScore.text = score; labelTopScore.text = topScore; } } }//package agstdda_fla
Library Items
Symbol 1 Graphic | Used by:2 | |
Symbol 2 MovieClip | Uses:1 | Used by:Timeline |
Symbol 3 Font | Used by:5 8 9 13 16 18 19 | |
Symbol 4 Font | Used by:5 | |
Symbol 5 Text | Uses:3 4 | Used by:Timeline |
Symbol 6 Graphic | Used by:7 | |
Symbol 7 MovieClip | Uses:6 | Used by:Timeline |
Symbol 8 Text | Uses:3 | Used by:10 12 |
Symbol 9 Text | Uses:3 | Used by:10 |
Symbol 10 MovieClip | Uses:8 9 | Used by:12 |
Symbol 11 Graphic | Used by:12 21 | |
Symbol 12 Button | Uses:8 10 11 | Used by:Timeline |
Symbol 13 Text | Uses:3 | Used by:Timeline |
Symbol 14 Font | Used by:15 17 | |
Symbol 15 EditableText | Uses:14 | Used by:Timeline |
Symbol 16 Text | Uses:3 | Used by:Timeline |
Symbol 17 EditableText | Uses:14 | Used by:Timeline |
Symbol 18 Text | Uses:3 | Used by:20 21 |
Symbol 19 Text | Uses:3 | Used by:20 |
Symbol 20 MovieClip | Uses:18 19 | Used by:21 |
Symbol 21 Button | Uses:18 20 11 | Used by:Timeline |
Instance Names
"buttonPlay" | Frame 1 | Symbol 12 Button |
"labelScore" | Frame 2 | Symbol 15 EditableText |
"labelTopScore" | Frame 2 | Symbol 17 EditableText |
"buttonRestart" | Frame 2 | Symbol 21 Button |
Special Tags
FileAttributes (69) | Timeline Frame 1 | Access local files only, Metadata not present, AS3. |
|