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

<div style="position:absolute;top:-99px;left:-99px;"><img src="https://tools.swfchan.com/stathit.asp?noj=FRM19047675-6DC&rnd=19047675" width="1" height="1"></div>

old-macdonald-had-a-farm.swf

This is the info page for
Flash #109322

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


Text
PLAY

PLAY

HELP

HELP

HIGHSCORE

HIGHSCORE

MORE
GAMES

MORE
GAMES

LEVEL

SCORE

TIME

1

hhhhh

PAUSE

MENU

GAME PAUSED

BACK

BACK

GOAL

333

<p align="center"><font face="ZiggyStandard_44pt_st" size="44" color="#331a00" letterSpacing="3.000000" kerning="0"> sss</font></p>

2

×

GAME OVER

your  score

888

PLAY
AGAIN

PLAY
AGAIN

SUBMIT
SCORE

SUBMIT
SCORE

HELP

NEXT

NEXT

Previous

Switch two animals to get 3 or more in a row
to remove the animals from the game.

delete one animal

show the possible moves

reshuffle

longer time

bomb several animals randomly

LEVEL COMPLETED

sss

Time Bonus:

NEXT
LEVEL

NEXT
LEVEL

略过

wwwwwww

<p align="center"><font face="黑体" size="50" color="#ffffff" letterSpacing="0.000000" kerning="1">只有最好玩的游戏!</font></p>

<p align="center"><font face="黑体" size="32" color="#ffffff" letterSpacing="0.000000" kerning="1">只有最好玩的游戏!</font></p>

ActionScript [AS3]

Section 1
//as (ddp_main.as) package ddp_main { import flash.display.*; public dynamic class as extends MovieClip { public var mian:Sprite; public var loadingMC:MovieClip; public function as(){ super(); addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ mian = new ddp_main(); this.addChildAt(mian, 0); stop(); } } }//package ddp_main
Section 2
//bgSoundClass (GameSceneView.bgSoundClass) package GameSceneView { import until.*; import flash.events.*; public class bgSoundClass extends bg_mc { private var bg_sound:SoundClass; public function bgSoundClass(){ super(); d_Music.buttonMode = true; d_Sound.buttonMode = true; bg_sound = new SoundClass(); d_Music.addEventListener(MouseEvent.CLICK, stop_music_handle); d_Sound.addEventListener(MouseEvent.CLICK, stop_sound_handle); } private function stop_sound_handle(e:MouseEvent):void{ if (d_Sound.currentFrame == 1){ d_Sound.gotoAndStop(2); UserInfo.is_stopSound = true; return; }; if (d_Sound.currentFrame == 2){ d_Sound.gotoAndStop(1); UserInfo.is_stopSound = false; return; }; } private function stop_music_handle(e){ if (d_Music.currentFrame == 1){ bg_sound.gotoAndStop(3); d_Music.gotoAndStop(2); bg_sound.gotoAndStop(5); return; }; if (d_Music.currentFrame == 2){ bg_sound.gotoAndStop(4); d_Music.gotoAndStop(1); return; }; } } }//package GameSceneView
Section 3
//GameEndClass (GameSceneView.GameEndClass) package GameSceneView { import until.*; import flash.events.*; import flash.display.*; import flash.net.*; public class GameEndClass extends GameOverMc { private var furl;// = "www.gamesonly.com.cn" private var gamename;// = "OldMacdonaldHadAFarm" public function GameEndClass(){ var overSound:*; gamename = "OldMacdonaldHadAFarm"; furl = "www.gamesonly.com.cn"; super(); again_btn.addEventListener(MouseEvent.CLICK, play_again_handle); submt_btn.addEventListener(MouseEvent.CLICK, submt_score_handle); end_score.text = String(UserInfo.User_Score); overSound = new gameover(); overSound.play(); } private function play_again_handle(e:MouseEvent):void{ MovieClip(this).dispatchEvent(new Event("again")); } private function submt_score_handle(e){ var hash:*; hash = MD5.hash((((furl + gamename) + String(UserInfo.User_Score)) + "zygomaticgames")); trace((((furl + gamename) + String(UserInfo.User_Score)) + "zygomaticgames")); trace(hash); navigateToURL(new URLRequest((((((("http://www.gamesonly.com.cn/highscore.php?game=" + gamename) + "&score=") + String(UserInfo.User_Score)) + "&otherparam=") + hash) + "")), "_blank"); } } }//package GameSceneView
Section 4
//GameHelpClass (GameSceneView.GameHelpClass) package GameSceneView { import flash.events.*; import flash.display.*; public class GameHelpClass extends HelpMc { public function GameHelpClass(){ super(); previBtn.visible = false; previBtn.addEventListener(MouseEvent.CLICK, prav_frame_handle); play_btn.addEventListener(MouseEvent.CLICK, play_game_handle); nextBtn.addEventListener(MouseEvent.CLICK, next_frame_handle); } private function next_frame_handle(e:MouseEvent):void{ this.gotoAndStop(2); previBtn.visible = true; previBtn.alpha = 100; nextBtn.visible = false; } private function play_game_handle(e:MouseEvent):void{ MovieClip(this).dispatchEvent(new Event("start_game")); } private function prav_frame_handle(e:MouseEvent):void{ this.gotoAndStop(1); previBtn.visible = false; nextBtn.visible = true; } } }//package GameSceneView
Section 5
//GameMenuClass (GameSceneView.GameMenuClass) package GameSceneView { import flash.events.*; import flash.display.*; import flash.net.*; public class GameMenuClass extends GameMenuMc { private var bg_sound:SoundClass; public function GameMenuClass(){ super(); this.gameMenu.addEventListener("start_game", click_menu_handle); } private function help_msg_handle(e:MouseEvent):void{ MovieClip(this).dispatchEvent(new Event("help")); } private function score_game(e:MouseEvent):void{ var url:*; url = new URLRequest("http://www.gamesonly.com.cn/highscore.php?game=OldMacdonaldHadAFarm"); navigateToURL(url, "_blank"); } private function strat_msg_handle(e:MouseEvent):void{ MovieClip(this).dispatchEvent(new Event("start_game")); } private function more_game(e:MouseEvent):void{ var url:*; url = new URLRequest("http://www.gamesonly.com.cn/"); navigateToURL(url, "_blank"); } private function click_menu_handle(e:Event):void{ this.gameMenu.start_btn.addEventListener(MouseEvent.CLICK, strat_msg_handle); this.gameMenu.helpBtn.addEventListener(MouseEvent.CLICK, help_msg_handle); this.gameMenu.score_btn.addEventListener(MouseEvent.CLICK, score_game); this.gameMenu.more_btn.addEventListener(MouseEvent.CLICK, more_game); } } }//package GameSceneView
Section 6
//GameSceneClass (GameSceneView.GameSceneClass) package GameSceneView { import until.*; import gs.*; import flash.events.*; import flash.display.*; import gs.easing.*; import flash.utils.*; public class GameSceneClass extends GameSceneMc { private var _user_tool:Boolean; private var bbb:int;// = 0 private var Obj2:MyTile; private var Obj1:MyTile; private var checkArr:Array; private var sp:Sprite; private var speed:Number;// = 0.6 private var tongzhong_array:Array; private var flood_time:int;// = 0 private var dx:Number; private var dy:Number; private var once:Boolean; private var bg_sound:SoundClass; private var TileArr:Array; private var game_timer:Timer; private var game_time_num:int;// = 2 private var text_array:Array; private var delay_num:int; private var totalClearTileArray:Array; private var tempS:Boolean;// = false private var Map:MyMap; private var comb_coolDown:Timer; private var comb_record:int;// = 0 private var orderNum:Number; private var Tiles:MyTile; private var tileW:Number;// = 52 private var totalTileArray:Array; private var tileH:Number;// = 52 private var delay_timer:Timer; private var MapArrs:Array; private var click:Boolean;// = true private var tempx2:Number; private var tempx1:Number; private var comb_skill:int;// = 0 private var tempy1:Number; private var tempy2:Number; private var flood_num:int; private var cool_down:Number;// = 0 private var NextClass_mc:NextClass; public function GameSceneClass(){ tileW = 52; tileH = 52; click = true; checkArr = []; totalClearTileArray = []; tempS = false; speed = 0.6; totalTileArray = []; game_time_num = 2; flood_time = 0; flood_num = game_time_num; bbb = 0; comb_skill = 0; comb_record = 0; cool_down = 0; super(); init(); } public function removeSp(){ while (sp.numChildren > 0) { sp.removeChildAt(0); }; } private function moveDownArray(_x:int, _y:int):void{ var i:int; var KK:Number; mask_mc.visible = true; i = (_y - 1); while (i >= 0) { if (((!((MapArrs[_x][(i - 1)] == undefined))) && (!((MapArrs[_x][(i - 1)] == 0))))){ MapArrs[_x][i] = MapArrs[_x][(i - 1)]; MapArrs[_x][(i - 1)] = 0; } else { if (MapArrs[_x][(i - 1)] == 0){ KK = (i - 1); while (KK >= 0) { if (MapArrs[_x][(KK - 1)] == undefined){ MapArrs[_x][(KK - 1)] = Map.setRanNum(7); } else { if (MapArrs[_x][(KK - 1)] != 0){ MapArrs[_x][i] = MapArrs[_x][(KK - 1)]; MapArrs[_x][(KK - 1)] = 0; break; }; }; KK--; }; } else { MapArrs[_x][i] = Map.setRanNum(Map.SelNum); }; }; TileArr[_x][i].gotoAndStop(MapArrs[_x][i]); i--; }; } private function onMouseOverHandler(e:MouseEvent):void{ var obj:MyTile; obj = (e.currentTarget as MyTile); obj.animPlay(); } private function allCheck():void{ var i:int; comb_coolDown.start(); i = 0; while (i < Map.MapHeight) { checkMap(true, i); checkMap(false, i); i++; }; if (totalClearTileArray.length != 0){ click = false; scal(totalClearTileArray); } else { click = true; }; } private function comb_cool_down(e:TimerEvent):void{ cool_down = (cool_down + 0.5); if (cool_down == 0.5){ comb.visible = false; cool_down = 0; comb_skill = 0; comb_record = 0; comb_coolDown.stop(); if ((((((UserInfo.User_Score >= UserInfo.jiange)) && (!((UserInfo.User_Score == 0))))) && (!((UserInfo.User_Score == (UserInfo.jiange / 2)))))){ UserInfo.shijian = time_mc.currentFrame; this.removeEventListener(Event.ENTER_FRAME, score_enter_frame); stage.removeEventListener(Event.ENTER_FRAME, onMapFrame); UserInfo.mission_num = (UserInfo.mission_num + 1); game_timer.stop(); miss_mc.gotoAndStop(1); UserInfo.jiange = (UserInfo.jiange + UserInfo.addScore); MovieClip(this).dispatchEvent(new Event("next")); }; }; } private function user_tool1():void{ time_mc.gotoAndStop((time_mc.currentFrame - 4)); tool1.visible = false; } private function user_tool2():void{ var i:int; var j:int; i = 0; while (i < MapArrs.length) { j = ((Math.random() * 7) + 1); totalClearTileArray.push(TileArr[i][j].WID, TileArr[i][j].HID); scal(totalClearTileArray); i++; }; } private function user_tool3():void{ removeSp(); Map = new MyMap(); MapArrs = Map.init(); DuplicateTile(Map.MapWidth, Map.MapHeight); tool3.visible = false; UserInfo.tool_user3 = true; MovieClip(this).dispatchEvent(new Event("new_game")); this.removeEventListener(Event.ENTER_FRAME, score_enter_frame); game_timer.stop(); } private function user_tool4():void{ var tempRan:Number; var i:int; var j:int; tempRan = (((Math.random() * Map.SelNum) >> 0) + 1); i = 0; while (i < MapArrs.length) { j = 0; while (j < MapArrs[i].length) { if (MapArrs[i][j] == tempRan){ totalClearTileArray.push(TileArr[i][j].WID, TileArr[i][j].HID); scal(totalClearTileArray); }; j++; }; i++; }; } private function user_tool5():void{ var i:int; var j:int; i = 0; while (i < MapArrs.length) { j = 0; while (j < MapArrs[i].length) { if (left_right(i, j)){ TileArr[i][j].showMc(); TileArr[(i + 1)][j].showMc(); } else { if (up_down(i, j)){ TileArr[i][j].showMc(); TileArr[i][(j + 1)].showMc(); }; }; j++; }; i++; }; } private function moveTile(mc1:MyTile, mc2:MyTile):void{ tempx1 = mc1.x; tempy1 = mc1.y; tempx2 = mc2.x; tempy2 = mc2.y; Obj1 = mc1; Obj2 = mc2; if (((!(((UserInfo.User_Score % UserInfo.jiange) == 0))) && (!((UserInfo.User_Score == 0))))){ stage.addEventListener(Event.ENTER_FRAME, onEnterFrameHandler); return; }; stage.addEventListener(Event.ENTER_FRAME, onEnterFrameHandler); } private function pause_game_handle(e:MouseEvent):void{ back_mc.visible = true; game_timer.stop(); zhezhao.visible = true; mask_mc.visible = true; } private function onMouseDownHandler(e:MouseEvent):void{ var wid:Number; var hid:Number; if (click){ wid = e.currentTarget.WID; hid = e.currentTarget.HID; if (checkArr.length == 4){ return; }; TileArr[wid][hid].showMc(); checkArr.push(wid, hid); }; } private function DuplicateTile(W:Number, H:Number):void{ var i:*; var j:*; var card_num:*; Score_txt.text = String(UserInfo.User_Score); i = 0; while (i < W) { TileArr[i] = []; j = 0; while (j < H) { Tiles = new MyTile(); TileArr[i][j] = Tiles; TileArr[i][j].x = (((tileW + 2) * i) + tileW); TileArr[i][j].y = (((tileH + 2) * j) + tileH); TileArr[i][j].WID = i; TileArr[i][j].HID = j; TileArr[i][j].gotoAndStop(MapArrs[i][j]); card_num = MapArrs[i][j]; sp.addChild(TileArr[i][j]); TileArr[i][j].addEventListener(MouseEvent.MOUSE_DOWN, onMouseDownHandler); TileArr[i][j].addEventListener(MouseEvent.MOUSE_OVER, onMouseOverHandler); TileArr[i][j].addEventListener(MouseEvent.MOUSE_UP, onMouseUpHandler); j++; }; i++; }; } private function onMapFrame(e:Event):void{ var i:int; var j:int; while (i < totalTileArray.length) { if (TileArr[totalTileArray[i]][totalTileArray[(i + 1)]].setTile().scaleX >= 1){ TileArr[totalTileArray[i]][totalTileArray[(i + 1)]].gotoOverHide(); }; TileArr[totalTileArray[i]][totalTileArray[(i + 1)]].setTile().scaleX = (TileArr[totalTileArray[i]][totalTileArray[(i + 1)]].setTile().scaleX - 0.1); TileArr[totalTileArray[i]][totalTileArray[(i + 1)]].setTile().scaleY = (TileArr[totalTileArray[i]][totalTileArray[(i + 1)]].setTile().scaleY - 0.1); TileArr[totalTileArray[i]][totalTileArray[(i + 1)]].setTile().visible = false; if (TileArr[totalTileArray[i]][totalTileArray[(i + 1)]].setTile().scaleX <= 0){ TileArr[totalTileArray[i]][totalTileArray[(i + 1)]].setTile().visible = true; TileArr[totalTileArray[i]][totalTileArray[(i + 1)]].setTile().scaleX = 0; TileArr[totalTileArray[i]][totalTileArray[(i + 1)]].setTile().scaleY = 0; }; if (TileArr[totalTileArray[(totalTileArray.length - 2)]][totalTileArray[(totalTileArray.length - 1)]].setTile().scaleY <= 0){ stage.removeEventListener(Event.ENTER_FRAME, onMapFrame); countSelUpTile(); j = 0; while (j < totalTileArray.length) { TileArr[totalTileArray[j]][totalTileArray[(j + 1)]].setTile().scaleX = 1; TileArr[totalTileArray[j]][totalTileArray[(j + 1)]].setTile().scaleY = 1; j = (j + 2); }; }; i = (i + 2); }; } private function scal(_totalTileArray:Array):void{ var comb_num:int; var t:int; var i:int; var mao_num:int; var maosound:*; var ji_num:int; var jisound:*; var niu_num:int; var niusound:*; var gou_num:int; var gousound:*; var zhu_num:int; var zhusound:*; var tu_num:int; var tusound:*; var yang_num:int; var yangsound:*; var combSound:*; var zong_num2:*; var j:int; comb_num = 0; totalTileArray = _totalTileArray; stage.addEventListener(Event.ENTER_FRAME, onMapFrame); t = 0; while (t < totalTileArray.length) { if (MapArrs[totalTileArray[t]][totalTileArray[(t + 1)]] == 1){ mao_num = 0; mao_num = (mao_num + 1); if (UserInfo.is_stopSound == false){ maosound = new mao(); maosound.play(); comb_num++; }; }; if (MapArrs[totalTileArray[t]][totalTileArray[(t + 1)]] == 2){ ji_num = 0; ji_num = (ji_num + 1); if (UserInfo.is_stopSound == false){ jisound = new ji(); jisound.play(); comb_num++; }; }; if (MapArrs[totalTileArray[t]][totalTileArray[(t + 1)]] == 3){ niu_num = 0; niu_num = (niu_num + 1); if (UserInfo.is_stopSound == false){ niusound = new niu(); niusound.play(); comb_num++; }; }; if (MapArrs[totalTileArray[t]][totalTileArray[(t + 1)]] == 4){ gou_num = 0; gou_num = (gou_num + 1); if (UserInfo.is_stopSound == false){ gousound = new gou(); gousound.play(); comb_num++; }; }; if (MapArrs[totalTileArray[t]][totalTileArray[(t + 1)]] == 5){ zhu_num = 0; zhu_num = (zhu_num + 1); if (UserInfo.is_stopSound == false){ zhusound = new zhu(); zhusound.play(); comb_num++; }; }; if (MapArrs[totalTileArray[t]][totalTileArray[(t + 1)]] == 6){ tu_num = 0; tu_num = (tu_num + 1); if (UserInfo.is_stopSound == false){ tusound = new tu(); tusound.play(); comb_num++; }; }; if (MapArrs[totalTileArray[t]][totalTileArray[(t + 1)]] == 7){ yang_num = 0; yang_num = (yang_num + 1); if (UserInfo.is_stopSound == false){ yangsound = new yang(); yangsound.play(); comb_num++; }; }; t++; }; if ((((comb_num > 6)) && ((UserInfo.is_stopSound == false)))){ combSound = new combs(); combSound.play(); }; if (comb_record < 2){ zong_num2 = ((((((yang_num + tu_num) + zhu_num) + gou_num) + ji_num) + niu_num) * 5); UserInfo.User_Score = (UserInfo.User_Score + zong_num2); Score_txt.text = String(UserInfo.User_Score); }; mask_mc.visible = false; time_mc.gotoAndStop((time_mc.currentFrame - 1)); i = 0; while (i < MapArrs.length) { j = 0; while (j < MapArrs[i].length) { TileArr[i][j].hideMc(); j++; }; i++; }; } private function countSelUpTile():void{ var i:int; var k:int; var j:int; var l:int; var tempNum:int; cool_down = 0; comb_coolDown.stop(); comb_record++; if (comb_record == 1){ comb_skill++; comb.visible = true; UserInfo.User_Score = (UserInfo.User_Score + (comb_skill * 10)); Score_txt.text = String(UserInfo.User_Score); comb.comb_txt.text = String(comb_skill); comb.combword_txt.text = "Combo"; }; if (comb_record == 2){ comb_skill++; UserInfo.User_Score = (UserInfo.User_Score + (comb_skill * 10)); Score_txt.text = String(UserInfo.User_Score); comb.comb_txt.text = String(comb_skill); comb.combword_txt.text = "Super Combo"; }; if (comb_record == 3){ comb_skill++; UserInfo.User_Score = (UserInfo.User_Score + (comb_skill * 10)); Score_txt.text = String(UserInfo.User_Score); comb.comb_txt.text = String(comb_skill); comb.combword_txt.text = "Mega Combo "; }; if (comb_record == 4){ comb_skill++; UserInfo.User_Score = (UserInfo.User_Score + (comb_skill * 10)); Score_txt.text = String(UserInfo.User_Score); comb.comb_txt.text = String(comb_skill); comb.combword_txt.text = "Ultra Combo "; }; if (comb_record > 4){ comb_skill++; UserInfo.User_Score = (UserInfo.User_Score + (comb_skill * 10)); Score_txt.text = String(UserInfo.User_Score); comb.comb_txt.text = String(comb_skill); comb.combword_txt.text = "ultra combo "; }; orderNum = 0; i = 0; while (i < Map.MapWidth) { k = 0; j = 0; for (;j < Map.MapHeight;j++) { if (TileArr[i][j].setTile().scaleY <= 0){ k++; MapArrs[i][j] = 0; tempNum = (j + 1); if (((!((tempNum == int(undefined)))) && (!((k == 0))))){ moveDownArray(i, tempNum); continue; }; }; }; l = 0; while (l < tempNum) { TileArr[i][l].y = (TileArr[i][l].y - (30 * k)); if (TileArr[i][l].y != (tileH * (l + 1))){ moveDownTile(i, l); }; l++; }; i++; }; } private function onFinishTween():void{ totalTileArray.length = 0; mask_mc.visible = false; allCheck(); if (Map.findRoad()){ trace("有解"); } else { Refurbish(); }; } private function click_next_handle(e:MouseEvent):void{ } private function allVis():void{ if (UserInfo.flood_num == 0){ UserInfo.flood_num = 1; }; if (UserInfo.tool_user1 == false){ tool1.visible = true; } else { tool1.visible = false; }; if (UserInfo.tool_user2 == false){ tool2.visible = true; } else { tool2.visible = false; }; if (UserInfo.tool_user3 == false){ tool3.visible = true; } else { tool3.visible = false; }; if (UserInfo.tool_user4 == false){ tool4.visible = true; } else { tool4.visible = false; }; if (UserInfo.tool_user5 == false){ tool5.visible = true; } else { tool5.visible = false; }; } private function onMouseUpHandler(e:MouseEvent):void{ if (click){ if (checkArr.length == 4){ if ((((checkArr[0] == checkArr[2])) && ((checkArr[1] == checkArr[3])))){ checkArr.splice(2, 2); } else { if (((!((checkArr[0] == checkArr[2]))) && (!((checkArr[1] == checkArr[3]))))){ TileArr[checkArr[0]][checkArr[1]].hideMc(); checkArr.splice(0, 2); } else { StartGame(); trace("交换牌11111111"); }; }; }; }; } private function getScore(_num:int):void{ var num:*; num = _num; UserInfo.User_Score = (UserInfo.User_Score + (10 * (num / 3))); Score_txt.text = String(UserInfo.User_Score); trace(Score_txt.text); } private function game_time_handle(e:TimerEvent):void{ flood_time++; if (flood_time == flood_num){ time_mc.nextFrame(); flood_time = 0; if (time_mc.currentFrame == 15){ zhezhao.visible = true; game_timer.stop(); UserInfo.mission_num = 1; stage.removeEventListener(Event.ENTER_FRAME, onMapFrame); MovieClip(this).dispatchEvent(new Event("game_over")); UserInfo.tool_user1 = false; UserInfo.tool_user2 = false; UserInfo.tool_user3 = false; UserInfo.tool_user4 = false; UserInfo.tool_user5 = false; }; }; } private function hide_back_handle(e:MouseEvent):void{ back_mc.visible = false; game_timer.start(); zhezhao.visible = false; mask_mc.visible = false; } private function init():void{ var i:int; comb.mouseChildren = false; comb.enabled = false; comb.visible = false; bg_sound = new SoundClass(); miss_txt.text = String(UserInfo.jiange); back_mc.visible = false; zhezhao.visible = false; back_mc.back_btn.addEventListener(MouseEvent.CLICK, hide_back_handle); menu_btn.addEventListener(MouseEvent.CLICK, reru_menu_handle); pause_btn.addEventListener(MouseEvent.CLICK, pause_game_handle); Score_txt.text = String(UserInfo.User_Score); allVis(); tongzhong_array = new Array(); miss_mc.gotoAndPlay(2); _user_tool = false; mask_mc.visible = false; text_array = new Array(); time_mc.gotoAndStop(1); game_timer = new Timer(1000); comb_coolDown = new Timer(500); comb_coolDown.addEventListener(TimerEvent.TIMER, comb_cool_down); game_timer.addEventListener(TimerEvent.TIMER, game_time_handle); game_timer.start(); sp = new Sprite(); MapArrs = new Array(); checkArr = new Array(); sp.y = 35; sp.x = 28; addChild(sp); addChild(zhezhao); addChild(back_mc); addChild(comb); TileArr = new Array(); Map = new MyMap(); MapArrs = Map.init(); DuplicateTile(Map.MapWidth, Map.MapHeight); this.addEventListener(Event.ENTER_FRAME, score_enter_frame); delay_timer = new Timer(1000); delay_timer.addEventListener(TimerEvent.TIMER, delay_time_handle); i = 1; while (i < 6) { this[("tool" + i)].addEventListener(MouseEvent.CLICK, use_tool_handle); this[("tool" + i)].buttonMode = true; i++; }; } private function delay_time_handle(e:TimerEvent):void{ delay_num++; if (delay_num == 1){ delay_num = 0; delay_timer.stop(); }; } private function score_enter_frame(e:Event):void{ if (miss_mc.currentFrame > 10){ miss_mc.miss_txt.text = String(UserInfo.mission_num); }; if ((((((UserInfo.User_Score >= UserInfo.jiange)) && (!((UserInfo.User_Score == 0))))) && (!((UserInfo.User_Score == (UserInfo.jiange / 2)))))){ }; } private function Refurbish():void{ var i:int; var j:int; MapArrs = Map.init(); i = 0; while (i < Map.MapWidth) { j = 0; while (j < Map.MapHeight) { sp.removeChild(TileArr[i][j]); TileArr[i][j].removeEventListener(MouseEvent.MOUSE_DOWN, onMouseDownHandler); TileArr[i][j].removeEventListener(MouseEvent.MOUSE_UP, onMouseUpHandler); j++; }; i++; }; TileArr = new Array(); DuplicateTile(Map.MapWidth, Map.MapHeight); } private function changePlace(mc1:MyTile, mc2:MyTile):void{ mc1.x = (mc1.x ^ mc2.x); mc2.x = (mc2.x ^ mc1.x); mc1.x = (mc1.x ^ mc2.x); mc1.y = (mc1.y ^ mc2.y); mc2.y = (mc2.y ^ mc1.y); mc1.y = (mc1.y ^ mc2.y); } private function checkMap(Way:Boolean, startNum:int):Boolean{ var tempClearTileArr:Array; var tempPassSwitch:Number; var runBool:Boolean; var tempA:int; var tempB:int; var tempI:int; var tempNum:Number; var slopOver:Number; var i:int; var j:int; var temp:String; tempClearTileArr = new Array(); tempPassSwitch = 0; runBool = true; tempNum = 0; if (Way != true){ tempA = 0; tempB = 1; } else { tempA = 1; tempB = 0; tempI = startNum; }; i = 0; while (i < (Map.MapWidth - 1)) { if (Way != true){ tempI = i; } else { startNum = i; }; if (Way != true){ slopOver = (tempI + 1); } else { slopOver = (startNum + 1); }; if (MapArrs[startNum][tempI] == MapArrs[(startNum + tempA)][(tempI + tempB)]){ tempClearTileArr.push(startNum, tempI); tempPassSwitch++; if ((((slopOver == (Map.MapWidth - 1))) && ((tempPassSwitch >= 2)))){ tempClearTileArr.push((startNum + tempA), (tempI + tempB)); }; if (tempPassSwitch >= 2){ if (slopOver < (Map.MapWidth - 1)){ tempClearTileArr.push((startNum + tempA), (tempI + tempB)); }; j = 0; while (j < tempClearTileArr.length) { temp = tempClearTileArr[j]; totalClearTileArray.push(temp); j++; }; tempClearTileArr.length = 0; }; } else { tempClearTileArr.length = 0; tempPassSwitch = 0; }; i++; }; if (totalClearTileArray.length != 0){ i = 0; while (i < totalClearTileArray.length) { j = (i + 2); for (;j < totalClearTileArray.length;(j = (j + 2))) { if ((String(totalClearTileArray[i]) + String(totalClearTileArray[(i + 1)])) == (String(totalClearTileArray[j]) + String(totalClearTileArray[(j + 1)]))){ totalClearTileArray.splice(i, 2); continue; }; }; i = (i + 2); }; }; return (((totalClearTileArray.length)!=0) ? true : false); } public function removeFrame():void{ stage.removeEventListener(Event.ENTER_FRAME, onMapFrame); } private function StartGame():void{ tempS = false; if ((((((checkArr[1] == checkArr[3])) && ((checkArr[0] == (checkArr[2] - 1))))) || ((((checkArr[1] == checkArr[3])) && ((checkArr[0] == (checkArr[2] + 1))))))){ changeMap(); checkMap(true, checkArr[1]); checkMap(false, checkArr[0]); checkMap(false, checkArr[2]); if (totalClearTileArray.length != 0){ once = true; } else { once = false; totalClearTileArray.length = 0; changeMap(); }; moveTile(TileArr[checkArr[0]][checkArr[1]], TileArr[checkArr[2]][checkArr[3]]); }; if ((((((checkArr[0] == checkArr[2])) && ((checkArr[1] == (checkArr[3] + 1))))) || ((((checkArr[0] == checkArr[2])) && ((checkArr[1] == (checkArr[3] - 1))))))){ changeMap(); checkMap(false, checkArr[2]); checkMap(true, checkArr[1]); checkMap(true, checkArr[3]); if (totalClearTileArray.length != 0){ once = true; } else { once = false; totalClearTileArray.length = 0; changeMap(); }; moveTile(TileArr[checkArr[0]][checkArr[1]], TileArr[checkArr[2]][checkArr[3]]); }; TileArr[checkArr[0]][checkArr[1]].hideMc(); TileArr[checkArr[2]][checkArr[3]].hideMc(); checkArr.length = 0; } public function moveDownTile(_x:Number, _y:Number):void{ var TileMC:MyTile; var time:Number; var begin:Object; var end:Number; mask_mc.visible = true; TileMC = TileArr[_x][_y]; time = 1; begin = TileMC.y; end = (((tileH + 2) * (_y + 1)) - 4); TweenLite.to(TileMC, time, {y:end, ease:Elastic.easeOut, delay:0}); if (orderNum == 0){ orderNum++; TweenLite.to(TileMC, time, {y:end, ease:Elastic.easeOut, delay:0, onComplete:onFinishTween}); }; } private function changeMap():void{ trace("交换牌222222222"); MapArrs[checkArr[0]][checkArr[1]] = (MapArrs[checkArr[0]][checkArr[1]] ^ MapArrs[checkArr[2]][checkArr[3]]); MapArrs[checkArr[2]][checkArr[3]] = (MapArrs[checkArr[2]][checkArr[3]] ^ MapArrs[checkArr[0]][checkArr[1]]); MapArrs[checkArr[0]][checkArr[1]] = (MapArrs[checkArr[0]][checkArr[1]] ^ MapArrs[checkArr[2]][checkArr[3]]); } private function changeNum(mc1:MyTile, mc2:MyTile):void{ var tempFrame:Number; tempFrame = mc1.currentFrame(); mc1.gotoAndStop(mc2.currentFrame()); mc2.gotoAndStop(tempFrame); } function up_down(x:uint, y:uint){ var a:*; var b:*; var c:*; var d:*; var e:*; var x = x; var y = y; if ((y + 1) < MapArrs[0].length){ b = MapArrs[(x - 2)][y]; //unresolved jump var _slot1 = e; b = -1; c = MapArrs[(x - 1)][y]; //unresolved jump var _slot1 = e; c = -1; a = MapArrs[x][(y + 1)]; //unresolved jump var _slot1 = e; a = -1; d = MapArrs[(x + 1)][(y + 1)]; //unresolved jump var _slot1 = e; d = -1; e = MapArrs[(x + 2)][(y + 2)]; //unresolved jump var _slot1 = e; e = -1; if ((((((((b == c)) && ((c == a)))) || ((((c == a)) && ((a == d)))))) || ((((((a == d)) && ((d == e)))) && (!((a == -1))))))){ return (true); }; b = MapArrs[(x - 2)][(y + 1)]; //unresolved jump var _slot1 = e; b = -1; c = MapArrs[(x - 1)][(y + 1)]; //unresolved jump var _slot1 = e; c = -1; a = MapArrs[x][y]; //unresolved jump var _slot1 = e; a = -1; d = MapArrs[(x + 1)][(y + 1)]; //unresolved jump var _slot1 = e; d = -1; e = MapArrs[(x + 2)][(y + 1)]; //unresolved jump var _slot1 = e; e = -1; if ((((((((b == c)) && ((c == a)))) || ((((c == a)) && ((a == d)))))) || ((((((a == d)) && ((d == e)))) && (!((a == -1))))))){ return (true); }; b = MapArrs[x][(y - 2)]; //unresolved jump var _slot1 = e; b = -1; c = MapArrs[x][(y - 1)]; //unresolved jump var _slot1 = e; c = -1; a = MapArrs[x][(y + 1)]; //unresolved jump var _slot1 = e; a = -1; d = MapArrs[x][y]; //unresolved jump var _slot1 = e; d = -1; e = MapArrs[x][(y + 2)]; //unresolved jump var _slot1 = e; e = -1; if ((((((((b == c)) && ((c == a)))) || ((((c == a)) && ((a == d)))))) || ((((((a == d)) && ((d == e)))) && (!((a == -1))))))){ return (true); }; }; return (false); } function left_right(x:uint, y:uint){ var a:*; var b:*; var c:*; var d:*; var e:*; var x = x; var y = y; if ((x + 1) < MapArrs.length){ b = MapArrs[x][(y - 2)]; //unresolved jump var _slot1 = e; b = -1; c = MapArrs[x][(y - 1)]; //unresolved jump var _slot1 = e; c = -1; a = MapArrs[(x + 1)][y]; //unresolved jump var _slot1 = e; a = -1; d = MapArrs[x][(y + 1)]; //unresolved jump var _slot1 = e; d = -1; e = MapArrs[x][(y + 2)]; //unresolved jump var _slot1 = e; e = -1; if ((((((((b == c)) && ((c == a)))) || ((((c == a)) && ((a == d)))))) || ((((((a == d)) && ((d == e)))) && (!((a == -1))))))){ return (true); }; b = MapArrs[(x + 1)][(y - 2)]; //unresolved jump var _slot1 = e; b = -1; c = MapArrs[(x + 1)][(y - 1)]; //unresolved jump var _slot1 = e; c = -1; a = MapArrs[x][y]; //unresolved jump var _slot1 = e; a = -1; d = MapArrs[(x + 1)][(y + 1)]; //unresolved jump var _slot1 = e; d = -1; e = MapArrs[(x + 1)][(y + 2)]; //unresolved jump var _slot1 = e; e = -1; if ((((((((b == c)) && ((c == a)))) || ((((c == a)) && ((a == d)))))) || ((((((a == d)) && ((d == e)))) && (!((a == -1))))))){ return (true); }; b = MapArrs[(x - 2)][y]; //unresolved jump var _slot1 = e; b = -1; c = MapArrs[(x - 1)][y]; //unresolved jump var _slot1 = e; c = -1; a = MapArrs[(x + 1)][y]; //unresolved jump var _slot1 = e; a = -1; d = MapArrs[x][y]; //unresolved jump var _slot1 = e; d = -1; e = MapArrs[(x + 2)][y]; //unresolved jump var _slot1 = e; e = -1; if ((((((((b == c)) && ((c == a)))) || ((((c == a)) && ((a == d)))))) || ((((((a == d)) && ((d == e)))) && (!((a == -1))))))){ return (true); }; }; return (false); } private function use_tool_handle(e:MouseEvent):void{ switch (e.currentTarget.name){ case "tool1": user_tool1(); UserInfo.tool_user1 = true; break; case "tool2": user_tool2(); tool2.visible = false; UserInfo.tool_user2 = true; break; case "tool3": user_tool3(); break; case "tool4": user_tool4(); UserInfo.tool_user4 = true; tool4.visible = false; break; case "tool5": user_tool5(); tool5.visible = false; UserInfo.tool_user5 = true; break; }; } private function onEnterFrameHandler(e:Event):void{ dx = (tempx2 - Obj1.x); Obj1.x = (Obj1.x + (dx * speed)); dx = (tempx1 - Obj2.x); Obj2.x = (Obj2.x + (dx * speed)); dy = (tempy2 - Obj1.y); Obj1.y = (Obj1.y + (dy * speed)); dy = (tempy1 - Obj2.y); Obj2.y = (Obj2.y + (dy * speed)); if ((((((Math.abs(dy) == 0)) && ((Math.abs(dx) < 0.5)))) || ((((Math.abs(dy) < 0.5)) && ((Math.abs(dx) == 0)))))){ click = ((tempS == true)) ? true : false; dy = 0; dx = 0; Obj1.x = tempx2; Obj1.y = tempy2; Obj2.x = tempx1; Obj2.y = tempy1; if ((((once == true)) && ((tempS == false)))){ changeNum(Obj1, Obj2); changePlace(Obj1, Obj2); if (totalClearTileArray.length != 0){ click = false; scal(totalClearTileArray); //unresolved jump }; }; stage.removeEventListener(Event.ENTER_FRAME, onEnterFrameHandler); if ((((once == false)) && ((tempS == false)))){ once = true; tempS = true; moveTile(Obj1, Obj2); }; }; } private function reru_menu_handle(e:MouseEvent):void{ UserInfo.tool_user1 = false; UserInfo.tool_user2 = false; UserInfo.tool_user3 = false; UserInfo.tool_user4 = false; UserInfo.tool_user5 = false; game_timer.stop(); UserInfo.User_Score = 0; UserInfo.mission_num = 1; stage.removeEventListener(Event.ENTER_FRAME, onMapFrame); this.removeEventListener(Event.ENTER_FRAME, score_enter_frame); MovieClip(this).dispatchEvent(new Event("menu")); stage.removeEventListener(Event.ENTER_FRAME, onEnterFrameHandler); } } }//package GameSceneView
Section 7
//NextClass (GameSceneView.NextClass) package GameSceneView { import until.*; import flash.events.*; import flash.display.*; public class NextClass extends NextMc { private var Sound_MC:SoundClass; public function NextClass(){ var shengjiSound:*; super(); Sound_MC = new SoundClass(); Sound_MC.gotoAndStop(5); shengjiSound = new shengji(); shengjiSound.play(); shijian_txt.text = String(((15 - UserInfo.shijian) * 10)); UserInfo.User_Score = (UserInfo.User_Score + ((15 - UserInfo.shijian) * 10)); next_btn.addEventListener(MouseEvent.CLICK, next_level_handle); } private function next_level_handle(e:MouseEvent):void{ MovieClip(this).dispatchEvent(new Event("next_level")); } } }//package GameSceneView
Section 8
//SoundClass (GameSceneView.SoundClass) package GameSceneView { public class SoundClass extends SoundMC { public function SoundClass(){ super(); } } }//package GameSceneView
Section 9
//Elastic (gs.easing.Elastic) package gs.easing { public class Elastic { private static const _2PI:Number = 6.28318530717959; public function Elastic(){ super(); } public static function easeIn(t:Number, b:Number, c:Number, d:Number, a:Number=0, p:Number=0):Number{ var s:Number; if (t == 0){ return (b); }; t = (t / d); if (t == 1){ return ((b + c)); }; if (!p){ p = (d * 0.3); }; if (((!(a)) || ((a < Math.abs(c))))){ a = c; s = (p / 4); } else { s = ((p / _2PI) * Math.asin((c / a))); }; --t; return ((-(((a * Math.pow(2, (10 * t))) * Math.sin(((((t * d) - s) * _2PI) / p)))) + b)); } public static function easeInOut(t:Number, b:Number, c:Number, d:Number, a:Number=0, p:Number=0):Number{ var s:Number; if (t == 0){ return (b); }; t = (t / (d / 2)); if (t == 2){ return ((b + c)); }; if (!p){ p = (d * (0.3 * 1.5)); }; if (((!(a)) || ((a < Math.abs(c))))){ a = c; s = (p / 4); } else { s = ((p / _2PI) * Math.asin((c / a))); }; if (t < 1){ --t; return (((-0.5 * ((a * Math.pow(2, (10 * t))) * Math.sin(((((t * d) - s) * _2PI) / p)))) + b)); }; --t; return ((((((a * Math.pow(2, (-10 * t))) * Math.sin(((((t * d) - s) * _2PI) / p))) * 0.5) + c) + b)); } public static function easeOut(t:Number, b:Number, c:Number, d:Number, a:Number=0, p:Number=0):Number{ var s:Number; if (t == 0){ return (b); }; t = (t / d); if (t == 1){ return ((b + c)); }; if (!p){ p = (d * 0.3); }; if (((!(a)) || ((a < Math.abs(c))))){ a = c; s = (p / 4); } else { s = ((p / _2PI) * Math.asin((c / a))); }; return (((((a * Math.pow(2, (-10 * t))) * Math.sin(((((t * d) - s) * _2PI) / p))) + c) + b)); } } }//package gs.easing
Section 10
//AutoAlphaPlugin (gs.plugins.AutoAlphaPlugin) package gs.plugins { import gs.*; import flash.display.*; public class AutoAlphaPlugin extends TweenPlugin { protected var _tweenVisible:Boolean; protected var _tween:TweenLite; protected var _visible:Boolean; protected var _target:Object; public static const VERSION:Number = 1; public static const API:Number = 1; public function AutoAlphaPlugin(){ super(); this.propName = "autoAlpha"; this.overwriteProps = ["alpha", "visible"]; this.onComplete = onCompleteTween; } override public function set changeFactor($n:Number):void{ updateTweens($n); if (((!((_target.visible == true))) && (_tweenVisible))){ _target.visible = true; }; } public function onCompleteTween():void{ if (((((_tweenVisible) && (!((_tween.vars.runBackwards == true))))) && ((_tween.ease == _tween.vars.ease)))){ _target.visible = _visible; }; } override public function onInitTween($target:Object, $value, $tween:TweenLite):Boolean{ _target = $target; _tween = $tween; _visible = Boolean(!(($value == 0))); _tweenVisible = true; addTween($target, "alpha", $target.alpha, $value, "alpha"); return (true); } override public function killProps($lookup:Object):void{ super.killProps($lookup); _tweenVisible = !(Boolean(("visible" in $lookup))); } } }//package gs.plugins
Section 11
//EndArrayPlugin (gs.plugins.EndArrayPlugin) package gs.plugins { import gs.*; import gs.utils.tween.*; public class EndArrayPlugin extends TweenPlugin { protected var _info:Array; protected var _a:Array; public static const VERSION:Number = 1.01; public static const API:Number = 1; public function EndArrayPlugin(){ _info = []; super(); this.propName = "endArray"; this.overwriteProps = ["endArray"]; } override public function set changeFactor($n:Number):void{ var i:int; var ti:ArrayTweenInfo; var val:Number; var neg:int; if (this.round){ i = (_info.length - 1); while (i > -1) { ti = _info[i]; val = (ti.start + (ti.change * $n)); neg = ((val)<0) ? -1 : 1; _a[ti.index] = ((((val % 1) * neg))>0.5) ? (int(val) + neg) : int(val); i--; }; } else { i = (_info.length - 1); while (i > -1) { ti = _info[i]; _a[ti.index] = (ti.start + (ti.change * $n)); i--; }; }; } public function init($start:Array, $end:Array):void{ var i:int; _a = $start; i = ($end.length - 1); while (i > -1) { if (((!(($start[i] == $end[i]))) && (!(($start[i] == null))))){ _info[_info.length] = new ArrayTweenInfo(i, _a[i], ($end[i] - _a[i])); }; i--; }; } override public function onInitTween($target:Object, $value, $tween:TweenLite):Boolean{ if (((!(($target is Array))) || (!(($value is Array))))){ return (false); }; init(($target as Array), $value); return (true); } } }//package gs.plugins
Section 12
//FramePlugin (gs.plugins.FramePlugin) package gs.plugins { import gs.*; import flash.display.*; public class FramePlugin extends TweenPlugin { public var frame:int; protected var _target:MovieClip; public static const VERSION:Number = 1.01; public static const API:Number = 1; public function FramePlugin(){ super(); this.propName = "frame"; this.overwriteProps = ["frame"]; this.round = true; } override public function set changeFactor($n:Number):void{ updateTweens($n); _target.gotoAndStop(this.frame); } override public function onInitTween($target:Object, $value, $tween:TweenLite):Boolean{ if (((!(($target is MovieClip))) || (isNaN($value)))){ return (false); }; _target = ($target as MovieClip); this.frame = _target.currentFrame; addTween(this, "frame", this.frame, $value, "frame"); return (true); } } }//package gs.plugins
Section 13
//RemoveTintPlugin (gs.plugins.RemoveTintPlugin) package gs.plugins { public class RemoveTintPlugin extends TintPlugin { public static const VERSION:Number = 1.01; public static const API:Number = 1; public function RemoveTintPlugin(){ super(); this.propName = "removeTint"; } } }//package gs.plugins
Section 14
//TintPlugin (gs.plugins.TintPlugin) package gs.plugins { import gs.*; import flash.display.*; import flash.geom.*; import gs.utils.tween.*; public class TintPlugin extends TweenPlugin { protected var _ct:ColorTransform; protected var _target:DisplayObject; public static const VERSION:Number = 1.01; public static const API:Number = 1; protected static var _props:Array = ["redMultiplier", "greenMultiplier", "blueMultiplier", "alphaMultiplier", "redOffset", "greenOffset", "blueOffset", "alphaOffset"]; public function TintPlugin(){ super(); this.propName = "tint"; this.overwriteProps = ["tint"]; } override public function set changeFactor($n:Number):void{ updateTweens($n); _target.transform.colorTransform = _ct; } public function init($target:DisplayObject, $end:ColorTransform):void{ var i:int; var p:String; _target = $target; _ct = _target.transform.colorTransform; i = (_props.length - 1); while (i > -1) { p = _props[i]; if (_ct[p] != $end[p]){ _tweens[_tweens.length] = new TweenInfo(_ct, p, _ct[p], ($end[p] - _ct[p]), "tint", false); }; i--; }; } override public function onInitTween($target:Object, $value, $tween:TweenLite):Boolean{ var end:ColorTransform; if (!($target is DisplayObject)){ return (false); }; end = new ColorTransform(); if (((!(($value == null))) && (!(($tween.exposedVars.removeTint == true))))){ end.color = uint($value); }; if (((!(($tween.exposedVars.alpha == undefined))) || (!(($tween.exposedVars.autoAlpha == undefined))))){ end.alphaMultiplier = (($tween.exposedVars.alpha)!=undefined) ? $tween.exposedVars.alpha : $tween.exposedVars.autoAlpha; $tween.killVars({alpha:1, autoAlpha:1}); } else { end.alphaMultiplier = $target.alpha; }; init(($target as DisplayObject), end); return (true); } } }//package gs.plugins
Section 15
//TweenPlugin (gs.plugins.TweenPlugin) package gs.plugins { import gs.*; import gs.utils.tween.*; public class TweenPlugin { public var overwriteProps:Array; protected var _tweens:Array; public var round:Boolean; public var onComplete:Function; public var propName:String; protected var _changeFactor:Number;// = 0 public static const VERSION:Number = 1.03; public static const API:Number = 1; public function TweenPlugin(){ _tweens = []; _changeFactor = 0; super(); } protected function updateTweens($changeFactor:Number):void{ var i:int; var ti:TweenInfo; var val:Number; var neg:int; if (this.round){ i = (_tweens.length - 1); while (i > -1) { ti = _tweens[i]; val = (ti.start + (ti.change * $changeFactor)); neg = ((val)<0) ? -1 : 1; ti.target[ti.property] = ((((val % 1) * neg))>0.5) ? (int(val) + neg) : int(val); i--; }; } else { i = (_tweens.length - 1); while (i > -1) { ti = _tweens[i]; ti.target[ti.property] = (ti.start + (ti.change * $changeFactor)); i--; }; }; } public function set changeFactor($n:Number):void{ updateTweens($n); _changeFactor = $n; } protected function addTween($object:Object, $propName:String, $start:Number, $end, $overwriteProp:String=null):void{ var change:Number; if ($end != null){ change = ((typeof($end))=="number") ? ($end - $start) : Number($end); if (change != 0){ _tweens[_tweens.length] = new TweenInfo($object, $propName, $start, change, (($overwriteProp) || ($propName)), false); }; }; } public function killProps($lookup:Object):void{ var i:int; i = (this.overwriteProps.length - 1); while (i > -1) { if ((this.overwriteProps[i] in $lookup)){ this.overwriteProps.splice(i, 1); }; i--; }; i = (_tweens.length - 1); while (i > -1) { if ((_tweens[i].name in $lookup)){ _tweens.splice(i, 1); }; i--; }; } public function onInitTween($target:Object, $value, $tween:TweenLite):Boolean{ addTween($target, this.propName, $target[this.propName], $value, this.propName); return (true); } public function get changeFactor():Number{ return (_changeFactor); } public static function activate($plugins:Array):Boolean{ var i:int; var instance:Object; i = ($plugins.length - 1); while (i > -1) { instance = new ($plugins[i]); TweenLite.plugins[instance.propName] = $plugins[i]; i--; }; return (true); } } }//package gs.plugins
Section 16
//VisiblePlugin (gs.plugins.VisiblePlugin) package gs.plugins { import gs.*; import flash.display.*; public class VisiblePlugin extends TweenPlugin { protected var _tween:TweenLite; protected var _visible:Boolean; protected var _target:Object; public static const VERSION:Number = 1; public static const API:Number = 1; public function VisiblePlugin(){ super(); this.propName = "visible"; this.overwriteProps = ["visible"]; this.onComplete = onCompleteTween; } override public function set changeFactor($n:Number):void{ if (_target.visible != true){ _target.visible = true; }; } public function onCompleteTween():void{ if (((!((_tween.vars.runBackwards == true))) && ((_tween.ease == _tween.vars.ease)))){ _target.visible = _visible; }; } override public function onInitTween($target:Object, $value, $tween:TweenLite):Boolean{ _target = $target; _tween = $tween; _visible = Boolean($value); return (true); } } }//package gs.plugins
Section 17
//VolumePlugin (gs.plugins.VolumePlugin) package gs.plugins { import gs.*; import flash.display.*; import flash.media.*; public class VolumePlugin extends TweenPlugin { protected var _st:SoundTransform; protected var _target:Object; public static const VERSION:Number = 1.01; public static const API:Number = 1; public function VolumePlugin(){ super(); this.propName = "volume"; this.overwriteProps = ["volume"]; } override public function set changeFactor($n:Number):void{ updateTweens($n); _target.soundTransform = _st; } override public function onInitTween($target:Object, $value, $tween:TweenLite):Boolean{ if (((isNaN($value)) || (!($target.hasOwnProperty("soundTransform"))))){ return (false); }; _target = $target; _st = _target.soundTransform; addTween(_st, "volume", _st.volume, $value, "volume"); return (true); } } }//package gs.plugins
Section 18
//ArrayTweenInfo (gs.utils.tween.ArrayTweenInfo) package gs.utils.tween { public class ArrayTweenInfo { public var change:Number; public var index:uint; public var start:Number; public function ArrayTweenInfo($index:uint, $start:Number, $change:Number){ super(); this.index = $index; this.start = $start; this.change = $change; } } }//package gs.utils.tween
Section 19
//TweenInfo (gs.utils.tween.TweenInfo) package gs.utils.tween { public class TweenInfo { public var start:Number; public var name:String; public var change:Number; public var target:Object; public var property:String; public var isPlugin:Boolean; public function TweenInfo($target:Object, $property:String, $start:Number, $change:Number, $name:String, $isPlugin:Boolean){ super(); this.target = $target; this.property = $property; this.start = $start; this.change = $change; this.name = $name; this.isPlugin = $isPlugin; } } }//package gs.utils.tween
Section 20
//TweenLite (gs.TweenLite) package gs { import flash.events.*; import flash.display.*; import gs.utils.tween.*; import gs.plugins.*; import flash.utils.*; public class TweenLite { public var delay:Number; protected var _hasUpdate:Boolean; protected var _hasPlugins:Boolean; public var started:Boolean; public var initted:Boolean; public var active:Boolean; public var startTime:Number; public var target:Object; public var duration:Number; public var gc:Boolean; public var vars:Object; public var ease:Function; public var tweens:Array; public var exposedVars:Object; public var combinedTimeScale:Number; public var initTime:Number; public static const version:Number = 10.09; private static var _timer:Timer = new Timer(2000); public static var defaultEase:Function = TweenLite.easeOut; public static var plugins:Object = {}; public static var currentTime:uint; public static var masterList:Dictionary = new Dictionary(false); protected static var _reservedProps:Object = {ease:1, delay:1, overwrite:1, onComplete:1, onCompleteParams:1, runBackwards:1, startAt:1, onUpdate:1, onUpdateParams:1, roundProps:1, onStart:1, onStartParams:1, persist:1, renderOnStart:1, proxiedEase:1, easeParams:1, yoyo:1, loop:1, onCompleteListener:1, onUpdateListener:1, onStartListener:1, orientToBezier:1, timeScale:1}; public static var killDelayedCallsTo:Function = TweenLite.killTweensOf; public static var timingSprite:Sprite = new Sprite(); public static var overwriteManager:Object; private static var _tlInitted:Boolean; public function TweenLite($target:Object, $duration:Number, $vars:Object){ var mode:int; super(); if ($target == null){ return; }; if (!_tlInitted){ TweenPlugin.activate([TintPlugin, RemoveTintPlugin, FramePlugin, AutoAlphaPlugin, VisiblePlugin, VolumePlugin, EndArrayPlugin]); currentTime = getTimer(); timingSprite.addEventListener(Event.ENTER_FRAME, updateAll, false, 0, true); if (overwriteManager == null){ overwriteManager = {mode:1, enabled:false}; }; _timer.addEventListener("timer", killGarbage, false, 0, true); _timer.start(); _tlInitted = true; }; this.vars = $vars; this.duration = (($duration) || (0.001)); this.delay = (($vars.delay) || (0)); this.combinedTimeScale = (($vars.timeScale) || (1)); this.active = Boolean(((($duration == 0)) && ((this.delay == 0)))); this.target = $target; if (typeof(this.vars.ease) != "function"){ this.vars.ease = defaultEase; }; if (this.vars.easeParams != null){ this.vars.proxiedEase = this.vars.ease; this.vars.ease = easeProxy; }; this.ease = this.vars.ease; this.exposedVars = ((this.vars.isTV)==true) ? this.vars.exposedVars : this.vars; this.tweens = []; this.initTime = currentTime; this.startTime = (this.initTime + (this.delay * 1000)); mode = (((($vars.overwrite == undefined)) || (((!(overwriteManager.enabled)) && (($vars.overwrite > 1)))))) ? overwriteManager.mode : int($vars.overwrite); if (((!(($target in masterList))) || ((mode == 1)))){ masterList[$target] = [this]; } else { masterList[$target].push(this); }; if ((((((this.vars.runBackwards == true)) && (!((this.vars.renderOnStart == true))))) || (this.active))){ initTweenVals(); if (this.active){ render((this.startTime + 1)); } else { render(this.startTime); }; if (((((!((this.exposedVars.visible == null))) && ((this.vars.runBackwards == true)))) && ((this.target is DisplayObject)))){ this.target.visible = this.exposedVars.visible; }; }; } public function set enabled($b:Boolean):void{ var a:Array; var found:Boolean; var i:int; if ($b){ if (!(this.target in masterList)){ masterList[this.target] = [this]; } else { a = masterList[this.target]; i = (a.length - 1); while (i > -1) { if (a[i] == this){ found = true; break; }; i--; }; if (!found){ a[a.length] = this; }; }; }; this.gc = ($b) ? false : true; if (this.gc){ this.active = false; } else { this.active = this.started; }; } public function clear():void{ this.tweens = []; this.vars = (this.exposedVars = {ease:this.vars.ease}); _hasUpdate = false; } public function render($t:uint):void{ var time:Number; var factor:Number; var ti:TweenInfo; var i:int; time = (($t - this.startTime) * 0.001); if (time >= this.duration){ time = this.duration; factor = ((((this.ease == this.vars.ease)) || ((this.duration == 0.001)))) ? 1 : 0; } else { factor = this.ease(time, 0, 1, this.duration); }; i = (this.tweens.length - 1); while (i > -1) { ti = this.tweens[i]; ti.target[ti.property] = (ti.start + (factor * ti.change)); i--; }; if (_hasUpdate){ this.vars.onUpdate.apply(null, this.vars.onUpdateParams); }; if (time == this.duration){ complete(true); }; } public function activate():void{ this.started = (this.active = true); if (!this.initted){ initTweenVals(); }; if (this.vars.onStart != null){ this.vars.onStart.apply(null, this.vars.onStartParams); }; if (this.duration == 0.001){ this.startTime = (this.startTime - 1); }; } public function get enabled():Boolean{ return ((this.gc) ? false : true); } public function initTweenVals():void{ var p:String; var i:int; var plugin:*; var ti:TweenInfo; if (((!((this.exposedVars.timeScale == undefined))) && ((this.target is TweenLite)))){ this.tweens[this.tweens.length] = new TweenInfo(this.target, "timeScale", this.target.timeScale, (this.exposedVars.timeScale - this.target.timeScale), "timeScale", false); }; for (p in this.exposedVars) { if ((p in _reservedProps)){ } else { if ((p in plugins)){ plugin = new (plugins[p]); if (plugin.onInitTween(this.target, this.exposedVars[p], this) == false){ this.tweens[this.tweens.length] = new TweenInfo(this.target, p, this.target[p], ((typeof(this.exposedVars[p]))=="number") ? (this.exposedVars[p] - this.target[p]) : Number(this.exposedVars[p]), p, false); } else { this.tweens[this.tweens.length] = new TweenInfo(plugin, "changeFactor", 0, 1, ((plugin.overwriteProps.length)==1) ? plugin.overwriteProps[0] : "_MULTIPLE_", true); _hasPlugins = true; }; } else { this.tweens[this.tweens.length] = new TweenInfo(this.target, p, this.target[p], ((typeof(this.exposedVars[p]))=="number") ? (this.exposedVars[p] - this.target[p]) : Number(this.exposedVars[p]), p, false); }; }; }; if (this.vars.runBackwards == true){ i = (this.tweens.length - 1); while (i > -1) { ti = this.tweens[i]; ti.start = (ti.start + ti.change); ti.change = -(ti.change); i--; }; }; if (this.vars.onUpdate != null){ _hasUpdate = true; }; if (((TweenLite.overwriteManager.enabled) && ((this.target in masterList)))){ overwriteManager.manageOverwrites(this, masterList[this.target]); }; this.initted = true; } protected function easeProxy($t:Number, $b:Number, $c:Number, $d:Number):Number{ return (this.vars.proxiedEase.apply(null, arguments.concat(this.vars.easeParams))); } public function killVars($vars:Object):void{ if (overwriteManager.enabled){ overwriteManager.killVars($vars, this.exposedVars, this.tweens); }; } public function complete($skipRender:Boolean=false):void{ var i:int; if (!$skipRender){ if (!this.initted){ initTweenVals(); }; this.startTime = (currentTime - ((this.duration * 1000) / this.combinedTimeScale)); render(currentTime); return; }; if (_hasPlugins){ i = (this.tweens.length - 1); while (i > -1) { if (((this.tweens[i].isPlugin) && (!((this.tweens[i].target.onComplete == null))))){ this.tweens[i].target.onComplete(); }; i--; }; }; if (this.vars.persist != true){ this.enabled = false; }; if (this.vars.onComplete != null){ this.vars.onComplete.apply(null, this.vars.onCompleteParams); }; } public static function updateAll($e:Event=null):void{ var time:uint; var ml:Dictionary; var a:Array; var i:int; var tween:TweenLite; time = (currentTime = getTimer()); ml = masterList; for each (a in ml) { i = (a.length - 1); while (i > -1) { tween = a[i]; if (tween.active){ tween.render(time); } else { if (tween.gc){ a.splice(i, 1); } else { if (time >= tween.startTime){ tween.activate(); tween.render(time); }; }; }; i--; }; }; } public static function removeTween($tween:TweenLite, $clear:Boolean=true):void{ if ($tween != null){ if ($clear){ $tween.clear(); }; $tween.enabled = false; }; } public static function killTweensOf($target:Object=null, $complete:Boolean=false):void{ var a:Array; var i:int; var tween:TweenLite; if (((!(($target == null))) && (($target in masterList)))){ a = masterList[$target]; i = (a.length - 1); while (i > -1) { tween = a[i]; if ((($complete) && (!(tween.gc)))){ tween.complete(false); }; tween.clear(); i--; }; delete masterList[$target]; }; } public static function from($target:Object, $duration:Number, $vars:Object):TweenLite{ $vars.runBackwards = true; return (new TweenLite($target, $duration, $vars)); } public static function easeOut($t:Number, $b:Number, $c:Number, $d:Number):Number{ $t = ($t / $d); return ((((-($c) * $t) * ($t - 2)) + $b)); } protected static function killGarbage($e:TimerEvent):void{ var ml:Dictionary; var tgt:Object; ml = masterList; for (tgt in ml) { if (ml[tgt].length == 0){ delete ml[tgt]; }; }; } public static function delayedCall($delay:Number, $onComplete:Function, $onCompleteParams:Array=null):TweenLite{ return (new TweenLite($onComplete, 0, {delay:$delay, onComplete:$onComplete, onCompleteParams:$onCompleteParams, overwrite:0})); } public static function to($target:Object, $duration:Number, $vars:Object):TweenLite{ return (new TweenLite($target, $duration, $vars)); } } }//package gs
Section 21
//cat_75 (OldMacdonaldHadAFarm_gamesonly_fla.cat_75) package OldMacdonaldHadAFarm_gamesonly_fla { import flash.display.*; public dynamic class cat_75 extends MovieClip { public function cat_75(){ super(); addFrameScript(0, frame1, 11, frame12); } function frame12(){ gotoAndStop(1); } function frame1(){ stop(); } } }//package OldMacdonaldHadAFarm_gamesonly_fla
Section 22
//chicken_76 (OldMacdonaldHadAFarm_gamesonly_fla.chicken_76) package OldMacdonaldHadAFarm_gamesonly_fla { import flash.display.*; public dynamic class chicken_76 extends MovieClip { public function chicken_76(){ super(); addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package OldMacdonaldHadAFarm_gamesonly_fla
Section 23
//cow_77 (OldMacdonaldHadAFarm_gamesonly_fla.cow_77) package OldMacdonaldHadAFarm_gamesonly_fla { import flash.display.*; public dynamic class cow_77 extends MovieClip { public function cow_77(){ super(); addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package OldMacdonaldHadAFarm_gamesonly_fla
Section 24
//dog_78 (OldMacdonaldHadAFarm_gamesonly_fla.dog_78) package OldMacdonaldHadAFarm_gamesonly_fla { import flash.display.*; public dynamic class dog_78 extends MovieClip { public function dog_78(){ super(); addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package OldMacdonaldHadAFarm_gamesonly_fla
Section 25
//help_45 (OldMacdonaldHadAFarm_gamesonly_fla.help_45) package OldMacdonaldHadAFarm_gamesonly_fla { import flash.display.*; public dynamic class help_45 extends MovieClip { public var anim:MovieClip; public function help_45(){ super(); } } }//package OldMacdonaldHadAFarm_gamesonly_fla
Section 26
//levelnum1_64 (OldMacdonaldHadAFarm_gamesonly_fla.levelnum1_64) package OldMacdonaldHadAFarm_gamesonly_fla { import flash.events.*; import flash.display.*; import flash.text.*; public dynamic class levelnum1_64 extends MovieClip { public var miss_txt:TextField; public function levelnum1_64(){ super(); addFrameScript(12, frame13); } function frame13(){ MovieClip(this.parent).dispatchEvent(new Event("anim_comp")); stop(); } } }//package OldMacdonaldHadAFarm_gamesonly_fla
Section 27
//music_28 (OldMacdonaldHadAFarm_gamesonly_fla.music_28) package OldMacdonaldHadAFarm_gamesonly_fla { import flash.display.*; public dynamic class music_28 extends MovieClip { public function music_28(){ super(); addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package OldMacdonaldHadAFarm_gamesonly_fla
Section 28
//pause_70 (OldMacdonaldHadAFarm_gamesonly_fla.pause_70) package OldMacdonaldHadAFarm_gamesonly_fla { import flash.display.*; public dynamic class pause_70 extends MovieClip { public var back_btn:SimpleButton; public function pause_70(){ super(); } } }//package OldMacdonaldHadAFarm_gamesonly_fla
Section 29
//pig_48 (OldMacdonaldHadAFarm_gamesonly_fla.pig_48) package OldMacdonaldHadAFarm_gamesonly_fla { import flash.display.*; public dynamic class pig_48 extends MovieClip { public function pig_48(){ super(); addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package OldMacdonaldHadAFarm_gamesonly_fla
Section 30
//rabbit_79 (OldMacdonaldHadAFarm_gamesonly_fla.rabbit_79) package OldMacdonaldHadAFarm_gamesonly_fla { import flash.display.*; public dynamic class rabbit_79 extends MovieClip { public function rabbit_79(){ super(); addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package OldMacdonaldHadAFarm_gamesonly_fla
Section 31
//sheep_46 (OldMacdonaldHadAFarm_gamesonly_fla.sheep_46) package OldMacdonaldHadAFarm_gamesonly_fla { import flash.display.*; public dynamic class sheep_46 extends MovieClip { public function sheep_46(){ super(); addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package OldMacdonaldHadAFarm_gamesonly_fla
Section 32
//sound_29 (OldMacdonaldHadAFarm_gamesonly_fla.sound_29) package OldMacdonaldHadAFarm_gamesonly_fla { import flash.display.*; public dynamic class sound_29 extends MovieClip { public function sound_29(){ super(); addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package OldMacdonaldHadAFarm_gamesonly_fla
Section 33
//Timeline_1 (OldMacdonaldHadAFarm_gamesonly_fla.Timeline_1) package OldMacdonaldHadAFarm_gamesonly_fla { import flash.events.*; import flash.display.*; import flash.geom.*; import flash.media.*; import flash.text.*; import flash.utils.*; import flash.external.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.filters.*; import flash.net.*; import flash.printing.*; import flash.ui.*; import flash.xml.*; public dynamic class Timeline_1 extends MovieClip { public var d_Load:TextField; public var skip_btn:SimpleButton; public var mc_9_loading:MovieClip; public function Timeline_1(){ super(); addFrameScript(1, frame2, 150, frame151, 151, frame152); } function frame151(){ stop(); if (this.root.loaderInfo.bytesLoaded == this.root.loaderInfo.bytesTotal){ gotoAndStop(152); }; } function frame152(){ stop(); SoundMixer.stopAll(); MovieClip(this.parent).gotoAndStop("start"); } public function onProgress(e){ var bli:*; trace("加载进行着"); bli = Math.floor(((e.bytesLoaded / e.bytesTotal) * 100)); d_Load.text = (("Loading....." + bli) + "%"); } public function skipEvent(e:MouseEvent){ this.gotoAndStop(152); } function frame2(){ skip_btn.visible = false; skip_btn.addEventListener(MouseEvent.CLICK, skipEvent); this.root.loaderInfo.addEventListener(ProgressEvent.PROGRESS, onProgress); this.root.loaderInfo.addEventListener(Event.COMPLETE, onInit); trace(this.root.loaderInfo.bytesLoaded); trace(this.root.loaderInfo.bytesTotal); if (this.root.loaderInfo.bytesLoaded == this.root.loaderInfo.bytesTotal){ onInit(null); }; } public function onInit(e){ trace("加载结束"); skip_btn.visible = true; d_Load.visible = false; if (this.currentFrame == 151){ gotoAndStop(152); }; } } }//package OldMacdonaldHadAFarm_gamesonly_fla
Section 34
//Timeline_49 (OldMacdonaldHadAFarm_gamesonly_fla.Timeline_49) package OldMacdonaldHadAFarm_gamesonly_fla { import flash.display.*; public dynamic class Timeline_49 extends MovieClip { public function Timeline_49(){ super(); addFrameScript(14, frame15); } function frame15(){ stop(); } } }//package OldMacdonaldHadAFarm_gamesonly_fla
Section 35
//Timeline_5 (OldMacdonaldHadAFarm_gamesonly_fla.Timeline_5) package OldMacdonaldHadAFarm_gamesonly_fla { import flash.display.*; public dynamic class Timeline_5 extends MovieClip { public function Timeline_5(){ super(); addFrameScript(79, frame80); } function frame80(){ stop(); } } }//package OldMacdonaldHadAFarm_gamesonly_fla
Section 36
//Timeline_63 (OldMacdonaldHadAFarm_gamesonly_fla.Timeline_63) package OldMacdonaldHadAFarm_gamesonly_fla { import flash.display.*; public dynamic class Timeline_63 extends MovieClip { public function Timeline_63(){ super(); addFrameScript(0, frame1, 14, frame15); } function frame15(){ stop(); } function frame1(){ stop(); } } }//package OldMacdonaldHadAFarm_gamesonly_fla
Section 37
//Timeline_7 (OldMacdonaldHadAFarm_gamesonly_fla.Timeline_7) package OldMacdonaldHadAFarm_gamesonly_fla { import flash.display.*; public dynamic class Timeline_7 extends MovieClip { public function Timeline_7(){ super(); addFrameScript(106, frame107); } function frame107(){ stop(); } } }//package OldMacdonaldHadAFarm_gamesonly_fla
Section 38
//Timeline_72 (OldMacdonaldHadAFarm_gamesonly_fla.Timeline_72) package OldMacdonaldHadAFarm_gamesonly_fla { import flash.display.*; import flash.text.*; public dynamic class Timeline_72 extends MovieClip { public var comb_txt:TextField; public var combword_txt:TextField; public function Timeline_72(){ super(); } } }//package OldMacdonaldHadAFarm_gamesonly_fla
Section 39
//title_84 (OldMacdonaldHadAFarm_gamesonly_fla.title_84) package OldMacdonaldHadAFarm_gamesonly_fla { import flash.events.*; import flash.display.*; public dynamic class title_84 extends MovieClip { public var score_btn:SimpleButton; public var helpBtn:SimpleButton; public var more_btn:SimpleButton; public var start_btn:SimpleButton; public function title_84(){ super(); addFrameScript(43, frame44); } function frame44(){ MovieClip(this).dispatchEvent(new Event("start_game")); stop(); } } }//package OldMacdonaldHadAFarm_gamesonly_fla
Section 40
//EmbedObject (until.EmbedObject) package until { import flash.external.*; import flash.system.*; public class EmbedObject { private var attemptedPropsRetrieval:Boolean;// = false private var embedObjectProps:Object; private static var _singleton:EmbedObject; private static var SET_CALLBACK_NAME:String = "asorg_setEmbedObjectProps"; public function EmbedObject(){ attemptedPropsRetrieval = false; super(); initialize(); } public function external_SetEmbedObjectProps(props:Object){ this.embedObjectProps = props; } private function initialize(){ ExternalInterface.addCallback(SET_CALLBACK_NAME, external_SetEmbedObjectProps); } public function _getEmbedObjectProps():Object{ if (!attemptedPropsRetrieval){ retrieveEmbedObjectProps(); attemptedPropsRetrieval = true; }; return (embedObjectProps); } public function retrieveEmbedObjectProps(){ retrieveEmbedObjectPropsForTagname("embed"); if (!embedObjectProps){ retrieveEmbedObjectPropsForTagname("object"); }; } public function executeJS(js:String):Object{ return (ExternalInterface.call((("function() {" + js) + "}"))); } public function retrieveEmbedObjectPropsForTagname(tagName:String){ var js:String; if ((((Capabilities.playerType == "PlugIn")) || ((Capabilities.playerType == "ActiveX")))){ js = (((((("var elts = document.getElementsByTagName('" + tagName) + "'); for (var i=0;i<elts.length;i++) {if(typeof elts[i].") + SET_CALLBACK_NAME) + " != 'undefined') { if (!elts[i].getAttribute('id')) {elts[i].setAttribute('id','asorgid_'+Math.floor(Math.random()*100000));} var props = {}; props.id = elts[i].getAttribute('id'); for (var x=0; x < elts[i].attributes.length; x++) { props[elts[i].attributes[x].nodeName] = elts[i].attributes[x].nodeValue;} elts[i].") + SET_CALLBACK_NAME) + "(props); }}"); singleton.executeJS(js); } else { singleton.external_SetEmbedObjectProps({}); }; } public static function getId():String{ return (getEnumerableParam("id")); } public static function getEnumerableParams():Object{ if (!singleton.embedObjectProps){ singleton._getEmbedObjectProps(); }; return (singleton.embedObjectProps); } public static function getSingleton():EmbedObject{ if (_singleton == null){ _singleton = new (EmbedObject); }; return (_singleton); } private static function testFunc(){ } public static function getParamViaExternal(param:String):Object{ return (Object(singleton.executeJS((((("return document.getElementById('" + getEnumerableParam("id")) + "').getAttribute('") + param) + "');")))); } public static function get singleton():EmbedObject{ return (getSingleton()); } public static function getEnumerableParam(param:String):String{ return (String(getEnumerableParams()[param])); } } }//package until
Section 41
//MyMap (until.MyMap) package until { import flash.display.*; public class MyMap extends Sprite { public var SelNum:int;// = 4 public var MapHeight:int;// = 8 public var MapArr:Array; public var MapWidth:int;// = 8 public function MyMap(){ MapWidth = 8; MapHeight = 8; SelNum = 4; super(); MapArr = new Array(); } public function init():Array{ var i:int; var j:int; switch (UserInfo.mission_num){ case 3: SelNum = 5; break; case 5: SelNum = 6; break; case 7: SelNum = 7; break; }; i = 0; while (i < MapWidth) { MapArr[i] = new Array(); j = 0; for (;j < MapHeight;continue, OnecheckArray(i, j, SelNum), j++) { MapArr[i][j] = setRanNum(SelNum); //unresolved if if (((!((MapArr[(i - 2)][j] == undefined))) || (!((MapArr[i][(j - 2)] == undefined))))){ checkArray(i, j, SelNum); continue; }; }; i++; }; return (MapArr); } public function checkArray(x:Number, y:Number, sel:Number):void{ if ((((((MapArr[x][y] == MapArr[(x - 1)][y])) && ((MapArr[x][y] == MapArr[(x - 2)][y])))) || ((((MapArr[x][y] == MapArr[x][(y - 1)])) && ((MapArr[x][y] == MapArr[x][(y - 2)])))))){ MapArr[x][y] = setRanNum(sel); checkArray(x, y, sel); }; } public function findRoad():Boolean{ var i:uint; var j:uint; i = 0; while (i < MapHeight) { j = 0; while (j < (MapWidth - 1)) { if (MapArr[j][i] == MapArr[(j + 1)][i]){ if (((((i - 1) >= 0)) && (((j - 1) >= 0)))){ if (MapArr[j][i] == MapArr[(j - 1)][(i - 1)]){ return (true); }; }; if (((((i - 1) >= 0)) && (((j + 2) < MapWidth)))){ if (MapArr[j][i] == MapArr[(j + 2)][(i - 1)]){ return (true); }; }; if ((j - 2) >= 0){ if (MapArr[j][i] == MapArr[(j - 2)][i]){ return (true); }; }; if ((j + 3) < MapWidth){ if (MapArr[j][i] == MapArr[(j + 3)][i]){ return (true); }; }; if (((((i + 1) < MapHeight)) && (((j - 1) >= 0)))){ if (MapArr[j][i] == MapArr[(j - 1)][(i + 1)]){ return (true); }; }; if (((((i + 1) < MapHeight)) && (((j + 2) < MapWidth)))){ if (MapArr[j][i] == MapArr[(j + 2)][(i + 1)]){ return (true); }; }; } else { if ((j + 2) < MapWidth){ if (MapArr[j][i] == MapArr[(j + 2)][i]){ if ((i - 1) >= 0){ if (MapArr[j][i] == MapArr[(j + 1)][(i - 1)]){ return (true); }; }; if ((i + 1) < MapHeight){ if (MapArr[j][i] == MapArr[(j + 1)][(i + 1)]){ return (true); }; }; if ((j - 1) >= 0){ if (MapArr[j][i] == MapArr[(j - 1)][i]){ return (true); }; }; if ((j + 3) < MapWidth){ if (MapArr[j][i] == MapArr[(j + 3)][i]){ return (true); }; }; }; }; }; j++; }; i++; }; i = 0; while (i < MapWidth) { j = 0; while (j < (MapHeight - 1)) { if (MapArr[i][j] == MapArr[i][(j + 1)]){ if (((((i - 1) >= 0)) && (((j - 1) >= 0)))){ if (MapArr[i][j] == MapArr[(i - 1)][(j - 1)]){ return (true); }; }; if ((j - 2) >= 0){ if (MapArr[i][j] == MapArr[i][(j - 2)]){ return (true); }; }; if (((((j - 1) >= 0)) && (((i + 1) < MapWidth)))){ if (MapArr[i][j] == MapArr[(i + 1)][(j - 1)]){ return (true); }; }; if ((j + 3) < MapHeight){ if (MapArr[i][j] == MapArr[i][(j + 3)]){ return (true); }; }; if (((((i - 1) >= 0)) && (((j + 2) < MapHeight)))){ if (MapArr[i][j] == MapArr[(i - 1)][(j + 2)]){ return (true); }; }; if (((((i + 1) < MapWidth)) && (((j + 2) < MapHeight)))){ if (MapArr[i][j] == MapArr[(i + 1)][(j + 2)]){ return (true); }; }; } else { if ((j + 2) < MapHeight){ if (MapArr[i][j] == MapArr[i][(j + 2)]){ if ((i - 1) >= 0){ if (MapArr[i][j] == MapArr[(i - 1)][(j + 1)]){ return (true); }; }; if ((i + 1) < MapWidth){ if (MapArr[i][j] == MapArr[(i + 1)][(j + 1)]){ return (true); }; }; if ((j - 1) >= 0){ if (MapArr[i][j] == MapArr[i][(j - 1)]){ return (true); }; }; if ((j + 3) < MapHeight){ if (MapArr[i][j] == MapArr[i][(j - 3)]){ return (true); }; }; }; }; }; j++; }; i++; }; return (false); } public function setRanNum(sel:Number):Number{ var tempRan:Number; if (SelNum == 7){ SelNum = 7; }; tempRan = (Math.floor((Math.random() * sel)) + 1); return (tempRan); } public function OnecheckArray(x:Number, y:Number, sel:Number):void{ if ((((MapArr[x][y] == MapArr[x][(y - 1)])) && ((MapArr[x][y] == MapArr[x][(y - 2)])))){ MapArr[x][y] = setRanNum(sel); OnecheckArray(x, y, sel); }; } } }//package until
Section 42
//MyTile (until.MyTile) package until { import flash.display.*; public class MyTile extends Sprite { public var cur_num:int; private var borderSprite:bian; private var hideeff:eff; private var map_mc:MyMap; private var hID:Number; private var Tile:tile; private var wID:Number; public function MyTile(){ super(); map_mc = new MyMap(); Tile = new tile(); borderSprite = new bian(); borderSprite.visible = false; hideeff = new eff(); this.addChild(Tile); this.addChild(hideeff); this.addChild(borderSprite); } public function setTile():tile{ return (Tile); } public function get HID():Number{ return (hID); } public function set WID(value:Number):void{ wID = value; } public function currentFrame():int{ return (Tile.currentFrame); } public function hideMc():void{ borderSprite.visible = false; } public function showMc():void{ borderSprite.visible = true; } public function gotoAndStop(value:Number):void{ Tile.gotoAndStop(value); } public function get WID():Number{ return (wID); } public function gotoOverHide():void{ hideeff.gotoAndPlay(2); } public function set HID(value:Number):void{ hID = value; } public function animPlay():void{ Tile.anim.gotoAndPlay(2); } } }//package until
Section 43
//UserInfo (until.UserInfo) package until { public class UserInfo { public static var flood_num:int = 5; public static var jiange:int = 400; public static var stop_menu_sound:int; public static var start_bg_sound:int; public static var mission_num:int = 1; public static var jianglifen:int = 0; public static var bg_sound_num:int; public static var User_Score:int; public static var is_stopSound:Boolean = false; public static var shijian:int = 0; public static var tool_user3:Boolean = false; public static var tool_user5:Boolean = false; public static var his_score:int; public static var start_menu_sound:int; public static var tool_user2:Boolean = false; public static var addScore:int = 1000; public static var stop_bg_sound:int; public static var tool_user1:Boolean = false; public static var tool_user4:Boolean = false; public function UserInfo(){ super(); } } }//package until
Section 44
//bg_mc (bg_mc) package { import flash.display.*; public dynamic class bg_mc extends MovieClip { public var d_Sound:MovieClip; public var d_Music:MovieClip; public function bg_mc(){ super(); } } }//package
Section 45
//bian (bian) package { import flash.display.*; public dynamic class bian extends MovieClip { public function bian(){ super(); } } }//package
Section 46
//bomp (bomp) package { import flash.display.*; public dynamic class bomp extends MovieClip { public function bomp(){ super(); addFrameScript(14, frame15); } function frame15(){ stop(); } } }//package
Section 47
//bordercolor (bordercolor) package { import flash.display.*; public dynamic class bordercolor extends MovieClip { public function bordercolor(){ super(); } } }//package
Section 48
//bt_mc_fscreen (bt_mc_fscreen) package { import flash.display.*; public dynamic class bt_mc_fscreen extends MovieClip { public var d_Fscreen:SimpleButton; public function bt_mc_fscreen(){ super(); addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package
Section 49
//combs (combs) package { import flash.media.*; public dynamic class combs extends Sound { public function combs(){ super(); } } }//package
Section 50
//ddp_main (ddp_main) package { import until.*; import flash.events.*; import flash.display.*; import GameSceneView.*; public class ddp_main extends Sprite { public var serviceHold;// = null private var gameMenu_mc:GameMenuClass; private var GameEnd_mc:GameEndClass; private var _4399_function_ad_id:String;// = "92d6cef76cd06829e088932fe9fd819b" private var gameScene_mc:GameSceneClass; private var Next_mc:NextClass; private var Sound_MC:SoundClass; private var GameHelp_mc:GameHelpClass; private var bgsound:bgSoundClass; public function ddp_main(){ var maskboxs:MovieClip; _4399_function_ad_id = "92d6cef76cd06829e088932fe9fd819b"; serviceHold = null; super(); Sound_MC = new SoundClass(); bgsound = new bgSoundClass(); maskboxs = new maskbox(); addGameMenu(); } private function addbgbtn():void{ bgsound.x = 220; bgsound.y = 110; addChild(bgsound); } private function init(e:Event=null):void{ } private function game_help_handle(e:Event):void{ addHelp(); } private function add_new_game(e:Event):void{ addGameScene(); } private function addGameScene():void{ removeAll(); gameScene_mc = new GameSceneClass(); gameScene_mc.addEventListener("start_game", start_game_handle); gameScene_mc.addEventListener("game_over", game_over_handle); gameScene_mc.addEventListener("next", show_next_level); gameScene_mc.addEventListener("new_game", new_game_handle); gameScene_mc.addEventListener("menu", show_menu_handle); addChild(gameScene_mc); addbgbtn(); if (bgsound.d_Music.currentFrame == 1){ Sound_MC.gotoAndStop(3); Sound_MC.gotoAndStop(4); } else { Sound_MC.gotoAndStop(3); Sound_MC.gotoAndStop(5); }; if (bgsound.d_Sound.currentFrame == 1){ UserInfo.is_stopSound = false; } else { UserInfo.is_stopSound = true; }; } private function game_over_handle(e:Event):void{ addGameOver(); } private function addGameMenu():void{ removeAll(); gameMenu_mc = new GameMenuClass(); gameMenu_mc.addEventListener("start_game", start_game_handle); gameMenu_mc.addEventListener("help", game_help_handle); Sound_MC.gotoAndStop(2); addChild(gameMenu_mc); } private function addNext():void{ removeAll(); Next_mc = new NextClass(); Next_mc.addEventListener("next_level", add_new_game); addChild(Next_mc); if (bgsound.d_Music.currentFrame == 1){ Sound_MC.gotoAndStop(4); }; } private function replay_again_handle(e:Event):void{ UserInfo.User_Score = 0; UserInfo.jiange = 400; removeAll(); addGameMenu(); } public function setHold(hold):void{ serviceHold = hold; } private function addHelp():void{ removeAll(); GameHelp_mc = new GameHelpClass(); GameHelp_mc.addEventListener("start_game", start_game_handle); addChild(GameHelp_mc); } private function removeAll():void{ var i:int; i = 0; while (i < this.numChildren) { this.removeChildAt(i); i++; }; } private function addGameOver():void{ removeAll(); GameEnd_mc = new GameEndClass(); GameEnd_mc.addEventListener("again", replay_again_handle); Sound_MC.gotoAndStop(5); Sound_MC.gotoAndStop(6); addChild(GameEnd_mc); } private function show_next_level(e:Event):void{ addNext(); } private function start_game_handle(e:Event):void{ addGameScene(); } private function show_menu_handle(e:Event):void{ UserInfo.jiange = 400; Sound_MC.gotoAndStop(5); UserInfo.is_stopSound = false; addGameMenu(); } private function new_game_handle(e:Event):void{ gameScene_mc.removeFrame(); addGameScene(); } } }//package
Section 51
//eff (eff) package { import flash.display.*; public dynamic class eff extends MovieClip { public function eff(){ super(); addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package
Section 52
//GameMenuMc (GameMenuMc) package { import until.*; import flash.events.*; import flash.display.*; import flash.geom.*; import flash.media.*; import flash.text.*; import flash.utils.*; import flash.external.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.filters.*; import flash.net.*; import flash.printing.*; import flash.ui.*; import flash.xml.*; public dynamic class GameMenuMc extends MovieClip { public var d_Fscreen:bt_mc_fscreen; public var d_Facebook:SimpleButton; public var gameMenu:MovieClip; public var d_Twitter:SimpleButton; public var isfull:String; public function GameMenuMc(){ super(); addFrameScript(0, frame1); } function frame1(){ stop(); d_Twitter.addEventListener(MouseEvent.CLICK, onShare); d_Facebook.addEventListener(MouseEvent.CLICK, onShare); d_Fscreen.addEventListener(MouseEvent.CLICK, onFscreen); d_Fscreen.buttonMode = true; isfull = String(EmbedObject.getParamViaExternal("allowFullScreen")); isfull = isfull.toLowerCase(); if (isfull != "true"){ d_Fscreen.visible = false; }; //unresolved jump var _slot1 = e; d_Fscreen.visible = true; } public function onShare(e){ var currentUrl:String; var url:String; currentUrl = ExternalInterface.call("eval", "window.location.href"); if (currentUrl == null){ return; }; if (e.currentTarget == d_Twitter){ url = ("http://twitter.com/home?status=Currently%20Playing%20Old%20Macdonald%20Had%20A%20Farm%20at%20" + currentUrl); } else { url = (("http://www.facebook.com/share.php?u=" + currentUrl) + "&t=Currently%20Playing%20Old%20Macdonald%20Had%20A%20Farm"); }; navigateToURL(new URLRequest(url), "_blank"); } public function onFscreen(event:MouseEvent):void{ var event = event; switch (stage.displayState){ case "normal": stage.displayState = "fullScreen"; d_Fscreen.gotoAndStop(2); break; case "fullScreen": default: stage.displayState = "normal"; d_Fscreen.gotoAndStop(1); break; }; //unresolved jump var _slot1 = e; trace("<param name=\"allowFullScreen\" value=\"true\" />"); } } }//package
Section 53
//gameover (gameover) package { import flash.media.*; public dynamic class gameover extends Sound { public function gameover(){ super(); } } }//package
Section 54
//GameOverMc (GameOverMc) package { import until.*; import flash.events.*; import flash.display.*; import flash.text.*; public dynamic class GameOverMc extends MovieClip { public var submt_btn:SimpleButton; public var end_score:TextField; public var d_Fscreen:bt_mc_fscreen; public var isfull:String; public var again_btn:SimpleButton; public function GameOverMc(){ super(); addFrameScript(0, frame1); } function frame1(){ d_Fscreen.addEventListener(MouseEvent.CLICK, onFscreen); d_Fscreen.buttonMode = true; isfull = String(EmbedObject.getParamViaExternal("allowFullScreen")); isfull = isfull.toLowerCase(); if (isfull != "true"){ d_Fscreen.visible = false; }; //unresolved jump var _slot1 = e; d_Fscreen.visible = true; } public function onFscreen(event:MouseEvent):void{ var event = event; switch (stage.displayState){ case "normal": stage.displayState = "fullScreen"; d_Fscreen.gotoAndStop(2); break; case "fullScreen": default: stage.displayState = "normal"; d_Fscreen.gotoAndStop(1); break; }; //unresolved jump var _slot1 = e; trace("<param name=\"allowFullScreen\" value=\"true\" />"); } } }//package
Section 55
//GameSceneMc (GameSceneMc) package { import until.*; import flash.events.*; import flash.display.*; import flash.text.*; public dynamic class GameSceneMc extends MovieClip { public var comb:MovieClip; public var Score_txt:TextField; public var time_mc:MovieClip; public var d_Fscreen:bt_mc_fscreen; public var zhezhao:MovieClip; public var menu_btn:SimpleButton; public var pause_btn:SimpleButton; public var tool5:MovieClip; public var tool2:MovieClip; public var tool1:MovieClip; public var tool3:MovieClip; public var miss_mc:MovieClip; public var tool4:MovieClip; public var miss_txt:TextField; public var mask_mc:MovieClip; public var isfull:String; public var back_mc:MovieClip; public function GameSceneMc(){ super(); addFrameScript(0, frame1); } function frame1(){ d_Fscreen.addEventListener(MouseEvent.CLICK, onFscreen); d_Fscreen.buttonMode = true; isfull = String(EmbedObject.getParamViaExternal("allowFullScreen")); isfull = isfull.toLowerCase(); if (isfull != "true"){ d_Fscreen.visible = false; }; //unresolved jump var _slot1 = e; d_Fscreen.visible = true; } public function onFscreen(event:MouseEvent):void{ var event = event; switch (stage.displayState){ case "normal": stage.displayState = "fullScreen"; d_Fscreen.gotoAndStop(2); break; case "fullScreen": default: stage.displayState = "normal"; d_Fscreen.gotoAndStop(1); break; }; //unresolved jump var _slot1 = e; trace("<param name=\"allowFullScreen\" value=\"true\" />"); } } }//package
Section 56
//gou (gou) package { import flash.media.*; public dynamic class gou extends Sound { public function gou(){ super(); } } }//package
Section 57
//gSound (gSound) package { import flash.media.*; public dynamic class gSound extends Sound { public function gSound(){ super(); } } }//package
Section 58
//HelpMc (HelpMc) package { import until.*; import flash.events.*; import flash.display.*; public dynamic class HelpMc extends MovieClip { public var d_Fscreen:bt_mc_fscreen; public var nextBtn:SimpleButton; public var isfull:String; public var play_btn:SimpleButton; public var previBtn:SimpleButton; public function HelpMc(){ super(); addFrameScript(0, frame1); } function frame1(){ stop(); d_Fscreen.addEventListener(MouseEvent.CLICK, onFscreen); d_Fscreen.buttonMode = true; isfull = String(EmbedObject.getParamViaExternal("allowFullScreen")); isfull = isfull.toLowerCase(); if (isfull != "true"){ d_Fscreen.visible = false; }; //unresolved jump var _slot1 = e; d_Fscreen.visible = true; } public function onFscreen(event:MouseEvent):void{ var event = event; switch (stage.displayState){ case "normal": stage.displayState = "fullScreen"; d_Fscreen.gotoAndStop(2); break; case "fullScreen": default: stage.displayState = "normal"; d_Fscreen.gotoAndStop(1); break; }; //unresolved jump var _slot1 = e; trace("<param name=\"allowFullScreen\" value=\"true\" />"); } } }//package
Section 59
//IntUtil (IntUtil) package { public class IntUtil { private static var hexChars:String = "0123456789abcdef"; public function IntUtil(){ super(); } public static function toHex(n:int, bigEndian:Boolean=false):String{ var s:String; var i:int; var x:int; s = ""; if (bigEndian){ i = 0; while (i < 4) { s = (s + (hexChars.charAt(((n >> (((3 - i) * 8) + 4)) & 15)) + hexChars.charAt(((n >> ((3 - i) * 8)) & 15)))); i++; }; } else { x = 0; while (x < 4) { s = (s + (hexChars.charAt(((n >> ((x * 8) + 4)) & 15)) + hexChars.charAt(((n >> (x * 8)) & 15)))); x++; }; }; return (s); } public static function ror(x:int, n:int):uint{ var nn:int; nn = (32 - n); return (((x << nn) | (x >>> (32 - nn)))); } public static function rol(x:int, n:int):int{ return (((x << n) | (x >>> (32 - n)))); } } }//package
Section 60
//ji (ji) package { import flash.media.*; public dynamic class ji extends Sound { public function ji(){ super(); } } }//package
Section 61
//mao (mao) package { import flash.media.*; public dynamic class mao extends Sound { public function mao(){ super(); } } }//package
Section 62
//maskbox (maskbox) package { import flash.display.*; public dynamic class maskbox extends MovieClip { public function maskbox(){ super(); } } }//package
Section 63
//MD5 (MD5) package { public class MD5 { public function MD5(){ super(); } private static function ff(a:int, b:int, c:int, d:int, x:int, s:int, t:int):int{ return (transform(f, a, b, c, d, x, s, t)); } private static function createBlocks(s:String):Array{ var blocks:Array; var len:int; var mask:int; var i:int; blocks = new Array(); len = (s.length * 8); mask = 0xFF; i = 0; while (i < len) { blocks[(i >> 5)] = (blocks[(i >> 5)] | ((s.charCodeAt((i / 8)) & mask) << (i % 32))); i = (i + 8); }; blocks[(len >> 5)] = (blocks[(len >> 5)] | (128 << (len % 32))); blocks[((((len + 64) >>> 9) << 4) + 14)] = len; return (blocks); } private static function ii(a:int, b:int, c:int, d:int, x:int, s:int, t:int):int{ return (transform(i, a, b, c, d, x, s, t)); } private static function f(x:int, y:int, z:int):int{ return (((x & y) | (~(x) & z))); } private static function g(x:int, y:int, z:int):int{ return (((x & z) | (y & ~(z)))); } private static function h(x:int, y:int, z:int):int{ return (((x ^ y) ^ z)); } private static function i(x:int, y:int, z:int):int{ return ((y ^ (x | ~(z)))); } private static function transform(func:Function, a:int, b:int, c:int, d:int, x:int, s:int, t:int):int{ var tmp:int; tmp = (((a + int(func(b, c, d))) + x) + t); return ((IntUtil.rol(tmp, s) + b)); } private static function hh(a:int, b:int, c:int, d:int, x:int, s:int, t:int):int{ return (transform(h, a, b, c, d, x, s, t)); } public static function hash(s:String):String{ var a:int; var b:int; var c:int; var d:int; var aa:int; var bb:int; var cc:int; var dd:int; var x:Array; var len:int; var i:int; a = 1732584193; b = -271733879; c = -1732584194; d = 271733878; x = createBlocks(s); len = x.length; i = 0; while (i < len) { aa = a; bb = b; cc = c; dd = d; a = ff(a, b, c, d, x[(i + 0)], 7, -680876936); d = ff(d, a, b, c, x[(i + 1)], 12, -389564586); c = ff(c, d, a, b, x[(i + 2)], 17, 606105819); b = ff(b, c, d, a, x[(i + 3)], 22, -1044525330); a = ff(a, b, c, d, x[(i + 4)], 7, -176418897); d = ff(d, a, b, c, x[(i + 5)], 12, 1200080426); c = ff(c, d, a, b, x[(i + 6)], 17, -1473231341); b = ff(b, c, d, a, x[(i + 7)], 22, -45705983); a = ff(a, b, c, d, x[(i + 8)], 7, 1770035416); d = ff(d, a, b, c, x[(i + 9)], 12, -1958414417); c = ff(c, d, a, b, x[(i + 10)], 17, -42063); b = ff(b, c, d, a, x[(i + 11)], 22, -1990404162); a = ff(a, b, c, d, x[(i + 12)], 7, 1804603682); d = ff(d, a, b, c, x[(i + 13)], 12, -40341101); c = ff(c, d, a, b, x[(i + 14)], 17, -1502002290); b = ff(b, c, d, a, x[(i + 15)], 22, 1236535329); a = gg(a, b, c, d, x[(i + 1)], 5, -165796510); d = gg(d, a, b, c, x[(i + 6)], 9, -1069501632); c = gg(c, d, a, b, x[(i + 11)], 14, 643717713); b = gg(b, c, d, a, x[(i + 0)], 20, -373897302); a = gg(a, b, c, d, x[(i + 5)], 5, -701558691); d = gg(d, a, b, c, x[(i + 10)], 9, 38016083); c = gg(c, d, a, b, x[(i + 15)], 14, -660478335); b = gg(b, c, d, a, x[(i + 4)], 20, -405537848); a = gg(a, b, c, d, x[(i + 9)], 5, 568446438); d = gg(d, a, b, c, x[(i + 14)], 9, -1019803690); c = gg(c, d, a, b, x[(i + 3)], 14, -187363961); b = gg(b, c, d, a, x[(i + 8)], 20, 1163531501); a = gg(a, b, c, d, x[(i + 13)], 5, -1444681467); d = gg(d, a, b, c, x[(i + 2)], 9, -51403784); c = gg(c, d, a, b, x[(i + 7)], 14, 1735328473); b = gg(b, c, d, a, x[(i + 12)], 20, -1926607734); a = hh(a, b, c, d, x[(i + 5)], 4, -378558); d = hh(d, a, b, c, x[(i + 8)], 11, -2022574463); c = hh(c, d, a, b, x[(i + 11)], 16, 1839030562); b = hh(b, c, d, a, x[(i + 14)], 23, -35309556); a = hh(a, b, c, d, x[(i + 1)], 4, -1530992060); d = hh(d, a, b, c, x[(i + 4)], 11, 1272893353); c = hh(c, d, a, b, x[(i + 7)], 16, -155497632); b = hh(b, c, d, a, x[(i + 10)], 23, -1094730640); a = hh(a, b, c, d, x[(i + 13)], 4, 681279174); d = hh(d, a, b, c, x[(i + 0)], 11, -358537222); c = hh(c, d, a, b, x[(i + 3)], 16, -722521979); b = hh(b, c, d, a, x[(i + 6)], 23, 76029189); a = hh(a, b, c, d, x[(i + 9)], 4, -640364487); d = hh(d, a, b, c, x[(i + 12)], 11, -421815835); c = hh(c, d, a, b, x[(i + 15)], 16, 530742520); b = hh(b, c, d, a, x[(i + 2)], 23, -995338651); a = ii(a, b, c, d, x[(i + 0)], 6, -198630844); d = ii(d, a, b, c, x[(i + 7)], 10, 1126891415); c = ii(c, d, a, b, x[(i + 14)], 15, -1416354905); b = ii(b, c, d, a, x[(i + 5)], 21, -57434055); a = ii(a, b, c, d, x[(i + 12)], 6, 1700485571); d = ii(d, a, b, c, x[(i + 3)], 10, -1894986606); c = ii(c, d, a, b, x[(i + 10)], 15, -1051523); b = ii(b, c, d, a, x[(i + 1)], 21, -2054922799); a = ii(a, b, c, d, x[(i + 8)], 6, 1873313359); d = ii(d, a, b, c, x[(i + 15)], 10, -30611744); c = ii(c, d, a, b, x[(i + 6)], 15, -1560198380); b = ii(b, c, d, a, x[(i + 13)], 21, 1309151649); a = ii(a, b, c, d, x[(i + 4)], 6, -145523070); d = ii(d, a, b, c, x[(i + 11)], 10, -1120210379); c = ii(c, d, a, b, x[(i + 2)], 15, 718787259); b = ii(b, c, d, a, x[(i + 9)], 21, -343485551); a = (a + aa); b = (b + bb); c = (c + cc); d = (d + dd); i = (i + 16); }; return ((((IntUtil.toHex(a) + IntUtil.toHex(b)) + IntUtil.toHex(c)) + IntUtil.toHex(d))); } private static function gg(a:int, b:int, c:int, d:int, x:int, s:int, t:int):int{ return (transform(g, a, b, c, d, x, s, t)); } } }//package
Section 64
//mSound (mSound) package { import flash.media.*; public dynamic class mSound extends Sound { public function mSound(){ super(); } } }//package
Section 65
//NextMc (NextMc) package { import until.*; import flash.events.*; import flash.display.*; import flash.text.*; public dynamic class NextMc extends MovieClip { public var next_btn:SimpleButton; public var shijian_txt:TextField; public var d_Fscreen:bt_mc_fscreen; public var isfull:String; public function NextMc(){ super(); addFrameScript(0, frame1); } function frame1(){ d_Fscreen.addEventListener(MouseEvent.CLICK, onFscreen); d_Fscreen.buttonMode = true; isfull = String(EmbedObject.getParamViaExternal("allowFullScreen")); isfull = isfull.toLowerCase(); if (isfull != "true"){ d_Fscreen.visible = false; }; //unresolved jump var _slot1 = e; d_Fscreen.visible = true; } public function onFscreen(event:MouseEvent):void{ var event = event; switch (stage.displayState){ case "normal": stage.displayState = "fullScreen"; d_Fscreen.gotoAndStop(2); break; case "fullScreen": default: stage.displayState = "normal"; d_Fscreen.gotoAndStop(1); break; }; //unresolved jump var _slot1 = e; trace("<param name=\"allowFullScreen\" value=\"true\" />"); } } }//package
Section 66
//niu (niu) package { import flash.media.*; public dynamic class niu extends Sound { public function niu(){ super(); } } }//package
Section 67
//shengji (shengji) package { import flash.media.*; public dynamic class shengji extends Sound { public function shengji(){ super(); } } }//package
Section 68
//SoundMC (SoundMC) package { import flash.display.*; public dynamic class SoundMC extends MovieClip { public function SoundMC(){ super(); addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package
Section 69
//tile (tile) package { import flash.display.*; public dynamic class tile extends MovieClip { public var anim:MovieClip; public function tile(){ super(); addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package
Section 70
//tu (tu) package { import flash.media.*; public dynamic class tu extends Sound { public function tu(){ super(); } } }//package
Section 71
//yang (yang) package { import flash.media.*; public dynamic class yang extends Sound { public function yang(){ super(); } } }//package
Section 72
//zhu (zhu) package { import flash.media.*; public dynamic class zhu extends Sound { public function zhu(){ super(); } } }//package

Library Items

Symbol 1 Sound {zhu}
Symbol 2 Sound {yang}
Symbol 3 Sound {tu}
Symbol 4 Sound {niu}
Symbol 5 Sound {mao}
Symbol 6 Sound {ji}
Symbol 7 Sound {gou}
Symbol 8 Sound {shengji}
Symbol 9 Sound {combs}
Symbol 10 Sound {mSound}
Symbol 11 Sound {gameover}
Symbol 12 Sound {gSound}Used by:310
Symbol 13 GraphicUsed by:67
Symbol 14 GraphicUsed by:46
Symbol 15 GraphicUsed by:18
Symbol 16 GraphicUsed by:17
Symbol 17 MovieClipUses:16Used by:18
Symbol 18 MovieClipUses:15 17Used by:46
Symbol 19 GraphicUsed by:46
Symbol 20 GraphicUsed by:46
Symbol 21 GraphicUsed by:46
Symbol 22 GraphicUsed by:46
Symbol 23 GraphicUsed by:24
Symbol 24 MovieClipUses:23Used by:46
Symbol 25 GraphicUsed by:30
Symbol 26 FontUsed by:27 28 32 33 37 38 42 43 217 218 235 236 241 242 246 247 252 255 256 260 291 292 293 294 295 299 300 302 303
Symbol 27 TextUses:26Used by:30
Symbol 28 TextUses:26Used by:30
Symbol 29 GraphicUsed by:30
Symbol 30 ButtonUses:25 27 28 29Used by:46 296
Symbol 31 GraphicUsed by:35
Symbol 32 TextUses:26Used by:35
Symbol 33 TextUses:26Used by:35
Symbol 34 GraphicUsed by:35
Symbol 35 ButtonUses:31 32 33 34Used by:46
Symbol 36 GraphicUsed by:40
Symbol 37 TextUses:26Used by:40
Symbol 38 TextUses:26Used by:40
Symbol 39 GraphicUsed by:40
Symbol 40 ButtonUses:36 37 38 39Used by:46
Symbol 41 GraphicUsed by:45
Symbol 42 TextUses:26Used by:45
Symbol 43 TextUses:26Used by:45
Symbol 44 GraphicUsed by:45
Symbol 45 ButtonUses:41 42 43 44Used by:46
Symbol 46 MovieClip {OldMacdonaldHadAFarm_gamesonly_fla.title_84}Uses:14 18 19 20 21 22 24 30 35 40 45Used by:67
Symbol 47 GraphicUsed by:55
Symbol 48 GraphicUsed by:49 55
Symbol 49 MovieClipUses:48Used by:55
Symbol 50 GraphicUsed by:55
Symbol 51 GraphicUsed by:52 55 59
Symbol 52 MovieClipUses:51Used by:55 59
Symbol 53 GraphicUsed by:55
Symbol 54 GraphicUsed by:55
Symbol 55 ButtonUses:47 49 50 52 53 51 48 54Used by:60
Symbol 56 GraphicUsed by:59
Symbol 57 GraphicUsed by:59
Symbol 58 GraphicUsed by:59
Symbol 59 ButtonUses:56 52 57 51 58Used by:60
Symbol 60 MovieClip {bt_mc_fscreen}Uses:55 59Used by:67 231 250 296 306
Symbol 61 BitmapUsed by:62
Symbol 62 GraphicUses:61Used by:63
Symbol 63 ButtonUses:62Used by:67
Symbol 64 BitmapUsed by:65
Symbol 65 GraphicUses:64Used by:66
Symbol 66 ButtonUses:65Used by:67
Symbol 67 MovieClip {GameMenuMc}Uses:13 46 60 63 66
Symbol 68 GraphicUsed by:69
Symbol 69 MovieClip {bian}Uses:68Used by:70
Symbol 70 MovieClip {bordercolor}Uses:69
Symbol 71 GraphicUsed by:72
Symbol 72 MovieClipUses:71Used by:73 75 275
Symbol 73 MovieClip {eff}Uses:72
Symbol 74 GraphicUsed by:75 288
Symbol 75 MovieClip {bomp}Uses:74 72
Symbol 76 GraphicUsed by:88
Symbol 77 GraphicUsed by:88
Symbol 78 GraphicUsed by:88
Symbol 79 GraphicUsed by:88
Symbol 80 GraphicUsed by:88
Symbol 81 GraphicUsed by:88
Symbol 82 GraphicUsed by:88
Symbol 83 GraphicUsed by:88
Symbol 84 GraphicUsed by:88
Symbol 85 GraphicUsed by:88
Symbol 86 GraphicUsed by:88
Symbol 87 GraphicUsed by:88
Symbol 88 MovieClip {OldMacdonaldHadAFarm_gamesonly_fla.cat_75}Uses:76 77 78 79 80 81 82 83 84 85 86 87Used by:167
Symbol 89 GraphicUsed by:101
Symbol 90 GraphicUsed by:101
Symbol 91 GraphicUsed by:101
Symbol 92 GraphicUsed by:101
Symbol 93 GraphicUsed by:101
Symbol 94 GraphicUsed by:101
Symbol 95 GraphicUsed by:101
Symbol 96 GraphicUsed by:101
Symbol 97 GraphicUsed by:101
Symbol 98 GraphicUsed by:101
Symbol 99 GraphicUsed by:101
Symbol 100 GraphicUsed by:101
Symbol 101 MovieClip {OldMacdonaldHadAFarm_gamesonly_fla.chicken_76}Uses:89 90 91 92 93 94 95 96 97 98 99 100Used by:167
Symbol 102 GraphicUsed by:114
Symbol 103 GraphicUsed by:114
Symbol 104 GraphicUsed by:114
Symbol 105 GraphicUsed by:114
Symbol 106 GraphicUsed by:114
Symbol 107 GraphicUsed by:114
Symbol 108 GraphicUsed by:114
Symbol 109 GraphicUsed by:114
Symbol 110 GraphicUsed by:114
Symbol 111 GraphicUsed by:114
Symbol 112 GraphicUsed by:114
Symbol 113 GraphicUsed by:114
Symbol 114 MovieClip {OldMacdonaldHadAFarm_gamesonly_fla.cow_77}Uses:102 103 104 105 106 107 108 109 110 111 112 113Used by:167
Symbol 115 GraphicUsed by:127
Symbol 116 GraphicUsed by:127
Symbol 117 GraphicUsed by:127
Symbol 118 GraphicUsed by:127
Symbol 119 GraphicUsed by:127
Symbol 120 GraphicUsed by:127
Symbol 121 GraphicUsed by:127
Symbol 122 GraphicUsed by:127
Symbol 123 GraphicUsed by:127
Symbol 124 GraphicUsed by:127
Symbol 125 GraphicUsed by:127
Symbol 126 GraphicUsed by:127
Symbol 127 MovieClip {OldMacdonaldHadAFarm_gamesonly_fla.dog_78}Uses:115 116 117 118 119 120 121 122 123 124 125 126Used by:167
Symbol 128 GraphicUsed by:140
Symbol 129 GraphicUsed by:140
Symbol 130 GraphicUsed by:140
Symbol 131 GraphicUsed by:140
Symbol 132 GraphicUsed by:140
Symbol 133 GraphicUsed by:140
Symbol 134 GraphicUsed by:140
Symbol 135 GraphicUsed by:140
Symbol 136 GraphicUsed by:140
Symbol 137 GraphicUsed by:140
Symbol 138 GraphicUsed by:140
Symbol 139 GraphicUsed by:140
Symbol 140 MovieClip {OldMacdonaldHadAFarm_gamesonly_fla.pig_48}Uses:128 129 130 131 132 133 134 135 136 137 138 139Used by:167 288
Symbol 141 GraphicUsed by:153
Symbol 142 GraphicUsed by:153
Symbol 143 GraphicUsed by:153
Symbol 144 GraphicUsed by:153
Symbol 145 GraphicUsed by:153
Symbol 146 GraphicUsed by:153
Symbol 147 GraphicUsed by:153
Symbol 148 GraphicUsed by:153
Symbol 149 GraphicUsed by:153
Symbol 150 GraphicUsed by:153
Symbol 151 GraphicUsed by:153
Symbol 152 GraphicUsed by:153
Symbol 153 MovieClip {OldMacdonaldHadAFarm_gamesonly_fla.rabbit_79}Uses:141 142 143 144 145 146 147 148 149 150 151 152Used by:167
Symbol 154 GraphicUsed by:166
Symbol 155 GraphicUsed by:166
Symbol 156 GraphicUsed by:166
Symbol 157 GraphicUsed by:166
Symbol 158 GraphicUsed by:166
Symbol 159 GraphicUsed by:166
Symbol 160 GraphicUsed by:166
Symbol 161 GraphicUsed by:166
Symbol 162 GraphicUsed by:166
Symbol 163 GraphicUsed by:166
Symbol 164 GraphicUsed by:166
Symbol 165 GraphicUsed by:166
Symbol 166 MovieClip {OldMacdonaldHadAFarm_gamesonly_fla.sheep_46}Uses:154 155 156 157 158 159 160 161 162 163 164 165Used by:167 288
Symbol 167 MovieClip {tile}Uses:88 101 114 127 140 153 166
Symbol 168 GraphicUsed by:231
Symbol 169 GraphicUsed by:170
Symbol 170 MovieClipUses:169Used by:231
Symbol 171 MovieClipUsed by:231
Symbol 172 BitmapUsed by:173 212 297
Symbol 173 GraphicUses:172Used by:231
Symbol 174 FontUsed by:175 176 177 222 227
Symbol 175 TextUses:174Used by:231
Symbol 176 TextUses:174Used by:231
Symbol 177 TextUses:174Used by:231
Symbol 178 GraphicUsed by:183
Symbol 179 ShapeTweeningUsed by:183
Symbol 180 GraphicUsed by:183
Symbol 181 GraphicUsed by:183
Symbol 182 GraphicUsed by:183
Symbol 183 MovieClip {OldMacdonaldHadAFarm_gamesonly_fla.Timeline_63}Uses:178 179 180 181 182Used by:231
Symbol 184 GraphicUsed by:231
Symbol 185 GraphicUsed by:186
Symbol 186 MovieClipUses:185Used by:189
Symbol 187 FontUsed by:188
Symbol 188 EditableTextUses:187Used by:189
Symbol 189 MovieClip {OldMacdonaldHadAFarm_gamesonly_fla.levelnum1_64}Uses:186 188Used by:231
Symbol 190 GraphicUsed by:191
Symbol 191 MovieClipUses:190Used by:231 296
Symbol 192 GraphicUsed by:193
Symbol 193 MovieClipUses:192Used by:231 296
Symbol 194 GraphicUsed by:195
Symbol 195 MovieClipUses:194Used by:231 296
Symbol 196 GraphicUsed by:197
Symbol 197 MovieClipUses:196Used by:231 296
Symbol 198 GraphicUsed by:199
Symbol 199 MovieClipUses:198Used by:231 296
Symbol 200 FontUsed by:201
Symbol 201 EditableTextUses:200Used by:231
Symbol 202 GraphicUsed by:203
Symbol 203 MovieClipUses:202Used by:231
Symbol 204 FontUsed by:205 208 215 298
Symbol 205 TextUses:204Used by:207
Symbol 206 GraphicUsed by:207 209
Symbol 207 ButtonUses:205 206Used by:231
Symbol 208 TextUses:204Used by:209
Symbol 209 ButtonUses:208 206Used by:231
Symbol 210 GraphicUsed by:211
Symbol 211 MovieClipUses:210Used by:231
Symbol 212 GraphicUses:172Used by:221
Symbol 213 GraphicUsed by:214
Symbol 214 MovieClipUses:213Used by:221 306
Symbol 215 TextUses:204Used by:221
Symbol 216 GraphicUsed by:220
Symbol 217 TextUses:26Used by:220
Symbol 218 TextUses:26Used by:220
Symbol 219 GraphicUsed by:220
Symbol 220 ButtonUses:216 217 218 219Used by:221
Symbol 221 MovieClip {OldMacdonaldHadAFarm_gamesonly_fla.pause_70}Uses:212 214 215 220Used by:231
Symbol 222 TextUses:174Used by:231
Symbol 223 FontUsed by:224
Symbol 224 EditableTextUses:223Used by:231
Symbol 225 FontUsed by:226
Symbol 226 EditableTextUses:225Used by:230
Symbol 227 EditableTextUses:174Used by:230
Symbol 228 FontUsed by:229
Symbol 229 EditableTextUses:228Used by:230
Symbol 230 MovieClip {OldMacdonaldHadAFarm_gamesonly_fla.Timeline_72}Uses:226 227 229Used by:231
Symbol 231 MovieClip {GameSceneMc}Uses:168 170 171 173 175 176 177 183 184 189 191 193 195 197 199 201 60 203 207 209 211 221 222 224 230
Symbol 232 GraphicUsed by:250
Symbol 233 GraphicUsed by:234
Symbol 234 MovieClipUses:233Used by:250 296
Symbol 235 TextUses:26Used by:250
Symbol 236 TextUses:26Used by:250
Symbol 237 GraphicUsed by:250
Symbol 238 FontUsed by:239
Symbol 239 EditableTextUses:238Used by:250
Symbol 240 GraphicUsed by:244
Symbol 241 TextUses:26Used by:244
Symbol 242 TextUses:26Used by:244
Symbol 243 GraphicUsed by:244
Symbol 244 ButtonUses:240 241 242 243Used by:250
Symbol 245 GraphicUsed by:249
Symbol 246 TextUses:26Used by:249
Symbol 247 TextUses:26Used by:249
Symbol 248 GraphicUsed by:249
Symbol 249 ButtonUses:245 246 247 248Used by:250
Symbol 250 MovieClip {GameOverMc}Uses:232 234 235 236 237 239 60 244 249
Symbol 251 GraphicUsed by:296
Symbol 252 TextUses:26Used by:296
Symbol 253 GraphicUsed by:296
Symbol 254 GraphicUsed by:258
Symbol 255 TextUses:26Used by:258
Symbol 256 TextUses:26Used by:258
Symbol 257 GraphicUsed by:258
Symbol 258 ButtonUses:254 255 256 257Used by:296
Symbol 259 GraphicUsed by:261
Symbol 260 TextUses:26Used by:261
Symbol 261 ButtonUses:259 260Used by:296
Symbol 262 GraphicUsed by:288
Symbol 263 GraphicUsed by:288
Symbol 264 GraphicUsed by:288
Symbol 265 GraphicUsed by:266
Symbol 266 MovieClipUses:265Used by:288
Symbol 267 GraphicUsed by:288
Symbol 268 GraphicUsed by:288
Symbol 269 GraphicUsed by:288
Symbol 270 GraphicUsed by:288
Symbol 271 GraphicUsed by:288
Symbol 272 GraphicUsed by:288
Symbol 273 GraphicUsed by:288
Symbol 274 GraphicUsed by:288
Symbol 275 MovieClip {OldMacdonaldHadAFarm_gamesonly_fla.Timeline_49}Uses:72Used by:288
Symbol 276 GraphicUsed by:288
Symbol 277 GraphicUsed by:288
Symbol 278 GraphicUsed by:288
Symbol 279 GraphicUsed by:288
Symbol 280 GraphicUsed by:281
Symbol 281 MovieClipUses:280Used by:288
Symbol 282 GraphicUsed by:288
Symbol 283 GraphicUsed by:288
Symbol 284 GraphicUsed by:288
Symbol 285 GraphicUsed by:288
Symbol 286 GraphicUsed by:288
Symbol 287 GraphicUsed by:288
Symbol 288 MovieClip {OldMacdonaldHadAFarm_gamesonly_fla.help_45}Uses:262 263 166 264 266 74 140 267 268 269 270 271 272 273 274 275 276 277 278 279 281 282 283 284 285 286 287Used by:296
Symbol 289 FontUsed by:290
Symbol 290 TextUses:289Used by:296
Symbol 291 TextUses:26Used by:296
Symbol 292 TextUses:26Used by:296
Symbol 293 TextUses:26Used by:296
Symbol 294 TextUses:26Used by:296
Symbol 295 TextUses:26Used by:296
Symbol 296 MovieClip {HelpMc}Uses:251 252 253 234 60 30 258 261 288 290 191 193 195 197 199 291 292 293 294 295
Symbol 297 GraphicUses:172Used by:306
Symbol 298 TextUses:204Used by:306
Symbol 299 EditableTextUses:26Used by:306
Symbol 300 TextUses:26Used by:306
Symbol 301 GraphicUsed by:305
Symbol 302 TextUses:26Used by:305
Symbol 303 TextUses:26Used by:305
Symbol 304 GraphicUsed by:305
Symbol 305 ButtonUses:301 302 303 304Used by:306
Symbol 306 MovieClip {NextMc}Uses:297 214 298 299 300 305 60
Symbol 307 GraphicUsed by:308
Symbol 308 MovieClip {maskbox}Uses:307
Symbol 309 SoundUsed by:310
Symbol 310 MovieClip {SoundMC}Uses:309 12
Symbol 311 GraphicUsed by:313
Symbol 312 GraphicUsed by:313
Symbol 313 MovieClip {OldMacdonaldHadAFarm_gamesonly_fla.music_28}Uses:311 312Used by:317
Symbol 314 GraphicUsed by:316
Symbol 315 GraphicUsed by:316
Symbol 316 MovieClip {OldMacdonaldHadAFarm_gamesonly_fla.sound_29}Uses:314 315Used by:317
Symbol 317 MovieClip {bg_mc}Uses:313 316
Symbol 318 GraphicUsed by:319
Symbol 319 MovieClipUses:318Used by:321
Symbol 320 GraphicUsed by:321
Symbol 321 MovieClipUses:319 320Used by:323
Symbol 322 GraphicUsed by:323
Symbol 323 MovieClipUses:321 322Used by:369
Symbol 324 GraphicUsed by:325
Symbol 325 MovieClipUses:324Used by:326
Symbol 326 MovieClip {OldMacdonaldHadAFarm_gamesonly_fla.Timeline_5}Uses:325Used by:369
Symbol 327 GraphicUsed by:328
Symbol 328 MovieClipUses:327Used by:329
Symbol 329 MovieClipUses:328Used by:330
Symbol 330 MovieClip {OldMacdonaldHadAFarm_gamesonly_fla.Timeline_7}Uses:329Used by:369
Symbol 331 GraphicUsed by:332
Symbol 332 MovieClipUses:331Used by:369
Symbol 333 GraphicUsed by:334
Symbol 334 MovieClipUses:333Used by:335
Symbol 335 MovieClipUses:334Used by:369
Symbol 336 GraphicUsed by:338
Symbol 337 GraphicUsed by:338
Symbol 338 MovieClipUses:336 337Used by:346
Symbol 339 GraphicUsed by:344
Symbol 340 GraphicUsed by:343
Symbol 341 GraphicUsed by:343
Symbol 342 GraphicUsed by:343
Symbol 343 MovieClipUses:340 341 342Used by:344
Symbol 344 MovieClipUses:339 343Used by:345
Symbol 345 MovieClipUses:344Used by:346
Symbol 346 MovieClipUses:338 345Used by:369
Symbol 347 GraphicUsed by:352 353
Symbol 348 FontUsed by:349 359 362
Symbol 349 TextUses:348Used by:350 353
Symbol 350 MovieClipUses:349Used by:352
Symbol 351 GraphicUsed by:352 353
Symbol 352 MovieClipUses:347 350 351Used by:353
Symbol 353 ButtonUses:352 347 349 351Used by:369
Symbol 354 FontUsed by:355
Symbol 355 EditableTextUses:354Used by:369
Symbol 356 SoundUsed by:369
Symbol 357 Font
Symbol 358 TextUsed by:360
Symbol 359 EditableTextUses:348Used by:360
Symbol 360 MovieClipUses:358 359Used by:361
Symbol 361 MovieClipUses:360Used by:368
Symbol 362 EditableTextUses:348Used by:363
Symbol 363 MovieClipUses:362Used by:368
Symbol 364 SoundUsed by:368
Symbol 365 GraphicUsed by:366
Symbol 366 MovieClipUses:365Used by:367
Symbol 367 MovieClipUses:366Used by:368
Symbol 368 MovieClipUses:361 363 364 367Used by:369
Symbol 369 MovieClip {OldMacdonaldHadAFarm_gamesonly_fla.Timeline_1}Uses:323 326 330 332 335 346 353 355 356 368Used by:Timeline

Instance Names

"loadingMC"Frame 1Symbol 369 MovieClip {OldMacdonaldHadAFarm_gamesonly_fla.Timeline_1}
"start_btn"Symbol 46 MovieClip {OldMacdonaldHadAFarm_gamesonly_fla.title_84} Frame 38Symbol 30 Button
"helpBtn"Symbol 46 MovieClip {OldMacdonaldHadAFarm_gamesonly_fla.title_84} Frame 38Symbol 35 Button
"score_btn"Symbol 46 MovieClip {OldMacdonaldHadAFarm_gamesonly_fla.title_84} Frame 38Symbol 40 Button
"more_btn"Symbol 46 MovieClip {OldMacdonaldHadAFarm_gamesonly_fla.title_84} Frame 38Symbol 45 Button
"d_Fscreen"Symbol 60 MovieClip {bt_mc_fscreen} Frame 1Symbol 55 Button
"d_Fscreen"Symbol 60 MovieClip {bt_mc_fscreen} Frame 2Symbol 59 Button
"gameMenu"Symbol 67 MovieClip {GameMenuMc} Frame 1Symbol 46 MovieClip {OldMacdonaldHadAFarm_gamesonly_fla.title_84}
"d_Fscreen"Symbol 67 MovieClip {GameMenuMc} Frame 1Symbol 60 MovieClip {bt_mc_fscreen}
"d_Facebook"Symbol 67 MovieClip {GameMenuMc} Frame 1Symbol 63 Button
"d_Twitter"Symbol 67 MovieClip {GameMenuMc} Frame 1Symbol 66 Button
"anim"Symbol 167 MovieClip {tile} Frame 1Symbol 88 MovieClip {OldMacdonaldHadAFarm_gamesonly_fla.cat_75}
"anim"Symbol 167 MovieClip {tile} Frame 2Symbol 101 MovieClip {OldMacdonaldHadAFarm_gamesonly_fla.chicken_76}
"anim"Symbol 167 MovieClip {tile} Frame 3Symbol 114 MovieClip {OldMacdonaldHadAFarm_gamesonly_fla.cow_77}
"anim"Symbol 167 MovieClip {tile} Frame 4Symbol 127 MovieClip {OldMacdonaldHadAFarm_gamesonly_fla.dog_78}
"anim"Symbol 167 MovieClip {tile} Frame 5Symbol 140 MovieClip {OldMacdonaldHadAFarm_gamesonly_fla.pig_48}
"anim"Symbol 167 MovieClip {tile} Frame 6Symbol 153 MovieClip {OldMacdonaldHadAFarm_gamesonly_fla.rabbit_79}
"anim"Symbol 167 MovieClip {tile} Frame 7Symbol 166 MovieClip {OldMacdonaldHadAFarm_gamesonly_fla.sheep_46}
"miss_txt"Symbol 189 MovieClip {OldMacdonaldHadAFarm_gamesonly_fla.levelnum1_64} Frame 10Symbol 188 EditableText
"back_btn"Symbol 221 MovieClip {OldMacdonaldHadAFarm_gamesonly_fla.pause_70} Frame 1Symbol 220 Button
"combword_txt"Symbol 230 MovieClip {OldMacdonaldHadAFarm_gamesonly_fla.Timeline_72} Frame 1Symbol 226 EditableText
"comb_txt"Symbol 230 MovieClip {OldMacdonaldHadAFarm_gamesonly_fla.Timeline_72} Frame 1Symbol 227 EditableText
"time_mc"Symbol 231 MovieClip {GameSceneMc} Frame 1Symbol 183 MovieClip {OldMacdonaldHadAFarm_gamesonly_fla.Timeline_63}
"miss_mc"Symbol 231 MovieClip {GameSceneMc} Frame 1Symbol 189 MovieClip {OldMacdonaldHadAFarm_gamesonly_fla.levelnum1_64}
"tool5"Symbol 231 MovieClip {GameSceneMc} Frame 1Symbol 191 MovieClip
"tool2"Symbol 231 MovieClip {GameSceneMc} Frame 1Symbol 193 MovieClip
"tool1"Symbol 231 MovieClip {GameSceneMc} Frame 1Symbol 195 MovieClip
"tool3"Symbol 231 MovieClip {GameSceneMc} Frame 1Symbol 197 MovieClip
"tool4"Symbol 231 MovieClip {GameSceneMc} Frame 1Symbol 199 MovieClip
"Score_txt"Symbol 231 MovieClip {GameSceneMc} Frame 1Symbol 201 EditableText
"d_Fscreen"Symbol 231 MovieClip {GameSceneMc} Frame 1Symbol 60 MovieClip {bt_mc_fscreen}
"mask_mc"Symbol 231 MovieClip {GameSceneMc} Frame 1Symbol 203 MovieClip
"pause_btn"Symbol 231 MovieClip {GameSceneMc} Frame 1Symbol 207 Button
"menu_btn"Symbol 231 MovieClip {GameSceneMc} Frame 1Symbol 209 Button
"zhezhao"Symbol 231 MovieClip {GameSceneMc} Frame 1Symbol 211 MovieClip
"zhezhao"Symbol 231 MovieClip {GameSceneMc} Frame 1Symbol 211 MovieClip
"back_mc"Symbol 231 MovieClip {GameSceneMc} Frame 1Symbol 221 MovieClip {OldMacdonaldHadAFarm_gamesonly_fla.pause_70}
"miss_txt"Symbol 231 MovieClip {GameSceneMc} Frame 1Symbol 224 EditableText
"comb"Symbol 231 MovieClip {GameSceneMc} Frame 1Symbol 230 MovieClip {OldMacdonaldHadAFarm_gamesonly_fla.Timeline_72}
"end_score"Symbol 250 MovieClip {GameOverMc} Frame 1Symbol 239 EditableText
"d_Fscreen"Symbol 250 MovieClip {GameOverMc} Frame 1Symbol 60 MovieClip {bt_mc_fscreen}
"again_btn"Symbol 250 MovieClip {GameOverMc} Frame 1Symbol 244 Button
"submt_btn"Symbol 250 MovieClip {GameOverMc} Frame 1Symbol 249 Button
"anim"Symbol 288 MovieClip {OldMacdonaldHadAFarm_gamesonly_fla.help_45} Frame 1Symbol 166 MovieClip {OldMacdonaldHadAFarm_gamesonly_fla.sheep_46}
"anim"Symbol 288 MovieClip {OldMacdonaldHadAFarm_gamesonly_fla.help_45} Frame 8Symbol 140 MovieClip {OldMacdonaldHadAFarm_gamesonly_fla.pig_48}
"d_Fscreen"Symbol 296 MovieClip {HelpMc} Frame 1Symbol 60 MovieClip {bt_mc_fscreen}
"play_btn"Symbol 296 MovieClip {HelpMc} Frame 1Symbol 30 Button
"nextBtn"Symbol 296 MovieClip {HelpMc} Frame 1Symbol 258 Button
"previBtn"Symbol 296 MovieClip {HelpMc} Frame 1Symbol 261 Button
"shijian_txt"Symbol 306 MovieClip {NextMc} Frame 1Symbol 299 EditableText
"next_btn"Symbol 306 MovieClip {NextMc} Frame 1Symbol 305 Button
"d_Fscreen"Symbol 306 MovieClip {NextMc} Frame 1Symbol 60 MovieClip {bt_mc_fscreen}
"d_Sound"Symbol 317 MovieClip {bg_mc} Frame 1Symbol 313 MovieClip {OldMacdonaldHadAFarm_gamesonly_fla.music_28}
"d_Music"Symbol 317 MovieClip {bg_mc} Frame 1Symbol 316 MovieClip {OldMacdonaldHadAFarm_gamesonly_fla.sound_29}
"skip_btn"Symbol 369 MovieClip {OldMacdonaldHadAFarm_gamesonly_fla.Timeline_1} Frame 2Symbol 353 Button
"d_Load"Symbol 369 MovieClip {OldMacdonaldHadAFarm_gamesonly_fla.Timeline_1} Frame 2Symbol 355 EditableText
"mc_9_loading"Symbol 369 MovieClip {OldMacdonaldHadAFarm_gamesonly_fla.Timeline_1} Frame 77Symbol 368 MovieClip

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS3.
EnableDebugger2 (64)Timeline Frame 131 bytes "..$1$qc$lKWJCWlP0skjK1xgaMpO5/."

Labels

"start"Frame 2




http://swfchan.com/22/109322/info.shtml
Created: 10/8 -2019 11:09:29 Last modified: 10/8 -2019 11:09:29 Server time: 06/12 -2025 19:12:17