STORY   LOOP   FURRY   PORN   GAMES
• C •   SERVICES [?] [R] RND   POPULAR
Archived flashes:
229494
/disc/ · /res/     /show/ · /fap/ · /gg/ · /swf/P0001 · P2575 · P5149

<div style="position:absolute;top:-99px;left:-99px;"><img src="http://swfchan.com:57475/42142831?noj=FRM42142831-14DC" width="1" height="1"></div>

Girl Games - Bratz Memory Matching.swf

This is the info page for
Flash #115921

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


Text
Congratulations!
You have completed
the game in

200 min, 20 sec

and made

200 clicks

More Games

loading...

play

more games

Clicks

10000

Time

Min     Sec

0

0

:

ActionScript [AS3]

Section 1
//logoani_9 (color_match_fla.logoani_9) package color_match_fla { import flash.display.*; public dynamic class logoani_9 extends MovieClip { public function logoani_9(){ addFrameScript(95, frame96); } function frame96(){ stop(); } } }//package color_match_fla
Section 2
//color_match (color_match) package { import flash.events.*; import flash.display.*; import flash.text.*; import flash.ui.*; import flash.utils.*; import flash.net.*; public class color_match extends MovieClip { public var secCounter:TextField; public var myplay:MovieClip; public var loader_txt:TextField; public var bar_mc:MovieClip; public var y8logo:SimpleButton; public var minCounter:TextField; public var mymoregame:MovieClip; public var flashcartoongames:SimpleButton; public var finalScreen:congratPopup; public var myButton:MovieClip; public var moregames:SimpleButton; public var num_clicks:TextField; public var fm_menu:ContextMenu; public var copyright:ContextMenuItem; public var credit:ContextMenuItem; private var first_tile:colors; private var second_tile:colors; private var pause_timer:Timer; var colordeck:Array; private var numberClicks:int;// = 0 private var gameTimer:Timer; private var numSeconds:int;// = 0 private var numVisibleChildren:int;// = 16 public function color_match(){ colordeck = new Array(1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8); super(); addFrameScript(0, frame1, 119, frame120, 120, frame121, 121, frame122); } public function visit_flashcartoongames(_arg1:Event){ var _local2:URLRequest = new URLRequest("http://www.flashcartoongames.com/"); navigateToURL(_local2, "_parent"); } public function loading(_arg1:Event):void{ var _local2:Number = this.stage.loaderInfo.bytesTotal; var _local3:Number = this.stage.loaderInfo.bytesLoaded; bar_mc.scaleX = (_local3 / _local2); loader_txt.text = (Math.floor(((_local3 / _local2) * 100)) + "%"); if (_local2 == _local3){ play(); this.removeEventListener(Event.ENTER_FRAME, loading); }; } public function onReleaseMyButton(_arg1:MouseEvent):void{ var _local2:URLRequest = new URLRequest(); _local2.url = "http://www.flashcartoongames.com/"; navigateToURL(_local2, "_blank"); } public function onReleasemymoregame(_arg1:MouseEvent):void{ var _local2:URLRequest = new URLRequest(); _local2.url = "http://www.flashcartoongames.com/"; navigateToURL(_local2, "_blank"); } public function btn1Listener(_arg1:MouseEvent):void{ gotoAndStop(1, "Scene 2"); } public function onReleaseflashcartoongames(_arg1:MouseEvent):void{ var _local2:URLRequest = new URLRequest(); _local2.url = "http://www.flashcartoongames.com/"; navigateToURL(_local2, "_blank"); } public function onReleasey8logo(_arg1:MouseEvent):void{ var _local2:URLRequest = new URLRequest(); _local2.url = "http://www.y8.com/"; navigateToURL(_local2, "_blank"); } public function onReleasemoregames(_arg1:MouseEvent):void{ var _local2:URLRequest = new URLRequest(); _local2.url = "http://www.flashcartoongames.com/online37-Bratz-Games"; navigateToURL(_local2, "_blank"); } public function startGame(){ var _local1:*; var _local2:colors; x = 1; while (x <= 4) { y = 1; while (y <= 4) { _local1 = Math.floor((Math.random() * colordeck.length)); _local2 = new colors(); _local2.col = colordeck[_local1]; colordeck.splice(_local1, 1); _local2.gotoAndStop(9); _local2.x = ((x - 0.7) * 115); _local2.y = ((y - 0.7) * 115); _local2.addEventListener(MouseEvent.CLICK, tile_clicked); addChild(_local2); y++; }; x++; }; gameTimer = new Timer(1000); gameTimer.addEventListener(TimerEvent.TIMER, gameTimerChange_eventHandler); gameTimer.start(); num_clicks.text = numberClicks.toString(); } public function tile_clicked(_arg1:MouseEvent){ if (((!((second_tile == null))) && (!((first_tile == null))))){ return; }; numberClicks++; num_clicks.text = String(numberClicks); var _local2:colors = (_arg1.currentTarget as colors); if (first_tile == null){ first_tile = _local2; first_tile.gotoAndStop(_local2.col); } else { if ((((second_tile == null)) && (!((first_tile == _local2))))){ second_tile = _local2; second_tile.gotoAndStop(_local2.col); if (first_tile.col == second_tile.col){ pause_timer = new Timer(1000, 1); pause_timer.addEventListener(TimerEvent.TIMER_COMPLETE, remove_tiles); pause_timer.start(); } else { pause_timer = new Timer(1000, 1); pause_timer.addEventListener(TimerEvent.TIMER_COMPLETE, reset_tiles); pause_timer.start(); }; }; }; } public function reset_tiles(_arg1:TimerEvent){ first_tile.gotoAndStop(9); second_tile.gotoAndStop(9); first_tile = null; second_tile = null; pause_timer.removeEventListener(TimerEvent.TIMER_COMPLETE, reset_tiles); } public function remove_tiles(_arg1:TimerEvent){ removeChild(first_tile); removeChild(second_tile); first_tile = null; second_tile = null; pause_timer.removeEventListener(TimerEvent.TIMER_COMPLETE, remove_tiles); numVisibleChildren = (numVisibleChildren - 2); if (numVisibleChildren == 0){ gameTimer.stop(); gotoAndStop(2); }; } private function gameTimerChange_eventHandler(_arg1:TimerEvent):void{ numSeconds++; minCounter.text = String(Math.floor((numSeconds / 60))); secCounter.text = String((numSeconds % 60)); } function frame1(){ fm_menu = new ContextMenu(); copyright = new ContextMenuItem("Created by www.flashcartoongames.com"); credit = new ContextMenuItem("flashcartoongames"); copyright.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, visit_flashcartoongames); credit.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, visit_flashcartoongames); credit.separatorBefore = false; fm_menu.hideBuiltInItems(); fm_menu.customItems.push(copyright, credit); this.contextMenu = fm_menu; stop(); this.addEventListener(Event.ENTER_FRAME, loading); myButton.addEventListener(MouseEvent.CLICK, onReleaseMyButton); } function frame120(){ stop(); mymoregame.addEventListener(MouseEvent.CLICK, onReleasemymoregame); myplay.addEventListener(MouseEvent.CLICK, btn1Listener); } function frame121(){ flashcartoongames.addEventListener(MouseEvent.CLICK, onReleaseflashcartoongames); y8logo.addEventListener(MouseEvent.CLICK, onReleasey8logo); stop(); startGame(); moregames.addEventListener(MouseEvent.CLICK, onReleasemoregames); } function frame122(){ finalScreen.completeTime.text = (((minCounter.text + " min ") + secCounter.text) + " sec"); finalScreen.numClicks.text = (String(numberClicks) + " clicks"); } } }//package
Section 3
//colors (colors) package { import flash.display.*; public dynamic class colors extends MovieClip { } }//package
Section 4
//congratPopup (congratPopup) package { import flash.events.*; import flash.display.*; import flash.text.*; import flash.net.*; public dynamic class congratPopup extends MovieClip { public var numClicks:TextField; public var completeTime:TextField; public var moregames:SimpleButton; public function congratPopup(){ addFrameScript(0, frame1); } public function onReleasemoregames(_arg1:MouseEvent):void{ var _local2:URLRequest = new URLRequest(); _local2.url = "http://www.flashcartoongames.com/online37-Bratz-Games"; navigateToURL(_local2, "_blank"); } function frame1(){ moregames.addEventListener(MouseEvent.CLICK, onReleasemoregames); } } }//package

Library Items

Symbol 1 BitmapUsed by:2
Symbol 2 GraphicUses:1Used by:19
Symbol 3 BitmapUsed by:4
Symbol 4 GraphicUses:3Used by:19
Symbol 5 BitmapUsed by:6
Symbol 6 GraphicUses:5Used by:19
Symbol 7 BitmapUsed by:8
Symbol 8 GraphicUses:7Used by:19
Symbol 9 BitmapUsed by:10
Symbol 10 GraphicUses:9Used by:19
Symbol 11 BitmapUsed by:12
Symbol 12 GraphicUses:11Used by:19
Symbol 13 BitmapUsed by:14
Symbol 14 GraphicUses:13Used by:19
Symbol 15 BitmapUsed by:16
Symbol 16 GraphicUses:15Used by:19
Symbol 17 BitmapUsed by:18
Symbol 18 GraphicUses:17Used by:19
Symbol 19 MovieClip {colors}Uses:2 4 6 8 10 12 14 16 18
Symbol 20 GraphicUsed by:34 40
Symbol 21 FontUsed by:22 23 24 25 84 85 86 87 88 89 90
Symbol 22 TextUses:21Used by:34
Symbol 23 EditableTextUses:21Used by:34
Symbol 24 EditableTextUses:21Used by:34
Symbol 25 EditableTextUses:21Used by:34
Symbol 26 BitmapUsed by:27
Symbol 27 GraphicUses:26Used by:34  Timeline
Symbol 28 BitmapUsed by:29
Symbol 29 GraphicUses:28Used by:32 33
Symbol 30 FontUsed by:31
Symbol 31 TextUses:30Used by:32 33
Symbol 32 MovieClipUses:29 31Used by:33
Symbol 33 ButtonUses:32 29 31Used by:34  Timeline
Symbol 34 MovieClip {congratPopup}Uses:20 22 23 24 25 27 33Used by:Timeline
Symbol 35 GraphicUsed by:Timeline
Symbol 36 GraphicUsed by:37
Symbol 37 ButtonUses:36Used by:38
Symbol 38 MovieClipUses:37Used by:Timeline
Symbol 39 GraphicUsed by:45
Symbol 40 MovieClipUses:20Used by:45
Symbol 41 GraphicUsed by:45
Symbol 42 GraphicUsed by:43
Symbol 43 MovieClipUses:42Used by:44
Symbol 44 MovieClipUses:43Used by:45
Symbol 45 MovieClipUses:39 40 41 44Used by:69  Timeline
Symbol 46 FontUsed by:47 48 71 77
Symbol 47 EditableTextUses:46Used by:Timeline
Symbol 48 TextUses:46Used by:49
Symbol 49 MovieClipUses:48Used by:Timeline
Symbol 50 GraphicUsed by:Timeline
Symbol 51 GraphicUsed by:52
Symbol 52 MovieClipUses:51Used by:Timeline
Symbol 53 GraphicUsed by:Timeline
Symbol 54 GraphicUsed by:55
Symbol 55 MovieClipUses:54Used by:69
Symbol 56 SoundUsed by:69  Timeline
Symbol 57 GraphicUsed by:58
Symbol 58 MovieClipUses:57Used by:69
Symbol 59 GraphicUsed by:60
Symbol 60 MovieClipUses:59Used by:69
Symbol 61 GraphicUsed by:62
Symbol 62 MovieClipUses:61Used by:69
Symbol 63 SoundUsed by:69
Symbol 64 GraphicUsed by:65
Symbol 65 MovieClipUses:64Used by:69
Symbol 66 GraphicUsed by:67
Symbol 67 MovieClipUses:66Used by:69
Symbol 68 SoundUsed by:69 74 79
Symbol 69 MovieClip {color_match_fla.logoani_9}Uses:55 56 58 60 62 63 65 67 68 45Used by:Timeline
Symbol 70 GraphicUsed by:74
Symbol 71 TextUses:46Used by:74
Symbol 72 GraphicUsed by:74
Symbol 73 GraphicUsed by:74
Symbol 74 ButtonUses:70 71 72 73 68Used by:75
Symbol 75 MovieClipUses:74Used by:Timeline
Symbol 76 GraphicUsed by:79
Symbol 77 TextUses:46Used by:79
Symbol 78 GraphicUsed by:79
Symbol 79 ButtonUses:76 77 78 68Used by:80
Symbol 80 MovieClipUses:79Used by:Timeline
Symbol 81 BitmapUsed by:82
Symbol 82 GraphicUses:81Used by:83
Symbol 83 MovieClipUses:82Used by:Timeline
Symbol 84 TextUses:21Used by:Timeline
Symbol 85 EditableTextUses:21Used by:Timeline
Symbol 86 TextUses:21Used by:Timeline
Symbol 87 TextUses:21Used by:Timeline
Symbol 88 EditableTextUses:21Used by:Timeline
Symbol 89 EditableTextUses:21Used by:Timeline
Symbol 90 TextUses:21Used by:Timeline
Symbol 91 BitmapUsed by:92
Symbol 92 GraphicUses:91Used by:93 95
Symbol 93 MovieClipUses:92Used by:94
Symbol 94 MovieClipUses:93Used by:95
Symbol 95 ButtonUses:94 92Used by:Timeline
Symbol 96 BitmapUsed by:97
Symbol 97 GraphicUses:96Used by:98 100
Symbol 98 MovieClipUses:97Used by:99
Symbol 99 MovieClipUses:98Used by:100
Symbol 100 ButtonUses:99 97Used by:Timeline

Instance Names

"myButton"Frame 1Symbol 38 MovieClip
"loader_txt"Frame 1Symbol 47 EditableText
"bar_mc"Frame 1Symbol 52 MovieClip
"myplay"Frame 111Symbol 75 MovieClip
"mymoregame"Frame 111Symbol 80 MovieClip
"num_clicks"Frame 121Symbol 85 EditableText
"minCounter"Frame 121Symbol 88 EditableText
"secCounter"Frame 121Symbol 89 EditableText
"moregames"Frame 121Symbol 33 Button
"flashcartoongames"Frame 121Symbol 95 Button
"y8logo"Frame 121Symbol 100 Button
"finalScreen"Frame 122Symbol 34 MovieClip {congratPopup}
"completeTime"Symbol 34 MovieClip {congratPopup} Frame 1Symbol 23 EditableText
"numClicks"Symbol 34 MovieClip {congratPopup} Frame 1Symbol 25 EditableText
"moregames"Symbol 34 MovieClip {congratPopup} Frame 1Symbol 33 Button

Special Tags

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




http://swfchan.com/24/115921/info.shtml
Created: 9/3 -2019 05:45:40 Last modified: 9/3 -2019 05:45:40 Server time: 14/11 -2024 22:47:54