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

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

go-paris-hilton.swf

This is the info page for
Flash #116801

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


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

Real Gaming Treat

Play

Pause

Paused

<p align="center"><font face="Agent Red" size="46" color="#000000" letterSpacing="0.000000" kerning="1"><b>100%</b></font></p>

Every

Thursday

New Celebrity Game

<p align="center"><font face="Berlin Sans FB Demi" size="25" color="#ff0000" letterSpacing="0.000000" kerning="1">0 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</font></p>

12

1234

similar games

Name :

Total :

Country :

High Score

Submit >>

Play Again

<p align="left"></p>

<p align="left"></p>

High Scores

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

ActionScript [AS3]

Section 1
//bgyikujpassghghk_253 (bg1_fla.bgyikujpassghghk_253) package bg1_fla { import flash.display.*; import flash.utils.*; import flash.net.*; import flash.events.*; import flash.text.*; import flash.media.*; import flash.ui.*; import flash.geom.*; import flash.system.*; import flash.external.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.filters.*; import flash.printing.*; import flash.xml.*; public dynamic class bgyikujpassghghk_253 extends MovieClip { public var btn:SimpleButton; public var hit:SimpleButton; public function bgyikujpassghghk_253(){ addFrameScript(0, frame1, 1, frame2, 28, frame29, 59, frame60); } public function goplay(_arg1:MouseEvent){ Object(parent.parent).pausemake = false; gotoAndPlay(30); } function frame1(){ stop(); Object(parent.parent).pausebg_mc.visible = false; } function frame29(){ stop(); hit.addEventListener(MouseEvent.CLICK, goplay); } function frame2(){ Object(parent.parent).pausebg_mc.visible = true; } function frame60(){ stop(); Object(parent.parent).playall(); gotoAndStop(1); } } }//package bg1_fla
Section 2
//bnbvndzsdZSd_182 (bg1_fla.bnbvndzsdZSd_182) package bg1_fla { import flash.display.*; public dynamic class bnbvndzsdZSd_182 extends MovieClip { public var hit:MovieClip; public function bnbvndzsdZSd_182(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package bg1_fla
Section 3
//CVUJHGHJNpassghgk_266 (bg1_fla.CVUJHGHJNpassghgk_266) package bg1_fla { import flash.display.*; public dynamic class CVUJHGHJNpassghgk_266 extends MovieClip { public function CVUJHGHJNpassghgk_266(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package bg1_fla
Section 4
//dfgxbvcpassghgk_254 (bg1_fla.dfgxbvcpassghgk_254) package bg1_fla { import flash.display.*; import flash.net.*; import flash.events.*; public dynamic class dfgxbvcpassghgk_254 extends MovieClip { public var logo_mc:MovieClip; public function dfgxbvcpassghgk_254(){ addFrameScript(0, frame1); } public function sendWebsite(_arg1:MouseEvent){ if (!this.loaderInfo.url.match("yotreat")){ navigateToURL(new URLRequest("http://www.yotreat.com"), "_blank"); }; } function frame1(){ logo_mc.buttonMode = true; logo_mc.addEventListener(MouseEvent.MOUSE_DOWN, sendWebsite); } } }//package bg1_fla
Section 5
//disppp_353 (bg1_fla.disppp_353) package bg1_fla { import flash.display.*; public dynamic class disppp_353 extends MovieClip { public function disppp_353(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package bg1_fla
Section 6
//fghf_356 (bg1_fla.fghf_356) package bg1_fla { import flash.display.*; public dynamic class fghf_356 extends MovieClip { public function fghf_356(){ addFrameScript(4, frame5); } function frame5(){ stop(); this.parent.removeChild(this); } } }//package bg1_fla
Section 7
//fghsfsdsfs_212 (bg1_fla.fghsfsdsfs_212) package bg1_fla { import flash.display.*; public dynamic class fghsfsdsfs_212 extends MovieClip { public function fghsfsdsfs_212(){ addFrameScript(31, frame32); } function frame32(){ stop(); } } }//package bg1_fla
Section 8
//fgkjhdzsdZSd_197 (bg1_fla.fgkjhdzsdZSd_197) package bg1_fla { import flash.display.*; public dynamic class fgkjhdzsdZSd_197 extends MovieClip { public function fgkjhdzsdZSd_197(){ addFrameScript(23, frame24); } function frame24(){ stop(); } } }//package bg1_fla
Section 9
//fhbgfhdzsdZSd_210 (bg1_fla.fhbgfhdzsdZSd_210) package bg1_fla { import flash.display.*; public dynamic class fhbgfhdzsdZSd_210 extends MovieClip { public function fhbgfhdzsdZSd_210(){ addFrameScript(39, frame40); } function frame40(){ stop(); } } }//package bg1_fla
Section 10
//fljhflogon_58 (bg1_fla.fljhflogon_58) package bg1_fla { import flash.display.*; import flash.net.*; import flash.events.*; public dynamic class fljhflogon_58 extends MovieClip { public var logo_mc:MovieClip; public function fljhflogon_58(){ addFrameScript(0, frame1); } public function sendWebsite(_arg1:MouseEvent){ navigateToURL(new URLRequest("http://www.yotreat.com/"), "_blank"); } function frame1(){ logo_mc.buttonMode = true; logo_mc.addEventListener(MouseEvent.MOUSE_DOWN, sendWebsite); } } }//package bg1_fla
Section 11
//fljhflogon_lo_59 (bg1_fla.fljhflogon_lo_59) package bg1_fla { import flash.display.*; import flash.net.*; import flash.events.*; public dynamic class fljhflogon_lo_59 extends MovieClip { public var logo_mc:MovieClip; public function fljhflogon_lo_59(){ addFrameScript(0, frame1); } public function sendWebsite(_arg1:MouseEvent){ navigateToURL(new URLRequest("http://www.yotreat.com//"), "_blank"); } function frame1(){ logo_mc.buttonMode = true; logo_mc.addEventListener(MouseEvent.MOUSE_DOWN, sendWebsite); } } }//package bg1_fla
Section 12
//fljhflogonprlaaaa_36 (bg1_fla.fljhflogonprlaaaa_36) package bg1_fla { import flash.display.*; import flash.net.*; import flash.events.*; public dynamic class fljhflogonprlaaaa_36 extends MovieClip { public var logo_mc:MovieClip; public function fljhflogonprlaaaa_36(){ addFrameScript(0, frame1); } public function sendWebsite(_arg1:MouseEvent){ navigateToURL(new URLRequest("http://www.yotreat.com//"), "_blank"); } function frame1(){ logo_mc.buttonMode = true; logo_mc.addEventListener(MouseEvent.MOUSE_DOWN, sendWebsite); } } }//package bg1_fla
Section 13
//fsdfsdfsdf_127 (bg1_fla.fsdfsdfsdf_127) package bg1_fla { import flash.display.*; public dynamic class fsdfsdfsdf_127 extends MovieClip { public var stone10:stone; public var stone11:stone; public var stone14:stone; public var stone15:stone; public var stone13:stone; public var stone2:stone; public var stone5:stone; public var stone6:stone; public var stone3:stone; public var stone4:stone; public var stone16:stone; public var stone9:stone; public var stone12:stone; public var stone1:stone; public var stone7:stone; public var stone8:stone; } }//package bg1_fla
Section 14
//fvgtyj_ti_244 (bg1_fla.fvgtyj_ti_244) package bg1_fla { import flash.display.*; public dynamic class fvgtyj_ti_244 extends MovieClip { public function fvgtyj_ti_244(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package bg1_fla
Section 15
//gameOverMc_307 (bg1_fla.gameOverMc_307) package bg1_fla { import fl.controls.*; import flash.display.*; import flash.text.*; public dynamic class gameOverMc_307 extends MovieClip { public var left_btn:SimpleButton; public var score_txt:TextField; public var gCont_mc:MovieClip; public var pAgain_btn:SimpleButton; public var scoreDisp_mc:MovieClip; public var countryCombo:ComboBox; public var submit_btn:SimpleButton; public var right_btn:SimpleButton; public var name_txt:TextField; public var name_mc:MovieClip; public var combo_mc:MovieClip; public function gameOverMc_307(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package bg1_fla
Section 16
//gfjhgdfvgxdfd_172 (bg1_fla.gfjhgdfvgxdfd_172) package bg1_fla { import flash.display.*; public dynamic class gfjhgdfvgxdfd_172 extends MovieClip { public function gfjhgdfvgxdfd_172(){ addFrameScript(0, frame1, 11, frame12); } function frame12(){ stop(); } function frame1(){ stop(); } } }//package bg1_fla
Section 17
//gfyhju_55 (bg1_fla.gfyhju_55) package bg1_fla { import flash.display.*; import flash.utils.*; import flash.net.*; import flash.events.*; import flash.text.*; import flash.media.*; import flash.ui.*; import flash.geom.*; import flash.system.*; import flash.external.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.filters.*; import flash.printing.*; import flash.xml.*; public dynamic class gfyhju_55 extends MovieClip { public function gfyhju_55(){ addFrameScript(139, frame140); } function frame140(){ Object(parent).gotoAndStop("startpage"); } } }//package bg1_fla
Section 18
//gjhgjsssssdfsdfsdf_174 (bg1_fla.gjhgjsssssdfsdfsdf_174) package bg1_fla { import flash.display.*; public dynamic class gjhgjsssssdfsdfsdf_174 extends MovieClip { public function gjhgjsssssdfsdfsdf_174(){ addFrameScript(0, frame1, 6, frame7); } function frame7(){ stop(); } function frame1(){ stop(); } } }//package bg1_fla
Section 19
//gjhhgjdfvgxdfd_177 (bg1_fla.gjhhgjdfvgxdfd_177) package bg1_fla { import flash.display.*; public dynamic class gjhhgjdfvgxdfd_177 extends MovieClip { public function gjhhgjdfvgxdfd_177(){ addFrameScript(7, frame8); } function frame8(){ stop(); } } }//package bg1_fla
Section 20
//gvhk_ti_239 (bg1_fla.gvhk_ti_239) package bg1_fla { import flash.display.*; public dynamic class gvhk_ti_239 extends MovieClip { public var pause_btn:SimpleButton; public function gvhk_ti_239(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package bg1_fla
Section 21
//gvjhfg_312 (bg1_fla.gvjhfg_312) package bg1_fla { import flash.display.*; public dynamic class gvjhfg_312 extends MovieClip { public function gvjhfg_312(){ addFrameScript(0, frame1, 12, frame13); } function frame1(){ stop(); } function frame13(){ gotoAndPlay(2); } } }//package bg1_fla
Section 22
//hgxvsssssdfsdfsdf_179 (bg1_fla.hgxvsssssdfsdfsdf_179) package bg1_fla { import flash.display.*; public dynamic class hgxvsssssdfsdfsdf_179 extends MovieClip { public function hgxvsssssdfsdfsdf_179(){ addFrameScript(0, frame1, 8, frame9); } function frame1(){ stop(); } function frame9(){ stop(); } } }//package bg1_fla
Section 23
//hjkjdfvgxdfd_170 (bg1_fla.hjkjdfvgxdfd_170) package bg1_fla { import flash.display.*; public dynamic class hjkjdfvgxdfd_170 extends MovieClip { public function hjkjdfvgxdfd_170(){ addFrameScript(0, frame1, 8, frame9); } function frame1(){ stop(); } function frame9(){ stop(); } } }//package bg1_fla
Section 24
//MainTimeline (bg1_fla.MainTimeline) package bg1_fla { import flash.display.*; import flash.utils.*; import flash.net.*; import flash.events.*; import com.greensock.*; import flash.text.*; import flash.media.*; import flash.ui.*; import flash.geom.*; import flash.system.*; import flash.external.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.filters.*; import flash.printing.*; import flash.xml.*; import com.greensock.easing.*; public dynamic class MainTimeline extends MovieClip { public var scores:Number; public var lcount:Number; public var jump:Boolean; public var loaderCont_mc:MovieClip; public var loaderAttach:Boolean; public var mytween; public var userId:String; public var time_mc:MovieClip; public var sc:SoundChannel; public var perct:int; public var myContextMenu:ContextMenu; public var loaderSnd:loaderStart; public var own_site:String; public var scorelimit:Number; public var pausewait:Number; public var urlString:String; public var endvar; public var timeset; public var gof; public var pause_mc:MovieClip; public var timecount; public var jumpSpeedLimit:int; public var i; public var gameId:String; public var jumpSpeed:Number; public var start_xml:XML; public var uniqueId:Number; public var muteplay:Boolean; public var play_btn:SimpleButton; public var xspeed:Number; public var s_mc:MovieClip; public var ballCnt:Number; public var cntLoader:URLLoader; public var cntRequest:URLRequest; public var loadedval:Number; public var start_btn:SimpleButton; public var back_btn:SimpleButton; public var pausemake:Boolean; public var xpos:Number; public var moveright:Boolean; public var menuItem:ContextMenuItem; public var mainJumping:Boolean; public var startLoader:URLLoader; public var loadFinish:Boolean; public var hScore:highScore; public var char_mc:MovieClip; public var loginVar:Boolean; public var loadChannel:SoundChannel; public var score_txt:TextField; public var stoneArray; public var bgsc:SoundChannel; public var moveleft:Boolean; public var subSoundChannel1:SoundChannel; public var levels:Number; public var con_mc:MovieClip; public var pausebg_mc:pausebtn; public var gPage:MovieClip; public var gameName:String; public var hitted:Boolean; public var logo:MovieClip; public var submit_btn:SimpleButton; public var txtPerct:Number; public var mout:Boolean; public var startRequest:URLRequest; public var bg_mc:MovieClip; public var loaderBg:preLoaderMc; public var lifearr:Array; public function MainTimeline(){ addFrameScript(0, frame1, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7); } public function mousemove(_arg1:MouseEvent){ stage.removeEventListener(MouseEvent.MOUSE_OVER, mousemove); mout = false; clearInterval(pausewait); pausewait = 0; stage.addEventListener(Event.MOUSE_LEAVE, mouseout); } public function uplis(_arg1:KeyboardEvent){ switch (_arg1.keyCode){ case 38: jump = false; break; case 37: moveleft = false; break; case 39: moveright = false; break; }; stage.addEventListener(KeyboardEvent.KEY_DOWN, downlis); } public function startLoaderFun(_arg1:Event){ start_xml = new XML(_arg1.target.data); gameId = start_xml.game_id; userId = start_xml.uid; gameName = start_xml.game_url; trace(("userId=" + userId)); urlString = ("http://www.yotreat.com/game_tracking?nid=" + gameId); cntRequest = new URLRequest(urlString); loadFinish = true; } public function playsound(_arg1:String){ var _local2:Class; var _local3:Object; if (muteplay == false){ _local2 = (getDefinitionByName(_arg1) as Class); _local3 = new (_local2); sc = _local3.play(); }; } function frame3(){ stop(); SoundMixer.stopAll(); levels = 1; scores = 0; play_btn.addEventListener(MouseEvent.CLICK, playlis); } function frame7(){ stage.focus = gPage.name_txt; gPage.score_txt.text = String(scores); SoundMixer.stopAll(); loginVar = false; if ((((userId == "0")) || ((userId == "")))){ loginVar = false; } else { loginVar = true; }; hScore = new highScore(loginVar, gPage, scores, gameId, gameName, own_site, userId); } function frame4(){ start_btn.addEventListener(MouseEvent.CLICK, startlis); back_btn.addEventListener(MouseEvent.CLICK, backlis); } public function backlis(_arg1:MouseEvent){ gotoAndStop("startpage"); } function frame5(){ bg_mc.x = 12285.4; bg_mc.y = 191; char_mc.x = 142; char_mc.y = 385; muteplay = false; xspeed = 15; score_txt.text = String(scores); scorelimit = 0; lifearr = new Array(); lcount = 0; xpos = 0; hitted = false; mainJumping = false; jumpSpeedLimit = 10; jumpSpeed = jumpSpeedLimit; stoneArray = new Array("", 1, 2, 3, 4, 5, 6); playsound1("bgs"); bgsc = new SoundChannel(); sc = new SoundChannel(); i = 1; while (i < 17) { gof = Math.round(((Math.random() * (stoneArray.length - 2)) + 1)); bg_mc[("stone" + i)].gotoAndStop(stoneArray[gof]); i++; }; jump = false; moveleft = false; moveright = false; stage.addEventListener(KeyboardEvent.KEY_DOWN, downlis); stage.addEventListener(KeyboardEvent.KEY_UP, uplis); stage.addEventListener(Event.ENTER_FRAME, running); timeset = setInterval(timefun, 1000); timecount = 0; time_mc.time_txt.text = String(timecount); pausemake = false; mout = false; stage.addEventListener(Event.MOUSE_LEAVE, mouseout); stage.addEventListener(KeyboardEvent.KEY_DOWN, keyevents); pause_mc.buttonMode = true; pause_mc.tabEnabled = false; pause_mc.addEventListener(MouseEvent.CLICK, pauselis); } function frame1(){ stop(); stage.scaleMode = "exactFit"; loaderAttach = true; loadedval = 0; ballCnt = 0; loaderBg = new preLoaderMc(); loaderSnd = new loaderStart(); loadChannel = loaderSnd.play(0, int.MAX_VALUE); loaderAddFun(); stage.addEventListener(Event.ENTER_FRAME, loadSwf); txtPerct = 0; perct = 0; myContextMenu = new ContextMenu(); myContextMenu.hideBuiltInItems(); menuItem = new ContextMenuItem("http://www.yotreat.com"); menuItem.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, getAction); myContextMenu.customItems.push(menuItem); this.contextMenu = myContextMenu; subSoundChannel1 = new SoundChannel(); uniqueId = 5028; loadFinish = false; startLoader = new URLLoader(); own_site = root.loaderInfo.parameters.ownsite; startRequest = new URLRequest(((("http://www.yotreat.com/gameinfo?swfid=" + uniqueId) + "&ownsite=") + own_site)); startLoader.load(startRequest); startLoader.addEventListener(Event.COMPLETE, startLoaderFun); cntLoader = new URLLoader(); } public function mouseout(_arg1:Event){ if (pausemake == false){ stage.removeEventListener(Event.MOUSE_LEAVE, mouseout); pausewait = setInterval(pausego, 2000); mout = true; stage.addEventListener(MouseEvent.MOUSE_OVER, mousemove); }; } public function keyevents(_arg1:KeyboardEvent){ if ((((_arg1.keyCode == 80)) || ((_arg1.keyCode == 112)))){ if (!pausemake){ pausego(); } else { if (pausemake){ pausemake = false; pausebg_mc.pause_mc.gotoAndPlay(30); if (mout == true){ pausewait = setInterval(pausego, 2000); }; }; }; } else { if ((((_arg1.keyCode == 77)) || ((_arg1.keyCode == 109)))){ if (!pausemake){ if (!muteplay){ pause_mc.mute_btn.gotoAndStop(2); SoundMixer.stopAll(); muteplay = true; } else { if (muteplay == true){ muteplay = false; playsound1("bgs"); pause_mc.mute_btn.gotoAndStop(1); }; }; }; }; }; } public function downlis(_arg1:KeyboardEvent){ stage.removeEventListener(KeyboardEvent.KEY_DOWN, downlis); switch (_arg1.keyCode){ case 38: jump = true; break; case 37: moveleft = true; break; case 39: moveright = true; break; }; } function frame6(){ clearInterval(timeset); SoundMixer.stopAll(); playsound("gameen"); mytween.pause(); trace(scores); s_mc.s_txt.text = String(scores); submit_btn.addEventListener(MouseEvent.CLICK, submitlis); } public function pauselis(_arg1:MouseEvent){ if (_arg1.target == pause_mc.pausehit){ if (pausemake == false){ pausego(); }; } else { if (_arg1.target == pause_mc.mutehit){ if (muteplay == false){ pause_mc.mute_btn.gotoAndStop(2); SoundMixer.stopAll(); muteplay = true; } else { if (muteplay == true){ muteplay = false; playsound1("bgs"); pause_mc.mute_btn.gotoAndStop(1); }; }; }; }; } public function timefun1(){ mytween = TweenLite.to(time_mc, 0.1, {scaleX:1, scaleY:1}); } public function playlis(_arg1:MouseEvent){ cntLoader.load(cntRequest); gotoAndStop("ins"); } public function goend(){ clearInterval(endvar); trace("hai"); gotoAndStop("gameend"); } public function checksound(_arg1:Event){ bgsc.removeEventListener(Event.SOUND_COMPLETE, checksound); playsound1("bgs"); } public function loaderAddFun(){ addChild(loaderBg); } public function startlis(_arg1:MouseEvent){ MochiBot.track(this, "f9903ae3"); gotoAndStop("gamepage"); } public function getAction(_arg1:ContextMenuEvent){ navigateToURL(new URLRequest(_arg1.target.caption), "_blank"); } public function playsound1(_arg1:String){ var _local2:Class; var _local3:Object; if (muteplay == false){ _local2 = (getDefinitionByName(_arg1) as Class); _local3 = new (_local2); bgsc = _local3.play(); bgsc.addEventListener(Event.SOUND_COMPLETE, checksound); }; } public function pausego(){ SoundMixer.stopAll(); clearInterval(timeset); clearInterval(pausewait); stage.removeEventListener(Event.ENTER_FRAME, running); stage.removeEventListener(KeyboardEvent.KEY_DOWN, downlis); stage.removeEventListener(KeyboardEvent.KEY_UP, uplis); pausemake = true; pause_mc.mute_btn.gotoAndStop(2); pause_mc.pause_btn.gotoAndStop(2); pausebg_mc.pause_mc.gotoAndPlay(2); } public function playLoaderSnd(_arg1:String){ var _local2:Class; var _local3:Object; _local2 = (getDefinitionByName(_arg1) as Class); _local3 = new (_local2); subSoundChannel1 = _local3.play(); } public function submitlis(_arg1:MouseEvent){ gotoAndStop("highScorePage"); } public function mainJump():void{ if (!mainJumping){ char_mc.gotoAndStop(2); playsound("jumps"); mainJumping = true; jumpSpeed = (jumpSpeedLimit * -1); char_mc.y = (char_mc.y + jumpSpeed); } else { if (jumpSpeed < 0){ jumpSpeed = (jumpSpeed * (1 - (jumpSpeedLimit / 150))); if (jumpSpeed > (-(jumpSpeedLimit) / 3)){ jumpSpeed = (jumpSpeed * -0.8); }; }; if ((((jumpSpeed > 0)) && ((jumpSpeed <= jumpSpeedLimit)))){ jumpSpeed = (jumpSpeed * (1 + (jumpSpeedLimit / 100))); }; char_mc.y = (char_mc.y + jumpSpeed); if (char_mc.y >= ((stage.stageHeight - char_mc.height) + 50)){ mainJumping = false; char_mc.gotoAndStop(1); char_mc.y = ((stage.stageHeight - char_mc.height) + 50); }; }; } public function timefun(){ timecount = (timecount + 1); time_mc.time_txt.text = String(timecount); mytween = TweenLite.to(time_mc, 0.1, {scaleX:1.4, scaleY:1.4, onComplete:timefun1}); } public function loadSwf(_arg1:Event){ txtPerct = Math.round(((this.loaderInfo.bytesLoaded / this.loaderInfo.bytesTotal) * 100)); trace(("perct=" + txtPerct)); if (txtPerct > loadedval){ loadedval = (loadedval + 1); }; if (((((((loadedval % 12) == 0)) && ((ballCnt < 7)))) && ((loaderBg.cream_mc.currentFrame == 1)))){ ballCnt++; trace(("ballCnt=" + ballCnt)); loaderBg.cream_mc[("ball" + ballCnt)].gotoAndPlay(2); }; loaderBg.cream_mc.text_mc.txt.text = String((txtPerct + "%")); if ((((txtPerct == 80)) && ((loaderBg.cream_mc.currentFrame == 1)))){ loaderBg.cream_mc.gotoAndStop(2); }; if (txtPerct == 100){ stage.removeEventListener(Event.ENTER_FRAME, loadSwf); loadChannel.stop(); playLoaderSnd("loaderEnd"); setTimeout(callGameFun, 2000); trace("callHere"); }; } public function running(_arg1:Event){ var _local2:*; var _local3:*; var _local4:*; var _local5:life; var _local6:Array; if (scores <= scorelimit){ scores = (scores + 3); score_txt.text = String(scores); }; if (bg_mc.x < -15932){ clearInterval(pausewait); clearInterval(timeset); stage.removeEventListener(Event.ENTER_FRAME, running); stage.removeEventListener(MouseEvent.MOUSE_OVER, mousemove); stage.removeEventListener(KeyboardEvent.KEY_DOWN, downlis); stage.removeEventListener(KeyboardEvent.KEY_UP, uplis); stage.removeEventListener(Event.MOUSE_LEAVE, mouseout); stage.removeEventListener(KeyboardEvent.KEY_DOWN, keyevents); pause_mc.removeEventListener(MouseEvent.CLICK, pauselis); char_mc.gotoAndStop(5); endvar = setInterval(goend, 3000); } else { con_mc.x = (con_mc.x - xspeed); bg_mc.x = (bg_mc.x - xspeed); }; _local2 = 1; while (_local2 < 17) { if (char_mc.hit.hitTestObject(bg_mc[("stone" + _local2)])){ _local4 = this[("stone" + _local2)]; playsound("skate"); clearInterval(pausewait); stage.removeEventListener(MouseEvent.MOUSE_OVER, mousemove); stage.removeEventListener(Event.MOUSE_LEAVE, mouseout); stage.removeEventListener(KeyboardEvent.KEY_DOWN, keyevents); pause_mc.removeEventListener(MouseEvent.CLICK, pauselis); stage.removeEventListener(Event.ENTER_FRAME, running); stage.removeEventListener(KeyboardEvent.KEY_DOWN, downlis); stage.removeEventListener(KeyboardEvent.KEY_UP, uplis); hitted = true; if (bg_mc[("stone" + _local2)].currentFrame == 1){ if (mainJumping){ char_mc.gotoAndStop(3); } else { char_mc.gotoAndStop(4); }; } else { char_mc.gotoAndStop(3); }; bg_mc[("stone" + _local2)].stone16.gotoAndPlay(2); endvar = setInterval(goend, 3000); }; _local2++; }; if (hitted == false){ if (((jump) || (mainJumping))){ mainJump(); }; }; while (lcount < 1000) { _local5 = new life(); _local6 = new Array(270, 330); con_mc.addChild(_local5); lifearr.push(_local5); xpos = (xpos + 90); lifearr[lcount].x = (lifearr[lcount].x + xpos); lifearr[lcount].y = _local6[Math.round((Math.random() * (_local6.length - 1)))]; lcount++; }; _local3 = 0; while (_local3 < lifearr.length) { if (char_mc.hit.hitTestObject(lifearr[_local3])){ lifearr[_local3].gotoAndStop(2); lifearr.splice(_local3, 1); lcount--; xspeed = (xspeed + 0.1); scorelimit = (scorelimit + 6); }; _local3++; }; } public function playall(){ timeset = setInterval(timefun, 1000); pause_mc.pause_btn.gotoAndStop(1); if (muteplay == false){ playsound1("bgs"); pause_mc.mute_btn.gotoAndStop(1); }; stage.addEventListener(Event.ENTER_FRAME, running); stage.addEventListener(KeyboardEvent.KEY_DOWN, downlis); stage.addEventListener(KeyboardEvent.KEY_UP, uplis); pausemake = false; } public function callGameFun(){ stage.removeEventListener(Event.ENTER_FRAME, loadSwf); loaderBg.parent.removeChild(loaderBg); gotoAndStop("videopage"); } } }//package bg1_fla
Section 25
//mbnmdfvgxdfd_176 (bg1_fla.mbnmdfvgxdfd_176) package bg1_fla { import flash.display.*; public dynamic class mbnmdfvgxdfd_176 extends MovieClip { public function mbnmdfvgxdfd_176(){ addFrameScript(0, frame1, 8, frame9); } function frame1(){ stop(); } function frame9(){ stop(); } } }//package bg1_fla
Section 26
//scoooo_352 (bg1_fla.scoooo_352) package bg1_fla { import flash.display.*; import flash.text.*; public dynamic class scoooo_352 extends MovieClip { public var score1:TextField; public var name1:TextField; public var name3:TextField; public var name8:TextField; public var name2:TextField; public var score5:TextField; public var name6:TextField; public var name5:TextField; public var name4:TextField; public var name7:TextField; public var score6:TextField; public var name9:TextField; public var pos1:TextField; public var pos3:TextField; public var pos7:TextField; public var pos6:TextField; public var pos8:TextField; public var pos2:TextField; public var pos5:TextField; public var color_mc1:MovieClip; public var color_mc5:MovieClip; public var color_mc6:MovieClip; public var pos9:TextField; public var color_mc3:MovieClip; public var color_mc4:MovieClip; public var color_mc8:MovieClip; public var color_mc2:MovieClip; public var pos4:TextField; public var color_mc7:MovieClip; public var color_mc0:MovieClip; public var score2:TextField; public var score3:TextField; public var score7:TextField; public var score8:TextField; public var score4:TextField; public var score9:TextField; } }//package bg1_fla
Section 27
//Symbol10_169 (bg1_fla.Symbol10_169) package bg1_fla { import flash.display.*; public dynamic class Symbol10_169 extends MovieClip { public function Symbol10_169(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package bg1_fla
Section 28
//Symbol13prlaaaa_19 (bg1_fla.Symbol13prlaaaa_19) package bg1_fla { import flash.display.*; import flash.text.*; public dynamic class Symbol13prlaaaa_19 extends MovieClip { public var txt:TextField; } }//package bg1_fla
Section 29
//Symbol14_lvlcopy_298 (bg1_fla.Symbol14_lvlcopy_298) package bg1_fla { import flash.display.*; import flash.utils.*; import flash.net.*; import flash.events.*; import flash.text.*; import flash.media.*; import flash.ui.*; import flash.geom.*; import flash.system.*; import flash.external.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.filters.*; import flash.printing.*; import flash.xml.*; public dynamic class Symbol14_lvlcopy_298 extends MovieClip { public var twitter_btn:SimpleButton; public function Symbol14_lvlcopy_298(){ addFrameScript(80, frame81, 83, frame84); } public function twitterFun(_arg1:MouseEvent){ navigateToURL(new URLRequest("http://twitter.com/yotreat"), "_blank"); } function frame84(){ stop(); MovieClip(root).submit_btn.visible = true; } function frame81(){ twitter_btn.addEventListener(MouseEvent.CLICK, twitterFun); } } }//package bg1_fla
Section 30
//Symbol28copyprlaaaa_32 (bg1_fla.Symbol28copyprlaaaa_32) package bg1_fla { import flash.display.*; public dynamic class Symbol28copyprlaaaa_32 extends MovieClip { public var logo:MovieClip; public function Symbol28copyprlaaaa_32(){ addFrameScript(52, frame53); } function frame53(){ stop(); } } }//package bg1_fla
Section 31
//Symbol29prlaaaa_10 (bg1_fla.Symbol29prlaaaa_10) package bg1_fla { import flash.display.*; public dynamic class Symbol29prlaaaa_10 extends MovieClip { public var ball1:MovieClip; public var ball6:MovieClip; public var ball2:MovieClip; public var ball3:MovieClip; public var ball4:MovieClip; public var ball5:MovieClip; public var ball7:MovieClip; public var text_mc:MovieClip; public function Symbol29prlaaaa_10(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package bg1_fla
Section 32
//Symbol31_237 (bg1_fla.Symbol31_237) package bg1_fla { import flash.display.*; public dynamic class Symbol31_237 extends MovieClip { public var rect:MovieClip; public var mute_btn:MovieClip; public var pause_btn:MovieClip; public var mutehit:MovieClip; public var pausehit:MovieClip; } }//package bg1_fla
Section 33
//Symbol36_250 (bg1_fla.Symbol36_250) package bg1_fla { import flash.display.*; import flash.text.*; public dynamic class Symbol36_250 extends MovieClip { public var time_txt:TextField; } }//package bg1_fla
Section 34
//Symbol6_209 (bg1_fla.Symbol6_209) package bg1_fla { import flash.display.*; public dynamic class Symbol6_209 extends MovieClip { public function Symbol6_209(){ addFrameScript(19, frame20); } function frame20(){ stop(); } } }//package bg1_fla
Section 35
//Symbol7_211 (bg1_fla.Symbol7_211) package bg1_fla { import flash.display.*; public dynamic class Symbol7_211 extends MovieClip { public function Symbol7_211(){ addFrameScript(10, frame11); } function frame11(){ stop(); } } }//package bg1_fla
Section 36
//Symbol8_297 (bg1_fla.Symbol8_297) package bg1_fla { import flash.display.*; import flash.text.*; public dynamic class Symbol8_297 extends MovieClip { public var s_txt:TextField; } }//package bg1_fla
Section 37
//Symbol9_95 (bg1_fla.Symbol9_95) package bg1_fla { import flash.display.*; import flash.net.*; import flash.events.*; public dynamic class Symbol9_95 extends MovieClip { public var logo_btn:SimpleButton; public function Symbol9_95(){ addFrameScript(0, frame1); } function frame1(){ logo_btn.addEventListener(MouseEvent.MOUSE_DOWN, send2Website); } public function send2Website(_arg1:MouseEvent){ navigateToURL(new URLRequest("http://www.yotreat.com/"), "_blank"); } } }//package bg1_fla
Section 38
//Tween14xprlaaaa_29 (bg1_fla.Tween14xprlaaaa_29) package bg1_fla { import flash.display.*; public dynamic class Tween14xprlaaaa_29 extends MovieClip { public function Tween14xprlaaaa_29(){ addFrameScript(0, frame1, 24, frame25); } function frame1(){ stop(); } function frame25(){ stop(); } } }//package bg1_fla
Section 39
//Tween15xprlaaaa_30 (bg1_fla.Tween15xprlaaaa_30) package bg1_fla { import flash.display.*; public dynamic class Tween15xprlaaaa_30 extends MovieClip { public function Tween15xprlaaaa_30(){ addFrameScript(0, frame1, 24, frame25); } function frame1(){ stop(); } function frame25(){ stop(); } } }//package bg1_fla
Section 40
//Tween16xprlaaaa_27 (bg1_fla.Tween16xprlaaaa_27) package bg1_fla { import flash.display.*; public dynamic class Tween16xprlaaaa_27 extends MovieClip { public function Tween16xprlaaaa_27(){ addFrameScript(0, frame1, 24, frame25); } function frame1(){ stop(); } function frame25(){ stop(); } } }//package bg1_fla
Section 41
//Tween17xprlaaaa_25 (bg1_fla.Tween17xprlaaaa_25) package bg1_fla { import flash.display.*; public dynamic class Tween17xprlaaaa_25 extends MovieClip { public function Tween17xprlaaaa_25(){ addFrameScript(0, frame1, 24, frame25); } function frame1(){ stop(); } function frame25(){ stop(); } } }//package bg1_fla
Section 42
//Tween18xprlaaaa_23 (bg1_fla.Tween18xprlaaaa_23) package bg1_fla { import flash.display.*; public dynamic class Tween18xprlaaaa_23 extends MovieClip { public function Tween18xprlaaaa_23(){ addFrameScript(0, frame1, 24, frame25); } function frame1(){ stop(); } function frame25(){ stop(); } } }//package bg1_fla
Section 43
//Tween19xprlaaaa_21 (bg1_fla.Tween19xprlaaaa_21) package bg1_fla { import flash.display.*; public dynamic class Tween19xprlaaaa_21 extends MovieClip { public function Tween19xprlaaaa_21(){ addFrameScript(0, frame1, 24, frame25); } function frame1(){ stop(); } function frame25(){ stop(); } } }//package bg1_fla
Section 44
//Tween20xprlaaaa_20 (bg1_fla.Tween20xprlaaaa_20) package bg1_fla { import flash.display.*; public dynamic class Tween20xprlaaaa_20 extends MovieClip { public function Tween20xprlaaaa_20(){ addFrameScript(0, frame1, 24, frame25); } function frame1(){ stop(); } function frame25(){ stop(); } } }//package bg1_fla
Section 45
//MD5 (com.adobe.crypto.MD5) package com.adobe.crypto { import flash.utils.*; import com.adobe.utils.*; public class MD5 { public static var digest:ByteArray; private static function ff(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:int, _arg6:int, _arg7:int):int{ return (transform(f, _arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7)); } private static function f(_arg1:int, _arg2:int, _arg3:int):int{ return (((_arg1 & _arg2) | (~(_arg1) & _arg3))); } private static function g(_arg1:int, _arg2:int, _arg3:int):int{ return (((_arg1 & _arg3) | (_arg2 & ~(_arg3)))); } private static function h(_arg1:int, _arg2:int, _arg3:int):int{ return (((_arg1 ^ _arg2) ^ _arg3)); } private static function i(_arg1:int, _arg2:int, _arg3:int):int{ return ((_arg2 ^ (_arg1 | ~(_arg3)))); } private static function transform(_arg1:Function, _arg2:int, _arg3:int, _arg4:int, _arg5:int, _arg6:int, _arg7:int, _arg8:int):int{ var _local9:int; _local9 = (((_arg2 + int(_arg1(_arg3, _arg4, _arg5))) + _arg6) + _arg8); return ((IntUtil.rol(_local9, _arg7) + _arg3)); } private static function hh(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:int, _arg6:int, _arg7:int):int{ return (transform(h, _arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7)); } public static function hash(_arg1:String):String{ var _local2:ByteArray; _local2 = new ByteArray(); _local2.writeUTFBytes(_arg1); return (hashBinary(_local2)); } private static function createBlocks(_arg1:ByteArray):Array{ var _local2:Array; var _local3:int; var _local4:int; var _local5:int; _local2 = new Array(); _local3 = (_arg1.length * 8); _local4 = 0xFF; _local5 = 0; while (_local5 < _local3) { _local2[int((_local5 >> 5))] = (_local2[int((_local5 >> 5))] | ((_arg1[(_local5 / 8)] & _local4) << (_local5 % 32))); _local5 = (_local5 + 8); }; _local2[int((_local3 >> 5))] = (_local2[int((_local3 >> 5))] | (128 << (_local3 % 32))); _local2[int(((((_local3 + 64) >>> 9) << 4) + 14))] = _local3; return (_local2); } public static function hashBinary(_arg1:ByteArray):String{ var _local2:int; var _local3:int; var _local4:int; var _local5:int; var _local6:int; var _local7:int; var _local8:int; var _local9:int; var _local10:Array; var _local11:int; var _local12:int; _local2 = 1732584193; _local3 = -271733879; _local4 = -1732584194; _local5 = 271733878; _local10 = createBlocks(_arg1); _local11 = _local10.length; _local12 = 0; while (_local12 < _local11) { _local6 = _local2; _local7 = _local3; _local8 = _local4; _local9 = _local5; _local2 = ff(_local2, _local3, _local4, _local5, _local10[int((_local12 + 0))], 7, -680876936); _local5 = ff(_local5, _local2, _local3, _local4, _local10[int((_local12 + 1))], 12, -389564586); _local4 = ff(_local4, _local5, _local2, _local3, _local10[int((_local12 + 2))], 17, 606105819); _local3 = ff(_local3, _local4, _local5, _local2, _local10[int((_local12 + 3))], 22, -1044525330); _local2 = ff(_local2, _local3, _local4, _local5, _local10[int((_local12 + 4))], 7, -176418897); _local5 = ff(_local5, _local2, _local3, _local4, _local10[int((_local12 + 5))], 12, 1200080426); _local4 = ff(_local4, _local5, _local2, _local3, _local10[int((_local12 + 6))], 17, -1473231341); _local3 = ff(_local3, _local4, _local5, _local2, _local10[int((_local12 + 7))], 22, -45705983); _local2 = ff(_local2, _local3, _local4, _local5, _local10[int((_local12 + 8))], 7, 1770035416); _local5 = ff(_local5, _local2, _local3, _local4, _local10[int((_local12 + 9))], 12, -1958414417); _local4 = ff(_local4, _local5, _local2, _local3, _local10[int((_local12 + 10))], 17, -42063); _local3 = ff(_local3, _local4, _local5, _local2, _local10[int((_local12 + 11))], 22, -1990404162); _local2 = ff(_local2, _local3, _local4, _local5, _local10[int((_local12 + 12))], 7, 1804603682); _local5 = ff(_local5, _local2, _local3, _local4, _local10[int((_local12 + 13))], 12, -40341101); _local4 = ff(_local4, _local5, _local2, _local3, _local10[int((_local12 + 14))], 17, -1502002290); _local3 = ff(_local3, _local4, _local5, _local2, _local10[int((_local12 + 15))], 22, 1236535329); _local2 = gg(_local2, _local3, _local4, _local5, _local10[int((_local12 + 1))], 5, -165796510); _local5 = gg(_local5, _local2, _local3, _local4, _local10[int((_local12 + 6))], 9, -1069501632); _local4 = gg(_local4, _local5, _local2, _local3, _local10[int((_local12 + 11))], 14, 643717713); _local3 = gg(_local3, _local4, _local5, _local2, _local10[int((_local12 + 0))], 20, -373897302); _local2 = gg(_local2, _local3, _local4, _local5, _local10[int((_local12 + 5))], 5, -701558691); _local5 = gg(_local5, _local2, _local3, _local4, _local10[int((_local12 + 10))], 9, 38016083); _local4 = gg(_local4, _local5, _local2, _local3, _local10[int((_local12 + 15))], 14, -660478335); _local3 = gg(_local3, _local4, _local5, _local2, _local10[int((_local12 + 4))], 20, -405537848); _local2 = gg(_local2, _local3, _local4, _local5, _local10[int((_local12 + 9))], 5, 568446438); _local5 = gg(_local5, _local2, _local3, _local4, _local10[int((_local12 + 14))], 9, -1019803690); _local4 = gg(_local4, _local5, _local2, _local3, _local10[int((_local12 + 3))], 14, -187363961); _local3 = gg(_local3, _local4, _local5, _local2, _local10[int((_local12 + 8))], 20, 1163531501); _local2 = gg(_local2, _local3, _local4, _local5, _local10[int((_local12 + 13))], 5, -1444681467); _local5 = gg(_local5, _local2, _local3, _local4, _local10[int((_local12 + 2))], 9, -51403784); _local4 = gg(_local4, _local5, _local2, _local3, _local10[int((_local12 + 7))], 14, 1735328473); _local3 = gg(_local3, _local4, _local5, _local2, _local10[int((_local12 + 12))], 20, -1926607734); _local2 = hh(_local2, _local3, _local4, _local5, _local10[int((_local12 + 5))], 4, -378558); _local5 = hh(_local5, _local2, _local3, _local4, _local10[int((_local12 + 8))], 11, -2022574463); _local4 = hh(_local4, _local5, _local2, _local3, _local10[int((_local12 + 11))], 16, 1839030562); _local3 = hh(_local3, _local4, _local5, _local2, _local10[int((_local12 + 14))], 23, -35309556); _local2 = hh(_local2, _local3, _local4, _local5, _local10[int((_local12 + 1))], 4, -1530992060); _local5 = hh(_local5, _local2, _local3, _local4, _local10[int((_local12 + 4))], 11, 1272893353); _local4 = hh(_local4, _local5, _local2, _local3, _local10[int((_local12 + 7))], 16, -155497632); _local3 = hh(_local3, _local4, _local5, _local2, _local10[int((_local12 + 10))], 23, -1094730640); _local2 = hh(_local2, _local3, _local4, _local5, _local10[int((_local12 + 13))], 4, 681279174); _local5 = hh(_local5, _local2, _local3, _local4, _local10[int((_local12 + 0))], 11, -358537222); _local4 = hh(_local4, _local5, _local2, _local3, _local10[int((_local12 + 3))], 16, -722521979); _local3 = hh(_local3, _local4, _local5, _local2, _local10[int((_local12 + 6))], 23, 76029189); _local2 = hh(_local2, _local3, _local4, _local5, _local10[int((_local12 + 9))], 4, -640364487); _local5 = hh(_local5, _local2, _local3, _local4, _local10[int((_local12 + 12))], 11, -421815835); _local4 = hh(_local4, _local5, _local2, _local3, _local10[int((_local12 + 15))], 16, 530742520); _local3 = hh(_local3, _local4, _local5, _local2, _local10[int((_local12 + 2))], 23, -995338651); _local2 = ii(_local2, _local3, _local4, _local5, _local10[int((_local12 + 0))], 6, -198630844); _local5 = ii(_local5, _local2, _local3, _local4, _local10[int((_local12 + 7))], 10, 1126891415); _local4 = ii(_local4, _local5, _local2, _local3, _local10[int((_local12 + 14))], 15, -1416354905); _local3 = ii(_local3, _local4, _local5, _local2, _local10[int((_local12 + 5))], 21, -57434055); _local2 = ii(_local2, _local3, _local4, _local5, _local10[int((_local12 + 12))], 6, 1700485571); _local5 = ii(_local5, _local2, _local3, _local4, _local10[int((_local12 + 3))], 10, -1894986606); _local4 = ii(_local4, _local5, _local2, _local3, _local10[int((_local12 + 10))], 15, -1051523); _local3 = ii(_local3, _local4, _local5, _local2, _local10[int((_local12 + 1))], 21, -2054922799); _local2 = ii(_local2, _local3, _local4, _local5, _local10[int((_local12 + 8))], 6, 1873313359); _local5 = ii(_local5, _local2, _local3, _local4, _local10[int((_local12 + 15))], 10, -30611744); _local4 = ii(_local4, _local5, _local2, _local3, _local10[int((_local12 + 6))], 15, -1560198380); _local3 = ii(_local3, _local4, _local5, _local2, _local10[int((_local12 + 13))], 21, 1309151649); _local2 = ii(_local2, _local3, _local4, _local5, _local10[int((_local12 + 4))], 6, -145523070); _local5 = ii(_local5, _local2, _local3, _local4, _local10[int((_local12 + 11))], 10, -1120210379); _local4 = ii(_local4, _local5, _local2, _local3, _local10[int((_local12 + 2))], 15, 718787259); _local3 = ii(_local3, _local4, _local5, _local2, _local10[int((_local12 + 9))], 21, -343485551); _local2 = (_local2 + _local6); _local3 = (_local3 + _local7); _local4 = (_local4 + _local8); _local5 = (_local5 + _local9); _local12 = (_local12 + 16); }; digest = new ByteArray(); digest.writeInt(_local2); digest.writeInt(_local3); digest.writeInt(_local4); digest.writeInt(_local5); digest.position = 0; return ((((IntUtil.toHex(_local2) + IntUtil.toHex(_local3)) + IntUtil.toHex(_local4)) + IntUtil.toHex(_local5))); } private static function gg(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:int, _arg6:int, _arg7:int):int{ return (transform(g, _arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7)); } private static function ii(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:int, _arg6:int, _arg7:int):int{ return (transform(i, _arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7)); } public static function hashBytes(_arg1:ByteArray):String{ return (hashBinary(_arg1)); } } }//package com.adobe.crypto
Section 46
//BitString (com.adobe.images.BitString) package com.adobe.images { public class BitString { public var val:int;// = 0 public var len:int;// = 0 public function BitString(){ len = 0; val = 0; super(); } } }//package com.adobe.images
Section 47
//JPGEncoder (com.adobe.images.JPGEncoder) package com.adobe.images { import flash.display.*; import flash.utils.*; import flash.geom.*; public class JPGEncoder { private var fdtbl_UV:Array; private var std_ac_chrominance_values:Array; private var std_dc_chrominance_nrcodes:Array; private var std_dc_chrominance_values:Array; private var ZigZag:Array; private var YDC_HT:Array; private var bytenew:int;// = 0 private var fdtbl_Y:Array; private var YAC_HT:Array; private var std_ac_chrominance_nrcodes:Array; private var DU:Array; private var std_ac_luminance_values:Array; private var UVTable:Array; private var UDU:Array; private var YDU:Array; private var byteout:ByteArray; private var UVAC_HT:Array; private var UVDC_HT:Array; private var bytepos:int;// = 7 private var VDU:Array; private var std_ac_luminance_nrcodes:Array; private var std_dc_luminance_values:Array; private var YTable:Array; private var std_dc_luminance_nrcodes:Array; private var bitcode:Array; private var category:Array; public function JPGEncoder(_arg1:Number=50){ var _local2:int; ZigZag = [0, 1, 5, 6, 14, 15, 27, 28, 2, 4, 7, 13, 16, 26, 29, 42, 3, 8, 12, 17, 25, 30, 41, 43, 9, 11, 18, 24, 31, 40, 44, 53, 10, 19, 23, 32, 39, 45, 52, 54, 20, 22, 33, 38, 46, 51, 55, 60, 21, 34, 37, 47, 50, 56, 59, 61, 35, 36, 48, 49, 57, 58, 62, 63]; YTable = new Array(64); UVTable = new Array(64); fdtbl_Y = new Array(64); fdtbl_UV = new Array(64); std_dc_luminance_nrcodes = [0, 0, 1, 5, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0]; std_dc_luminance_values = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11]; std_ac_luminance_nrcodes = [0, 0, 2, 1, 3, 3, 2, 4, 3, 5, 5, 4, 4, 0, 0, 1, 125]; std_ac_luminance_values = [1, 2, 3, 0, 4, 17, 5, 18, 33, 49, 65, 6, 19, 81, 97, 7, 34, 113, 20, 50, 129, 145, 161, 8, 35, 66, 177, 193, 21, 82, 209, 240, 36, 51, 98, 114, 130, 9, 10, 22, 23, 24, 25, 26, 37, 38, 39, 40, 41, 42, 52, 53, 54, 55, 56, 57, 58, 67, 68, 69, 70, 71, 72, 73, 74, 83, 84, 85, 86, 87, 88, 89, 90, 99, 100, 101, 102, 103, 104, 105, 106, 115, 116, 117, 118, 119, 120, 121, 122, 131, 132, 133, 134, 135, 136, 137, 138, 146, 147, 148, 149, 150, 151, 152, 153, 154, 162, 163, 164, 165, 166, 167, 168, 169, 170, 178, 179, 180, 181, 182, 183, 184, 185, 186, 194, 195, 196, 197, 198, 199, 200, 201, 202, 210, 211, 212, 213, 214, 215, 216, 217, 218, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250]; std_dc_chrominance_nrcodes = [0, 0, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0]; std_dc_chrominance_values = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11]; std_ac_chrominance_nrcodes = [0, 0, 2, 1, 2, 4, 4, 3, 4, 7, 5, 4, 4, 0, 1, 2, 119]; std_ac_chrominance_values = [0, 1, 2, 3, 17, 4, 5, 33, 49, 6, 18, 65, 81, 7, 97, 113, 19, 34, 50, 129, 8, 20, 66, 145, 161, 177, 193, 9, 35, 51, 82, 240, 21, 98, 114, 209, 10, 22, 36, 52, 225, 37, 241, 23, 24, 25, 26, 38, 39, 40, 41, 42, 53, 54, 55, 56, 57, 58, 67, 68, 69, 70, 71, 72, 73, 74, 83, 84, 85, 86, 87, 88, 89, 90, 99, 100, 101, 102, 103, 104, 105, 106, 115, 116, 117, 118, 119, 120, 121, 122, 130, 131, 132, 133, 134, 135, 136, 137, 138, 146, 147, 148, 149, 150, 151, 152, 153, 154, 162, 163, 164, 165, 166, 167, 168, 169, 170, 178, 179, 180, 181, 182, 183, 184, 185, 186, 194, 195, 196, 197, 198, 199, 200, 201, 202, 210, 211, 212, 213, 214, 215, 216, 217, 218, 226, 227, 228, 229, 230, 231, 232, 233, 234, 242, 243, 244, 245, 246, 247, 248, 249, 250]; bitcode = new Array(0xFFFF); category = new Array(0xFFFF); bytenew = 0; bytepos = 7; DU = new Array(64); YDU = new Array(64); UDU = new Array(64); VDU = new Array(64); super(); if (_arg1 <= 0){ _arg1 = 1; }; if (_arg1 > 100){ _arg1 = 100; }; _local2 = 0; if (_arg1 < 50){ _local2 = int((5000 / _arg1)); } else { _local2 = int((200 - (_arg1 * 2))); }; initHuffmanTbl(); initCategoryNumber(); initQuantTables(_local2); } private function RGB2YUV(_arg1:BitmapData, _arg2:int, _arg3:int):void{ var _local4:int; var _local5:int; var _local6:int; var _local7:uint; var _local8:Number; var _local9:Number; var _local10:Number; _local4 = 0; _local5 = 0; while (_local5 < 8) { _local6 = 0; while (_local6 < 8) { _local7 = _arg1.getPixel32((_arg2 + _local6), (_arg3 + _local5)); _local8 = Number(((_local7 >> 16) & 0xFF)); _local9 = Number(((_local7 >> 8) & 0xFF)); _local10 = Number((_local7 & 0xFF)); YDU[_local4] = ((((0.299 * _local8) + (0.587 * _local9)) + (0.114 * _local10)) - 128); UDU[_local4] = (((-0.16874 * _local8) + (-0.33126 * _local9)) + (0.5 * _local10)); VDU[_local4] = (((0.5 * _local8) + (-0.41869 * _local9)) + (-0.08131 * _local10)); _local4++; _local6++; }; _local5++; }; } private function writeWord(_arg1:int):void{ writeByte(((_arg1 >> 8) & 0xFF)); writeByte((_arg1 & 0xFF)); } private function writeByte(_arg1:int):void{ byteout.writeByte(_arg1); } private function writeDHT():void{ var _local1:int; writeWord(65476); writeWord(418); writeByte(0); _local1 = 0; while (_local1 < 16) { writeByte(std_dc_luminance_nrcodes[(_local1 + 1)]); _local1++; }; _local1 = 0; while (_local1 <= 11) { writeByte(std_dc_luminance_values[_local1]); _local1++; }; writeByte(16); _local1 = 0; while (_local1 < 16) { writeByte(std_ac_luminance_nrcodes[(_local1 + 1)]); _local1++; }; _local1 = 0; while (_local1 <= 161) { writeByte(std_ac_luminance_values[_local1]); _local1++; }; writeByte(1); _local1 = 0; while (_local1 < 16) { writeByte(std_dc_chrominance_nrcodes[(_local1 + 1)]); _local1++; }; _local1 = 0; while (_local1 <= 11) { writeByte(std_dc_chrominance_values[_local1]); _local1++; }; writeByte(17); _local1 = 0; while (_local1 < 16) { writeByte(std_ac_chrominance_nrcodes[(_local1 + 1)]); _local1++; }; _local1 = 0; while (_local1 <= 161) { writeByte(std_ac_chrominance_values[_local1]); _local1++; }; } private function writeBits(_arg1:BitString):void{ var _local2:int; var _local3:int; _local2 = _arg1.val; _local3 = (_arg1.len - 1); while (_local3 >= 0) { if ((_local2 & uint((1 << _local3)))){ bytenew = (bytenew | uint((1 << bytepos))); }; _local3--; bytepos--; if (bytepos < 0){ if (bytenew == 0xFF){ writeByte(0xFF); writeByte(0); } else { writeByte(bytenew); }; bytepos = 7; bytenew = 0; }; }; } private function initHuffmanTbl():void{ YDC_HT = computeHuffmanTbl(std_dc_luminance_nrcodes, std_dc_luminance_values); UVDC_HT = computeHuffmanTbl(std_dc_chrominance_nrcodes, std_dc_chrominance_values); YAC_HT = computeHuffmanTbl(std_ac_luminance_nrcodes, std_ac_luminance_values); UVAC_HT = computeHuffmanTbl(std_ac_chrominance_nrcodes, std_ac_chrominance_values); } public function encode(_arg1:BitmapData):ByteArray{ var _local2:Number; var _local3:Number; var _local4:Number; var _local5:int; var _local6:int; var _local7:BitString; byteout = new ByteArray(); bytenew = 0; bytepos = 7; writeWord(65496); writeAPP0(); writeDQT(); writeSOF0(_arg1.width, _arg1.height); writeDHT(); writeSOS(); _local2 = 0; _local3 = 0; _local4 = 0; bytenew = 0; bytepos = 7; _local5 = 0; while (_local5 < _arg1.height) { _local6 = 0; while (_local6 < _arg1.width) { RGB2YUV(_arg1, _local6, _local5); _local2 = processDU(YDU, fdtbl_Y, _local2, YDC_HT, YAC_HT); _local3 = processDU(UDU, fdtbl_UV, _local3, UVDC_HT, UVAC_HT); _local4 = processDU(VDU, fdtbl_UV, _local4, UVDC_HT, UVAC_HT); _local6 = (_local6 + 8); }; _local5 = (_local5 + 8); }; if (bytepos >= 0){ _local7 = new BitString(); _local7.len = (bytepos + 1); _local7.val = ((1 << (bytepos + 1)) - 1); writeBits(_local7); }; writeWord(65497); return (byteout); } private function initCategoryNumber():void{ var _local1:int; var _local2:int; var _local3:int; var _local4:int; _local1 = 1; _local2 = 2; _local4 = 1; while (_local4 <= 15) { _local3 = _local1; while (_local3 < _local2) { category[(32767 + _local3)] = _local4; bitcode[(32767 + _local3)] = new BitString(); bitcode[(32767 + _local3)].len = _local4; bitcode[(32767 + _local3)].val = _local3; _local3++; }; _local3 = -((_local2 - 1)); while (_local3 <= -(_local1)) { category[(32767 + _local3)] = _local4; bitcode[(32767 + _local3)] = new BitString(); bitcode[(32767 + _local3)].len = _local4; bitcode[(32767 + _local3)].val = ((_local2 - 1) + _local3); _local3++; }; _local1 = (_local1 << 1); _local2 = (_local2 << 1); _local4++; }; } private function writeDQT():void{ var _local1:int; writeWord(65499); writeWord(132); writeByte(0); _local1 = 0; while (_local1 < 64) { writeByte(YTable[_local1]); _local1++; }; writeByte(1); _local1 = 0; while (_local1 < 64) { writeByte(UVTable[_local1]); _local1++; }; } private function writeAPP0():void{ writeWord(65504); writeWord(16); writeByte(74); writeByte(70); writeByte(73); writeByte(70); writeByte(0); writeByte(1); writeByte(1); writeByte(0); writeWord(1); writeWord(1); writeByte(0); writeByte(0); } private function writeSOS():void{ writeWord(65498); writeWord(12); writeByte(3); writeByte(1); writeByte(0); writeByte(2); writeByte(17); writeByte(3); writeByte(17); writeByte(0); writeByte(63); writeByte(0); } private function processDU(_arg1:Array, _arg2:Array, _arg3:Number, _arg4:Array, _arg5:Array):Number{ var _local6:BitString; var _local7:BitString; var _local8:int; var _local9:Array; var _local10:int; var _local11:int; var _local12:int; var _local13:int; var _local14:int; _local6 = _arg5[0]; _local7 = _arg5[240]; _local9 = fDCTQuant(_arg1, _arg2); _local8 = 0; while (_local8 < 64) { DU[ZigZag[_local8]] = _local9[_local8]; _local8++; }; _local10 = (DU[0] - _arg3); _arg3 = DU[0]; if (_local10 == 0){ writeBits(_arg4[0]); } else { writeBits(_arg4[category[(32767 + _local10)]]); writeBits(bitcode[(32767 + _local10)]); }; _local11 = 63; while ((((_local11 > 0)) && ((DU[_local11] == 0)))) { _local11--; }; if (_local11 == 0){ writeBits(_local6); return (_arg3); }; _local8 = 1; while (_local8 <= _local11) { _local12 = _local8; while ((((DU[_local8] == 0)) && ((_local8 <= _local11)))) { _local8++; }; _local13 = (_local8 - _local12); if (_local13 >= 16){ _local14 = 1; while (_local14 <= (_local13 / 16)) { writeBits(_local7); _local14++; }; _local13 = int((_local13 & 15)); }; writeBits(_arg5[((_local13 * 16) + category[(32767 + DU[_local8])])]); writeBits(bitcode[(32767 + DU[_local8])]); _local8++; }; if (_local11 != 63){ writeBits(_local6); }; return (_arg3); } private function initQuantTables(_arg1:int):void{ var _local2:int; var _local3:Number; var _local4:Array; var _local5:Array; var _local6:Array; var _local7:int; var _local8:int; _local4 = [16, 11, 10, 16, 24, 40, 51, 61, 12, 12, 14, 19, 26, 58, 60, 55, 14, 13, 16, 24, 40, 57, 69, 56, 14, 17, 22, 29, 51, 87, 80, 62, 18, 22, 37, 56, 68, 109, 103, 77, 24, 35, 55, 64, 81, 104, 113, 92, 49, 64, 78, 87, 103, 121, 120, 101, 72, 92, 95, 98, 112, 100, 103, 99]; _local2 = 0; while (_local2 < 64) { _local3 = Math.floor((((_local4[_local2] * _arg1) + 50) / 100)); if (_local3 < 1){ _local3 = 1; } else { if (_local3 > 0xFF){ _local3 = 0xFF; }; }; YTable[ZigZag[_local2]] = _local3; _local2++; }; _local5 = [17, 18, 24, 47, 99, 99, 99, 99, 18, 21, 26, 66, 99, 99, 99, 99, 24, 26, 56, 99, 99, 99, 99, 99, 47, 66, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99]; _local2 = 0; while (_local2 < 64) { _local3 = Math.floor((((_local5[_local2] * _arg1) + 50) / 100)); if (_local3 < 1){ _local3 = 1; } else { if (_local3 > 0xFF){ _local3 = 0xFF; }; }; UVTable[ZigZag[_local2]] = _local3; _local2++; }; _local6 = [1, 1.387039845, 1.306562965, 1.175875602, 1, 0.785694958, 0.5411961, 0.275899379]; _local2 = 0; _local7 = 0; while (_local7 < 8) { _local8 = 0; while (_local8 < 8) { fdtbl_Y[_local2] = (1 / (((YTable[ZigZag[_local2]] * _local6[_local7]) * _local6[_local8]) * 8)); fdtbl_UV[_local2] = (1 / (((UVTable[ZigZag[_local2]] * _local6[_local7]) * _local6[_local8]) * 8)); _local2++; _local8++; }; _local7++; }; } private function writeSOF0(_arg1:int, _arg2:int):void{ writeWord(65472); writeWord(17); writeByte(8); writeWord(_arg2); writeWord(_arg1); writeByte(3); writeByte(1); writeByte(17); writeByte(0); writeByte(2); writeByte(17); writeByte(1); writeByte(3); writeByte(17); writeByte(1); } private function computeHuffmanTbl(_arg1:Array, _arg2:Array):Array{ var _local3:int; var _local4:int; var _local5:Array; var _local6:int; var _local7:int; _local3 = 0; _local4 = 0; _local5 = new Array(); _local6 = 1; while (_local6 <= 16) { _local7 = 1; while (_local7 <= _arg1[_local6]) { _local5[_arg2[_local4]] = new BitString(); _local5[_arg2[_local4]].val = _local3; _local5[_arg2[_local4]].len = _local6; _local4++; _local3++; _local7++; }; _local3 = (_local3 * 2); _local6++; }; return (_local5); } private function fDCTQuant(_arg1:Array, _arg2:Array):Array{ var _local3:Number; var _local4:Number; var _local5:Number; var _local6:Number; var _local7:Number; var _local8:Number; var _local9:Number; var _local10:Number; var _local11:Number; var _local12:Number; var _local13:Number; var _local14:Number; var _local15:Number; var _local16:Number; var _local17:Number; var _local18:Number; var _local19:Number; var _local20:Number; var _local21:Number; var _local22:int; var _local23:int; _local23 = 0; _local22 = 0; while (_local22 < 8) { _local3 = (_arg1[(_local23 + 0)] + _arg1[(_local23 + 7)]); _local10 = (_arg1[(_local23 + 0)] - _arg1[(_local23 + 7)]); _local4 = (_arg1[(_local23 + 1)] + _arg1[(_local23 + 6)]); _local9 = (_arg1[(_local23 + 1)] - _arg1[(_local23 + 6)]); _local5 = (_arg1[(_local23 + 2)] + _arg1[(_local23 + 5)]); _local8 = (_arg1[(_local23 + 2)] - _arg1[(_local23 + 5)]); _local6 = (_arg1[(_local23 + 3)] + _arg1[(_local23 + 4)]); _local7 = (_arg1[(_local23 + 3)] - _arg1[(_local23 + 4)]); _local11 = (_local3 + _local6); _local14 = (_local3 - _local6); _local12 = (_local4 + _local5); _local13 = (_local4 - _local5); _arg1[(_local23 + 0)] = (_local11 + _local12); _arg1[(_local23 + 4)] = (_local11 - _local12); _local15 = ((_local13 + _local14) * 0.707106781); _arg1[(_local23 + 2)] = (_local14 + _local15); _arg1[(_local23 + 6)] = (_local14 - _local15); _local11 = (_local7 + _local8); _local12 = (_local8 + _local9); _local13 = (_local9 + _local10); _local19 = ((_local11 - _local13) * 0.382683433); _local16 = ((0.5411961 * _local11) + _local19); _local18 = ((1.306562965 * _local13) + _local19); _local17 = (_local12 * 0.707106781); _local20 = (_local10 + _local17); _local21 = (_local10 - _local17); _arg1[(_local23 + 5)] = (_local21 + _local16); _arg1[(_local23 + 3)] = (_local21 - _local16); _arg1[(_local23 + 1)] = (_local20 + _local18); _arg1[(_local23 + 7)] = (_local20 - _local18); _local23 = (_local23 + 8); _local22++; }; _local23 = 0; _local22 = 0; while (_local22 < 8) { _local3 = (_arg1[(_local23 + 0)] + _arg1[(_local23 + 56)]); _local10 = (_arg1[(_local23 + 0)] - _arg1[(_local23 + 56)]); _local4 = (_arg1[(_local23 + 8)] + _arg1[(_local23 + 48)]); _local9 = (_arg1[(_local23 + 8)] - _arg1[(_local23 + 48)]); _local5 = (_arg1[(_local23 + 16)] + _arg1[(_local23 + 40)]); _local8 = (_arg1[(_local23 + 16)] - _arg1[(_local23 + 40)]); _local6 = (_arg1[(_local23 + 24)] + _arg1[(_local23 + 32)]); _local7 = (_arg1[(_local23 + 24)] - _arg1[(_local23 + 32)]); _local11 = (_local3 + _local6); _local14 = (_local3 - _local6); _local12 = (_local4 + _local5); _local13 = (_local4 - _local5); _arg1[(_local23 + 0)] = (_local11 + _local12); _arg1[(_local23 + 32)] = (_local11 - _local12); _local15 = ((_local13 + _local14) * 0.707106781); _arg1[(_local23 + 16)] = (_local14 + _local15); _arg1[(_local23 + 48)] = (_local14 - _local15); _local11 = (_local7 + _local8); _local12 = (_local8 + _local9); _local13 = (_local9 + _local10); _local19 = ((_local11 - _local13) * 0.382683433); _local16 = ((0.5411961 * _local11) + _local19); _local18 = ((1.306562965 * _local13) + _local19); _local17 = (_local12 * 0.707106781); _local20 = (_local10 + _local17); _local21 = (_local10 - _local17); _arg1[(_local23 + 40)] = (_local21 + _local16); _arg1[(_local23 + 24)] = (_local21 - _local16); _arg1[(_local23 + 8)] = (_local20 + _local18); _arg1[(_local23 + 56)] = (_local20 - _local18); _local23++; _local22++; }; _local22 = 0; while (_local22 < 64) { _arg1[_local22] = Math.round((_arg1[_local22] * _arg2[_local22])); _local22++; }; return (_arg1); } } }//package com.adobe.images
Section 48
//PNGEncoder (com.adobe.images.PNGEncoder) package com.adobe.images { import flash.display.*; import flash.utils.*; public class PNGEncoder { private static var crcTableComputed:Boolean = false; private static var crcTable:Array; private static function writeChunk(_arg1:ByteArray, _arg2:uint, _arg3:ByteArray):void{ var _local4:uint; var _local5:uint; var _local6:uint; var _local7:int; var _local8:uint; var _local9:uint; var _local10:uint; if (!crcTableComputed){ crcTableComputed = true; crcTable = []; _local9 = 0; while (_local9 < 0x0100) { _local8 = _local9; _local10 = 0; while (_local10 < 8) { if ((_local8 & 1)){ _local8 = uint((uint(3988292384) ^ uint((_local8 >>> 1)))); } else { _local8 = uint((_local8 >>> 1)); }; _local10++; }; crcTable[_local9] = _local8; _local9++; }; }; _local4 = 0; if (_arg3 != null){ _local4 = _arg3.length; }; _arg1.writeUnsignedInt(_local4); _local5 = _arg1.position; _arg1.writeUnsignedInt(_arg2); if (_arg3 != null){ _arg1.writeBytes(_arg3); }; _local6 = _arg1.position; _arg1.position = _local5; _local8 = 4294967295; _local7 = 0; while (_local7 < (_local6 - _local5)) { _local8 = uint((crcTable[((_local8 ^ _arg1.readUnsignedByte()) & uint(0xFF))] ^ uint((_local8 >>> 8)))); _local7++; }; _local8 = uint((_local8 ^ uint(4294967295))); _arg1.position = _local6; _arg1.writeUnsignedInt(_local8); } public static function encode(_arg1:BitmapData):ByteArray{ var _local2:ByteArray; var _local3:ByteArray; var _local4:ByteArray; var _local5:int; var _local6:uint; var _local7:int; _local2 = new ByteArray(); _local2.writeUnsignedInt(2303741511); _local2.writeUnsignedInt(218765834); _local3 = new ByteArray(); _local3.writeInt(_arg1.width); _local3.writeInt(_arg1.height); _local3.writeUnsignedInt(134610944); _local3.writeByte(0); writeChunk(_local2, 1229472850, _local3); _local4 = new ByteArray(); _local5 = 0; while (_local5 < _arg1.height) { _local4.writeByte(0); if (!_arg1.transparent){ _local7 = 0; while (_local7 < _arg1.width) { _local6 = _arg1.getPixel(_local7, _local5); _local4.writeUnsignedInt(uint((((_local6 & 0xFFFFFF) << 8) | 0xFF))); _local7++; }; } else { _local7 = 0; while (_local7 < _arg1.width) { _local6 = _arg1.getPixel32(_local7, _local5); _local4.writeUnsignedInt(uint((((_local6 & 0xFFFFFF) << 8) | (_local6 >>> 24)))); _local7++; }; }; _local5++; }; _local4.compress(); writeChunk(_local2, 1229209940, _local4); writeChunk(_local2, 1229278788, null); return (_local2); } } }//package com.adobe.images
Section 49
//JSON (com.adobe.serialization.json.JSON) package com.adobe.serialization.json { public class JSON { public static function decode(_arg1:String){ var _local2:JSONDecoder; _local2 = new JSONDecoder(_arg1); return (_local2.getValue()); } public static function encode(_arg1:Object):String{ var _local2:JSONEncoder; _local2 = new JSONEncoder(_arg1); return (_local2.getString()); } } }//package com.adobe.serialization.json
Section 50
//JSONDecoder (com.adobe.serialization.json.JSONDecoder) package com.adobe.serialization.json { public class JSONDecoder { private var value; private var tokenizer:JSONTokenizer; private var token:JSONToken; public function JSONDecoder(_arg1:String){ tokenizer = new JSONTokenizer(_arg1); nextToken(); value = parseValue(); } private function nextToken():JSONToken{ return ((token = tokenizer.getNextToken())); } private function parseObject():Object{ var _local1:Object; var _local2:String; _local1 = new Object(); nextToken(); if (token.type == JSONTokenType.RIGHT_BRACE){ return (_local1); }; while (true) { if (token.type == JSONTokenType.STRING){ _local2 = String(token.value); nextToken(); if (token.type == JSONTokenType.COLON){ nextToken(); _local1[_local2] = parseValue(); nextToken(); if (token.type == JSONTokenType.RIGHT_BRACE){ return (_local1); }; if (token.type == JSONTokenType.COMMA){ nextToken(); } else { tokenizer.parseError(("Expecting } or , but found " + token.value)); }; } else { tokenizer.parseError(("Expecting : but found " + token.value)); }; } else { tokenizer.parseError(("Expecting string but found " + token.value)); }; }; return (null); } private function parseArray():Array{ var _local1:Array; _local1 = new Array(); nextToken(); if (token.type == JSONTokenType.RIGHT_BRACKET){ return (_local1); }; while (true) { _local1.push(parseValue()); nextToken(); if (token.type == JSONTokenType.RIGHT_BRACKET){ return (_local1); }; if (token.type == JSONTokenType.COMMA){ nextToken(); } else { tokenizer.parseError(("Expecting ] or , but found " + token.value)); }; }; return (null); } public function getValue(){ return (value); } private function parseValue():Object{ if (token == null){ tokenizer.parseError("Unexpected end of input"); }; switch (token.type){ case JSONTokenType.LEFT_BRACE: return (parseObject()); case JSONTokenType.LEFT_BRACKET: return (parseArray()); case JSONTokenType.STRING: case JSONTokenType.NUMBER: case JSONTokenType.TRUE: case JSONTokenType.FALSE: case JSONTokenType.NULL: return (token.value); default: tokenizer.parseError(("Unexpected " + token.value)); }; return (null); } } }//package com.adobe.serialization.json
Section 51
//JSONEncoder (com.adobe.serialization.json.JSONEncoder) package com.adobe.serialization.json { import flash.utils.*; public class JSONEncoder { private var jsonString:String; public function JSONEncoder(_arg1){ jsonString = convertToString(_arg1); } private function arrayToString(_arg1:Array):String{ var _local2:String; var _local3:int; _local2 = ""; _local3 = 0; while (_local3 < _arg1.length) { if (_local2.length > 0){ _local2 = (_local2 + ","); }; _local2 = (_local2 + convertToString(_arg1[_local3])); _local3++; }; return ((("[" + _local2) + "]")); } private function convertToString(_arg1):String{ if ((_arg1 is String)){ return (escapeString((_arg1 as String))); }; if ((_arg1 is Number)){ return ((isFinite((_arg1 as Number))) ? _arg1.toString() : "null"); } else { if ((_arg1 is Boolean)){ return ((_arg1) ? "true" : "false"); } else { if ((_arg1 is Array)){ return (arrayToString((_arg1 as Array))); }; if ((((_arg1 is Object)) && (!((_arg1 == null))))){ return (objectToString(_arg1)); }; }; }; return ("null"); } private function escapeString(_arg1:String):String{ var _local2:String; var _local3:String; var _local4:Number; var _local5:int; var _local6:String; var _local7:String; _local2 = ""; _local4 = _arg1.length; _local5 = 0; while (_local5 < _local4) { _local3 = _arg1.charAt(_local5); switch (_local3){ case "\"": _local2 = (_local2 + "\\\""); break; case "\\": _local2 = (_local2 + "\\\\"); break; case "\b": _local2 = (_local2 + "\\b"); break; case "\f": _local2 = (_local2 + "\\f"); break; case "\n": _local2 = (_local2 + "\\n"); break; case "\r": _local2 = (_local2 + "\\r"); break; case "\t": _local2 = (_local2 + "\\t"); break; default: if (_local3 < " "){ _local6 = _local3.charCodeAt(0).toString(16); _local7 = ((_local6.length == 2)) ? "00" : "000"; _local2 = (_local2 + (("\\u" + _local7) + _local6)); } else { _local2 = (_local2 + _local3); }; }; _local5++; }; return ((("\"" + _local2) + "\"")); } private function objectToString(_arg1:Object):String{ var s:String; var classInfo:XML; var value:Object; var key:String; var v:XML; var o = _arg1; s = ""; classInfo = describeType(o); if (classInfo.@name.toString() == "Object"){ for (key in o) { value = o[key]; if ((value is Function)){ } else { if (s.length > 0){ s = (s + ","); }; s = (s + ((escapeString(key) + ":") + convertToString(value))); }; }; } else { for each (v in classInfo..*.(((name() == "variable")) || ((name() == "accessor")))) { if (s.length > 0){ s = (s + ","); }; s = (s + ((escapeString(v.@name.toString()) + ":") + convertToString(o[v.@name]))); }; }; return ((("{" + s) + "}")); } public function getString():String{ return (jsonString); } } }//package com.adobe.serialization.json
Section 52
//JSONParseError (com.adobe.serialization.json.JSONParseError) package com.adobe.serialization.json { public class JSONParseError extends Error { private var _text:String; private var _location:int; public function JSONParseError(_arg1:String="", _arg2:int=0, _arg3:String=""){ super(_arg1); name = "JSONParseError"; _location = _arg2; _text = _arg3; } public function get text():String{ return (_text); } public function get location():int{ return (_location); } } }//package com.adobe.serialization.json
Section 53
//JSONToken (com.adobe.serialization.json.JSONToken) package com.adobe.serialization.json { public class JSONToken { private var _value:Object; private var _type:int; public function JSONToken(_arg1:int=-1, _arg2:Object=null){ _type = _arg1; _value = _arg2; } public function set value(_arg1:Object):void{ _value = _arg1; } public function get value():Object{ return (_value); } public function set type(_arg1:int):void{ _type = _arg1; } public function get type():int{ return (_type); } } }//package com.adobe.serialization.json
Section 54
//JSONTokenizer (com.adobe.serialization.json.JSONTokenizer) package com.adobe.serialization.json { public class JSONTokenizer { private var loc:int; private var ch:String; private var obj:Object; private var jsonString:String; public function JSONTokenizer(_arg1:String){ jsonString = _arg1; loc = 0; nextChar(); } private function skipComments():void{ if (ch == "/"){ nextChar(); switch (ch){ case "/": do { nextChar(); } while (((!((ch == "\n"))) && (!((ch == ""))))); nextChar(); break; case "*": nextChar(); while (true) { if (ch == "*"){ nextChar(); if (ch == "/"){ nextChar(); break; }; } else { nextChar(); }; if (ch == ""){ parseError("Multi-line comment not closed"); }; }; break; default: parseError((("Unexpected " + ch) + " encountered (expecting '/' or '*' )")); }; }; } private function isDigit(_arg1:String):Boolean{ return ((((_arg1 >= "0")) && ((_arg1 <= "9")))); } private function readNumber():JSONToken{ var _local1:JSONToken; var _local2:String; var _local3:Number; _local1 = new JSONToken(); _local1.type = JSONTokenType.NUMBER; _local2 = ""; if (ch == "-"){ _local2 = (_local2 + "-"); nextChar(); }; if (!isDigit(ch)){ parseError("Expecting a digit"); }; if (ch == "0"){ _local2 = (_local2 + ch); nextChar(); if (isDigit(ch)){ parseError("A digit cannot immediately follow 0"); }; } else { while (isDigit(ch)) { _local2 = (_local2 + ch); nextChar(); }; }; if (ch == "."){ _local2 = (_local2 + "."); nextChar(); if (!isDigit(ch)){ parseError("Expecting a digit"); }; while (isDigit(ch)) { _local2 = (_local2 + ch); nextChar(); }; }; if ((((ch == "e")) || ((ch == "E")))){ _local2 = (_local2 + "e"); nextChar(); if ((((ch == "+")) || ((ch == "-")))){ _local2 = (_local2 + ch); nextChar(); }; if (!isDigit(ch)){ parseError("Scientific notation number needs exponent value"); }; while (isDigit(ch)) { _local2 = (_local2 + ch); nextChar(); }; }; _local3 = Number(_local2); if (((isFinite(_local3)) && (!(isNaN(_local3))))){ _local1.value = _local3; return (_local1); }; parseError((("Number " + _local3) + " is not valid!")); return (null); } private function nextChar():String{ return ((ch = jsonString.charAt(loc++))); } public function getNextToken():JSONToken{ var _local1:JSONToken; var _local2:String; var _local3:String; var _local4:String; _local1 = new JSONToken(); skipIgnored(); switch (ch){ case "{": _local1.type = JSONTokenType.LEFT_BRACE; _local1.value = "{"; nextChar(); break; case "}": _local1.type = JSONTokenType.RIGHT_BRACE; _local1.value = "}"; nextChar(); break; case "[": _local1.type = JSONTokenType.LEFT_BRACKET; _local1.value = "["; nextChar(); break; case "]": _local1.type = JSONTokenType.RIGHT_BRACKET; _local1.value = "]"; nextChar(); break; case ",": _local1.type = JSONTokenType.COMMA; _local1.value = ","; nextChar(); break; case ":": _local1.type = JSONTokenType.COLON; _local1.value = ":"; nextChar(); break; case "t": _local2 = ((("t" + nextChar()) + nextChar()) + nextChar()); if (_local2 == "true"){ _local1.type = JSONTokenType.TRUE; _local1.value = true; nextChar(); } else { parseError(("Expecting 'true' but found " + _local2)); }; break; case "f": _local3 = (((("f" + nextChar()) + nextChar()) + nextChar()) + nextChar()); if (_local3 == "false"){ _local1.type = JSONTokenType.FALSE; _local1.value = false; nextChar(); } else { parseError(("Expecting 'false' but found " + _local3)); }; break; case "n": _local4 = ((("n" + nextChar()) + nextChar()) + nextChar()); if (_local4 == "null"){ _local1.type = JSONTokenType.NULL; _local1.value = null; nextChar(); } else { parseError(("Expecting 'null' but found " + _local4)); }; break; case "\"": _local1 = readString(); break; default: if (((isDigit(ch)) || ((ch == "-")))){ _local1 = readNumber(); } else { if (ch == ""){ return (null); }; parseError((("Unexpected " + ch) + " encountered")); }; }; return (_local1); } private function skipWhite():void{ while (isWhiteSpace(ch)) { nextChar(); }; } private function isWhiteSpace(_arg1:String):Boolean{ return ((((((((_arg1 == " ")) || ((_arg1 == "\t")))) || ((_arg1 == "\n")))) || ((_arg1 == "\r")))); } public function parseError(_arg1:String):void{ throw (new JSONParseError(_arg1, loc, jsonString)); } private function skipIgnored():void{ var _local1:int; do { _local1 = loc; skipWhite(); skipComments(); } while (_local1 != loc); } private function isHexDigit(_arg1:String):Boolean{ var _local2:String; _local2 = _arg1.toUpperCase(); return (((isDigit(_arg1)) || ((((_local2 >= "A")) && ((_local2 <= "F")))))); } private function readString():JSONToken{ var _local1:JSONToken; var _local2:String; var _local3:String; var _local4:int; _local1 = new JSONToken(); _local1.type = JSONTokenType.STRING; _local2 = ""; nextChar(); while (((!((ch == "\""))) && (!((ch == ""))))) { if (ch == "\\"){ nextChar(); switch (ch){ case "\"": _local2 = (_local2 + "\""); break; case "/": _local2 = (_local2 + "/"); break; case "\\": _local2 = (_local2 + "\\"); break; case "b": _local2 = (_local2 + "\b"); break; case "f": _local2 = (_local2 + "\f"); break; case "n": _local2 = (_local2 + "\n"); break; case "r": _local2 = (_local2 + "\r"); break; case "t": _local2 = (_local2 + "\t"); break; case "u": _local3 = ""; _local4 = 0; while (_local4 < 4) { if (!isHexDigit(nextChar())){ parseError((" Excepted a hex digit, but found: " + ch)); }; _local3 = (_local3 + ch); _local4++; }; _local2 = (_local2 + String.fromCharCode(parseInt(_local3, 16))); break; default: _local2 = (_local2 + ("\\" + ch)); }; } else { _local2 = (_local2 + ch); }; nextChar(); }; if (ch == ""){ parseError("Unterminated string literal"); }; nextChar(); _local1.value = _local2; return (_local1); } } }//package com.adobe.serialization.json
Section 55
//JSONTokenType (com.adobe.serialization.json.JSONTokenType) package com.adobe.serialization.json { public class JSONTokenType { public static const NUMBER:int = 11; public static const FALSE:int = 8; public static const RIGHT_BRACKET:int = 4; public static const NULL:int = 9; public static const TRUE:int = 7; public static const RIGHT_BRACE:int = 2; public static const UNKNOWN:int = -1; public static const COMMA:int = 0; public static const LEFT_BRACKET:int = 3; public static const STRING:int = 10; public static const LEFT_BRACE:int = 1; public static const COLON:int = 6; } }//package com.adobe.serialization.json
Section 56
//IntUtil (com.adobe.utils.IntUtil) package com.adobe.utils { public class IntUtil { private static var hexChars:String = "0123456789abcdef"; public static function toHex(_arg1:int, _arg2:Boolean=false):String{ var _local3:String; var _local4:int; var _local5:int; _local3 = ""; if (_arg2){ _local4 = 0; while (_local4 < 4) { _local3 = (_local3 + (hexChars.charAt(((_arg1 >> (((3 - _local4) * 8) + 4)) & 15)) + hexChars.charAt(((_arg1 >> ((3 - _local4) * 8)) & 15)))); _local4++; }; } else { _local5 = 0; while (_local5 < 4) { _local3 = (_local3 + (hexChars.charAt(((_arg1 >> ((_local5 * 8) + 4)) & 15)) + hexChars.charAt(((_arg1 >> (_local5 * 8)) & 15)))); _local5++; }; }; return (_local3); } public static function ror(_arg1:int, _arg2:int):uint{ var _local3:int; _local3 = (32 - _arg2); return (((_arg1 << _local3) | (_arg1 >>> (32 - _local3)))); } public static function rol(_arg1:int, _arg2:int):int{ return (((_arg1 << _arg2) | (_arg1 >>> (32 - _arg2)))); } } }//package com.adobe.utils
Section 57
//BanUsers (com.facebook.commands.admin.BanUsers) package com.facebook.commands.admin { import com.facebook.net.*; import com.adobe.serialization.json.*; import com.facebook.*; public class BanUsers extends FacebookCall { public var uids:Array; public static const SCHEMA:Array = ["uids"]; public static const METHOD_NAME:String = "admin.banUsers"; public function BanUsers(_arg1:Array){ super(METHOD_NAME); this.uids = _arg1; } override facebook_internal function initialize():void{ applySchema(SCHEMA, JSON.encode(uids)); super.initialize(); } } }//package com.facebook.commands.admin
Section 58
//GetAllocation (com.facebook.commands.admin.GetAllocation) package com.facebook.commands.admin { import com.facebook.net.*; import com.facebook.*; public class GetAllocation extends FacebookCall { public var user:String; public var integration_point_name:String; public static const SCHEMA:Array = ["integration_point_name"]; public static const METHOD_NAME:String = "admin.getAllocation"; public function GetAllocation(_arg1:String, _arg2:String=null){ super(METHOD_NAME); this.integration_point_name = _arg1; this.user = _arg2; } override facebook_internal function initialize():void{ applySchema(SCHEMA, this.integration_point_name); super.initialize(); } } }//package com.facebook.commands.admin
Section 59
//GetAppProperties (com.facebook.commands.admin.GetAppProperties) package com.facebook.commands.admin { import com.facebook.net.*; import com.facebook.utils.*; import com.facebook.*; public class GetAppProperties extends FacebookCall { public var properties:Array; public static const SCHEMA:Array = ["properties"]; public static const METHOD_NAME:String = "admin.getAppProperties"; public function GetAppProperties(_arg1:Array){ super(METHOD_NAME); this.properties = _arg1; } override facebook_internal function initialize():void{ applySchema(SCHEMA, FacebookDataUtils.toArrayString(this.properties)); super.initialize(); } } }//package com.facebook.commands.admin
Section 60
//GetBannedUsers (com.facebook.commands.admin.GetBannedUsers) package com.facebook.commands.admin { import com.facebook.net.*; import com.adobe.serialization.json.*; import com.facebook.*; public class GetBannedUsers extends FacebookCall { public var uids:Array; public static const SCHEMA:Array = ["uids"]; public static const METHOD_NAME:String = "admin.getBannedUsers"; public function GetBannedUsers(_arg1:Array=null){ super(METHOD_NAME); this.uids = _arg1; } override facebook_internal function initialize():void{ applySchema(SCHEMA, JSON.encode(uids)); super.initialize(); } } }//package com.facebook.commands.admin
Section 61
//GetMetrics (com.facebook.commands.admin.GetMetrics) package com.facebook.commands.admin { import com.facebook.net.*; import com.adobe.serialization.json.*; import com.facebook.utils.*; import com.facebook.*; public class GetMetrics extends FacebookCall { public var metrics:Array; public var start_time:Date; public var period:uint; public var end_time:Date; public static const SCHEMA:Array = ["start_time", "end_time", "period", "metrics"]; public static const METHOD_NAME:String = "admin.getMetrics"; public function GetMetrics(_arg1:Date, _arg2:Date, _arg3:uint, _arg4:Array){ super(METHOD_NAME); this.start_time = _arg1; this.end_time = _arg2; this.period = _arg3; this.metrics = _arg4; } override facebook_internal function initialize():void{ applySchema(SCHEMA, FacebookDataUtils.toDateString(start_time), FacebookDataUtils.toDateString(end_time), period, JSON.encode(metrics)); super.initialize(); } } }//package com.facebook.commands.admin
Section 62
//GetRestrictionInfo (com.facebook.commands.admin.GetRestrictionInfo) package com.facebook.commands.admin { import com.facebook.net.*; public class GetRestrictionInfo extends FacebookCall { public static const SCHEMA:Array = []; public static const METHOD_NAME:String = "admin.getRestrictionInfo"; public function GetRestrictionInfo(){ super(METHOD_NAME); } } }//package com.facebook.commands.admin
Section 63
//SetAppProperties (com.facebook.commands.admin.SetAppProperties) package com.facebook.commands.admin { import com.facebook.net.*; import com.adobe.serialization.json.*; import com.facebook.*; public class SetAppProperties extends FacebookCall { public var properties:Object; public static const SCHEMA:Array = ["properties"]; public static const METHOD_NAME:String = "admin.setAppProperties"; public function SetAppProperties(_arg1:Object){ super(METHOD_NAME); this.properties = _arg1; } override facebook_internal function initialize():void{ applySchema(SCHEMA, JSON.encode(this.properties)); super.initialize(); } } }//package com.facebook.commands.admin
Section 64
//SetRestrictionInfo (com.facebook.commands.admin.SetRestrictionInfo) package com.facebook.commands.admin { import com.facebook.net.*; import com.facebook.*; public class SetRestrictionInfo extends FacebookCall { public var restriction_str:String; public static const SCHEMA:Array = ["restriction_str"]; public static const METHOD_NAME:String = "admin.setRestrictionInfo"; public function SetRestrictionInfo(_arg1:String=""){ super(METHOD_NAME); this.restriction_str = _arg1; } override facebook_internal function initialize():void{ this.applySchema(SCHEMA, restriction_str); super.initialize(); } } }//package com.facebook.commands.admin
Section 65
//UnbanUsers (com.facebook.commands.admin.UnbanUsers) package com.facebook.commands.admin { import com.facebook.net.*; import com.adobe.serialization.json.*; import com.facebook.*; public class UnbanUsers extends FacebookCall { public var uids:Array; public static const SCHEMA:Array = ["uids"]; public static const METHOD_NAME:String = "admin.unbanUsers"; public function UnbanUsers(_arg1:Array){ super(METHOD_NAME); this.uids = _arg1; } override facebook_internal function initialize():void{ applySchema(SCHEMA, JSON.encode(uids)); super.initialize(); } } }//package com.facebook.commands.admin
Section 66
//GetPublicInfo (com.facebook.commands.application.GetPublicInfo) package com.facebook.commands.application { import com.facebook.net.*; import com.facebook.*; public class GetPublicInfo extends FacebookCall { public var application_api_key:String; public var application_canvas_name:String; public var application_id:String; public static const SCHEMA:Array = ["application_id", "application_api_key", "application_canvas_name"]; public static const METHOD_NAME:String = "application.getPublicInfo"; public function GetPublicInfo(_arg1:String=null, _arg2:String=null, _arg3:String=null){ var _local4:Boolean; var _local5:Boolean; var _local6:Boolean; super(METHOD_NAME); _local4 = !((_arg1 == null)); _local5 = !((_arg2 == null)); _local6 = !((_arg3 == null)); if (((((((_local4) && (_local5))) || (((_local4) && (_local6))))) || (((_local5) && (_local6))))){ throw (new Error("You must specify exactly one of application_id, application_api_key or application_canvas_name.")); }; this.application_id = _arg1; this.application_api_key = _arg2; this.application_canvas_name = _arg3; } override facebook_internal function initialize():void{ this.applySchema(SCHEMA, application_id, application_api_key, application_canvas_name); super.initialize(); } } }//package com.facebook.commands.application
Section 67
//CreateToken (com.facebook.commands.auth.CreateToken) package com.facebook.commands.auth { import com.facebook.net.*; public class CreateToken extends FacebookCall { public static const SCHEMA:Array = []; public static const METHOD_NAME:String = "auth.createToken"; public function CreateToken(){ super(METHOD_NAME); } } }//package com.facebook.commands.auth
Section 68
//ExpireSession (com.facebook.commands.auth.ExpireSession) package com.facebook.commands.auth { import com.facebook.net.*; public class ExpireSession extends FacebookCall { public static const SCHEMA:Array = []; public static const METHOD_NAME:String = "auth.expireSession"; public function ExpireSession(){ super(METHOD_NAME); } } }//package com.facebook.commands.auth
Section 69
//GetSession (com.facebook.commands.auth.GetSession) package com.facebook.commands.auth { import com.facebook.net.*; import com.facebook.*; public class GetSession extends FacebookCall { public var auth_token:String; public static const SCHEMA:Array = ["auth_token"]; public static const METHOD_NAME:String = "auth.getSession"; public function GetSession(_arg1:String){ super(METHOD_NAME); this.auth_token = _arg1; } override facebook_internal function initialize():void{ applySchema(SCHEMA, auth_token); super.initialize(); } } }//package com.facebook.commands.auth
Section 70
//PromoteSession (com.facebook.commands.auth.PromoteSession) package com.facebook.commands.auth { import com.facebook.net.*; public class PromoteSession extends FacebookCall { public static const SCHEMA:Array = []; public static const METHOD_NAME:String = "auth.promoteSession"; public function PromoteSession(){ super(METHOD_NAME); } } }//package com.facebook.commands.auth
Section 71
//RevokeAuthorization (com.facebook.commands.auth.RevokeAuthorization) package com.facebook.commands.auth { import com.facebook.net.*; import com.facebook.*; public class RevokeAuthorization extends FacebookCall { public var user:String; public static const SCHEMA:Array = ["user"]; public static const METHOD_NAME:String = "auth.revokeAuthorization"; public function RevokeAuthorization(_arg1:String=null){ super(METHOD_NAME); this.user = _arg1; } override facebook_internal function initialize():void{ applySchema(SCHEMA, user); super.initialize(); } } }//package com.facebook.commands.auth
Section 72
//RevokeExtendedPermission (com.facebook.commands.auth.RevokeExtendedPermission) package com.facebook.commands.auth { import com.facebook.net.*; import com.facebook.*; public class RevokeExtendedPermission extends FacebookCall { public var uid:String; public var perm:String; public static const SCHEMA:Array = ["perm", "uid"]; public static const METHOD_NAME:String = "auth.revokeExtendedPermission"; public function RevokeExtendedPermission(_arg1:String, _arg2:String=null){ super(METHOD_NAME); this.perm = _arg1; this.uid = _arg2; } override facebook_internal function initialize():void{ applySchema(SCHEMA, perm, uid); super.initialize(); } } }//package com.facebook.commands.auth
Section 73
//BatchRun (com.facebook.commands.batch.BatchRun) package com.facebook.commands.batch { import com.facebook.net.*; import com.adobe.serialization.json.*; import com.facebook.data.*; import flash.net.*; import com.facebook.delegates.*; import com.facebook.data.batch.*; import com.facebook.*; public class BatchRun extends FacebookCall { public var serial_only:Boolean; public var method_feed:BatchCollection; public static const SCHEMA:Array = ["method_feed", "serial_only"]; public static const METHOD_NAME:String = "batch.run"; public function BatchRun(_arg1:BatchCollection, _arg2:Boolean=false){ super(METHOD_NAME); if (_arg1.length > 20){ throw (new RangeError(InternalErrorMessages.BATCH_RUN_RANGE_ERROR)); }; this.method_feed = _arg1; this.serial_only = _arg2; } override facebook_internal function initialize():void{ var _local1:Array; var _local2:uint; var _local3:uint; var _local4:String; var _local5:FacebookCall; var _local6:URLVariables; _local1 = []; _local2 = method_feed.length; _local3 = 0; while (_local3 < _local2) { _local5 = (method_feed.getItemAt(_local3) as FacebookCall); _local5.session = session; _local5.initialize(); RequestHelper.formatRequest(_local5); _local6 = _local5.args; _local1.push(_local6.toString()); _local3++; }; _local4 = JSON.encode(_local1); applySchema(SCHEMA, _local4, serial_only); super.initialize(); super.initialize(); } } }//package com.facebook.commands.batch
Section 74
//AddComments (com.facebook.commands.comments.AddComments) package com.facebook.commands.comments { import com.facebook.net.*; import com.facebook.*; public class AddComments extends FacebookCall { public var xid:String; public var publish_to_stream:Boolean; public var object_id:String; public var text:String; public var uid:String; public var title:String; public var url:String; public static const SCHEMA:Array = ["text", "xid", "object_id", "uid", "title", "url", "publish_to_stream"]; public static const METHOD_NAME:String = "comments.add"; public function AddComments(_arg1:String, _arg2:String=null, _arg3:String=null, _arg4:String=null, _arg5:String=null, _arg6:String=null, _arg7:Boolean=false){ super(METHOD_NAME); if ((((_arg2 == null)) && ((_arg3 == null)))){ throw (new Error("xid or object_id is required")); }; this.text = _arg1; this.xid = _arg2; this.object_id = _arg3; this.uid = _arg4; this.title = _arg5; this.url = _arg6; this.publish_to_stream = _arg7; } override facebook_internal function initialize():void{ applySchema(SCHEMA, text, xid, object_id, uid, title, url, publish_to_stream); super.initialize(); } } }//package com.facebook.commands.comments
Section 75
//GetComments (com.facebook.commands.comments.GetComments) package com.facebook.commands.comments { import com.facebook.net.*; import com.facebook.*; public class GetComments extends FacebookCall { public var xid:String; public var post_id:String; public var object_id:String; public static const SCHEMA:Array = ["xid", "object_id", "post_id"]; public static const METHOD_NAME:String = "comments.get"; public function GetComments(_arg1:String=null, _arg2:String=null, _arg3:String=null){ super(METHOD_NAME); if ((((((_arg1 == null)) && ((_arg2 == null)))) && ((_arg3 == null)))){ throw (new Error("xid, post_id, or object_id is required")); }; this.xid = _arg1; this.object_id = _arg2; this.post_id = _arg3; } override facebook_internal function initialize():void{ applySchema(SCHEMA, xid, object_id, post_id); super.initialize(); } } }//package com.facebook.commands.comments
Section 76
//RemoveComments (com.facebook.commands.comments.RemoveComments) package com.facebook.commands.comments { import com.facebook.net.*; import com.facebook.*; public class RemoveComments extends FacebookCall { public var comment_id:String; public var xid:String; public var object_id:String; public static const SCHEMA:Array = ["comment_id", "xid", "object_id"]; public static const METHOD_NAME:String = "comments.remove"; public function RemoveComments(_arg1:String, _arg2:String=null, _arg3:String=null){ super(METHOD_NAME); if ((((_arg2 == null)) && ((_arg3 == null)))){ throw (new Error("xid or object_id is required")); }; this.comment_id = _arg1; this.xid = _arg2; this.object_id = _arg3; } override facebook_internal function initialize():void{ applySchema(SCHEMA, comment_id, xid, object_id); super.initialize(); } } }//package com.facebook.commands.comments
Section 77
//GetUnconnectedFriendsCount (com.facebook.commands.connect.GetUnconnectedFriendsCount) package com.facebook.commands.connect { import com.facebook.net.*; public class GetUnconnectedFriendsCount extends FacebookCall { public static const SCHEMA:Array = []; public static const METHOD_NAME:String = "connect.getUnconnectedFriendsCount"; public function GetUnconnectedFriendsCount(){ super(METHOD_NAME); } } }//package com.facebook.commands.connect
Section 78
//RegisterUsers (com.facebook.commands.connect.RegisterUsers) package com.facebook.commands.connect { import com.facebook.net.*; import com.facebook.utils.*; import com.facebook.data.connect.*; import com.facebook.*; public class RegisterUsers extends FacebookCall { public var accounts:ConnectAccountMapCollection; public static const SCHEMA:Array = ["accounts"]; public static const METHOD_NAME:String = "connect.registerUsers"; public function RegisterUsers(_arg1:ConnectAccountMapCollection){ super(METHOD_NAME); this.accounts = _arg1; } override facebook_internal function initialize():void{ var _local1:String; _local1 = FacebookDataUtils.facebookCollectionToJSONArray(accounts); applySchema(SCHEMA, _local1); super.initialize(); } } }//package com.facebook.commands.connect
Section 79
//UnregisterUsers (com.facebook.commands.connect.UnregisterUsers) package com.facebook.commands.connect { import com.facebook.net.*; import com.adobe.serialization.json.*; import com.facebook.*; public class UnregisterUsers extends FacebookCall { public var email_hashes:Array; public static const SCHEMA:Array = ["email_hashes"]; public static const METHOD_NAME:String = "connect.unregisterUsers"; public function UnregisterUsers(_arg1:Array){ super(METHOD_NAME); this.email_hashes = _arg1; } override facebook_internal function initialize():void{ applySchema(SCHEMA, JSON.encode(email_hashes)); super.initialize(); } } }//package com.facebook.commands.connect
Section 80
//CreateObject (com.facebook.commands.data.CreateObject) package com.facebook.commands.data { import com.facebook.net.*; import com.facebook.*; public class CreateObject extends FacebookCall { protected var properties; protected var obj_type:String; public static const SCHEMA:Array = ["obj_type", "properties"]; public static const METHOD_NAME:String = "data.createObject"; public function CreateObject(_arg1:String, _arg2=null){ super(METHOD_NAME); this.obj_type = _arg1; this.properties = _arg2; } override facebook_internal function initialize():void{ applySchema(SCHEMA, obj_type, properties); super.initialize(); } } }//package com.facebook.commands.data
Section 81
//CreateObjectType (com.facebook.commands.data.CreateObjectType) package com.facebook.commands.data { import com.facebook.net.*; import com.facebook.data.*; import com.facebook.utils.*; import com.facebook.*; public class CreateObjectType extends FacebookCall { public var name:String; public static const SCHEMA:Array = ["name"]; public static const METHOD_NAME:String = "data.createObjectType"; public function CreateObjectType(_arg1:String){ super(METHOD_NAME); if (ValidationUtils.isDataObjectTypeValid(_arg1) == false){ throw (new RangeError(FacebookDataUtils.supplantString(InternalErrorMessages.DATA_INVALID_NAME_ERROR, {propName:_arg1}))); }; this.name = _arg1; } override facebook_internal function initialize():void{ applySchema(SCHEMA, this.name); super.initialize(); } } }//package com.facebook.commands.data
Section 82
//DefineAssociation (com.facebook.commands.data.DefineAssociation) package com.facebook.commands.data { import com.facebook.net.*; import com.facebook.data.*; import com.facebook.utils.*; import com.facebook.data.data.*; import com.facebook.*; public class DefineAssociation extends FacebookCall { protected var name:String; protected var assoc_info2:AssocInfoData; protected var assoc_info1:AssocInfoData; protected var assoc_type:Number; protected var inverse:String; public static const SCHEMA:Array = ["name", "assoc_type", "assoc_info1", "assoc_info2", "inverse"]; public static const METHOD_NAME:String = "data.defineAssociation"; public function DefineAssociation(_arg1:String, _arg2:Number, _arg3:AssocInfoData, _arg4:AssocInfoData, _arg5:String){ super(METHOD_NAME); if (ValidationUtils.isDataObjectTypeValid(_arg1) == false){ throw (new RangeError(FacebookDataUtils.supplantString(InternalErrorMessages.DATA_INVALID_NAME_ERROR, {propName:_arg1}))); }; if (ValidationUtils.isDataObjectTypeValid(_arg5) == false){ throw (new RangeError(FacebookDataUtils.supplantString(InternalErrorMessages.DATA_INVALID_NAME_ERROR, {propName:_arg5}))); }; this.name = _arg1; this.assoc_type = _arg2; this.assoc_info1 = _arg3; this.assoc_info2 = _arg4; this.inverse = _arg5; } override facebook_internal function initialize():void{ applySchema(SCHEMA, name, assoc_type, assoc_info1, assoc_info2, inverse); super.initialize(); } } }//package com.facebook.commands.data
Section 83
//DefineObjectProperty (com.facebook.commands.data.DefineObjectProperty) package com.facebook.commands.data { import com.facebook.net.*; import com.facebook.data.*; import com.facebook.utils.*; import com.facebook.*; public class DefineObjectProperty extends FacebookCall { public var obj_type:String; public var prop_name:String; public var prop_type:uint; public static const SCHEMA:Array = ["obj_type", "prop_name", "prop_type"]; public static const METHOD_NAME:String = "data.defineObjectProperty"; public function DefineObjectProperty(_arg1:String, _arg2:String, _arg3:uint){ super(METHOD_NAME); if (ValidationUtils.isDataObjectTypeValid(_arg1) == false){ throw (new RangeError(FacebookDataUtils.supplantString(InternalErrorMessages.DATA_INVALID_NAME_ERROR, {propName:_arg1}))); }; if (ValidationUtils.isDataObjectTypeValid(_arg2) == false){ throw (new RangeError(FacebookDataUtils.supplantString(InternalErrorMessages.DATA_INVALID_NAME_ERROR, {propName:_arg2}))); }; this.prop_name = _arg2; } override facebook_internal function initialize():void{ applySchema(SCHEMA, obj_type, prop_name, prop_type); super.initialize(); } } }//package com.facebook.commands.data
Section 84
//DeleteObject (com.facebook.commands.data.DeleteObject) package com.facebook.commands.data { import com.facebook.net.*; import com.facebook.*; public class DeleteObject extends FacebookCall { public var obj_id:String; public static const SCHEMA:Array = ["obj_id"]; public static const METHOD_NAME:String = "data.deleteObject"; public function DeleteObject(_arg1:String){ super(METHOD_NAME); this.obj_id = _arg1; } override facebook_internal function initialize():void{ applySchema(SCHEMA, obj_id); super.initialize(); } } }//package com.facebook.commands.data
Section 85
//DeleteObjects (com.facebook.commands.data.DeleteObjects) package com.facebook.commands.data { import com.facebook.net.*; import com.facebook.*; public class DeleteObjects extends FacebookCall { public var obj_ids:Array; public static const SCHEMA:Array = ["obj_ids"]; public static const METHOD_NAME:String = "data.deleteObjects"; public function DeleteObjects(_arg1:Array){ super(METHOD_NAME); this.obj_ids = _arg1; } override facebook_internal function initialize():void{ applySchema(SCHEMA, obj_ids); super.initialize(); } } }//package com.facebook.commands.data
Section 86
//DropObjectType (com.facebook.commands.data.DropObjectType) package com.facebook.commands.data { import com.facebook.net.*; import com.facebook.data.*; import com.facebook.utils.*; import com.facebook.*; public class DropObjectType extends FacebookCall { public var obj_type:String; public static const SCHEMA:Array = ["obj_type"]; public static const METHOD_NAME:String = "data.dropObjectType"; public function DropObjectType(_arg1:String){ super(METHOD_NAME); if ((((_arg1.length > 32)) || ((ValidationUtils.isDataObjectTypeValid(_arg1) == false)))){ throw (new RangeError(InternalErrorMessages.DATA_INVALID_NAME_ERROR)); }; this.obj_type = _arg1; } override facebook_internal function initialize():void{ applySchema(SCHEMA, obj_type); super.initialize(); } } }//package com.facebook.commands.data
Section 87
//GetAssociatedObjectCount (com.facebook.commands.data.GetAssociatedObjectCount) package com.facebook.commands.data { import com.facebook.net.*; import com.facebook.*; public class GetAssociatedObjectCount extends FacebookCall { public var name:String; public var obj_id:String; public static const SCHEMA:Array = ["name", "obj_id"]; public static const METHOD_NAME:String = "data.getAssociatedObjectCount"; public function GetAssociatedObjectCount(_arg1:String, _arg2:String){ super(METHOD_NAME); this.name = _arg1; this.obj_id = _arg2; } override facebook_internal function initialize():void{ applySchema(SCHEMA, name, obj_id); super.initialize(); } } }//package com.facebook.commands.data
Section 88
//GetAssociatedObjectCounts (com.facebook.commands.data.GetAssociatedObjectCounts) package com.facebook.commands.data { import com.facebook.net.*; import com.facebook.*; public class GetAssociatedObjectCounts extends FacebookCall { public var name:String; public var obj_ids:Array; public static const SCHEMA:Array = ["name", "obj_ids"]; public static const METHOD_NAME:String = "data.getAssociatedObjectCounts"; public function GetAssociatedObjectCounts(_arg1:String, _arg2:Array){ super(METHOD_NAME); this.name = _arg1; this.obj_ids = _arg2; } override facebook_internal function initialize():void{ applySchema(SCHEMA, name, obj_ids); super.initialize(); } } }//package com.facebook.commands.data
Section 89
//GetAssociatedObjects (com.facebook.commands.data.GetAssociatedObjects) package com.facebook.commands.data { import com.facebook.net.*; import com.facebook.*; public class GetAssociatedObjects extends FacebookCall { public var name:String; public var obj_id:String; public var no_data:Boolean; public static const SCHEMA:Array = ["name", "obj_id", "no_data"]; public static const METHOD_NAME:String = "data.getAssociatedObjects"; public function GetAssociatedObjects(_arg1:String, _arg2:String, _arg3:Boolean=false){ super(METHOD_NAME); this.name = _arg1; this.obj_id = _arg2; this.no_data = _arg3; } override facebook_internal function initialize():void{ applySchema(SCHEMA, name, obj_id, no_data); super.initialize(); } } }//package com.facebook.commands.data
Section 90
//GetAssociationDefinition (com.facebook.commands.data.GetAssociationDefinition) package com.facebook.commands.data { import com.facebook.net.*; import com.facebook.*; public class GetAssociationDefinition extends FacebookCall { public var name:String; public static const SCHEMA:Array = ["name"]; public static const METHOD_NAME:String = "data.getAssociationDefinition"; public function GetAssociationDefinition(_arg1:String){ super(METHOD_NAME); this.name = _arg1; } override facebook_internal function initialize():void{ applySchema(SCHEMA, name); super.initialize(); } } }//package com.facebook.commands.data
Section 91
//GetAssociationDefinitions (com.facebook.commands.data.GetAssociationDefinitions) package com.facebook.commands.data { import com.facebook.net.*; public class GetAssociationDefinitions extends FacebookCall { public static const SCHEMA:Array = []; public static const METHOD_NAME:String = "data.getAssociationDefinitions"; public function GetAssociationDefinitions(){ super(METHOD_NAME); } } }//package com.facebook.commands.data
Section 92
//GetAssociations (com.facebook.commands.data.GetAssociations) package com.facebook.commands.data { import com.facebook.net.*; import com.facebook.*; public class GetAssociations extends FacebookCall { public var no_data:Boolean; public var obj_id1:String; public var obj_id2:String; public static const SCHEMA:Array = ["obj_id1", "obj_id2", "no_data"]; public static const METHOD_NAME:String = "data.getAssociations"; public function GetAssociations(_arg1:String, _arg2:String, _arg3:Boolean=true){ super(METHOD_NAME); this.obj_id1 = _arg1; this.obj_id2 = _arg2; this.no_data = _arg3; } override facebook_internal function initialize():void{ applySchema(SCHEMA, obj_id1, obj_id2, no_data); super.initialize(); } } }//package com.facebook.commands.data
Section 93
//GetCookies (com.facebook.commands.data.GetCookies) package com.facebook.commands.data { import com.facebook.net.*; import com.facebook.*; public class GetCookies extends FacebookCall { public var name:String; public var uid:String; public static const SCHEMA:Array = ["uid", "name"]; public static const METHOD_NAME:String = "data.getCookies"; public function GetCookies(_arg1:String, _arg2:String=null){ super(METHOD_NAME); this.uid = _arg1; this.name = _arg2; } override facebook_internal function initialize():void{ applySchema(SCHEMA, uid, name); super.initialize(); } } }//package com.facebook.commands.data
Section 94
//GetCookiesData (com.facebook.commands.data.GetCookiesData) package com.facebook.commands.data { import com.facebook.data.*; public class GetCookiesData extends FacebookData { public var name:String; public var uid:String; public var path:String; public var value:String; public var expires:Number; } }//package com.facebook.commands.data
Section 95
//GetHashValue (com.facebook.commands.data.GetHashValue) package com.facebook.commands.data { import com.facebook.net.*; import com.facebook.*; public class GetHashValue extends FacebookCall { public var obj_type:String; public var key:String; public var prop_name:String; public static const SCHEMA:Array = ["obj_type", "key", "prop_name"]; public static const METHOD_NAME:String = "data.getHashValue"; public function GetHashValue(_arg1:String, _arg2:String, _arg3:String){ super(METHOD_NAME); this.obj_type = _arg1; this.key = _arg2; this.prop_name = _arg3; } override facebook_internal function initialize():void{ applySchema(SCHEMA, obj_type, key, prop_name); super.initialize(); } } }//package com.facebook.commands.data
Section 96
//GetObject (com.facebook.commands.data.GetObject) package com.facebook.commands.data { import com.facebook.net.*; import com.facebook.*; public class GetObject extends FacebookCall { public var prop_names:Array; public var obj_id:String; public static const SCHEMA:Array = ["obj_id", "prop_names"]; public static const METHOD_NAME:String = "data.getObject"; public function GetObject(_arg1:String, _arg2:Array=null){ super(METHOD_NAME); this.obj_id = _arg1; this.prop_names = _arg2; } override facebook_internal function initialize():void{ applySchema(SCHEMA, obj_id, prop_names); super.initialize(); } } }//package com.facebook.commands.data
Section 97
//GetObjectProperty (com.facebook.commands.data.GetObjectProperty) package com.facebook.commands.data { import com.facebook.net.*; import com.facebook.*; public class GetObjectProperty extends FacebookCall { public var obj_id:String; public var prop_name:String; public static const SCHEMA:Array = ["obj_id", "prop_name"]; public static const METHOD_NAME:String = "data.getObjectProperty"; public function GetObjectProperty(_arg1:String, _arg2:String){ super(METHOD_NAME); this.obj_id = _arg1; this.prop_name = _arg2; } override facebook_internal function initialize():void{ applySchema(SCHEMA, obj_id, prop_name); super.initialize(); } } }//package com.facebook.commands.data
Section 98
//GetObjects (com.facebook.commands.data.GetObjects) package com.facebook.commands.data { import com.facebook.net.*; import com.facebook.utils.*; import com.facebook.*; public class GetObjects extends FacebookCall { public var prop_names:Array; public var obj_ids:Array; public static const SCHEMA:Array = ["obj_ids", "prop_names"]; public static const METHOD_NAME:String = "data.getObjects"; public function GetObjects(_arg1:Array, _arg2:Array=null){ super(METHOD_NAME); this.obj_ids = _arg1; this.prop_names = _arg2; } override facebook_internal function initialize():void{ applySchema(SCHEMA, FacebookDataUtils.toArrayString(obj_ids), FacebookDataUtils.toArrayString(prop_names)); super.initialize(); } } }//package com.facebook.commands.data
Section 99
//GetObjectType (com.facebook.commands.data.GetObjectType) package com.facebook.commands.data { import com.facebook.net.*; import com.facebook.*; public class GetObjectType extends FacebookCall { public var obj_type:String; public static const SCHEMA:Array = ["obj_type"]; public static const METHOD_NAME:String = "data.getObjectType"; public function GetObjectType(_arg1:String){ super(METHOD_NAME); this.obj_type = _arg1; } override facebook_internal function initialize():void{ applySchema(SCHEMA, obj_type); super.initialize(); } } }//package com.facebook.commands.data
Section 100
//GetObjectTypes (com.facebook.commands.data.GetObjectTypes) package com.facebook.commands.data { import com.facebook.net.*; public class GetObjectTypes extends FacebookCall { public static const SCHEMA:Array = []; public static const METHOD_NAME:String = "data.getObjectTypes"; public function GetObjectTypes(){ super(METHOD_NAME); } } }//package com.facebook.commands.data
Section 101
//GetUserPreference (com.facebook.commands.data.GetUserPreference) package com.facebook.commands.data { import com.facebook.net.*; import com.facebook.data.*; import com.facebook.*; public class GetUserPreference extends FacebookCall { public var value:String; public var pref_id:Number; public static const SCHEMA:Array = ["pref_id"]; public static const METHOD_NAME:String = "data.getUserPreference"; public function GetUserPreference(_arg1:uint){ super(METHOD_NAME); if (_arg1 > 200){ throw (new RangeError(InternalErrorMessages.USER_PREFERENCE_ID_RANGE_ERROR)); }; this.pref_id = _arg1; } override facebook_internal function initialize():void{ applySchema(SCHEMA, pref_id); super.initialize(); } } }//package com.facebook.commands.data
Section 102
//GetUserPreferences (com.facebook.commands.data.GetUserPreferences) package com.facebook.commands.data { import com.facebook.net.*; public class GetUserPreferences extends FacebookCall { public static const SCHEMA:Array = []; public static const METHOD_NAME:String = "data.getUserPreferences"; public function GetUserPreferences(){ super(METHOD_NAME); } } }//package com.facebook.commands.data
Section 103
//IncHashValue (com.facebook.commands.data.IncHashValue) package com.facebook.commands.data { import com.facebook.net.*; import com.facebook.*; public class IncHashValue extends FacebookCall { public var obj_type:String; public var key:String; public var prop_name:String; public var increment:Number; public static const SCHEMA:Array = ["obj_type", "key", "prop_name", "increment"]; public static const METHOD_NAME:String = "data.incHashValue"; public function IncHashValue(_arg1:String, _arg2:String, _arg3:String, _arg4:Number){ super(METHOD_NAME); this.obj_type = _arg1; this.key = _arg2; this.prop_name = _arg3; this.increment = _arg4; } override facebook_internal function initialize():void{ applySchema(SCHEMA, obj_type, key, prop_name, increment); super.initialize(); } } }//package com.facebook.commands.data
Section 104
//RemoveAssociatedObjects (com.facebook.commands.data.RemoveAssociatedObjects) package com.facebook.commands.data { import com.facebook.net.*; import com.facebook.*; public class RemoveAssociatedObjects extends FacebookCall { public var name:String; public var obj_id:String; public static const SCHEMA:Array = ["name", "obj_id"]; public static const METHOD_NAME:String = "data.removeAssociatedObjects"; public function RemoveAssociatedObjects(_arg1:String, _arg2:String){ super(METHOD_NAME); this.name = _arg1; this.obj_id = _arg2; } override facebook_internal function initialize():void{ applySchema(SCHEMA, name, obj_id); super.initialize(); } } }//package com.facebook.commands.data
Section 105
//RemoveAssociation (com.facebook.commands.data.RemoveAssociation) package com.facebook.commands.data { import com.facebook.net.*; import com.facebook.*; public class RemoveAssociation extends FacebookCall { public var name:String; public var obj_id1:Number; public var obj_id2:Number; public static const SCHEMA:Array = ["name", "obj_id1", "obj_id2"]; public static const METHOD_NAME:String = "data.removeAssociatedObjects"; public function RemoveAssociation(){ super(METHOD_NAME); this.name = name; this.obj_id1 = obj_id1; this.obj_id2 = obj_id2; } override facebook_internal function initialize():void{ applySchema(SCHEMA, name, obj_id1, obj_id2); super.initialize(); } } }//package com.facebook.commands.data
Section 106
//RemoveAssociations (com.facebook.commands.data.RemoveAssociations) package com.facebook.commands.data { import com.facebook.net.*; import com.facebook.*; public class RemoveAssociations extends FacebookCall { public var name:String; public var assocs:Array; public static const SCHEMA:Array = ["assocs", "name"]; public static const METHOD_NAME:String = "data.removeAssociations"; public function RemoveAssociations(_arg1:Array, _arg2:String=""){ super(METHOD_NAME); this.assocs = _arg1; this.name = _arg2; } override facebook_internal function initialize():void{ applySchema(SCHEMA, assocs, name); super.initialize(); } } }//package com.facebook.commands.data
Section 107
//RemoveHashKey (com.facebook.commands.data.RemoveHashKey) package com.facebook.commands.data { import com.facebook.net.*; import com.facebook.*; public class RemoveHashKey extends FacebookCall { public var obj_type:String; public var key:String; public static const SCHEMA:Array = ["obj_type", "key"]; public static const METHOD_NAME:String = "data.removeHashKey"; public function RemoveHashKey(_arg1:String, _arg2:String){ super(METHOD_NAME); this.obj_type = _arg1; this.key = _arg2; } override facebook_internal function initialize():void{ applySchema(SCHEMA, obj_type, key); super.initialize(); } } }//package com.facebook.commands.data
Section 108
//RemoveHashKeys (com.facebook.commands.data.RemoveHashKeys) package com.facebook.commands.data { import com.facebook.net.*; import com.facebook.*; public class RemoveHashKeys extends FacebookCall { public var obj_type:String; public var keys:Array; public static const SCHEMA:Array = ["obj_type", "keys"]; public static const METHOD_NAME:String = "data.removeHashKeys"; public function RemoveHashKeys(_arg1:String, _arg2:Array){ super(METHOD_NAME); this.obj_type = _arg1; this.keys = _arg2; } override facebook_internal function initialize():void{ applySchema(SCHEMA, obj_type, keys); super.initialize(); } } }//package com.facebook.commands.data
Section 109
//RenameAssociation (com.facebook.commands.data.RenameAssociation) package com.facebook.commands.data { import com.facebook.net.*; import com.facebook.data.*; import com.facebook.utils.*; import com.facebook.*; public class RenameAssociation extends FacebookCall { public var name:String; public var new_alias1:String; public var new_name:String; public var new_alias2:String; public static const SCHEMA:Array = ["name", "new_name", "new_alias1", "new_alias2"]; public static const METHOD_NAME:String = "data.renameAssociation"; public function RenameAssociation(_arg1:String, _arg2:String="", _arg3:String="", _arg4:String=""){ super(METHOD_NAME); if (ValidationUtils.isDataObjectTypeValid(_arg2) == false){ throw (new RangeError(FacebookDataUtils.supplantString(InternalErrorMessages.DATA_INVALID_NAME_ERROR, {propName:_arg2}))); }; if (ValidationUtils.isDataObjectTypeValid(_arg3) == false){ throw (new RangeError(FacebookDataUtils.supplantString(InternalErrorMessages.DATA_INVALID_NAME_ERROR, {propName:_arg3}))); }; if (ValidationUtils.isDataObjectTypeValid(_arg4) == false){ throw (new RangeError(FacebookDataUtils.supplantString(InternalErrorMessages.DATA_INVALID_NAME_ERROR, {propName:_arg4}))); }; this.name = _arg1; } override facebook_internal function initialize():void{ applySchema(SCHEMA, name, new_name, new_alias1, new_alias2); super.initialize(); } } }//package com.facebook.commands.data
Section 110
//RenameObjectProperty (com.facebook.commands.data.RenameObjectProperty) package com.facebook.commands.data { import com.facebook.net.*; import com.facebook.data.*; import com.facebook.utils.*; import com.facebook.*; public class RenameObjectProperty extends FacebookCall { public var obj_type:String; public var new_name:String; public var prop_name:String; public static const SCHEMA:Array = ["obj_type", "prop_name", "new_name"]; public static const METHOD_NAME:String = "data.renameObjectProperty"; public function RenameObjectProperty(_arg1:String, _arg2:String, _arg3:String){ super(METHOD_NAME); if (ValidationUtils.isDataObjectTypeValid(_arg1) == false){ throw (new RangeError(FacebookDataUtils.supplantString(InternalErrorMessages.DATA_INVALID_NAME_ERROR, {propName:_arg1}))); }; if (ValidationUtils.isDataObjectTypeValid(_arg2) == false){ throw (new RangeError(FacebookDataUtils.supplantString(InternalErrorMessages.DATA_INVALID_NAME_ERROR, {propName:_arg2}))); }; if (ValidationUtils.isDataObjectTypeValid(_arg3) == false){ throw (new RangeError(FacebookDataUtils.supplantString(InternalErrorMessages.DATA_INVALID_NAME_ERROR, {propName:_arg3}))); }; this.obj_type = _arg1; this.prop_name = _arg2; this.new_name = _arg3; } override facebook_internal function initialize():void{ applySchema(SCHEMA, obj_type, prop_name, new_name); super.initialize(); } } }//package com.facebook.commands.data
Section 111
//RenameObjectType (com.facebook.commands.data.RenameObjectType) package com.facebook.commands.data { import com.facebook.net.*; import com.facebook.data.*; import com.facebook.utils.*; import com.facebook.*; public class RenameObjectType extends FacebookCall { public var obj_type:String; public var new_name:String; public static const SCHEMA:Array = ["obj_type", "new_name"]; public static const METHOD_NAME:String = "data.renameObjectType"; public function RenameObjectType(_arg1:String, _arg2:String){ super(METHOD_NAME); if (ValidationUtils.isDataObjectTypeValid(_arg1) == false){ throw (new RangeError(FacebookDataUtils.supplantString(InternalErrorMessages.DATA_INVALID_NAME_ERROR, {propName:_arg1}))); }; if (ValidationUtils.isDataObjectTypeValid(_arg2) == false){ throw (new RangeError(FacebookDataUtils.supplantString(InternalErrorMessages.DATA_INVALID_NAME_ERROR, {propName:_arg2}))); }; this.obj_type = _arg1; this.new_name = _arg2; } override facebook_internal function initialize():void{ applySchema(SCHEMA, obj_type, new_name); super.initialize(); } } }//package com.facebook.commands.data
Section 112
//SetAssociation (com.facebook.commands.data.SetAssociation) package com.facebook.commands.data { import com.facebook.net.*; import com.facebook.data.*; import com.facebook.utils.*; import com.facebook.*; public class SetAssociation extends FacebookCall { public var name:String; public var data:String; public var obj_id1:String; public var obj_id2:String; public var assoc_time:Date; public static const SCHEMA:Array = ["name", "obj_id1", "obj_id2", "data", "assoc_time"]; public static const METHOD_NAME:String = "data.setAssociation"; public function SetAssociation(_arg1:String, _arg2:String, _arg3:String, _arg4:String=null, _arg5:Date=null){ super(method, args); if (ValidationUtils.validateLength(_arg4) == false){ throw (new RangeError(FacebookDataUtils.supplantString(InternalErrorMessages.DATA_INVALID_NAME_ERROR, {propName:_arg4}))); }; this.name = _arg1; this.obj_id1 = _arg2; this.obj_id2 = _arg3; this.assoc_time = _arg5; } override facebook_internal function initialize():void{ applySchema(SCHEMA, name, obj_id1, obj_id2, data, FacebookDataUtils.toDateString(assoc_time)); super.initialize(); } } }//package com.facebook.commands.data
Section 113
//SetAssociations (com.facebook.commands.data.SetAssociations) package com.facebook.commands.data { import com.facebook.net.*; import com.facebook.data.data.*; import com.facebook.*; public class SetAssociations extends FacebookCall { protected var name:String; protected var assocs:SetAssociationsDataCollection; public static const SCHEMA:Array = ["assocs", "name"]; public static const METHOD_NAME:String = "data.setAssociations"; public function SetAssociations(_arg1:SetAssociationsDataCollection, _arg2:String=null){ super(METHOD_NAME); this.assocs = _arg1; this.name = _arg2; } override facebook_internal function initialize():void{ applySchema(SCHEMA, assocs, name); super.initialize(); } } }//package com.facebook.commands.data
Section 114
//SetCookie (com.facebook.commands.data.SetCookie) package com.facebook.commands.data { import com.facebook.net.*; import com.facebook.utils.*; import com.facebook.*; public class SetCookie extends FacebookCall { public var name:String; public var uid:String; public var expires:Date; public var value:String; public var path:String; public static const SCHEMA:Array = ["uid", "name", "value", "expires", "path"]; public static const METHOD_NAME:String = "data.setCookie"; public function SetCookie(_arg1:String, _arg2:String, _arg3:String, _arg4:Date=null, _arg5:String="/"){ super(METHOD_NAME); this.uid = _arg1; this.name = _arg2; this.value = _arg3; this.expires = _arg4; this.path = _arg5; } override facebook_internal function initialize():void{ applySchema(SCHEMA, uid, name, value, FacebookDataUtils.toDateString(expires), path); super.initialize(); } } }//package com.facebook.commands.data
Section 115
//SetHashValue (com.facebook.commands.data.SetHashValue) package com.facebook.commands.data { import com.facebook.net.*; import com.facebook.*; public class SetHashValue extends FacebookCall { public var obj_type:String; public var key:String; public var prop_name:String; public var value:String; public static const SCHEMA:Array = ["obj_type", "key", "value", "prop_name"]; public static const METHOD_NAME:String = "data.setHashValue"; public function SetHashValue(_arg1:String, _arg2:String, _arg3:String, _arg4:String){ super(METHOD_NAME); this.obj_type = _arg1; this.key = _arg2; this.value = _arg3; this.prop_name = _arg4; } override facebook_internal function initialize():void{ applySchema(SCHEMA, obj_type, key, value, prop_name); super.initialize(); } } }//package com.facebook.commands.data
Section 116
//SetObjectProperty (com.facebook.commands.data.SetObjectProperty) package com.facebook.commands.data { import com.facebook.net.*; import com.facebook.*; public class SetObjectProperty extends FacebookCall { public var obj_id:String; public var prop_value:String; public var prop_name:String; public static const SCHEMA:Array = ["obj_id", "prop_name", "prop_value"]; public static const METHOD_NAME:String = "data.setObjectProperty"; public function SetObjectProperty(_arg1:String, _arg2:String, _arg3:String){ super(METHOD_NAME); this.obj_id = _arg1; this.prop_name = _arg2; this.prop_value = _arg3; } override facebook_internal function initialize():void{ applySchema(SCHEMA, obj_id, prop_name, prop_value); super.initialize(); } } }//package com.facebook.commands.data
Section 117
//SetUserPreference (com.facebook.commands.data.SetUserPreference) package com.facebook.commands.data { import com.facebook.net.*; import com.facebook.data.*; import com.facebook.*; public class SetUserPreference extends FacebookCall { public var value:String; public var pref_id:Number; public static const SCHEMA:Array = ["pref_id", "value"]; public static const METHOD_NAME:String = "data.setUserPreference"; public function SetUserPreference(_arg1:uint, _arg2:String){ super(METHOD_NAME); if (_arg1 > 200){ throw (new RangeError(InternalErrorMessages.USER_PREFERENCE_ID_RANGE_ERROR)); }; if (((!((_arg2 == null))) && ((_arg2.length > 128)))){ throw (new RangeError(InternalErrorMessages.USER_PREFERENCE_VALUE_RANGE_ERROR)); }; if (_arg2 == null){ _arg2 = "0"; }; this.pref_id = _arg1; this.value = _arg2; } override facebook_internal function initialize():void{ applySchema(SCHEMA, pref_id, value); super.initialize(); } } }//package com.facebook.commands.data
Section 118
//SetUserPreferences (com.facebook.commands.data.SetUserPreferences) package com.facebook.commands.data { import com.facebook.net.*; import com.facebook.utils.*; import com.facebook.data.data.*; import com.facebook.*; public class SetUserPreferences extends FacebookCall { public var map:NameValueCollection; public var replace:Boolean; public static const SCHEMA:Array = ["map", "replace"]; public static const METHOD_NAME:String = "data.setUserPreferences"; public function SetUserPreferences(_arg1:NameValueCollection, _arg2:Boolean){ super(METHOD_NAME); this.map = _arg1; this.replace = _arg2; } override facebook_internal function initialize():void{ applySchema(SCHEMA, FacebookDataUtils.toJSONValuesArray(map.toArray()), replace); super.initialize(); } } }//package com.facebook.commands.data
Section 119
//UndefineAssociation (com.facebook.commands.data.UndefineAssociation) package com.facebook.commands.data { import com.facebook.net.*; import com.facebook.*; public class UndefineAssociation extends FacebookCall { public var name:String; public static const SCHEMA:Array = ["name"]; public static const METHOD_NAME:String = "data.undefineAssociation"; public function UndefineAssociation(_arg1:String){ super(METHOD_NAME); this.name = _arg1; } override facebook_internal function initialize():void{ applySchema(SCHEMA, this.name); super.initialize(); } } }//package com.facebook.commands.data
Section 120
//UndefineObjectProperty (com.facebook.commands.data.UndefineObjectProperty) package com.facebook.commands.data { import com.facebook.net.*; import com.facebook.data.*; import com.facebook.utils.*; import com.facebook.*; public class UndefineObjectProperty extends FacebookCall { public var obj_type:String; public var prop_name:String; public static const SCHEMA:Array = ["obj_type", "prop_name"]; public static const METHOD_NAME:String = "data.undefineObjectProperty"; public function UndefineObjectProperty(_arg1:String, _arg2:String){ super(METHOD_NAME); if (ValidationUtils.isDataObjectTypeValid(_arg1) == false){ throw (new RangeError(FacebookDataUtils.supplantString(InternalErrorMessages.DATA_INVALID_NAME_ERROR, {propName:_arg1}))); }; if (ValidationUtils.isDataObjectTypeValid(_arg2) == false){ throw (new RangeError(FacebookDataUtils.supplantString(InternalErrorMessages.DATA_INVALID_NAME_ERROR, {propName:_arg2}))); }; this.obj_type = _arg1; this.prop_name = _arg2; } override facebook_internal function initialize():void{ applySchema(SCHEMA, obj_type, prop_name); super.initialize(); } } }//package com.facebook.commands.data
Section 121
//UpdateObject (com.facebook.commands.data.UpdateObject) package com.facebook.commands.data { import com.facebook.net.*; import com.facebook.data.data.*; import com.facebook.*; public class UpdateObject extends FacebookCall { public var properties:NameValueData; public var obj_id:String; public var replace:Boolean; public static const SCHEMA:Array = ["obj_id", "properties", "replace"]; public static const METHOD_NAME:String = "data.updateObject"; public function UpdateObject(_arg1:String, _arg2:NameValueData, _arg3:Boolean){ super(METHOD_NAME); this.obj_id = _arg1; this.properties = _arg2; this.replace = _arg3; } override facebook_internal function initialize():void{ applySchema(SCHEMA, obj_id, properties, replace); super.initialize(); } } }//package com.facebook.commands.data
Section 122
//CancelEvent (com.facebook.commands.events.CancelEvent) package com.facebook.commands.events { import com.facebook.net.*; import com.facebook.*; public class CancelEvent extends FacebookCall { public var cancel_message:String; public var eid:String; public static const SCHEMA:Array = ["eid", "cancel_message"]; public static const METHOD_NAME:String = "events.cancel"; public function CancelEvent(_arg1:String, _arg2:String=null){ super(METHOD_NAME); this.eid = _arg1; this.cancel_message = _arg2; } override facebook_internal function initialize():void{ applySchema(SCHEMA, eid, cancel_message); super.initialize(); } } }//package com.facebook.commands.events
Section 123
//CreateEvent (com.facebook.commands.events.CreateEvent) package com.facebook.commands.events { import com.facebook.net.*; import com.adobe.serialization.json.*; import com.facebook.utils.*; import com.facebook.data.events.*; import com.facebook.commands.photos.*; import com.facebook.*; public class CreateEvent extends FacebookCall implements IUploadPhoto { protected var _data:Object; public var event_info:CreateEventData; protected var _uploadQuality:uint;// = 80 protected var _uploadType:String;// = "png" public static const SCHEMA:Array = ["event_info", "data"]; public static const METHOD_NAME:String = "events.create"; public function CreateEvent(_arg1:CreateEventData, _arg2:Object=null){ _uploadType = UploadPhotoTypes.PNG; _uploadQuality = 80; super(METHOD_NAME); this.event_info = _arg1; this.data = _arg2; } override facebook_internal function initialize():void{ var _local1:Object; var _local2:String; var _local3:Object; _local1 = {}; for each (_local2 in event_info.schema) { _local3 = event_info[_local2]; if ((_local3 is Date)){ _local3 = FacebookDataUtils.toDateString((_local3 as Date)); }; _local1[_local2] = _local3; }; applySchema(SCHEMA, JSON.encode(_local1), data); super.initialize(); } public function get data():Object{ return (_data); } public function set uploadType(_arg1:String):void{ _uploadType = _arg1; } public function get uploadQuality():uint{ return (_uploadQuality); } public function set data(_arg1:Object):void{ _data = _arg1; } public function get uploadType():String{ return (_uploadType); } public function set uploadQuality(_arg1:uint):void{ _uploadQuality = _arg1; } } }//package com.facebook.commands.events
Section 124
//EditEvent (com.facebook.commands.events.EditEvent) package com.facebook.commands.events { import com.facebook.net.*; import com.adobe.serialization.json.*; import com.facebook.utils.*; import com.facebook.data.events.*; import com.facebook.*; public class EditEvent extends FacebookCall { public var event_info:EditEventData; public var eid:String; public static const SCHEMA:Array = ["eid", "event_info"]; public static const METHOD_NAME:String = "events.edit"; public function EditEvent(_arg1:String, _arg2:EditEventData){ super(METHOD_NAME); this.eid = _arg1; this.event_info = _arg2; } override facebook_internal function initialize():void{ var _local1:Object; var _local2:String; var _local3:Object; _local1 = {}; for each (_local2 in event_info.schema) { _local3 = event_info[_local2]; if ((_local3 is Date)){ _local3 = FacebookDataUtils.toDateString((_local3 as Date)); }; _local1[_local2] = _local3; }; applySchema(SCHEMA, eid, JSON.encode(event_info)); super.initialize(); } } }//package com.facebook.commands.events
Section 125
//GetEvents (com.facebook.commands.events.GetEvents) package com.facebook.commands.events { import com.facebook.net.*; import com.facebook.utils.*; import com.facebook.*; public class GetEvents extends FacebookCall { public var eids:Array; public var uid:String; public var start_time:Date; public var end_time:Date; public var rsvp_status:String; public static const SCHEMA:Array = ["uid", "eids", "start_time", "end_time", "rsvp_status"]; public static const METHOD_NAME:String = "events.get"; public function GetEvents(_arg1:String=null, _arg2:Array=null, _arg3:Date=null, _arg4:Date=null, _arg5:String=null){ super(METHOD_NAME); this.uid = _arg1; this.eids = _arg2; this.start_time = _arg3; this.end_time = _arg4; this.rsvp_status = _arg5; } override facebook_internal function initialize():void{ applySchema(SCHEMA, uid, FacebookDataUtils.toArrayString(eids), FacebookDataUtils.toDateString(start_time), FacebookDataUtils.toDateString(end_time), rsvp_status); super.initialize(); } } }//package com.facebook.commands.events
Section 126
//GetMembers (com.facebook.commands.events.GetMembers) package com.facebook.commands.events { import com.facebook.net.*; import com.facebook.*; public class GetMembers extends FacebookCall { public var eid:String; public static const SCHEMA:Array = ["eid"]; public static const METHOD_NAME:String = "events.getMembers"; public function GetMembers(_arg1:String){ super(METHOD_NAME); this.eid = _arg1; } override facebook_internal function initialize():void{ applySchema(SCHEMA, eid); super.initialize(); } } }//package com.facebook.commands.events
Section 127
//Invite (com.facebook.commands.events.Invite) package com.facebook.commands.events { import com.facebook.net.*; import com.facebook.utils.*; import com.facebook.*; public class Invite extends FacebookCall { public var personal_message:String; public var eid:String; public var uids:Array; public static const SCHEMA:Array = ["eid", "uids", "personal_message"]; public static const METHOD_NAME:String = "events.invite"; public function Invite(_arg1:String, _arg2:Array, _arg3:String=null){ super(METHOD_NAME); this.eid = _arg1; this.uids = _arg2; this.personal_message = _arg3; } override facebook_internal function initialize():void{ applySchema(SCHEMA, eid, FacebookDataUtils.toArrayString(uids), personal_message); super.initialize(); } } }//package com.facebook.commands.events
Section 128
//RSVP (com.facebook.commands.events.RSVP) package com.facebook.commands.events { import com.facebook.net.*; import com.facebook.*; public class RSVP extends FacebookCall { public var eid:String; public var rsvp_status:String; public static const SCHEMA:Array = ["eid", "rsvp_status"]; public static const METHOD_NAME:String = "events.rsvp"; public function RSVP(_arg1:String, _arg2:String){ super(METHOD_NAME); this.eid = _arg1; this.rsvp_status = _arg2; } override facebook_internal function initialize():void{ applySchema(SCHEMA, eid, rsvp_status); super.initialize(); } } }//package com.facebook.commands.events
Section 129
//DeleteCustomTags (com.facebook.commands.fbml.DeleteCustomTags) package com.facebook.commands.fbml { import com.facebook.net.*; import com.facebook.utils.*; import com.facebook.*; public class DeleteCustomTags extends FacebookCall { public var names:Array; public static const SCHEMA:Array = ["names"]; public static const METHOD_NAME:String = "fbml.deleteCustomTags"; public function DeleteCustomTags(_arg1:Array=null){ super(METHOD_NAME); this.names = _arg1; } override facebook_internal function initialize():void{ applySchema(SCHEMA, FacebookDataUtils.toJSONValuesArray(names)); super.initialize(); } } }//package com.facebook.commands.fbml
Section 130
//GetCustomTags (com.facebook.commands.fbml.GetCustomTags) package com.facebook.commands.fbml { import com.facebook.net.*; import com.facebook.*; public class GetCustomTags extends FacebookCall { protected var app_id:String; public static const SCHEMA:Array = ["app_id"]; public static const METHOD_NAME:String = "fbml.getCustomTags"; public function GetCustomTags(_arg1:String=""){ super(METHOD_NAME); this.app_id = _arg1; } override facebook_internal function initialize():void{ this.applySchema(SCHEMA, this.app_id); super.initialize(); } } }//package com.facebook.commands.fbml
Section 131
//RefreshImgSrc (com.facebook.commands.fbml.RefreshImgSrc) package com.facebook.commands.fbml { import com.facebook.net.*; import com.facebook.*; public class RefreshImgSrc extends FacebookCall { public var url:String; public static const SCHEMA:Array = ["url"]; public static const METHOD_NAME:String = "fbml.refreshImgSrc"; public function RefreshImgSrc(_arg1:String){ super(METHOD_NAME); this.url = _arg1; } override facebook_internal function initialize():void{ this.applySchema(SCHEMA, url); super.initialize(); } } }//package com.facebook.commands.fbml
Section 132
//RefreshRefUrl (com.facebook.commands.fbml.RefreshRefUrl) package com.facebook.commands.fbml { import com.facebook.net.*; import com.facebook.*; public class RefreshRefUrl extends FacebookCall { public var url:String; public static const SCHEMA:Array = ["url"]; public static const METHOD_NAME:String = "fbml.refreshRefUrl"; public function RefreshRefUrl(_arg1:String){ super(METHOD_NAME); this.url = _arg1; } override facebook_internal function initialize():void{ applySchema(SCHEMA, url); super.initialize(); } } }//package com.facebook.commands.fbml
Section 133
//RegisterCustomTags (com.facebook.commands.fbml.RegisterCustomTags) package com.facebook.commands.fbml { import com.facebook.data.fbml.*; import com.facebook.net.*; import com.facebook.utils.*; import com.facebook.*; public class RegisterCustomTags extends FacebookCall { public var tags:TagCollection; public static const SCHEMA:Array = ["tags"]; public static const METHOD_NAME:String = "fbml.registerCustomTags"; public function RegisterCustomTags(_arg1:TagCollection){ super(METHOD_NAME); this.tags = _arg1; } override facebook_internal function initialize():void{ applySchema(SCHEMA, FacebookDataUtils.facebookCollectionToJSONArray(tags)); super.initialize(); } } }//package com.facebook.commands.fbml
Section 134
//SetRefHandle (com.facebook.commands.fbml.SetRefHandle) package com.facebook.commands.fbml { import com.facebook.net.*; import com.facebook.*; public class SetRefHandle extends FacebookCall { public var fmbl:String; public var handle:String; public static const SCHEMA:Array = ["handle", "fmbl"]; public static const METHOD_NAME:String = "fbml.setRefHandle"; public function SetRefHandle(_arg1:String, _arg2:String){ super(METHOD_NAME); this.handle = _arg1; this.fmbl = _arg2; } override facebook_internal function initialize():void{ applySchema(SCHEMA, handle, fmbl); super.initialize(); } } }//package com.facebook.commands.fbml
Section 135
//DeactivateTemplateBundleByID (com.facebook.commands.feed.DeactivateTemplateBundleByID) package com.facebook.commands.feed { import com.facebook.net.*; import com.facebook.*; public class DeactivateTemplateBundleByID extends FacebookCall { public var template_bundle_id:String; public static const SCHEMA:Array = ["template_bundle_id"]; public static const METHOD_NAME:String = "feed.deactivateTemplateBundleByID"; public function DeactivateTemplateBundleByID(_arg1:String){ super(METHOD_NAME); this.template_bundle_id = _arg1; } override facebook_internal function initialize():void{ applySchema(SCHEMA, template_bundle_id); super.initialize(); } } }//package com.facebook.commands.feed
Section 136
//GetRegisteredTemplateBundleByID (com.facebook.commands.feed.GetRegisteredTemplateBundleByID) package com.facebook.commands.feed { import com.facebook.net.*; import com.facebook.*; public class GetRegisteredTemplateBundleByID extends FacebookCall { public var template_bundle_id:String; public static const SCHEMA:Array = ["template_bundle_id"]; public static const METHOD_NAME:String = "feed.getRegisteredTemplateBundleByID"; public function GetRegisteredTemplateBundleByID(_arg1:String){ super(METHOD_NAME); this.template_bundle_id = _arg1; } override facebook_internal function initialize():void{ applySchema(SCHEMA, template_bundle_id); super.initialize(); } } }//package com.facebook.commands.feed
Section 137
//GetRegisteredTemplateBundles (com.facebook.commands.feed.GetRegisteredTemplateBundles) package com.facebook.commands.feed { import com.facebook.net.*; public class GetRegisteredTemplateBundles extends FacebookCall { public static const SCHEMA:Array = []; public static const METHOD_NAME:String = "feed.getRegisteredTemplateBundles"; public function GetRegisteredTemplateBundles(){ super(METHOD_NAME); } } }//package com.facebook.commands.feed
Section 138
//PublishTemplatizedAction (com.facebook.commands.feed.PublishTemplatizedAction) package com.facebook.commands.feed { import com.facebook.net.*; import com.adobe.serialization.json.*; import com.facebook.utils.*; import com.facebook.*; public class PublishTemplatizedAction extends FacebookCall { public var image_4_link:String; public var target_ids:Array; public var title_template:String; public var image_1_link:String; public var body_data:Object; public var title_data:Object; public var body_general:String; public var image_1:String; public var image_4:String; public var image_2_link:String; public var page_actor_id:String; public var image_3:String; public var image_2:String; public var image_3_link:String; public var body_template:String; public static const SCHEMA:Array = ["title_template", "title_data", "body_template", "body_data", "body_general", "page_actor_id", "image_1", "image_1_link", "image_2", "image_2_link", "image_3", "image_3_link", "image_4", "image_4_link", "target_ids"]; public static const METHOD_NAME:String = "feed.publishTemplatizedAction"; public function PublishTemplatizedAction(_arg1:String, _arg2:Object=null, _arg3:String="", _arg4:String="", _arg5:String="", _arg6:String="", _arg7:String="", _arg8:String="", _arg9:String="", _arg10:String="", _arg11:String="", _arg12:String="", _arg13:String="", _arg14:String="", _arg15:Array=null){ super(METHOD_NAME); this.title_template = _arg1; this.title_data = _arg2; this.body_template = _arg3; this.body_data = _arg4; this.body_general = _arg5; this.page_actor_id = _arg6; this.image_1 = _arg7; this.image_1_link = _arg8; this.image_2 = _arg9; this.image_2_link = _arg10; this.image_3 = _arg11; this.image_3_link = _arg12; this.image_4 = _arg13; this.image_4_link = _arg14; this.target_ids = _arg15; } override facebook_internal function initialize():void{ applySchema(SCHEMA, title_template, JSON.encode(title_data), body_template, body_data, body_general, page_actor_id, image_1, image_1_link, image_2, image_2_link, image_3, image_3_link, image_4, image_4_link, FacebookDataUtils.toArrayString(target_ids)); super.initialize(); } } }//package com.facebook.commands.feed
Section 139
//PublishUserAction (com.facebook.commands.feed.PublishUserAction) package com.facebook.commands.feed { import com.facebook.net.*; import com.adobe.serialization.json.*; import com.facebook.utils.*; public class PublishUserAction extends FacebookCall { public var template_bundle_id:String; public var body_general:String; public var user_message:String; public var story_size:Number; public var target_ids:Array; public var template_data:Object; public static const SCHEMA:Array = ["template_bundle_id", "template_data", "target_ids", "body_general", "story_size", "user_message"]; public static const METHOD_NAME:String = "feed.publishUserAction"; public function PublishUserAction(_arg1:String, _arg2:Object, _arg3:Array=null, _arg4:String=null, _arg5:Number=NaN, _arg6:String=null){ super(METHOD_NAME); this.template_bundle_id = _arg1; this.template_data = _arg2; this.target_ids = _arg3; this.body_general = _arg4; this.story_size = _arg5; this.user_message = _arg6; applySchema(SCHEMA, _arg1, JSON.encode(_arg2), FacebookDataUtils.toArrayString(_arg3), _arg4, _arg5, _arg6); } } }//package com.facebook.commands.feed
Section 140
//RegisterTemplateBundle (com.facebook.commands.feed.RegisterTemplateBundle) package com.facebook.commands.feed { import com.facebook.net.*; import com.adobe.serialization.json.*; import com.facebook.utils.*; import com.facebook.data.feed.*; import com.facebook.*; public class RegisterTemplateBundle extends FacebookCall { public var short_story_templates:TemplateCollection; public var full_story_template:TemplateData; public var action_links:ActionLinkCollection; public var one_line_story_templates:Array; public static const SCHEMA:Array = ["one_line_story_templates", "short_story_templates", "full_story_template", "action_links"]; public static const METHOD_NAME:String = "feed.registerTemplateBundle"; public function RegisterTemplateBundle(_arg1:Array, _arg2:TemplateCollection, _arg3:TemplateData, _arg4:ActionLinkCollection){ super(METHOD_NAME); this.one_line_story_templates = _arg1; this.short_story_templates = _arg2; this.full_story_template = _arg3; this.action_links = _arg4; } override facebook_internal function initialize():void{ applySchema(SCHEMA, JSON.encode(one_line_story_templates), FacebookDataUtils.facebookCollectionToJSONArray(short_story_templates), JSON.encode(full_story_template), FacebookDataUtils.facebookCollectionToJSONArray(action_links)); super.initialize(); } } }//package com.facebook.commands.feed
Section 141
//FqlMultiquery (com.facebook.commands.fql.FqlMultiquery) package com.facebook.commands.fql { import com.facebook.net.*; import com.adobe.serialization.json.*; import com.facebook.*; public class FqlMultiquery extends FacebookCall { public var queries:String; public static const SCHEMA:Array = ["queries"]; public static const METHOD_NAME:String = "fql.multiquery"; public function FqlMultiquery(_arg1:Object){ super(METHOD_NAME); queries = JSON.encode(_arg1); } override facebook_internal function initialize():void{ applySchema(SCHEMA, queries); super.initialize(); } } }//package com.facebook.commands.fql
Section 142
//FqlQuery (com.facebook.commands.fql.FqlQuery) package com.facebook.commands.fql { import com.facebook.net.*; import com.facebook.*; public class FqlQuery extends FacebookCall { public var query:String; public static const SCHEMA:Array = ["query"]; public static const METHOD_NAME:String = "fql.query"; public function FqlQuery(_arg1:String){ super(METHOD_NAME); this.query = _arg1; } override facebook_internal function initialize():void{ applySchema(SCHEMA, this.query); super.initialize(); } } }//package com.facebook.commands.fql
Section 143
//AreFriends (com.facebook.commands.friends.AreFriends) package com.facebook.commands.friends { import com.facebook.net.*; import com.facebook.utils.*; import com.facebook.*; public class AreFriends extends FacebookCall { public var uids1:Array; public var uids2:Array; public static const SCHEMA:Array = ["uids1", "uids2"]; public static const METHOD_NAME:String = "friends.areFriends"; public function AreFriends(_arg1:Array, _arg2:Array){ super(METHOD_NAME); this.uids1 = _arg1; this.uids2 = _arg2; } override facebook_internal function initialize():void{ applySchema(SCHEMA, FacebookDataUtils.toArrayString(uids1), FacebookDataUtils.toArrayString(uids2)); super.initialize(); } } }//package com.facebook.commands.friends
Section 144
//GetAppUsers (com.facebook.commands.friends.GetAppUsers) package com.facebook.commands.friends { import com.facebook.net.*; public class GetAppUsers extends FacebookCall { public static const SCHEMA:Array = []; public static const METHOD_NAME:String = "friends.getAppUsers"; public function GetAppUsers(){ super(METHOD_NAME); } } }//package com.facebook.commands.friends
Section 145
//GetFriends (com.facebook.commands.friends.GetFriends) package com.facebook.commands.friends { import com.facebook.net.*; import com.facebook.*; public class GetFriends extends FacebookCall { public var uid:String; public var flid:String; public static const SCHEMA:Array = ["flid", "uid"]; public static const METHOD_NAME:String = "friends.get"; public function GetFriends(_arg1:String=null, _arg2:String=null){ super(METHOD_NAME); this.flid = _arg1; this.uid = _arg2; } override facebook_internal function initialize():void{ applySchema(SCHEMA, flid, uid); super.initialize(); } } }//package com.facebook.commands.friends
Section 146
//GetLists (com.facebook.commands.friends.GetLists) package com.facebook.commands.friends { import com.facebook.net.*; public class GetLists extends FacebookCall { public static const SCHEMA:Array = []; public static const METHOD_NAME:String = "friends.getLists"; public function GetLists(){ super(METHOD_NAME); } } }//package com.facebook.commands.friends
Section 147
//GetMutualFriends (com.facebook.commands.friends.GetMutualFriends) package com.facebook.commands.friends { import com.facebook.net.*; import com.facebook.*; public class GetMutualFriends extends FacebookCall { public var target_uid:String; public var source_uid:String; public static const SCHEMA:Array = ["target_uid", "source_uid"]; public static const METHOD_NAME:String = "friends.getMutualFriends"; public function GetMutualFriends(_arg1:String, _arg2:String=null){ super(METHOD_NAME); this.target_uid = _arg1; this.source_uid = _arg2; } override facebook_internal function initialize():void{ applySchema(SCHEMA, target_uid, source_uid); super.initialize(); } } }//package com.facebook.commands.friends
Section 148
//GetGroupMembers (com.facebook.commands.groups.GetGroupMembers) package com.facebook.commands.groups { import com.facebook.net.*; import com.facebook.*; public class GetGroupMembers extends FacebookCall { public var gid:String; public static const SCHEMA:Array = ["gid"]; public static const METHOD_NAME:String = "groups.getMembers"; public function GetGroupMembers(_arg1:String){ super(METHOD_NAME); this.gid = _arg1; } override facebook_internal function initialize():void{ applySchema(SCHEMA, gid); super.initialize(); } } }//package com.facebook.commands.groups
Section 149
//GetGroups (com.facebook.commands.groups.GetGroups) package com.facebook.commands.groups { import com.facebook.net.*; import com.facebook.utils.*; import com.facebook.*; public class GetGroups extends FacebookCall { public var uid:String; public var gids:Array; public static const SCHEMA:Array = ["gids", "uid"]; public static const METHOD_NAME:String = "groups.get"; public function GetGroups(_arg1:Array=null, _arg2:String=null){ super(METHOD_NAME); this.gids = _arg1; this.uid = _arg2; } override facebook_internal function initialize():void{ applySchema(SCHEMA, FacebookDataUtils.toArrayString(gids), uid); super.initialize(); } } }//package com.facebook.commands.groups
Section 150
//GetTranslations (com.facebook.commands.intl.GetTranslations) package com.facebook.commands.intl { import com.facebook.net.*; import com.facebook.*; public class GetTranslations extends FacebookCall { public var locale:String; public var all:Boolean; public static const SCHEMA:Array = ["locale", "all"]; public static const METHOD_NAME:String = "intl.getTranslations"; public function GetTranslations(_arg1:String="en_US", _arg2:Boolean=false){ super(METHOD_NAME); this.locale = _arg1; this.all = _arg2; } override facebook_internal function initialize():void{ applySchema(SCHEMA, locale, all); super.initialize(); } } }//package com.facebook.commands.intl
Section 151
//UploadNativeStrings (com.facebook.commands.intl.UploadNativeStrings) package com.facebook.commands.intl { import com.facebook.net.*; import com.adobe.serialization.json.*; import com.facebook.*; public class UploadNativeStrings extends FacebookCall { public var native_strings:Array; public static const SCHEMA:Array = ["native_strings"]; public static const METHOD_NAME:String = "intl.uploadNativeStrings"; public function UploadNativeStrings(_arg1:Array){ super(METHOD_NAME); this.native_strings = _arg1; } override facebook_internal function initialize():void{ applySchema(SCHEMA, JSON.encode(native_strings)); super.initialize(); } } }//package com.facebook.commands.intl
Section 152
//GetLinks (com.facebook.commands.links.GetLinks) package com.facebook.commands.links { import com.facebook.net.*; import com.facebook.utils.*; import com.facebook.*; public class GetLinks extends FacebookCall { public var link_ids:Array; public var limit:String; public var uid:String; public static const SCHEMA:Array = ["uid", "link_ids", "limit"]; public static const METHOD_NAME:String = "links.get"; public function GetLinks(_arg1:String=null, _arg2:Array=null, _arg3:String=null){ super(METHOD_NAME); this.uid = _arg1; this.link_ids = _arg2; this.limit = _arg3; } override facebook_internal function initialize():void{ applySchema(SCHEMA, uid, FacebookDataUtils.toArrayString(link_ids), limit); super.initialize(); } } }//package com.facebook.commands.links
Section 153
//PostLink (com.facebook.commands.links.PostLink) package com.facebook.commands.links { import com.facebook.net.*; import com.facebook.*; public class PostLink extends FacebookCall { public var uid:String; public var comment:String; public var url:String; public static const SCHEMA:Array = ["uid", "url", "comment"]; public static const METHOD_NAME:String = "links.post"; public function PostLink(_arg1:String, _arg2:String, _arg3:String){ super(METHOD_NAME); this.uid = _arg1; this.url = _arg2; this.comment = _arg3; } override facebook_internal function initialize():void{ applySchema(SCHEMA, uid, url, comment); super.initialize(); } } }//package com.facebook.commands.links
Section 154
//SendLiveMessage (com.facebook.commands.livemessage.SendLiveMessage) package com.facebook.commands.livemessage { import com.facebook.net.*; import com.facebook.*; public class SendLiveMessage extends FacebookCall { public var event_name:String; public var recipient:String; public var message:String; public static const SCHEMA:Array = ["recipient", "event_name", "message"]; public static const METHOD_NAME:String = "liveMessage.send"; public function SendLiveMessage(_arg1:String, _arg2:String, _arg3:String){ super(METHOD_NAME); this.recipient = _arg1; this.event_name = _arg2; this.message = _arg3; } override facebook_internal function initialize():void{ applySchema(SCHEMA, recipient, event_name, message); super.initialize(); } } }//package com.facebook.commands.livemessage
Section 155
//GetThreadsInFolder (com.facebook.commands.message.GetThreadsInFolder) package com.facebook.commands.message { import com.facebook.net.*; import com.facebook.*; public class GetThreadsInFolder extends FacebookCall { public var folder_id:String; public var offset:String; public var uid:String; public var limit:String; public static const SCHEMA:Array = ["folder_id", "uid", "limit", "offset"]; public static const METHOD_NAME:String = "Message.getThreadsInFolder"; public function GetThreadsInFolder(_arg1:String=null, _arg2:String=null, _arg3:String=null, _arg4:String=null){ super(METHOD_NAME); this.folder_id = _arg1; this.uid = _arg2; this.limit = _arg3; this.offset = _arg4; } override facebook_internal function initialize():void{ applySchema(SCHEMA, folder_id, uid, limit, offset); super.initialize(); } } }//package com.facebook.commands.message
Section 156
//CreateNotes (com.facebook.commands.notes.CreateNotes) package com.facebook.commands.notes { import com.facebook.net.*; import com.facebook.*; public class CreateNotes extends FacebookCall { public var title:String; public var uid:String; public var content:String; public static const SCHEMA:Array = ["title", "content", "uid"]; public static const METHOD_NAME:String = "notes.create"; public function CreateNotes(_arg1:String, _arg2:String, _arg3:String=null){ super(METHOD_NAME); this.title = _arg1; this.content = _arg2; this.uid = _arg3; } override facebook_internal function initialize():void{ applySchema(SCHEMA, title, content, uid); super.initialize(); } } }//package com.facebook.commands.notes
Section 157
//DeleteNotes (com.facebook.commands.notes.DeleteNotes) package com.facebook.commands.notes { import com.facebook.net.*; import com.facebook.*; public class DeleteNotes extends FacebookCall { public var note_id:String; public var uid:String; public static const SCHEMA:Array = ["note_id", "uid"]; public static const METHOD_NAME:String = "notes.delete"; public function DeleteNotes(_arg1:String, _arg2:String=null){ super(METHOD_NAME); this.note_id = _arg1; this.uid = _arg2; } override facebook_internal function initialize():void{ applySchema(SCHEMA, note_id, uid); super.initialize(); } } }//package com.facebook.commands.notes
Section 158
//EditNotes (com.facebook.commands.notes.EditNotes) package com.facebook.commands.notes { import com.facebook.net.*; import com.facebook.*; public class EditNotes extends FacebookCall { public var note_id:String; public var uid:String; public var title:String; public var content:String; public static const SCHEMA:Array = ["note_id", "title", "content", "uid"]; public static const METHOD_NAME:String = "notes.edit"; public function EditNotes(_arg1:String, _arg2:String=null, _arg3:String=null, _arg4:String=null){ super(METHOD_NAME); this.note_id = _arg1; this.title = _arg2; this.content = _arg3; this.uid = _arg4; } override facebook_internal function initialize():void{ applySchema(SCHEMA, note_id, title, content, uid); super.initialize(); } } }//package com.facebook.commands.notes
Section 159
//GetNotes (com.facebook.commands.notes.GetNotes) package com.facebook.commands.notes { import com.facebook.net.*; import com.facebook.*; public class GetNotes extends FacebookCall { public var uid:String; public static const SCHEMA:Array = ["uid"]; public static const METHOD_NAME:String = "notes.get"; public function GetNotes(_arg1:String=null){ super(METHOD_NAME); this.uid = _arg1; } override facebook_internal function initialize():void{ applySchema(SCHEMA, uid); super.initialize(); } } }//package com.facebook.commands.notes
Section 160
//GetList (com.facebook.commands.notifications.GetList) package com.facebook.commands.notifications { import com.facebook.net.*; import com.facebook.utils.*; import com.facebook.*; public class GetList extends FacebookCall { public var include_read:Boolean; public var start_time:Date; public static const SCHEMA:Array = ["start_time", "include_read"]; public static const METHOD_NAME:String = "notifications.getList"; public function GetList(_arg1:Date=null, _arg2:Boolean=false){ super(METHOD_NAME); this.start_time = _arg1; this.include_read = _arg2; } override facebook_internal function initialize():void{ applySchema(SCHEMA, FacebookDataUtils.toDateString(start_time), include_read); super.initialize(); } } }//package com.facebook.commands.notifications
Section 161
//GetNotifications (com.facebook.commands.notifications.GetNotifications) package com.facebook.commands.notifications { import com.facebook.net.*; public class GetNotifications extends FacebookCall { public static const SCHEMA:Array = []; public static const METHOD_NAME:String = "notifications.get"; public function GetNotifications(){ super(METHOD_NAME); } } }//package com.facebook.commands.notifications
Section 162
//MarkRead (com.facebook.commands.notifications.MarkRead) package com.facebook.commands.notifications { import com.facebook.net.*; import com.facebook.utils.*; import com.facebook.*; public class MarkRead extends FacebookCall { public var notification_ids:Array; public static const SCHEMA:Array = ["notification_ids"]; public static const METHOD_NAME:String = "notifications.markRead"; public function MarkRead(_arg1:Array){ super(METHOD_NAME); this.notification_ids = _arg1; } override facebook_internal function initialize():void{ applySchema(SCHEMA, FacebookDataUtils.toArrayString(notification_ids)); super.initialize(); } } }//package com.facebook.commands.notifications
Section 163
//SendEmail (com.facebook.commands.notifications.SendEmail) package com.facebook.commands.notifications { import com.facebook.net.*; import com.facebook.utils.*; import com.facebook.*; public class SendEmail extends FacebookCall { public var subject:String; public var recipients:Array; public var fbml:String; public var text:String; public static const SCHEMA:Array = ["recipients", "subject", "text", "fbml"]; public static const METHOD_NAME:String = "notifications.sendEmail"; public function SendEmail(_arg1:Array, _arg2:String, _arg3:String=null, _arg4:String=null){ super(METHOD_NAME); if ((((_arg3 == null)) && ((_arg4 == null)))){ throw (new Error("Must specify text or fbml string")); }; this.recipients = _arg1; this.subject = _arg2; this.text = _arg3; this.fbml = _arg4; } override facebook_internal function initialize():void{ applySchema(SCHEMA, FacebookDataUtils.toArrayString(recipients), subject, text, fbml); super.initialize(); } } }//package com.facebook.commands.notifications
Section 164
//SendNotification (com.facebook.commands.notifications.SendNotification) package com.facebook.commands.notifications { import com.facebook.net.*; import com.facebook.utils.*; import com.facebook.*; public class SendNotification extends FacebookCall { public var type:String; public var notification:String; public var to_ids:Array; public static const SCHEMA:Array = ["to_ids", "notification", "type"]; public static const METHOD_NAME:String = "notifications.send"; public function SendNotification(_arg1:Array, _arg2:String, _arg3:String=null){ super(METHOD_NAME); this.to_ids = _arg1; this.notification = _arg2; this.type = _arg3; } override facebook_internal function initialize():void{ applySchema(SCHEMA, FacebookDataUtils.toArrayString(to_ids), notification, type); super.initialize(); } } }//package com.facebook.commands.notifications
Section 165
//GetPageInfo (com.facebook.commands.pages.GetPageInfo) package com.facebook.commands.pages { import com.facebook.net.*; import com.facebook.utils.*; import com.facebook.*; public class GetPageInfo extends FacebookCall { public var page_ids:Array; public var uid:String; public var fields:Array; public static const SCHEMA:Array = ["fields", "page_ids", "uid"]; public static const METHOD_NAME:String = "pages.getInfo"; public function GetPageInfo(_arg1:Array, _arg2:Array=null, _arg3:String=null){ super(METHOD_NAME); this.fields = _arg1; this.page_ids = _arg2; this.uid = _arg3; } override facebook_internal function initialize():void{ applySchema(SCHEMA, FacebookDataUtils.toArrayString(fields), FacebookDataUtils.toArrayString(page_ids), uid); super.initialize(); } } }//package com.facebook.commands.pages
Section 166
//IsAdmin (com.facebook.commands.pages.IsAdmin) package com.facebook.commands.pages { import com.facebook.net.*; import com.facebook.*; public class IsAdmin extends FacebookCall { public var page_id:String; public var uid:String; public static const SCHEMA:Array = ["page_id", "uid"]; public static const METHOD_NAME:String = "pages.isAdmin"; public function IsAdmin(_arg1:String, _arg2:String=null){ super(METHOD_NAME); this.page_id = _arg1; this.uid = _arg2; } override facebook_internal function initialize():void{ applySchema(SCHEMA, page_id, uid); super.initialize(); } } }//package com.facebook.commands.pages
Section 167
//IsAppAdded (com.facebook.commands.pages.IsAppAdded) package com.facebook.commands.pages { import com.facebook.net.*; import com.facebook.*; public class IsAppAdded extends FacebookCall { public var page_id:String; public static const SCHEMA:Array = ["page_id"]; public static const METHOD_NAME:String = "pages.isAppAdded"; public function IsAppAdded(_arg1:String=null){ super(METHOD_NAME); this.page_id = _arg1; } override facebook_internal function initialize():void{ applySchema(SCHEMA, page_id); super.initialize(); } } }//package com.facebook.commands.pages
Section 168
//IsFan (com.facebook.commands.pages.IsFan) package com.facebook.commands.pages { import com.facebook.net.*; import com.facebook.*; public class IsFan extends FacebookCall { public var page_id:String; public var uid:String; public static const SCHEMA:Array = ["page_id", "uid"]; public static const METHOD_NAME:String = "pages.isFan"; public function IsFan(_arg1:String=null, _arg2:String=null){ super(METHOD_NAME); this.page_id = _arg1; this.uid = _arg2; } override facebook_internal function initialize():void{ applySchema(SCHEMA, page_id, uid); super.initialize(); } } }//package com.facebook.commands.pages
Section 169
//AddTag (com.facebook.commands.photos.AddTag) package com.facebook.commands.photos { import com.facebook.net.*; import com.facebook.data.photos.*; import com.facebook.utils.*; import com.facebook.*; public class AddTag extends FacebookCall { public var pid:String; public var tags:PhotoTagCollection; public var yPos:Number; public var tag_uid:String; public var tag_text:String; public var xPos:Number; public var owner_uid:String; public static const SCHEMA:Array = ["pid", "tag_uid", "tag_text", "x", "y", "tags", "owner_uid"]; public static const METHOD_NAME:String = "photos.addTag"; public function AddTag(_arg1:String, _arg2:String=null, _arg3:String=null, _arg4:Number=NaN, _arg5:Number=NaN, _arg6:PhotoTagCollection=null, _arg7:String=null){ super(METHOD_NAME); if ((((_arg6 == null)) && ((((((((_arg2 == null)) && ((_arg3 == null)))) || (isNaN(_arg4)))) || (isNaN(_arg5)))))){ throw (new Error("Must specify tags:PhotoTagCollection, or else must specify tag_uid or tag_text and both x and y values")); }; this.pid = _arg1; this.tag_uid = _arg2; this.tag_text = _arg3; this.xPos = _arg4; this.yPos = _arg5; this.tags = _arg6; this.owner_uid = _arg7; } override facebook_internal function initialize():void{ applySchema(SCHEMA, pid, tag_uid, tag_text, xPos, yPos, FacebookDataUtils.facebookCollectionToJSONArray(tags), owner_uid); super.initialize(); } } }//package com.facebook.commands.photos
Section 170
//CreateAlbum (com.facebook.commands.photos.CreateAlbum) package com.facebook.commands.photos { import com.facebook.net.*; import com.facebook.*; public class CreateAlbum extends FacebookCall { public var name:String; public var uid:String; public var visible:String; public var location:String; public var description:String; public static const SCHEMA:Array = ["name", "location", "description", "visible", "uid"]; public static const METHOD_NAME:String = "photos.createAlbum"; public function CreateAlbum(_arg1:String, _arg2:String=null, _arg3:String=null, _arg4:String=null, _arg5:String=null){ super(METHOD_NAME); this.name = _arg1; this.location = _arg2; this.description = _arg3; this.visible = _arg4; this.uid = _arg5; } override facebook_internal function initialize():void{ applySchema(SCHEMA, name, location, description, visible, uid); super.initialize(); } } }//package com.facebook.commands.photos
Section 171
//GetAlbums (com.facebook.commands.photos.GetAlbums) package com.facebook.commands.photos { import com.facebook.net.*; import com.facebook.utils.*; import com.facebook.*; public class GetAlbums extends FacebookCall { public var uid:String; public var aids:Array; public static const SCHEMA:Array = ["uid", "aids"]; public static const METHOD_NAME:String = "photos.getAlbums"; public function GetAlbums(_arg1:String=null, _arg2:Array=null){ super(METHOD_NAME); this.uid = _arg1; this.aids = _arg2; } override facebook_internal function initialize():void{ applySchema(SCHEMA, uid, FacebookDataUtils.toArrayString(aids)); super.initialize(); } } }//package com.facebook.commands.photos
Section 172
//GetPhotos (com.facebook.commands.photos.GetPhotos) package com.facebook.commands.photos { import com.facebook.net.*; import com.facebook.utils.*; import com.facebook.*; public class GetPhotos extends FacebookCall { protected var subj_id:String; protected var pids:Array; protected var aid:String; public static const SCHEMA:Array = ["subj_id", "aid", "pids"]; public static const METHOD_NAME:String = "photos.get"; public function GetPhotos(_arg1:String=null, _arg2:String=null, _arg3:Array=null){ super(METHOD_NAME); if ((((((_arg1 == null)) && ((_arg2 == null)))) && ((_arg3 == null)))){ throw (new Error("Include at least one of subj_id, aid, or pids")); }; this.subj_id = _arg1; this.aid = _arg2; this.pids = _arg3; } override facebook_internal function initialize():void{ applySchema(SCHEMA, subj_id, aid, FacebookDataUtils.toArrayString(pids)); super.initialize(); } } }//package com.facebook.commands.photos
Section 173
//GetTags (com.facebook.commands.photos.GetTags) package com.facebook.commands.photos { import com.facebook.net.*; import com.facebook.utils.*; import com.facebook.*; public class GetTags extends FacebookCall { public var pids:Array; public static const SCHEMA:Array = ["pids"]; public static const METHOD_NAME:String = "photos.getTags"; public function GetTags(_arg1:Array=null){ super(METHOD_NAME); this.pids = _arg1; } override facebook_internal function initialize():void{ applySchema(SCHEMA, FacebookDataUtils.toArrayString(pids)); super.initialize(); } } }//package com.facebook.commands.photos
Section 174
//UploadPhoto (com.facebook.commands.photos.UploadPhoto) package com.facebook.commands.photos { import com.facebook.net.*; import com.facebook.data.photos.*; import com.facebook.*; public class UploadPhoto extends FacebookCall implements IUploadPhoto { protected var _data:Object; public var uploadedPhoto:FacebookPhoto; public var aid:String; protected var _uploadQuality:uint;// = 80 public var uid:String; public var caption:String; protected var _uploadType:String;// = "png" public static const SCHEMA:Array = ["data", "aid", "caption", "uid"]; public static const METHOD_NAME:String = "photos.upload"; public function UploadPhoto(_arg1:Object, _arg2:String=null, _arg3:String=null, _arg4:String=null){ _uploadType = UploadPhotoTypes.PNG; _uploadQuality = 80; super(METHOD_NAME); this.data = _arg1; this.aid = _arg2; this.caption = _arg3; this.uid = _arg4; } override facebook_internal function initialize():void{ applySchema(SCHEMA, data, aid, caption, uid); super.initialize(); } public function get data():Object{ return (_data); } public function set uploadType(_arg1:String):void{ _uploadType = _arg1; } public function get uploadQuality():uint{ return (_uploadQuality); } public function set data(_arg1:Object):void{ _data = _arg1; } public function get uploadType():String{ return (_uploadType); } public function set uploadQuality(_arg1:uint):void{ _uploadQuality = _arg1; } } }//package com.facebook.commands.photos
Section 175
//UploadPhotoTypes (com.facebook.commands.photos.UploadPhotoTypes) package com.facebook.commands.photos { public class UploadPhotoTypes { public static const JPEG:String = "jpeg"; public static const PNG:String = "png"; } }//package com.facebook.commands.photos
Section 176
//GetFBML (com.facebook.commands.profile.GetFBML) package com.facebook.commands.profile { import com.facebook.net.*; import com.facebook.*; public class GetFBML extends FacebookCall { public var type:Number; public var uid:String; public static const SCHEMA:Array = ["uid", "type"]; public static const METHOD_NAME:String = "profile.getFBML"; public function GetFBML(_arg1:String=null, _arg2:Number=NaN){ super(METHOD_NAME); this.uid = _arg1; this.type = _arg2; } override facebook_internal function initialize():void{ applySchema(SCHEMA, uid, type); super.initialize(); } } }//package com.facebook.commands.profile
Section 177
//GetInfoOptions (com.facebook.commands.profile.GetInfoOptions) package com.facebook.commands.profile { import com.facebook.net.*; import com.facebook.*; public class GetInfoOptions extends FacebookCall { public var field:String; public static const SCHEMA:Array = ["field"]; public static const METHOD_NAME:String = "profile.getInfoOptions"; public function GetInfoOptions(_arg1:String){ super(METHOD_NAME); this.field = _arg1; } override facebook_internal function initialize():void{ applySchema(SCHEMA, field); super.initialize(); } } }//package com.facebook.commands.profile
Section 178
//ProfileGetInfo (com.facebook.commands.profile.ProfileGetInfo) package com.facebook.commands.profile { import com.facebook.net.*; import com.facebook.*; public class ProfileGetInfo extends FacebookCall { public var uid:String; public static const SCHEMA:Array = ["uid"]; public static const METHOD_NAME:String = "profile.getInfo"; public function ProfileGetInfo(_arg1:String){ super(METHOD_NAME); this.uid = _arg1; } override facebook_internal function initialize():void{ applySchema(SCHEMA, uid); super.initialize(); } } }//package com.facebook.commands.profile
Section 179
//SetFBML (com.facebook.commands.profile.SetFBML) package com.facebook.commands.profile { import com.facebook.net.*; import com.facebook.*; public class SetFBML extends FacebookCall { public var mobile_profile:String; public var markup:String; public var profile:String; public var profile_main:String; public var uid:String; public static const SCHEMA:Array = ["markup", "uid", "profile", "mobile_profile", "profile_main"]; public static const METHOD_NAME:String = "profile.setFBML"; public function SetFBML(_arg1:String=null, _arg2:String=null, _arg3:String=null, _arg4:String=null, _arg5:String=null){ super(METHOD_NAME); this.markup = _arg1; this.uid = _arg2; this.profile = _arg3; this.mobile_profile = _arg4; this.profile_main = _arg5; } override facebook_internal function initialize():void{ applySchema(SCHEMA, markup, uid, profile, mobile_profile, profile_main); super.initialize(); } } }//package com.facebook.commands.profile
Section 180
//SetInfo (com.facebook.commands.profile.SetInfo) package com.facebook.commands.profile { import com.facebook.net.*; import com.adobe.serialization.json.*; import com.facebook.data.profile.*; import com.facebook.*; public class SetInfo extends FacebookCall { public var type:Number; public var title:String; public var items:InfoFieldsData; public var uid:String; public var format:String; public static const SCHEMA:Array = ["title", "type", "items", "uid", "format"]; public static const METHOD_NAME:String = "profile.setInfo"; public function SetInfo(_arg1:String, _arg2:Number, _arg3:InfoFieldsData, _arg4:String, _arg5:String=null){ super(METHOD_NAME); this.title = _arg1; this.type = _arg2; this.items = _arg3; this.uid = _arg4; this.format = _arg5; } override facebook_internal function initialize():void{ var _local1:Object; var _local2:Number; var _local3:Number; var _local4:InfoItemData; var _local5:Object; var _local6:Object; _local1 = {items:[], field:items.field}; _local2 = items.items.length; _local3 = 0; while (_local3 < _local2) { _local4 = (items.items.getItemAt(_local3) as InfoItemData); _local5 = {}; for each (_local6 in _local4.schema) { if (_local4[_local6] == null){ } else { _local5[_local6] = _local4[_local6]; }; }; _local1.items.push(_local5); _local3++; }; applySchema(SCHEMA, title, type, JSON.encode(_local1), uid, format); super.initialize(); } } }//package com.facebook.commands.profile
Section 181
//SetInfoOptions (com.facebook.commands.profile.SetInfoOptions) package com.facebook.commands.profile { import com.facebook.net.*; import com.facebook.*; public class SetInfoOptions extends FacebookCall { public var field:String; public var options:Array; public var format:String; public static const SCHEMA:Array = ["field", "options", "format"]; public static const METHOD_NAME:String = "profile.setInfoOptions"; public function SetInfoOptions(_arg1:String, _arg2:Array, _arg3:String){ super(METHOD_NAME); this.field = _arg1; this.options = _arg2; this.format = _arg3; } override facebook_internal function initialize():void{ applySchema(SCHEMA, field, options, format); super.initialize(); } } }//package com.facebook.commands.profile
Section 182
//CanSendSMS (com.facebook.commands.sms.CanSendSMS) package com.facebook.commands.sms { import com.facebook.net.*; import com.facebook.*; public class CanSendSMS extends FacebookCall { public var uid:String; public static const SCHEMA:Array = ["uid"]; public static const METHOD_NAME:String = "sms.canSend"; public function CanSendSMS(_arg1:String=null){ super(METHOD_NAME); this.uid = _arg1; } override facebook_internal function initialize():void{ applySchema(SCHEMA, uid); super.initialize(); } } }//package com.facebook.commands.sms
Section 183
//SendSMS (com.facebook.commands.sms.SendSMS) package com.facebook.commands.sms { import com.facebook.net.*; import com.facebook.*; public class SendSMS extends FacebookCall { public var uid:String; public var message:String; public var session_id:Number; public var req_session:Boolean; public static const SCHEMA:Array = ["uid", "message", "session_id", "req_session"]; public static const METHOD_NAME:String = "sms.send"; public function SendSMS(_arg1:String, _arg2:String=null, _arg3:Number=NaN, _arg4:Boolean=false){ super(METHOD_NAME); this.uid = _arg1; this.message = _arg2; this.session_id = _arg3; this.req_session = _arg4; } override facebook_internal function initialize():void{ applySchema(SCHEMA, uid, message, session_id, req_session); super.initialize(); } } }//package com.facebook.commands.sms
Section 184
//GetStatus (com.facebook.commands.status.GetStatus) package com.facebook.commands.status { import com.facebook.net.*; import com.facebook.*; public class GetStatus extends FacebookCall { public var limit:uint; public var uid:String; public static const SCHEMA:Array = ["uid", "limit"]; public static const METHOD_NAME:String = "status.get"; public function GetStatus(_arg1:String=null, _arg2:uint=100){ this.uid = _arg1; this.limit = _arg2; super(METHOD_NAME); } override facebook_internal function initialize():void{ applySchema(SCHEMA, uid, limit); super.initialize(); } } }//package com.facebook.commands.status
Section 185
//SetStatus (com.facebook.commands.status.SetStatus) package com.facebook.commands.status { import com.facebook.net.*; import com.facebook.*; public class SetStatus extends FacebookCall { public var uid:String; public var status:String; public static const SCHEMA:Array = ["status", "uid"]; public static const METHOD_NAME:String = "Status.set"; public function SetStatus(_arg1:String=null, _arg2:String=null){ super(METHOD_NAME); this.status = _arg1; this.uid = _arg2; } override facebook_internal function initialize():void{ applySchema(SCHEMA, status, uid); super.initialize(); } } }//package com.facebook.commands.status
Section 186
//AddComment (com.facebook.commands.stream.AddComment) package com.facebook.commands.stream { import com.facebook.net.*; import com.facebook.*; public class AddComment extends FacebookCall { public var post_id:String; public var comment:String; public static const SCHEMA:Array = ["post_id", "comment"]; public static const METHOD_NAME:String = "stream.addComment"; public function AddComment(_arg1:String, _arg2:String){ super(METHOD_NAME); this.post_id = _arg1; this.comment = _arg2; } override facebook_internal function initialize():void{ applySchema(SCHEMA, post_id, comment); super.initialize(); } } }//package com.facebook.commands.stream
Section 187
//AddLike (com.facebook.commands.stream.AddLike) package com.facebook.commands.stream { import com.facebook.net.*; import com.facebook.*; public class AddLike extends FacebookCall { public var post_id:String; public var uid:String; public static const SCHEMA:Array = ["post_id", "uid"]; public static const METHOD_NAME:String = "stream.addLike"; public function AddLike(_arg1:String=null, _arg2:String=null){ super(METHOD_NAME); this.post_id = _arg1; this.uid = _arg2; } override facebook_internal function initialize():void{ applySchema(SCHEMA, post_id, uid); super.initialize(); } } }//package com.facebook.commands.stream
Section 188
//GetComments (com.facebook.commands.stream.GetComments) package com.facebook.commands.stream { import com.facebook.net.*; import com.facebook.*; public class GetComments extends FacebookCall { public var post_id:String; public static const SCHEMA:Array = ["post_id"]; public static const METHOD_NAME:String = "stream.getComments"; public function GetComments(_arg1:String=null){ super(METHOD_NAME); this.post_id = _arg1; } override facebook_internal function initialize():void{ applySchema(SCHEMA, post_id); super.initialize(); } } }//package com.facebook.commands.stream
Section 189
//GetFilters (com.facebook.commands.stream.GetFilters) package com.facebook.commands.stream { import com.facebook.net.*; import com.facebook.*; public class GetFilters extends FacebookCall { public var uid:String; public static const SCHEMA:Array = ["uid"]; public static const METHOD_NAME:String = "stream.getFilters"; public function GetFilters(_arg1:String=null){ super(METHOD_NAME); this.uid = _arg1; } override facebook_internal function initialize():void{ applySchema(SCHEMA, uid); super.initialize(); } } }//package com.facebook.commands.stream
Section 190
//GetStream (com.facebook.commands.stream.GetStream) package com.facebook.commands.stream { import com.facebook.net.*; import com.facebook.utils.*; import com.facebook.*; public class GetStream extends FacebookCall { public var start_time:Date; public var source_ids:Array; public var filter_key:String; public var end_time:Date; public var metadata:Array; public var limit:uint; public var viewer_id:String; public static const SCHEMA:Array = ["viewer_id", "source_ids", "start_time", "end_time", "limit", "filter_key", "metadata"]; public static const METHOD_NAME:String = "stream.get"; public function GetStream(_arg1:String=null, _arg2:Array=null, _arg3:Date=null, _arg4:Date=null, _arg5:uint=30, _arg6:String=null, _arg7:Array=null){ super(METHOD_NAME); this.viewer_id = _arg1; this.source_ids = _arg2; this.start_time = _arg3; this.end_time = _arg4; this.limit = _arg5; this.filter_key = _arg6; this.metadata = _arg7; } override facebook_internal function initialize():void{ applySchema(SCHEMA, viewer_id, FacebookDataUtils.toArrayString(source_ids), FacebookDataUtils.toDateString(start_time), FacebookDataUtils.toDateString(end_time), limit, filter_key, FacebookDataUtils.toArrayString(metadata)); super.initialize(); } } }//package com.facebook.commands.stream
Section 191
//PublishPost (com.facebook.commands.stream.PublishPost) package com.facebook.commands.stream { import com.facebook.net.*; import com.adobe.serialization.json.*; import com.facebook.*; public class PublishPost extends FacebookCall { public var message:String; public var attachment:Object; public var target_id:String; public var action_links:Array; public var uid:String; public static const SCHEMA:Array = ["message", "attachment", "action_links", "target_id", "uid"]; public static const METHOD_NAME:String = "stream.publish"; public function PublishPost(_arg1:String=null, _arg2:Object=null, _arg3:Array=null, _arg4:String=null, _arg5:String=null){ super(METHOD_NAME); this.message = _arg1; this.attachment = _arg2; this.action_links = _arg3; this.target_id = _arg4; this.uid = _arg5; } override facebook_internal function initialize():void{ var _local1:String; _local1 = JSON.encode(action_links); applySchema(SCHEMA, message, JSON.encode(attachment), ((_local1)!="null") ? _local1 : null, target_id, uid); super.initialize(); } } }//package com.facebook.commands.stream
Section 192
//RemoveComment (com.facebook.commands.stream.RemoveComment) package com.facebook.commands.stream { import com.facebook.net.*; import com.facebook.*; public class RemoveComment extends FacebookCall { public var comment_id:String; public var uid:String; public static const SCHEMA:Array = ["comment_id", "uid"]; public static const METHOD_NAME:String = "stream.removeComment"; public function RemoveComment(_arg1:String, _arg2:String=null){ super(METHOD_NAME); this.comment_id = _arg1; this.uid = _arg2; } override facebook_internal function initialize():void{ applySchema(SCHEMA, comment_id, uid); super.initialize(); } } }//package com.facebook.commands.stream
Section 193
//RemoveLike (com.facebook.commands.stream.RemoveLike) package com.facebook.commands.stream { import com.facebook.net.*; import com.facebook.*; public class RemoveLike extends FacebookCall { public var post_id:String; public var uid:String; public static const SCHEMA:Array = ["post_id", "uid"]; public static const METHOD_NAME:String = "stream.removeLike"; public function RemoveLike(_arg1:String=null, _arg2:String=null){ super(METHOD_NAME); this.post_id = _arg1; this.uid = _arg2; } override facebook_internal function initialize():void{ applySchema(SCHEMA, post_id, uid); super.initialize(); } } }//package com.facebook.commands.stream
Section 194
//RemovePost (com.facebook.commands.stream.RemovePost) package com.facebook.commands.stream { import com.facebook.net.*; import com.facebook.*; public class RemovePost extends FacebookCall { public var post_id:String; public var uid:String; public static const SCHEMA:Array = ["post_id", "uid"]; public static const METHOD_NAME:String = "stream.remove"; public function RemovePost(_arg1:String, _arg2:String=null){ super(METHOD_NAME); this.post_id = _arg1; this.uid = _arg2; } override facebook_internal function initialize():void{ applySchema(SCHEMA, post_id, uid); super.initialize(); } } }//package com.facebook.commands.stream
Section 195
//GetInfo (com.facebook.commands.users.GetInfo) package com.facebook.commands.users { import com.facebook.net.*; import com.facebook.utils.*; import com.facebook.*; public class GetInfo extends FacebookCall { public var uids:Array; public var fields:Array; public static const SCHEMA:Array = ["uids", "fields"]; public static const METHOD_NAME:String = "users.getInfo"; public function GetInfo(_arg1:Array, _arg2:Array){ super(METHOD_NAME); this.uids = _arg1; this.fields = _arg2; } override facebook_internal function initialize():void{ applySchema(SCHEMA, FacebookDataUtils.toArrayString(uids), FacebookDataUtils.toArrayString(fields)); super.initialize(); } } }//package com.facebook.commands.users
Section 196
//GetLoggedInUser (com.facebook.commands.users.GetLoggedInUser) package com.facebook.commands.users { import com.facebook.net.*; public class GetLoggedInUser extends FacebookCall { public static const SCHEMA:Array = []; public static const METHOD_NAME:String = "users.getLoggedInUser"; public function GetLoggedInUser(){ super(METHOD_NAME); } } }//package com.facebook.commands.users
Section 197
//GetStandardInfo (com.facebook.commands.users.GetStandardInfo) package com.facebook.commands.users { import com.facebook.net.*; import com.facebook.utils.*; import com.facebook.*; public class GetStandardInfo extends FacebookCall { public var uids:Array; public var fields:Array; public static const SCHEMA:Array = ["uids", "fields"]; public static const METHOD_NAME:String = "users.getStandardInfo"; public function GetStandardInfo(_arg1:Array, _arg2:Array){ super(METHOD_NAME); this.uids = _arg1; this.fields = _arg2; } override facebook_internal function initialize():void{ applySchema(SCHEMA, FacebookDataUtils.toArrayString(uids), FacebookDataUtils.toArrayString(fields)); super.initialize(); } } }//package com.facebook.commands.users
Section 198
//HasAppPermission (com.facebook.commands.users.HasAppPermission) package com.facebook.commands.users { import com.facebook.net.*; import com.facebook.*; public class HasAppPermission extends FacebookCall { public var uid:String; public var ext_perm:String; public static const SCHEMA:Array = ["ext_perm", "uid"]; public static const METHOD_NAME:String = "users.hasAppPermission"; public function HasAppPermission(_arg1:String, _arg2:String=null){ super(METHOD_NAME); this.ext_perm = _arg1; this.uid = _arg2; } override facebook_internal function initialize():void{ applySchema(SCHEMA, ext_perm, uid); super.initialize(); } } }//package com.facebook.commands.users
Section 199
//IsAppUser (com.facebook.commands.users.IsAppUser) package com.facebook.commands.users { import com.facebook.net.*; import com.facebook.*; public class IsAppUser extends FacebookCall { public var uid:String; public static const SCHEMA:Array = ["uid"]; public static const METHOD_NAME:String = "users.isAppUser"; public function IsAppUser(_arg1:String=null){ super(METHOD_NAME); this.uid = _arg1; } override facebook_internal function initialize():void{ applySchema(SCHEMA, uid); super.initialize(); } } }//package com.facebook.commands.users
Section 200
//IsVerified (com.facebook.commands.users.IsVerified) package com.facebook.commands.users { import com.facebook.net.*; public class IsVerified extends FacebookCall { public static const SCHEMA:Array = []; public static const METHOD_NAME:String = "users.isVerified"; public function IsVerified(_arg1:String=null){ super(METHOD_NAME); } } }//package com.facebook.commands.users
Section 201
//SetStatus (com.facebook.commands.users.SetStatus) package com.facebook.commands.users { import com.facebook.net.*; import com.facebook.*; public class SetStatus extends FacebookCall { public var clear:Boolean; public var uid:String; public var status_includes_verb:Boolean; public var status:String; public static const SCHEMA:Array = ["status", "clear", "status_includes_verb", "uid"]; public static const METHOD_NAME:String = "users.setStatus"; public function SetStatus(_arg1:String=null, _arg2:Boolean=false, _arg3:Boolean=false, _arg4:String=null){ super(METHOD_NAME); this.status = _arg1; this.clear = _arg2; this.status_includes_verb = _arg3; this.uid = _arg4; } override facebook_internal function initialize():void{ applySchema(SCHEMA, status, clear, status_includes_verb, uid); super.initialize(); } } }//package com.facebook.commands.users
Section 202
//GetUploadLimits (com.facebook.commands.video.GetUploadLimits) package com.facebook.commands.video { import com.facebook.net.*; public class GetUploadLimits extends FacebookCall { public static const SCHEMA:Array = []; public static const METHOD_NAME:String = "video.getUploadLimits"; public function GetUploadLimits(){ super(METHOD_NAME); } } }//package com.facebook.commands.video
Section 203
//UploadVideo (com.facebook.commands.video.UploadVideo) package com.facebook.commands.video { import com.facebook.net.*; import com.facebook.*; public class UploadVideo extends FacebookCall implements IUploadVideo { protected var _data:Object; protected var _description:String; protected var _title:String; protected var _ext:String; public static const SCHEMA:Array = ["data", "title", "description"]; public static const METHOD_NAME:String = "video.upload"; public function UploadVideo(_arg1:String, _arg2:Object, _arg3:String=null, _arg4:String=null){ super(METHOD_NAME); this.ext = _arg1; this.data = _arg2; this.title = _arg3; this.description = _arg4; } override facebook_internal function initialize():void{ applySchema(SCHEMA, data, title, description); super.initialize(); } public function get ext():String{ return (_ext); } public function set title(_arg1:String):void{ _title = _arg1; } public function get data():Object{ return (_data); } public function set ext(_arg1:String):void{ _ext = _arg1; } public function set data(_arg1:Object):void{ _data = _arg1; } public function get title():String{ return (_title); } public function set description(_arg1:String):void{ _description = _arg1; } public function get description():String{ return (_description); } } }//package com.facebook.commands.video
Section 204
//UploadVideoTypes (com.facebook.commands.video.UploadVideoTypes) package com.facebook.commands.video { public class UploadVideoTypes { public static const WMV:String = "wmv"; public static const VOB:String = "vob"; public static const MPE:String = "mpe"; public static const MPEG:String = "mpeg"; public static const MPG:String = "mpg"; public static const MPEG4:String = "mpeg4"; public static const FLV:String = "flv"; public static const MSV:String = "nsv"; public static const _3GPP:String = "3gpp"; public static const ASF:String = "asf"; public static const _3GP:String = "3gp"; public static const QT:String = "qt"; public static const MP4:String = "mp4"; public static const MOV:String = "mov"; public static const OGM:String = "ogm"; public static const M4V:String = "m4v"; public static const MKV:String = "mkv"; public static const AVI:String = "avi"; public static const _3G2:String = "3g2"; } }//package com.facebook.commands.video
Section 205
//GetAllocationData (com.facebook.data.admin.GetAllocationData) package com.facebook.data.admin { import com.facebook.data.*; public class GetAllocationData extends FacebookData { public var allocationLimit:Number; } }//package com.facebook.data.admin
Section 206
//GetAllocationValues (com.facebook.data.admin.GetAllocationValues) package com.facebook.data.admin { public class GetAllocationValues { public static const NOTIFICATIONS_PER_DAY:String = "notifications_per_day"; public static const ANNOUNCEMENT_NOTIFICATIONS_PER_WEEK:String = "announcement_notifications_per_week"; public static const EMAIL_DISABLE_MESSAGE_LOCATION:String = "email_disable_message_location"; public static const EMAILS_PER_DAY:String = "emails_per_day"; public static const REQUESTS_PER_DAY:String = "requests_per_day"; } }//package com.facebook.data.admin
Section 207
//GetAppPropertiesData (com.facebook.data.admin.GetAppPropertiesData) package com.facebook.data.admin { import com.facebook.data.*; public class GetAppPropertiesData extends FacebookData { public var appProperties:Object; } }//package com.facebook.data.admin
Section 208
//GetMetricsData (com.facebook.data.admin.GetMetricsData) package com.facebook.data.admin { import com.facebook.data.*; public class GetMetricsData extends FacebookData { public var metricsCollection:MetricsDataCollection; } }//package com.facebook.data.admin
Section 209
//GetMetricsPeriodValues (com.facebook.data.admin.GetMetricsPeriodValues) package com.facebook.data.admin { public class GetMetricsPeriodValues { public static const DAYS_30:uint = 0x278D00; public static const DAYS_1:uint = 86400; public static const DAYS_7:uint = 60400; } }//package com.facebook.data.admin
Section 210
//GetMetricsValues (com.facebook.data.admin.GetMetricsValues) package com.facebook.data.admin { public class GetMetricsValues { public static const CANVAS_PAGE_VIEWS_HTTP_CODE_413:String = "canvas_page_views_http_code_413"; public static const UNIQUE_UNBLOCKS:String = "unique_unblocks"; public static const CANVAS_PAGE_VIEWS_HTTP_CODE_0:String = "canvas_page_views_http_code_0"; public static const CANVAS_PAGE_VIEWS_HTTP_CODE_100:String = "canvas_page_views_http_code_100"; public static const CANVAS_PAGE_VIEWS_HTTP_CODE_422:String = "canvas_page_views_http_code_422"; public static const CANVAS_PAGE_VIEWS_HTTP_CODE_500:String = "canvas_page_views_http_code_500"; public static const CANVAS_PAGE_VIEWS_HTTP_CODE_303:String = "canvas_page_views_http_code_303"; public static const CANVAS_PAGE_VIEWS_HTTP_CODE_503:String = "canvas_page_views_http_code_503"; public static const CANVAS_PAGE_VIEWS_HTTP_CODE_505:String = "canvas_page_views_http_code_505"; public static const CANVAS_PAGE_VIEWS_HTTP_CODE_301:String = "canvas_page_views_http_code_301"; public static const CANVAS_PAGE_VIEWS_HTTP_CODE_302:String = "canvas_page_views_http_code_302"; public static const CANVAS_PAGE_VIEWS_HTTP_CODE_502:String = "canvas_page_views_http_code_502"; public static const ALL_VALUES:Array = ALL_USEAGE_VALUES.slice().concat(ALL_HTTP_METRICS.slice()); public static const API_CALLS:String = "api_calls"; public static const UNIQUE_BLOCKS:String = "unique_blocks"; public static const CANVAS_HTTP_REQUEST_TIME_AVG:String = "canvas_http_request_time_avg"; public static const UNIQUE_API_CALLS:String = "unique_api_calls"; public static const CANVAS_PAGE_VIEWS_HTTP_CODE_200ND:String = "canvas_page_views_http_code_200ND"; public static const CANVAS_PAGE_VIEWS_HTTP_CODE_200:String = "canvas_page_views_http_code_200"; public static const CANVAS_PAGE_VIEWS_HTTP_CODE_400:String = "canvas_page_views_http_code_400"; public static const CANVAS_PAGE_VIEWS_HTTP_CODE_401:String = "canvas_page_views_http_code_401"; public static const CANVAS_PAGE_VIEWS_HTTP_CODE_403:String = "canvas_page_views_http_code_403"; public static const CANVAS_PAGE_VIEWS_HTTP_CODE_404:String = "canvas_page_views_http_code_404"; public static const CANVAS_PAGE_VIEWS_HTTP_CODE_405:String = "canvas_page_views_http_code_405"; public static const CANVAS_PAGE_VIEWS:String = "canvas_page_views"; public static const ALL_HTTP_METRICS:Array = [CANVAS_PAGE_VIEWS_HTTP_CODE_0, CANVAS_PAGE_VIEWS_HTTP_CODE_100, CANVAS_PAGE_VIEWS_HTTP_CODE_200, CANVAS_PAGE_VIEWS_HTTP_CODE_200ND, CANVAS_PAGE_VIEWS_HTTP_CODE_301, CANVAS_PAGE_VIEWS_HTTP_CODE_302, CANVAS_PAGE_VIEWS_HTTP_CODE_303, CANVAS_PAGE_VIEWS_HTTP_CODE_400, CANVAS_PAGE_VIEWS_HTTP_CODE_401, CANVAS_PAGE_VIEWS_HTTP_CODE_403, CANVAS_PAGE_VIEWS_HTTP_CODE_404, CANVAS_PAGE_VIEWS_HTTP_CODE_405, CANVAS_PAGE_VIEWS_HTTP_CODE_413, CANVAS_PAGE_VIEWS_HTTP_CODE_422, CANVAS_PAGE_VIEWS_HTTP_CODE_500, CANVAS_PAGE_VIEWS_HTTP_CODE_502, CANVAS_PAGE_VIEWS_HTTP_CODE_503, CANVAS_PAGE_VIEWS_HTTP_CODE_505]; public static const ALL_USEAGE_VALUES:Array = [ACTIVE_USERS, API_CALLS, UNIQUE_API_CALLS, CANVAS_PAGE_VIEWS, UNIQUE_CANVAS_PAGE_VIEWS, CANVAS_HTTP_REQUEST_TIME_AVG, CANVAS_FBML_RENDER_TIME_AVG, UNIQUE_BLOCKS, UNIQUE_UNBLOCKS]; public static const CANVAS_FBML_RENDER_TIME_AVG:String = "canvas_fbml_render_time_avg"; public static const ACTIVE_USERS:String = "active_users"; public static const UNIQUE_CANVAS_PAGE_VIEWS:String = "unique_canvas_page_views"; } }//package com.facebook.data.admin
Section 211
//MetricsData (com.facebook.data.admin.MetricsData) package com.facebook.data.admin { public class MetricsData { public var end_time:Date; public var canvas_page_views:Number; public var active_users:Number; } }//package com.facebook.data.admin
Section 212
//MetricsDataCollection (com.facebook.data.admin.MetricsDataCollection) package com.facebook.data.admin { import com.facebook.utils.*; public class MetricsDataCollection extends FacebookArrayCollection { public function MetricsDataCollection(){ super(null, MetricsData); } } }//package com.facebook.data.admin
Section 213
//RestrictionData (com.facebook.data.admin.RestrictionData) package com.facebook.data.admin { public class RestrictionData { public var age_distribution:Number; public var location:String; public var type:Number; public var age:Number; } }//package com.facebook.data.admin
Section 214
//GetPublicInfoData (com.facebook.data.application.GetPublicInfoData) package com.facebook.data.application { import com.facebook.data.*; public class GetPublicInfoData extends FacebookData { public var monthly_active_users:Number; public var canvas_name:String; public var logo_url:String; public var company_name:String; public var display_name:String; public var icon_url:String; public var weekly_active_users:Number; public var developers:String; public var daily_active_users:Number; public var app_id:String; public var api_key:String; public var description:String; } }//package com.facebook.data.application
Section 215
//ExtendedPermissionValues (com.facebook.data.auth.ExtendedPermissionValues) package com.facebook.data.auth { public class ExtendedPermissionValues { public static const READ_STREAM:String = "read_stream"; public static const PHOTO_UPLOAD:String = "photo_upload"; public static const PUBLISH_STREAM:String = "publish_stream"; public static const SHARE_ITEM:String = "share_item"; public static const CREATE_NOTE:String = "create_note"; public static const OFFLINE_ACCESS:String = "offline_access"; public static const CREATE_LISTING:String = "create_listing"; public static const VIDEO_UPLOAD:String = "video_upload"; public static const READ_MAILBOX:String = "read_mailbox"; public static const RSVP_EVENT:String = "rsvp_event"; public static const CREATE_EVENT:String = "create_event"; public static const SMS:String = "sms"; public static const EMAIL:String = "email"; public static const STATUS_UPDATE:String = "status_update"; } }//package com.facebook.data.auth
Section 216
//GetSessionData (com.facebook.data.auth.GetSessionData) package com.facebook.data.auth { import com.facebook.data.*; public class GetSessionData extends FacebookData { public var uid:String; public var secret:String; public var expires:Date; public var session_key:String; } }//package com.facebook.data.auth
Section 217
//BatchCollection (com.facebook.data.batch.BatchCollection) package com.facebook.data.batch { import com.facebook.net.*; import com.facebook.utils.*; public class BatchCollection extends FacebookArrayCollection { public function BatchCollection(){ super(null, FacebookCall); } } }//package com.facebook.data.batch
Section 218
//BatchResult (com.facebook.data.batch.BatchResult) package com.facebook.data.batch { import com.facebook.data.*; public class BatchResult extends FacebookData { public var results:Array; } }//package com.facebook.data.batch
Section 219
//ConnectAccountMapCollection (com.facebook.data.connect.ConnectAccountMapCollection) package com.facebook.data.connect { import com.facebook.utils.*; public class ConnectAccountMapCollection extends FacebookArrayCollection { public function ConnectAccountMapCollection(){ super(null, ConnectAccountMapData); } } }//package com.facebook.data.connect
Section 220
//ConnectAccountMapData (com.facebook.data.connect.ConnectAccountMapData) package com.facebook.data.connect { public class ConnectAccountMapData { public var email_hash:String; public var account_url:String; public var account_id:Number; } }//package com.facebook.data.connect
Section 221
//AssocInfoData (com.facebook.data.data.AssocInfoData) package com.facebook.data.data { public class AssocInfoData { public var alias:String; public var unique:Boolean; public var object_type:String; } }//package com.facebook.data.data
Section 222
//AssocTypeValue (com.facebook.data.data.AssocTypeValue) package com.facebook.data.data { public class AssocTypeValue { public static const TWO_WAY_SYMMETRIC:uint = 2; public static const ONE_WAY:uint = 1; public static const TWO_WAY_ASYMMETRIC:uint = 3; } }//package com.facebook.data.data
Section 223
//GetObjectTypeData (com.facebook.data.data.GetObjectTypeData) package com.facebook.data.data { import com.facebook.data.*; public class GetObjectTypeData extends FacebookData { public var name:String; public var data_type:Number; public var index_type:Number; } }//package com.facebook.data.data
Section 224
//GetObjectTypesData (com.facebook.data.data.GetObjectTypesData) package com.facebook.data.data { import com.facebook.data.*; public class GetObjectTypesData extends FacebookData { public var objectTypeCollection:ObjectTypesCollection; } }//package com.facebook.data.data
Section 225
//GetUserPreferencesData (com.facebook.data.data.GetUserPreferencesData) package com.facebook.data.data { import com.facebook.data.*; public class GetUserPreferencesData extends FacebookData { public var perferenceCollection:PreferenceCollection; } }//package com.facebook.data.data
Section 226
//NameValueCollection (com.facebook.data.data.NameValueCollection) package com.facebook.data.data { import com.facebook.utils.*; public class NameValueCollection extends FacebookArrayCollection { public function NameValueCollection(){ super(null, NameValueData); } } }//package com.facebook.data.data
Section 227
//NameValueData (com.facebook.data.data.NameValueData) package com.facebook.data.data { public class NameValueData { public var value:String; public var id:uint; } }//package com.facebook.data.data
Section 228
//ObjectTypesCollection (com.facebook.data.data.ObjectTypesCollection) package com.facebook.data.data { import com.facebook.utils.*; public class ObjectTypesCollection extends FacebookArrayCollection { public function ObjectTypesCollection(){ super(null, ObjectTypesData); } } }//package com.facebook.data.data
Section 229
//ObjectTypesData (com.facebook.data.data.ObjectTypesData) package com.facebook.data.data { public class ObjectTypesData { public var object_class:String; public var name:String; } }//package com.facebook.data.data
Section 230
//PreferenceCollection (com.facebook.data.data.PreferenceCollection) package com.facebook.data.data { import com.facebook.utils.*; public class PreferenceCollection extends FacebookArrayCollection { public function PreferenceCollection(){ super(null, PreferenceData); } } }//package com.facebook.data.data
Section 231
//PreferenceData (com.facebook.data.data.PreferenceData) package com.facebook.data.data { public class PreferenceData { public var value:String; public var pref_id:Number; } }//package com.facebook.data.data
Section 232
//SetAssociationsData (com.facebook.data.data.SetAssociationsData) package com.facebook.data.data { public class SetAssociationsData { public var data:String; public var obj_id1:Number; public var obj_id2:Number; public var assoc_time:Date; } }//package com.facebook.data.data
Section 233
//SetAssociationsDataCollection (com.facebook.data.data.SetAssociationsDataCollection) package com.facebook.data.data { import com.facebook.utils.*; public class SetAssociationsDataCollection extends FacebookArrayCollection { public function SetAssociationsDataCollection(){ super(null, SetAssociationsData); } } }//package com.facebook.data.data
Section 234
//CreateEventData (com.facebook.data.events.CreateEventData) package com.facebook.data.events { import com.facebook.*; public class CreateEventData { public var street:String; public var subcategory:String; public var start_time:Date; public var name:String; public var tagline:String; public var privacy_type:String; public var page_id:Number; facebook_internal var schema:Array; public var email:String; public var host:String; public var description:String; public var city:String; public var phone:String; public var end_time:Date; public var location:String; public var category:String; public function CreateEventData(_arg1:String, _arg2:String, _arg3:String, _arg4:String, _arg5:String, _arg6:String, _arg7:Date, _arg8:Date, _arg9:String=null, _arg10:String=null, _arg11:String=null, _arg12:Number=NaN, _arg13:String=null, _arg14:String=null, _arg15:String=null){ schema = ["name", "category", "subcategory", "host", "location", "city", "start_time", "end_time", "street", "phone", "email", "page_id", "description", "privacy_type", "tagline"]; this.name = _arg1; this.category = _arg2; this.subcategory = _arg3; this.host = _arg4; this.location = _arg5; this.city = _arg6; this.start_time = _arg7; this.end_time = _arg8; this.street = _arg9; this.phone = _arg10; this.email = _arg11; this.page_id = _arg12; this.description = _arg13; this.privacy_type = _arg14; this.tagline = _arg15; } } }//package com.facebook.data.events
Section 235
//EditEventData (com.facebook.data.events.EditEventData) package com.facebook.data.events { public class EditEventData { public var street:String; public var category:String; public var start_time:Date; public var tagline:String; public var privacy_type:String; public var host_id:Number; public var description:String; public var schema:Array; public var email:String; public var host:String; public var city:String; public var phone:String; public var end_time:Date; public var location:String; public var subcategory:String; public function EditEventData(_arg1:String, _arg2:String, _arg3:String, _arg4:String, _arg5:String, _arg6:Date, _arg7:Date, _arg8:String=null, _arg9:String=null, _arg10:String=null, _arg11:Number=NaN, _arg12:String=null, _arg13:String=null, _arg14:String=null){ schema = ["city", "category", "subcategory", "host", "location", "start_time", "end_time", "street", "phone", "email", "host_id", "description", "privacy_type", "tagline"]; this.city = _arg1; this.category = _arg2; this.subcategory = _arg3; this.host = _arg4; this.location = _arg5; this.start_time = _arg6; this.end_time = _arg7; this.street = _arg8; this.phone = _arg9; this.email = _arg10; this.host_id = _arg11; this.description = _arg12; this.privacy_type = _arg13; this.tagline = _arg14; } } }//package com.facebook.data.events
Section 236
//EventCategoriesValues (com.facebook.data.events.EventCategoriesValues) package com.facebook.data.events { public class EventCategoriesValues { public static const PARTY:Number = 1; public static const EDUCATION:Number = 3; public static const MUSIC_ARTS:Number = 5; public static const TRIPS:Number = 7; public static const CAUSES:Number = 2; public static const OTHER:Number = 8; public static const MEETINGS:Number = 4; public static const SPORTS:Number = 6; } }//package com.facebook.data.events
Section 237
//EventCollection (com.facebook.data.events.EventCollection) package com.facebook.data.events { import com.facebook.utils.*; public class EventCollection extends FacebookArrayCollection { public function EventCollection(){ super(null, EventData); } } }//package com.facebook.data.events
Section 238
//EventData (com.facebook.data.events.EventData) package com.facebook.data.events { import com.facebook.data.*; public class EventData { public var eid:String; public var update_time:Date; public var nid:Number; public var pic:String; public var name:String; public var tagline:String; public var start_time:Date; public var end_time:Date; public var event_subtype:String; public var pic_small:String; public var pic_big:String; public var host:String; public var creator:Number; public var venue:FacebookLocation; public var location:String; public var description:String; public var event_type:String; } }//package com.facebook.data.events
Section 239
//EventPrivacyTypeValues (com.facebook.data.events.EventPrivacyTypeValues) package com.facebook.data.events { public class EventPrivacyTypeValues { public static const SECRET:String = "SECRET"; public static const OPEN:String = "OPEN"; public static const CLOSED:String = "CLOSED"; } }//package com.facebook.data.events
Section 240
//EventSubCategoriesValues (com.facebook.data.events.EventSubCategoriesValues) package com.facebook.data.events { public class EventSubCategoriesValues { public static const CAMPING_TRIP:Number = 49; public static const GROUP_TRIP:Number = 51; public static const RECITAL:Number = 42; public static const CARD_NIGHT:Number = 8; public static const FUNDRAISER:Number = 24; public static const PERFORMANCE:Number = 40; public static const INFORMATIONAL_MEETING:Number = 34; public static const PEP_RALLY:Number = 44; public static const HOLIDAY_PARTY:Number = 10; public static const RETAIL:Number = 57; public static const LISTENING_PARTY:Number = 38; public static const JAM_SESSION:Number = 37; public static const CARNIVAL:Number = 53; public static const FLEA_MARKET:Number = 56; public static const OPENING:Number = 39; public static const ROADTRIP:Number = 52; public static const STUDY_GROUP:Number = 16; public static const MOVIE_TV_NIGHT:Number = 12; public static const AUDITION:Number = 35; public static const FRATERNITY_SORORITY_PARTY:Number = 5; public static const RALLY:Number = 26; public static const CLASS:Number = 27; public static const REUNION:Number = 23; public static const LECTURE:Number = 28; public static const DORM_HOUSE_MEETING:Number = 33; public static const SLUMBER_PARTY:Number = 18; public static const NIGHT_OF_MAYHEM:Number = 11; public static const CONVENTION:Number = 32; public static const DRINKING_GAMES:Number = 13; public static const BENEFIT:Number = 20; public static const FESTIVAL:Number = 55; public static const PICK_UP:Number = 45; public static const REHEARSAL:Number = 43; public static const LAN_PARTY:Number = 15; public static const CLUB_GROUP_MEETING:Number = 31; public static const CEREMONY:Number = 54; public static const BIRTHDAY_PARTY:Number = 1; public static const CONCERT:Number = 4; public static const WORKSHOP:Number = 30; public static const EXHIBIT:Number = 36; public static const BUSINESS_MEETING:Number = 6; public static const PROTEST:Number = 25; public static const DAYTRIP:Number = 50; public static const PREVIEW:Number = 41; public static const BAR_NIGHT:Number = 14; public static const EROTIC_PARTY:Number = 19; public static const DINNER_PARTY:Number = 9; public static const OFFICE_HOURS:Number = 29; public static const HOUSE_PARTY:Number = 22; public static const BARBECUE:Number = 7; public static const SPORTING_EVENT:Number = 46; public static const COCKTAIL_PARTY:Number = 2; public static const TOURNAMENT:Number = 48; public static const MIXER:Number = 17; public static const SPORTS_PRACTICE:Number = 47; public static const CLUB_PARTY:Number = 3; public static const GOODBYE_PARTY:Number = 21; } }//package com.facebook.data.events
Section 241
//FacebookEventData (com.facebook.data.events.FacebookEventData) package com.facebook.data.events { import com.facebook.data.users.*; import com.facebook.data.*; public class FacebookEventData { public var eid:String; public var update_time:Date; public var attending:FacebookUserCollection; public var nid:Number; public var pic:String; public var name:String; public var not_replied:FacebookUserCollection; public var tagline:String; public var start_time:Date; public var end_time:Date; public var event_subtype:String; public var pic_small:String; public var pic_big:String; public var host:String; public var creator:FacebookUser; public var unsure:FacebookUserCollection; public var venue:FacebookLocation; public var location:String; public var description:String; public var declined:FacebookUserCollection; public var event_type:String; public function FacebookEventData(_arg1:String):void{ this.eid = _arg1; } } }//package com.facebook.data.events
Section 242
//FacebookEventDataCollection (com.facebook.data.events.FacebookEventDataCollection) package com.facebook.data.events { import com.facebook.utils.*; public class FacebookEventDataCollection extends FacebookArrayCollection { public function FacebookEventDataCollection(){ super(null, FacebookEventData); } } }//package com.facebook.data.events
Section 243
//GetEventsData (com.facebook.data.events.GetEventsData) package com.facebook.data.events { import com.facebook.data.*; public class GetEventsData extends FacebookData { public var eventCollection:EventCollection; } }//package com.facebook.data.events
Section 244
//GetMembersData (com.facebook.data.events.GetMembersData) package com.facebook.data.events { import com.facebook.data.*; public class GetMembersData extends FacebookData { public var attending:Array; public var not_replied:Array; public var declined:Array; public var unsure:Array; } }//package com.facebook.data.events
Section 245
//RSVPStatus (com.facebook.data.events.RSVPStatus) package com.facebook.data.events { public class RSVPStatus { public static const UNSURE:String = "unsure"; public static const ATTENDING:String = "attending"; public static const NOT_REPLIED:String = "not_replied"; public static const DECLINED:String = "declined"; } }//package com.facebook.data.events
Section 246
//RSVPStatusValues (com.facebook.data.events.RSVPStatusValues) package com.facebook.data.events { public class RSVPStatusValues { public static const UNSURE:String = "unsure"; public static const ATTENDING:String = "attending"; public static const NOT_REPLIED:String = "not_replied"; public static const DECLINED:String = "declined"; } }//package com.facebook.data.events
Section 247
//AbstractTagData (com.facebook.data.fbml.AbstractTagData) package com.facebook.data.fbml { public class AbstractTagData { public var description:String; public var name:String; public var header_fbml:String; public var attributes:AttributeCollection; public var type:String; public var is_public:String; public var footer_fbml:String; public function AbstractTagData(_arg1:String, _arg2:String, _arg3:String, _arg4:String, _arg5:String="", _arg6:String="", _arg7:AttributeCollection=null){ this.name = _arg1; this.type = _arg4; this.description = _arg5; this.is_public = _arg6; this.header_fbml = _arg2; this.footer_fbml = _arg3; this.attributes = _arg7; } } }//package com.facebook.data.fbml
Section 248
//AttributeCollection (com.facebook.data.fbml.AttributeCollection) package com.facebook.data.fbml { import com.facebook.utils.*; public class AttributeCollection extends FacebookArrayCollection { public function AttributeCollection(){ super(null, AttributeData); } } }//package com.facebook.data.fbml
Section 249
//AttributeData (com.facebook.data.fbml.AttributeData) package com.facebook.data.fbml { public class AttributeData { public var default_value:String; public var name:String; public var description:String; } }//package com.facebook.data.fbml
Section 250
//ContainerTagData (com.facebook.data.fbml.ContainerTagData) package com.facebook.data.fbml { public class ContainerTagData extends AbstractTagData { public var close_tag_fbml:String; public var open_tag_fbml:String; public function ContainerTagData(_arg1:String, _arg2:String, _arg3:String, _arg4:String, _arg5:String, _arg6:String, _arg7:String="", _arg8:String="", _arg9:AttributeCollection=null){ this.open_tag_fbml = _arg5; this.close_tag_fbml = _arg6; super(_arg1, _arg2, _arg3, _arg4, _arg7, _arg8, _arg9); } } }//package com.facebook.data.fbml
Section 251
//GetCustomTagsData (com.facebook.data.fbml.GetCustomTagsData) package com.facebook.data.fbml { import com.facebook.data.*; public class GetCustomTagsData extends FacebookData { public var tagCollection:TagCollection; } }//package com.facebook.data.fbml
Section 252
//LeafTagData (com.facebook.data.fbml.LeafTagData) package com.facebook.data.fbml { public class LeafTagData extends AbstractTagData { public var fbml:String; public function LeafTagData(_arg1:String, _arg2:String, _arg3:String, _arg4:String, _arg5:String, _arg6:String="", _arg7:String="", _arg8:AttributeCollection=null){ super(_arg1, _arg3, _arg4, _arg5, _arg6, _arg7, _arg8); this.fbml = _arg2; } } }//package com.facebook.data.fbml
Section 253
//TagCollection (com.facebook.data.fbml.TagCollection) package com.facebook.data.fbml { import com.facebook.utils.*; public class TagCollection extends FacebookArrayCollection { public function TagCollection(){ super(null, AbstractTagData); } } }//package com.facebook.data.fbml
Section 254
//TagData (com.facebook.data.fbml.TagData) package com.facebook.data.fbml { public class TagData { public var description:String; public var name:String; public var footer_fbml:String; public var header_fbml:String; public var open_tag_fbml:String; public var attributes:AttributeCollection; public var type:String; public var fbml:String; public var is_public:String; public var close_tag_fbml:String; } }//package com.facebook.data.fbml
Section 255
//ActionLinkCollection (com.facebook.data.feed.ActionLinkCollection) package com.facebook.data.feed { import com.facebook.utils.*; public class ActionLinkCollection extends FacebookArrayCollection { public function ActionLinkCollection(){ super(null, ActionLinkData); } } }//package com.facebook.data.feed
Section 256
//ActionLinkData (com.facebook.data.feed.ActionLinkData) package com.facebook.data.feed { public class ActionLinkData { public var href:String; public var text:String; } }//package com.facebook.data.feed
Section 257
//GetRegisteredTemplateBundleByIDData (com.facebook.data.feed.GetRegisteredTemplateBundleByIDData) package com.facebook.data.feed { import com.facebook.data.*; public class GetRegisteredTemplateBundleByIDData extends FacebookData { public var templateCollection:TemplateCollection; } }//package com.facebook.data.feed
Section 258
//GetRegisteredTemplateBundleData (com.facebook.data.feed.GetRegisteredTemplateBundleData) package com.facebook.data.feed { import com.facebook.data.*; public class GetRegisteredTemplateBundleData extends FacebookData { public var bundleCollection:TemplateCollection; } }//package com.facebook.data.feed
Section 259
//StorySizeValues (com.facebook.data.feed.StorySizeValues) package com.facebook.data.feed { public class StorySizeValues { public static const SHORT:uint = 2; public static const ONE_LINE:uint = 1; public static const FULL:uint = 4; } }//package com.facebook.data.feed
Section 260
//TemplateBundleCollection (com.facebook.data.feed.TemplateBundleCollection) package com.facebook.data.feed { import com.facebook.utils.*; public class TemplateBundleCollection extends FacebookArrayCollection { public function TemplateBundleCollection(){ super(null, TemplateData); } } }//package com.facebook.data.feed
Section 261
//TemplateCollection (com.facebook.data.feed.TemplateCollection) package com.facebook.data.feed { import com.facebook.utils.*; public class TemplateCollection extends FacebookArrayCollection { public var template_bundle_id:Number; public var time_created:Date; public function TemplateCollection(){ super(null, TemplateData); } public function addTemplateData(_arg1:TemplateData):void{ this.addItem(_arg1); } } }//package com.facebook.data.feed
Section 262
//TemplateData (com.facebook.data.feed.TemplateData) package com.facebook.data.feed { public class TemplateData { public var template_title:String; public var template_body:String; public var type:String; } }//package com.facebook.data.feed
Section 263
//AreFriendsData (com.facebook.data.friends.AreFriendsData) package com.facebook.data.friends { import com.facebook.data.*; public class AreFriendsData extends FacebookData { public var friendsCollection:FriendsCollection; } }//package com.facebook.data.friends
Section 264
//FriendsCollection (com.facebook.data.friends.FriendsCollection) package com.facebook.data.friends { import com.facebook.utils.*; public class FriendsCollection extends FacebookArrayCollection { public function FriendsCollection(){ super(null, FriendsData); } } }//package com.facebook.data.friends
Section 265
//FriendsData (com.facebook.data.friends.FriendsData) package com.facebook.data.friends { public class FriendsData { public var uid1:Number; public var uid2:Number; public var are_friends:Boolean; } }//package com.facebook.data.friends
Section 266
//GetAppUserData (com.facebook.data.friends.GetAppUserData) package com.facebook.data.friends { import com.facebook.data.*; public class GetAppUserData extends FacebookData { public var uids:Array; } }//package com.facebook.data.friends
Section 267
//GetFriendsData (com.facebook.data.friends.GetFriendsData) package com.facebook.data.friends { import com.facebook.data.users.*; import com.facebook.data.*; public class GetFriendsData extends FacebookData { public var friends:FacebookUserCollection; } }//package com.facebook.data.friends
Section 268
//GetListsData (com.facebook.data.friends.GetListsData) package com.facebook.data.friends { import com.facebook.data.*; public class GetListsData extends FacebookData { public var lists:Array; } }//package com.facebook.data.friends
Section 269
//GetLoggedInUserData (com.facebook.data.friends.GetLoggedInUserData) package com.facebook.data.friends { import com.facebook.data.*; public class GetLoggedInUserData extends FacebookData { public var loggedInUser:Number; } }//package com.facebook.data.friends
Section 270
//ListsData (com.facebook.data.friends.ListsData) package com.facebook.data.friends { public class ListsData { public var flid:Number; public var name:String; } }//package com.facebook.data.friends
Section 271
//GetGroupData (com.facebook.data.groups.GetGroupData) package com.facebook.data.groups { import com.facebook.data.*; public class GetGroupData extends FacebookData { public var groups:GroupCollection; } }//package com.facebook.data.groups
Section 272
//GetMemberData (com.facebook.data.groups.GetMemberData) package com.facebook.data.groups { import com.facebook.data.*; public class GetMemberData extends FacebookData { public var admins:Array; public var members:Array; public var notReplied:Array; public var officers:Array; } }//package com.facebook.data.groups
Section 273
//GroupCollection (com.facebook.data.groups.GroupCollection) package com.facebook.data.groups { import com.facebook.utils.*; public class GroupCollection extends FacebookArrayCollection { public function GroupCollection(){ super(null, GroupData); } public function addGroup(_arg1:GroupData):void{ this.addItem(_arg1); } } }//package com.facebook.data.groups
Section 274
//GroupData (com.facebook.data.groups.GroupData) package com.facebook.data.groups { import com.facebook.data.*; public class GroupData { public var gid:String; public var update_time:Date; public var privacy:String; public var nid:Number; public var pic:String; public var name:String; public var pic_big:String; public var website:String; public var group_type:String; public var office:String; public var pic_small:String; public var creator:String; public var venue:FacebookLocation; public var recent_news:String; public var group_subtype:String; public var description:String; } }//package com.facebook.data.groups
Section 275
//GetNotesData (com.facebook.data.notes.GetNotesData) package com.facebook.data.notes { import com.facebook.data.*; public class GetNotesData extends FacebookData { public var notesCollection:NotesCollection; } }//package com.facebook.data.notes
Section 276
//NoteData (com.facebook.data.notes.NoteData) package com.facebook.data.notes { public class NoteData { public var note_id:String; public var created_time:Date; public var updated_time:Date; public var title:String; public var content:String; public var uid:String; } }//package com.facebook.data.notes
Section 277
//NotesCollection (com.facebook.data.notes.NotesCollection) package com.facebook.data.notes { import com.facebook.utils.*; public class NotesCollection extends FacebookArrayCollection { public function NotesCollection(){ super(null, NoteData); } } }//package com.facebook.data.notes
Section 278
//GetNotificationData (com.facebook.data.notifications.GetNotificationData) package com.facebook.data.notifications { import com.facebook.data.*; public class GetNotificationData extends FacebookData { public var group_invites:Array; public var notificationCollection:NotificationCollection; public var friendsRequests:Array; public var event_invites:Array; } }//package com.facebook.data.notifications
Section 279
//GetNotificationValue (com.facebook.data.notifications.GetNotificationValue) package com.facebook.data.notifications { public class GetNotificationValue { public static const APP_TO_USER:String = "app_to_user"; public static const USER_TO_USER:String = "user_to_user"; } }//package com.facebook.data.notifications
Section 280
//NotificationCollection (com.facebook.data.notifications.NotificationCollection) package com.facebook.data.notifications { import com.facebook.utils.*; public class NotificationCollection extends FacebookArrayCollection { public function NotificationCollection(){ super(null, null); } } }//package com.facebook.data.notifications
Section 281
//NotificationMessageData (com.facebook.data.notifications.NotificationMessageData) package com.facebook.data.notifications { public class NotificationMessageData { public var most_recent:Number; public var unread:Number; } }//package com.facebook.data.notifications
Section 282
//NotificationPokeData (com.facebook.data.notifications.NotificationPokeData) package com.facebook.data.notifications { public class NotificationPokeData { public var most_recent:Number; public var unread:Number; } }//package com.facebook.data.notifications
Section 283
//NotificationShareData (com.facebook.data.notifications.NotificationShareData) package com.facebook.data.notifications { public class NotificationShareData { public var most_recent:Number; public var unread:Number; } }//package com.facebook.data.notifications
Section 284
//GenreData (com.facebook.data.pages.GenreData) package com.facebook.data.pages { public class GenreData { public var party:Boolean; public var talk:Boolean; public var raunchy:Boolean; public var relax:Boolean; public var think:Boolean; public var dance:Boolean; public var headphones:Boolean; public var sing:Boolean; public var workout:Boolean; public var intimate:Boolean; } }//package com.facebook.data.pages
Section 285
//GetPageInfoData (com.facebook.data.pages.GetPageInfoData) package com.facebook.data.pages { import com.facebook.data.*; public class GetPageInfoData extends FacebookData { public var pageInfoCollection:PageInfoCollection; } }//package com.facebook.data.pages
Section 286
//PageInfoCollection (com.facebook.data.pages.PageInfoCollection) package com.facebook.data.pages { import com.facebook.utils.*; public class PageInfoCollection extends FacebookArrayCollection { public function PageInfoCollection(){ super(null, PageInfoData); } public function addPageInfo(_arg1:PageInfoData):void{ this.addItem(_arg1); } } }//package com.facebook.data.pages
Section 287
//PageInfoData (com.facebook.data.pages.PageInfoData) package com.facebook.data.pages { import com.facebook.data.*; import flash.events.*; public class PageInfoData extends EventDispatcher { public var starring:String; public var genre:String; public var season:String; public var bio:String; public var name:String; public var pic_small:String; public var schedule:String; public var website:String; public var founded:String; public var influences:String; public var hours:String; public var record_label:String; public var band_members:String; public var location:FacebookLocation; public var mission:String; public var directed_by:String; public var type:String; public var awards:String; public var pic_large:String; public var page_id:Number; public var network:String; public var pic_big:String; public var studio:String; public var release_date:String; public var products:String; public var hometown:String; public var pic_square:String; public var produced_by:String; public var company_overview:String; public var plot_outline:String; public var has_added_app:Boolean; public var written_by:String; } }//package com.facebook.data.pages
Section 288
//PageInfoFieldValues (com.facebook.data.pages.PageInfoFieldValues) package com.facebook.data.pages { public class PageInfoFieldValues { public static var FOUNDED:String = "founded"; public static var SEASON:String = "season"; public static var PIC_LARGE:String = "pic_large"; public static var STARRING:String = "starring"; public static var PIC_BIG:String = "pic_big"; public static var RELEASE_DATE:String = "release_date"; public static var NETWORK:String = "network"; public static var PIC_SQUARE:String = "pic_square"; public static var SCHEDULE:String = "schedule"; public static var NAME:String = "name"; public static var COMPANY_OVERVIEW:String = "company_overview"; public static var INFLUENCES:String = "influences"; public static var WRITTEN_BY:String = "written_by"; public static var ALL_VALUES:Array = [PAGE_ID, NAME, PIC_SMALL, PIC_BIG, PIC_SQUARE, PIC_LARGE, TYPE, WEBSITE, LOCATION, HOURS, BAND_MEMBERS, BIO, HOMETOWN, GENRE, RECORD_LABEL, INFLUENCES, HAS_ADDED_APP, FOUNDED, COMPANY_OVERVIEW, MISSION, PRODUCTS, RELEASE_DATE, STARRING, WRITTEN_BY, DIRECTED_BY, PRODUCED_BY, STUDIO, AWARDS, PLOT_OUTLINE, NETWORK, SEASON, SCHEDULE]; public static var HAS_ADDED_APP:String = "has_added_app"; public static var DIRECTED_BY:String = "directed_by"; public static var LOCATION:String = "location"; public static var AWARDS:String = "awards"; public static var TYPE:String = "type"; public static var PLOT_OUTLINE:String = "plot_outline"; public static var PAGE_ID:String = "page_id"; public static var PIC_SMALL:String = "pic_small"; public static var STUDIO:String = "studio"; public static var GENRE:String = "genre"; public static var PRODUCTS:String = "products"; public static var RECORD_LABEL:String = "record_label"; public static var BIO:String = "bio"; public static var MISSION:String = "mission"; public static var BAND_MEMBERS:String = "band_members"; public static var HOMETOWN:String = "hometown"; public static var PRODUCED_BY:String = "produced_by"; public static var WEBSITE:String = "website"; public static var HOURS:String = "hours"; } }//package com.facebook.data.pages
Section 289
//PageTypeValue (com.facebook.data.pages.PageTypeValue) package com.facebook.data.pages { public class PageTypeValue { public static const RETAIL:String = "retail"; public static const HOME_LIVING:String = "home_living"; public static const TECHNOLOGY:String = "technology"; public static const CONVENTION_CENTERS_SPORTS_COMPLEXES:String = "convertion_centers_sports_complexes"; public static const MUSEUMS_ATTRACTIONS:String = "museums_attractions"; public static const POLITICIANS:String = "politicians"; public static const TELEVISION:String = "television"; public static const REAL_ESTATE:String = "real_estate"; public static const PUBLIC_FIGURES:String = "public_figures"; public static const BARS_CLUBS:String = "bars_clubs"; public static const TRAVEL:String = "travel"; public static const COMMUNITIES:String = "communities"; public static const MODEL:String = "model"; public static const GOVERNMENT_PUBLIC_SERVICES:String = "government_public_services"; public static const LOCAL_HOTELS_LODGING:String = "local_hotels_lodging"; public static const NONPROFIT:String = "nonprofit"; public static const LOCAL_STORES:String = "local_stores"; public static const ONLINE_STORES:String = "online_stores"; public static const APPLICATION:String = "application"; public static const WEBSITES:String = "websites"; public static const LOCAL_BUSINESS:String = "local_business"; public static const FOOD_BEVERAGE:String = "food_beverage"; public static const PUBLIC_FIGURES_OTHER:String = "public_figures_other"; public static const PLACES:String = "place"; public static const PRODUCTS_OTHER:String = "products_other"; public static const PETS:String = "pets"; public static const RENTAL_CARS:String = "rental_cars"; public static const RELIGIOUS_ORGANIZATIONS:String = "religious_organizations"; public static const COMMUNICATIONS:String = "communications"; public static const SERVICES:String = "services"; public static const ARTIST:String = "artist"; public static const PRODUCTS:String = "products"; public static const MUSICIANS:String = "musicians"; public static const MEDICAL_SERVICES:String = "medical_services"; public static const FINANCIAL_SERVICES:String = "financial_services"; public static const CLUBS:String = "clubs"; public static const PROFESSIONAL_SERVICES:String = "professional_services"; public static const WRITER:String = "writer"; public static const EVENT_PLANNING_SERVICES:String = "event_planning_services"; public static const PHARMA:String = "pharma"; public static const CRITIC:String = "critic"; public static const FILM:String = "film"; public static const COMEDIAN:String = "comedian"; public static const LOCAL_RELIGIOUS_CENTERS:String = "local_religious_centers"; public static const EDUCATION:String = "education"; public static const LOCAL_PROFESSIONAL_SERVICES:String = "local_professional_services"; public static const LOCAL_AUTOMOTIVE_DEALERS_VEHICLE_SERVICES:String = "local_automotive_dealers_vehicle_services"; public static const RESTAURANTS_CAFES:String = "resturants_cafes"; public static const SPORTS_ATHLETICS:String = "sports_athletics"; public static const CONSUMER_PRODUCTS:String = "consumer_producrs"; public static const CAFE:String = "cafe"; public static const FASHION:String = "fashion"; public static const GAMES:String = "games"; public static const ATHLETE:String = "athlete"; public static const PARKS:String = "parks"; public static const STORES:String = "stores"; public static const RESTAURANTS:String = "restaurants"; public static const HOME_SERVICES:String = "home_services"; public static const HEALTH_BEAUTY:String = "health_beauty"; public static const BARS:String = "bars"; public static const LOCAL_BANKING_FINANCIAL_SERVICES:String = "local_banking_financial_services"; public static const HOTELS_LODGING:String = "hotels_lodging"; public static const LIBRARIES_PUBLIC_BUILDINGS:String = "libraries_public_buildings"; public static const ACTOR:String = "actor"; public static const SPORTS_TEAMS:String = "sports_teams"; public static const LOCAL_TECHNOLOGY_TELECOMMUNICATIONS_SERVICES:String = "local_technology_telecommunications_services"; public static const GROCERY:String = "grocery"; public static const LOCAL_TRAVEL_SERVICES:String = "local_travel_services"; public static const AUTOMOTIVE:String = "automotive"; public static const AIRLINES_SHIPS_TRAIN:String = "airlines_ships_train"; } }//package com.facebook.data.pages
Section 290
//AlbumCollection (com.facebook.data.photos.AlbumCollection) package com.facebook.data.photos { import com.facebook.utils.*; public class AlbumCollection extends FacebookArrayCollection { public function AlbumCollection(){ super(null, AlbumData); } public function addAlbum(_arg1:AlbumData):void{ this.addItem(_arg1); } } }//package com.facebook.data.photos
Section 291
//AlbumData (com.facebook.data.photos.AlbumData) package com.facebook.data.photos { public class AlbumData { public var cover_pid:String; public var size:Number; public var modified:Date; public var modified_major:Date; public var name:String; public var aid:String; public var type:String; public var edit_link:String; public var created:Date; public var visible:String; public var owner:String; public var location:String; public var link:String; public var description:String; } }//package com.facebook.data.photos
Section 292
//FacebookPhoto (com.facebook.data.photos.FacebookPhoto) package com.facebook.data.photos { import com.facebook.data.*; public class FacebookPhoto extends FacebookData { public var src_small:String; public var pid:String; public var tags:Array; public var src:String; public var src_big:String; public var created:Date; public var caption:String; public var owner:Number; public var link:String; public var aid:String; public function FacebookPhoto(){ tags = []; super(); } } }//package com.facebook.data.photos
Section 293
//GetAlbumsData (com.facebook.data.photos.GetAlbumsData) package com.facebook.data.photos { import com.facebook.data.*; public class GetAlbumsData extends FacebookData { public var albumCollection:AlbumCollection; } }//package com.facebook.data.photos
Section 294
//GetCreateAlbumData (com.facebook.data.photos.GetCreateAlbumData) package com.facebook.data.photos { import com.facebook.data.*; public class GetCreateAlbumData extends FacebookData { public var albumData:AlbumData; } }//package com.facebook.data.photos
Section 295
//GetPhotosData (com.facebook.data.photos.GetPhotosData) package com.facebook.data.photos { import com.facebook.data.*; public class GetPhotosData extends FacebookData { public var photoCollection:PhotoCollection; } }//package com.facebook.data.photos
Section 296
//GetTagsData (com.facebook.data.photos.GetTagsData) package com.facebook.data.photos { import com.facebook.data.*; public class GetTagsData extends FacebookData { public var photoTagsCollection:PhotoTagCollection; } }//package com.facebook.data.photos
Section 297
//PhotoCollection (com.facebook.data.photos.PhotoCollection) package com.facebook.data.photos { import com.facebook.utils.*; public class PhotoCollection extends FacebookArrayCollection { public function PhotoCollection(){ super(null, PhotoData); } public function addPhoto(_arg1:PhotoData):void{ this.addItem(_arg1); } } }//package com.facebook.data.photos
Section 298
//PhotoData (com.facebook.data.photos.PhotoData) package com.facebook.data.photos { public class PhotoData { public var src:String; public var src_big:String; public var pid:String; public var src_small:String; public var caption:String; public var owner:String; public var created:Date; public var link:String; public var aid:String; } }//package com.facebook.data.photos
Section 299
//PhotoTagCollection (com.facebook.data.photos.PhotoTagCollection) package com.facebook.data.photos { import com.facebook.utils.*; public class PhotoTagCollection extends FacebookArrayCollection { public function PhotoTagCollection(_arg1:Array=null){ super(_arg1, TagData); } public function addPhotoTag(_arg1:TagData):void{ this.addItem(_arg1); } } }//package com.facebook.data.photos
Section 300
//PhotoVisibleValue (com.facebook.data.photos.PhotoVisibleValue) package com.facebook.data.photos { public class PhotoVisibleValue { public static const NETWORKS:String = "networks"; public static const FRIENDS_OF_FRIENDS:String = "friends-of-friends"; public static const EVERYONE:String = "everyone"; public static const FRIENDS:String = "friends"; } }//package com.facebook.data.photos
Section 301
//TagData (com.facebook.data.photos.TagData) package com.facebook.data.photos { public class TagData { protected var _actualText:String; public var pid:String; protected var _actualY:Number; protected var _actualX:Number; public var created:Date; public var tag_uid:String; public var subject:String; public function set y(_arg1:Number):void{ _actualY = _arg1; } public function set text(_arg1:String):void{ _actualText = _arg1; } public function get ycoord():Number{ return (_actualY); } public function set tag_text(_arg1:String):void{ _actualText = _arg1; } public function get text():String{ return (_actualText); } public function set x(_arg1:Number):void{ _actualX = _arg1; } public function get tag_text():String{ return (_actualText); } public function set ycoord(_arg1:Number):void{ _actualY = _arg1; } public function get y():Number{ return (_actualY); } public function set xcoord(_arg1:Number):void{ _actualX = _arg1; } public function get xcoord():Number{ return (_actualX); } public function get x():Number{ return (_actualX); } } }//package com.facebook.data.photos
Section 302
//GetInfoOptionsData (com.facebook.data.profile.GetInfoOptionsData) package com.facebook.data.profile { import com.facebook.data.*; public class GetInfoOptionsData extends FacebookData { public var infoItemCollection:InfoItemCollection; } }//package com.facebook.data.profile
Section 303
//InfoFieldsData (com.facebook.data.profile.InfoFieldsData) package com.facebook.data.profile { public class InfoFieldsData { public var items:InfoItemCollection; public var field:String; } }//package com.facebook.data.profile
Section 304
//InfoItemCollection (com.facebook.data.profile.InfoItemCollection) package com.facebook.data.profile { import com.facebook.utils.*; public class InfoItemCollection extends FacebookArrayCollection { public function InfoItemCollection(_arg1:Array=null){ super(null, InfoItemData); } public function addInfoItem(_arg1:InfoItemData):void{ this.addItem(_arg1); } } }//package com.facebook.data.profile
Section 305
//InfoItemData (com.facebook.data.profile.InfoItemData) package com.facebook.data.profile { import com.facebook.*; public class InfoItemData { public var sublabel:String; public var label:String; facebook_internal var schema:Array; public var link:String; public var image:String; public var description:String; public function InfoItemData(){ facebook_internal::schema = ["label", "link", "image", "description", "sublabel"]; } } }//package com.facebook.data.profile
Section 306
//ProfileTypeValues (com.facebook.data.profile.ProfileTypeValues) package com.facebook.data.profile { public class ProfileTypeValues { public static const ORIGINAL:uint = 1; public static const PROFILE_MAIN:uint = 2; } }//package com.facebook.data.profile
Section 307
//SetInfoTypeValue (com.facebook.data.profile.SetInfoTypeValue) package com.facebook.data.profile { public class SetInfoTypeValue { public static const THUMBNAIL:uint = 5; public static const TEXT_ONLY:uint = 1; } }//package com.facebook.data.profile
Section 308
//GetStatusData (com.facebook.data.status.GetStatusData) package com.facebook.data.status { import com.facebook.data.*; public class GetStatusData extends FacebookData { public var status:Array; } }//package com.facebook.data.status
Section 309
//Status (com.facebook.data.status.Status) package com.facebook.data.status { public class Status { public var message:String; public var status_id:String; public var time:Date; public var uid:String; public var source:String; } }//package com.facebook.data.status
Section 310
//ActionLinkCollection (com.facebook.data.stream.ActionLinkCollection) package com.facebook.data.stream { import com.facebook.utils.*; public class ActionLinkCollection extends FacebookArrayCollection { public function ActionLinkCollection(){ super(null, ActionLinkData); } } }//package com.facebook.data.stream
Section 311
//ActionLinkData (com.facebook.data.stream.ActionLinkData) package com.facebook.data.stream { public class ActionLinkData { public var href:String; public var text:String; } }//package com.facebook.data.stream
Section 312
//AttachmentData (com.facebook.data.stream.AttachmentData) package com.facebook.data.stream { public class AttachmentData { public var name:String; public var title:String; public var body:String; public var media:Array; public var caption:String; public var href:String; public var text:String; public var properties:Array; public var label:String; public var icon:String; public var description:String; } }//package com.facebook.data.stream
Section 313
//CommentsData (com.facebook.data.stream.CommentsData) package com.facebook.data.stream { public class CommentsData { public var posts:Array; public var can_post:Boolean; public var count:uint; public var can_remove:Boolean; } }//package com.facebook.data.stream
Section 314
//FlashMedia (com.facebook.data.stream.FlashMedia) package com.facebook.data.stream { public class FlashMedia { public var source_url:String; public var preview_img:String; } }//package com.facebook.data.stream
Section 315
//GetCommentsData (com.facebook.data.stream.GetCommentsData) package com.facebook.data.stream { import com.facebook.data.*; public class GetCommentsData extends FacebookData { public var comments:Array; } }//package com.facebook.data.stream
Section 316
//GetFiltersData (com.facebook.data.stream.GetFiltersData) package com.facebook.data.stream { import com.facebook.data.*; public class GetFiltersData extends FacebookData { public var filters:StreamFilterCollection; } }//package com.facebook.data.stream
Section 317
//GetStreamData (com.facebook.data.stream.GetStreamData) package com.facebook.data.stream { import com.facebook.data.*; import com.facebook.data.photos.*; public class GetStreamData extends FacebookData { public var profiles:ProfileCollection; public var albums:AlbumCollection; public var stories:StreamStoryCollection; } }//package com.facebook.data.stream
Section 318
//LikesData (com.facebook.data.stream.LikesData) package com.facebook.data.stream { public class LikesData { public var can_like:Boolean; public var user_likes:Boolean; public var href:String; public var count:uint; public var friends:Array; public var sample:Array; } }//package com.facebook.data.stream
Section 319
//MediaTypes (com.facebook.data.stream.MediaTypes) package com.facebook.data.stream { public class MediaTypes { public static const PHOTO:String = "photo"; public static const LINK:String = "link"; public static const VIDEO:String = "video"; } }//package com.facebook.data.stream
Section 320
//MusicMedia (com.facebook.data.stream.MusicMedia) package com.facebook.data.stream { public class MusicMedia { public var title:String; public var source_url:String; public var artist:String; } }//package com.facebook.data.stream
Section 321
//PhotoMedia (com.facebook.data.stream.PhotoMedia) package com.facebook.data.stream { public class PhotoMedia { public var pid:String; public var index:uint; public var owner:String; public var aid:String; } }//package com.facebook.data.stream
Section 322
//PostCommentData (com.facebook.data.stream.PostCommentData) package com.facebook.data.stream { public class PostCommentData { public var fromid:String; public var text:String; public var time:Date; public var id:String; } }//package com.facebook.data.stream
Section 323
//ProfileCollection (com.facebook.data.stream.ProfileCollection) package com.facebook.data.stream { import com.facebook.utils.*; public class ProfileCollection extends FacebookArrayCollection { public function ProfileCollection(){ super(null, ProfileData); } } }//package com.facebook.data.stream
Section 324
//ProfileData (com.facebook.data.stream.ProfileData) package com.facebook.data.stream { public class ProfileData { public var name:String; public var url:String; public var pic_square:String; public var id:String; } }//package com.facebook.data.stream
Section 325
//StoryType (com.facebook.data.stream.StoryType) package com.facebook.data.stream { public class StoryType { public static const LINK:uint = 12; public static const FLICKR:uint = 7; public static const JOINED:uint = 9; public static const NOTE:uint = 15; public static const YOU_TUBE:uint = 22; public static const RELATIONSHIP:uint = 19; public static const CONNECT_SHARE:uint = 237; public static const PHOTO:uint = 247; public static const FAN_PAGE:uint = 6; public static const LIKES:uint = 11; public static const CHANGED_PROFILE:uint = 2; public static const GROUP:uint = 8; public static const POST:uint = 17; public static const LIKES_POST:uint = 10; public static const TAG:uint = 20; public static const MOBILE:uint = 14; public static const VIDEO:uint = 128; public static const POST_NOTE:uint = 80; public static const FAN:uint = 5; public static const NO_ICON:uint = 56; public static const ABSENT:uint = 46; public static const EVENT:uint = 4; public static const COMMENT:uint = 3; } }//package com.facebook.data.stream
Section 326
//StreamFilterCollection (com.facebook.data.stream.StreamFilterCollection) package com.facebook.data.stream { import com.facebook.utils.*; public class StreamFilterCollection extends FacebookArrayCollection { public function StreamFilterCollection(){ super(null, StreamFilterData); } } }//package com.facebook.data.stream
Section 327
//StreamFilterData (com.facebook.data.stream.StreamFilterData) package com.facebook.data.stream { public class StreamFilterData { public var icon_url:String; public var name:String; public var rank:uint; public var uid:String; public var value:String; public var filter_key:String; public var type:String; public var is_visible:Boolean; } }//package com.facebook.data.stream
Section 328
//StreamMediaData (com.facebook.data.stream.StreamMediaData) package com.facebook.data.stream { public class StreamMediaData { public var src:String; public var music:MusicMedia; public var alt:String; public var href:String; public var flash:FlashMedia; public var photo:PhotoMedia; public var type:String; public var video:VideoMedia; public function toString():String{ return ([("type: " + type), ("href: " + href), ("src: " + src), ("alt: " + alt), ("photo: " + photo), ("video: " + video), ("flash: " + flash)].join(": ")); } } }//package com.facebook.data.stream
Section 329
//StreamStoryCollection (com.facebook.data.stream.StreamStoryCollection) package com.facebook.data.stream { import com.facebook.utils.*; public class StreamStoryCollection extends FacebookArrayCollection { public function StreamStoryCollection(){ super(null, StreamStoryData); } } }//package com.facebook.data.stream
Section 330
//StreamStoryData (com.facebook.data.stream.StreamStoryData) package com.facebook.data.stream { public class StreamStoryData { public var comments:CommentsData; public var created_time:Date; public var target_id:String; public var sourceXML:XML; public var message:String; public var updated_time:Date; public var source_id:String; public var filter_key:String; public var post_id:String; public var action_links:Array; public var privacy:String; public var attachment:AttachmentData; public var actor_id:String; public var is_hidden:Boolean; public var viewer_id:String; public var permalink:String; public var metadata:Object; public var app_id:String; public var type:uint; public var likes:LikesData; public var attribution:String; } }//package com.facebook.data.stream
Section 331
//VideoMedia (com.facebook.data.stream.VideoMedia) package com.facebook.data.stream { public class VideoMedia { public var permalink:String; public var preview_img:String; public var display_url:String; public var owner:String; public var source_url:String; } }//package com.facebook.data.stream
Section 332
//AffiliationCollection (com.facebook.data.users.AffiliationCollection) package com.facebook.data.users { import com.facebook.utils.*; public class AffiliationCollection extends FacebookArrayCollection { public function AffiliationCollection(){ super(null, AffiliationData); } public function addAffiliation(_arg1:AffiliationData):void{ this.addItem(_arg1); } } }//package com.facebook.data.users
Section 333
//AffiliationData (com.facebook.data.users.AffiliationData) package com.facebook.data.users { public class AffiliationData { public var nid:Number; public var name:String; public var status:String; public var type:String; public var year:String; } }//package com.facebook.data.users
Section 334
//FacebookUser (com.facebook.data.users.FacebookUser) package com.facebook.data.users { import com.facebook.data.*; public class FacebookUser extends FacebookData { public var isLoggedInUser:Boolean; public var status:StatusData; public var education_history:Array; public var pic_big_with_logo:String; public var notes_count:int; public var pic_small:String; public var has_added_app:Boolean; public var pic_with_logo:String; public var music:String; public var religion:String; public var significant_other_id:int; public var email_hashes:Array; public var hs2_name:String; public var movies:String; public var uid:String; public var hometown_location:FacebookLocation; public var wall_count:int; public var proxied_email:String; public var meeting_sex:Array; public var sex:String; public var work_history:Array; public var hs_info:String; public var pic_square:String; public var hs1_id:int; public var quotes:String; public var locale:String; public var birthday:String; public var tv:String; public var affiliations:Array; public var interests:String; public var pic:String; public var name:String;// = "" public var grad_year:String; public var about_me:String; public var last_name:String;// = "" public var pic_small_with_logo:String; public var is_app_user:Boolean; public var hs1_name:String; public var books:String; public var first_name:String;// = "" public var current_location:FacebookLocation; public var meeting_for:Array; public var pic_big:String; public var networkAffiliations:Array; public var birthdayDate:Date; public var hs2_id:int; public var relationship_status:String; public var profile_url:String; public var profile_update_time:Date; public var pic_square_with_logo:String; public var timezone:int; public var activities:String; public var political:String; public function FacebookUser():void{ name = ""; first_name = ""; last_name = ""; super(); } } }//package com.facebook.data.users
Section 335
//FacebookUserCollection (com.facebook.data.users.FacebookUserCollection) package com.facebook.data.users { import com.facebook.utils.*; public class FacebookUserCollection extends FacebookArrayCollection { public function FacebookUserCollection(){ super(null, FacebookUser); } public function getUserById(_arg1:String):FacebookUser{ return ((findItemByProperty("uid", _arg1) as FacebookUser)); } public function addUser(_arg1:FacebookUser):void{ addItem(_arg1); } } }//package com.facebook.data.users
Section 336
//FriendsGetData (com.facebook.data.users.FriendsGetData) package com.facebook.data.users { import com.facebook.data.*; public class FriendsGetData extends FacebookData { } }//package com.facebook.data.users
Section 337
//GetInfoData (com.facebook.data.users.GetInfoData) package com.facebook.data.users { import com.facebook.data.*; public class GetInfoData extends FacebookData { public var userCollection:FacebookUserCollection; } }//package com.facebook.data.users
Section 338
//GetInfoFieldValues (com.facebook.data.users.GetInfoFieldValues) package com.facebook.data.users { public class GetInfoFieldValues { public static const TIMEZONE:String = "timezone"; public static const TV:String = "tv"; public static const AFFILIATIONS:String = "affiliations"; public static const MEETING_FOR:String = "meeting_for"; public static const BOOKS:String = "books"; public static const PIC_BIG:String = "pic_big"; public static const MUSIC:String = "music"; public static const NAME:String = "name"; public static const PIC_SQUARE_WITH_LOGO:String = "pic_square_with_logo"; public static const LAST_NAME:String = "last_name"; public static const PIC_SQUARE:String = "pic_square"; public static const HAS_ADDED_APP:String = "has_added_app"; public static const ALL_VALUES:Array = [ABOUT_ME, ACTIVITIES, AFFILIATIONS, BIRTHDAY, BOOKS, CURRENT_LOCATION, EDUCATION_HISTORY, EMAIL_HASHES, FIRST_NAME, HAS_ADDED_APP, HOMETOWN_LOCATION, HS_INFO, INTERESTS, IS_APP_USER, LAST_NAME, LOCALE, MEETING_FOR, MEETING_SEX, MOVIES, MUSIC, NAME, NOTES_COUNT, PIC, PIC_WITH_LOGO, PIC_BIG, PIC_BIG_WITH_LOGO, PIC_SMALL, PIC_SMALL_WITH_LOGO, PIC_SQUARE, PIC_SQUARE_WITH_LOGO, POLITICAL, PROFILE_UPDATE_TIME, PROFILE_URL, PROXIED_EMAIL, QUOTES, RELATIONSHIP_STATUS, RELIGION, SEX, SIGNIFICANT_OTHER_ID, STATUS, TIMEZONE, TV, WALL_COUNT, WORK_HISTORY]; public static const ABOUT_ME:String = "about_me"; public static const MEETING_SEX:String = "meeting_sex"; public static const RELIGION:String = "religion"; public static const PROXIED_EMAIL:String = "proxied_email"; public static const EDUCATION_HISTORY:String = "education_history"; public static const IS_APP_USER:String = "is_app_user"; public static const HOMETOWN_LOCATION:String = "hometown_location"; public static const PROFILE_URL:String = "profile_url"; public static const WALL_COUNT:String = "wall_count"; public static const MOVIES:String = "movies"; public static const PROFILE_UPDATE_TIME:String = "profile_update_time"; public static const PIC_BIG_WITH_LOGO:String = "pic_big_with_logo"; public static const NOTES_COUNT:String = "notes_count"; public static const SEX:String = "sex"; public static const PIC_SMALL_WITH_LOGO:String = "pic_small_with_logo"; public static const NO_SESSION_VALUES:Array = [FIRST_NAME, LAST_NAME, NAME, LOCALE, AFFILIATIONS, PIC_SQUARE, PROFILE_URL]; public static const PIC_SMALL:String = "pic_small"; public static const FIRST_NAME:String = "first_name"; public static const CURRENT_LOCATION:String = "current_location"; public static const POLITICAL:String = "political"; public static const EMAIL_HASHES:String = "email_hashes"; public static const RELATIONSHIP_STATUS:String = "relationship_status"; public static const HS_INFO:String = "hs_info"; public static const WORK_HISTORY:String = "work_history"; public static const INTERESTS:String = "interests"; public static const PIC:String = "pic"; public static const ACTIVITIES:String = "activities"; public static const PIC_WITH_LOGO:String = "pic_with_logo"; public static const LOCALE:String = "locale"; public static const SIGNIFICANT_OTHER_ID:String = "significant_other_id"; public static const QUOTES:String = "quotes"; public static const STATUS:String = "status"; public static const BIRTHDAY:String = "birthday"; } }//package com.facebook.data.users
Section 339
//GetStandardInfoData (com.facebook.data.users.GetStandardInfoData) package com.facebook.data.users { import com.facebook.data.*; public class GetStandardInfoData extends FacebookData { public var userCollection:UserCollection; } }//package com.facebook.data.users
Section 340
//HasAppPermissionValues (com.facebook.data.users.HasAppPermissionValues) package com.facebook.data.users { public class HasAppPermissionValues { public static const CREATE_LISTING:String = "create_listing"; public static const EMAIL:String = "email"; public static const OFFLINE_ACCESS:String = "offline_access"; public static const PHOTO_UPLOAD:String = "photo_upload"; public static const PUBLISH_STREAM:String = "publish_stream"; public static const STATUS_UPDATE:String = "status_update"; public static const CREATE_EVENT:String = "create_event"; public static const SMS:String = "sms"; public static const SHARE_ITEM:String = "share_item"; public static const RSVP_EVENT:String = "rsvp_event"; } }//package com.facebook.data.users
Section 341
//StatusData (com.facebook.data.users.StatusData) package com.facebook.data.users { public class StatusData { public var message:String; public var time:Date; } }//package com.facebook.data.users
Section 342
//UserCollection (com.facebook.data.users.UserCollection) package com.facebook.data.users { import com.facebook.utils.*; public class UserCollection extends FacebookArrayCollection { public function UserCollection(_arg1:Array=null){ super(null, UserData); } } }//package com.facebook.data.users
Section 343
//UserData (com.facebook.data.users.UserData) package com.facebook.data.users { public class UserData { public var affiations:AffiliationCollection; public var name:String; public var uid:String; public var timezone:Number; public var first_name:String; public var last_name:String; public function toString():String{ return ((((((((((((("[ UserData uid: " + uid) + " affiation:") + affiations) + " first_name:") + first_name) + " last_name:") + last_name) + " name:") + name) + " timezone: ") + timezone) + "]")); } } }//package com.facebook.data.users
Section 344
//ArrayResultData (com.facebook.data.ArrayResultData) package com.facebook.data { public class ArrayResultData extends FacebookData { public var arrayResult:Array; } }//package com.facebook.data
Section 345
//BooleanResultData (com.facebook.data.BooleanResultData) package com.facebook.data { public class BooleanResultData extends FacebookData { public var value:Boolean; } }//package com.facebook.data
Section 346
//FacebookData (com.facebook.data.FacebookData) package com.facebook.data { import flash.events.*; public class FacebookData extends EventDispatcher { public var rawResult:String; } }//package com.facebook.data
Section 347
//FacebookEducationInfo (com.facebook.data.FacebookEducationInfo) package com.facebook.data { public class FacebookEducationInfo { public var concentrations:Array; public var name:String; public var degree:String; public var year:String; public function FacebookEducationInfo(){ concentrations = []; } } }//package com.facebook.data
Section 348
//FacebookErrorCodes (com.facebook.data.FacebookErrorCodes) package com.facebook.data { public class FacebookErrorCodes { public static const API_EC_VERSION:Number = 12; public static const API_EC_PERMISSION_DENIED:Number = 10; public static const API_EC_HOST_UP:Number = 7; public static const API_EC_SERVICE:Number = 2; public static const API_EC_RATE:Number = 9; public static const API_EC_METHOD:Number = 3; public static const API_EC_HOST_API:Number = 6; public static const API_EC_SUCCESS:Number = 0; public static const SERVER_ERROR:Number = -1; public static const API_EC_UNKNOWN:Number = 1; public static const API_EC_DEPRECATED:Number = 11; public static const API_EC_SECURE:Number = 8; public static const API_EC_TOO_MANY_CALLS:Number = 4; public static const API_EC_BAD_IP:Number = 5; } }//package com.facebook.data
Section 349
//FacebookErrorReason (com.facebook.data.FacebookErrorReason) package com.facebook.data { public class FacebookErrorReason { public static const CONNECT_TIMEOUT:String = "connectTimeout"; public static const LOAD_TIMEOUT:String = "loadTimeout"; } }//package com.facebook.data
Section 350
//FacebookLocation (com.facebook.data.FacebookLocation) package com.facebook.data { public class FacebookLocation extends FacebookData { public var street:String; public var country:String; public var state:String; public var zip:String; public var city:String; } }//package com.facebook.data
Section 351
//FacebookNetwork (com.facebook.data.FacebookNetwork) package com.facebook.data { public class FacebookNetwork { public var nid:int; public var name:String; public var status:String; public var type:String; public var year:String; } }//package com.facebook.data
Section 352
//FacebookWorkInfo (com.facebook.data.FacebookWorkInfo) package com.facebook.data { public class FacebookWorkInfo { public var position:String; public var start_date:Date; public var company_name:String; public var location:FacebookLocation; public var end_date:Date; public var description:String; } }//package com.facebook.data
Section 353
//FBJSData (com.facebook.data.FBJSData) package com.facebook.data { public class FBJSData extends FacebookData { public var results:Array; } }//package com.facebook.data
Section 354
//InternalErrorMessages (com.facebook.data.InternalErrorMessages) package com.facebook.data { public class InternalErrorMessages { public static var DATA_INVALID_NAME_ERROR:String = ""; public static var USER_PREFERENCE_ID_RANGE_ERROR:String = "pref_id must be less then 200."; public static var USER_PREFERENCE_VALUE_RANGE_ERROR:String = ""; public static var BATCH_RUN_RANGE_ERROR:String = ""; } }//package com.facebook.data
Section 355
//JSONResultData (com.facebook.data.JSONResultData) package com.facebook.data { public class JSONResultData extends FacebookData { public var result:Object; } }//package com.facebook.data
Section 356
//NumberResultData (com.facebook.data.NumberResultData) package com.facebook.data { public class NumberResultData extends FacebookData { public var value:Number; } }//package com.facebook.data
Section 357
//StringResultData (com.facebook.data.StringResultData) package com.facebook.data { public class StringResultData extends FacebookData { public var value:String; } }//package com.facebook.data
Section 358
//XMLDataParser (com.facebook.data.XMLDataParser) package com.facebook.data { import com.facebook.data.users.*; import com.facebook.data.fbml.*; import com.adobe.serialization.json.*; import com.facebook.errors.*; import com.facebook.data.photos.*; import com.facebook.utils.*; import flash.events.*; import com.facebook.data.status.*; import com.facebook.data.data.*; import com.facebook.data.notes.*; import com.facebook.commands.data.*; import com.facebook.data.application.*; import com.facebook.data.feed.*; import com.facebook.data.admin.*; import com.facebook.data.events.*; import com.facebook.data.friends.*; import com.facebook.data.pages.*; import com.facebook.data.notifications.*; import com.facebook.data.groups.*; import com.facebook.data.batch.*; import com.facebook.data.auth.*; public class XMLDataParser implements IFacebookResultParser { protected var fb_namespace:Namespace; public function XMLDataParser(){ fb_namespace = new Namespace("http://api.facebook.com/1.0/"); } protected function parseGetPhotos(_arg1:XML):GetPhotosData{ var _local2:GetPhotosData; var _local3:PhotoCollection; var _local4:*; var _local5:PhotoData; _local2 = new GetPhotosData(); _local3 = new PhotoCollection(); for each (_local4 in _arg1..fb_namespace::photo) { _local5 = new PhotoData(); _local5.pid = _local4.fb_namespace::pid; _local5.aid = _local4.fb_namespace::aid; _local5.owner = _local4.fb_namespace::owner; _local5.src = _local4.fb_namespace::src; _local5.src_big = _local4.fb_namespace::src_big; _local5.src_small = _local4.fb_namespace::src_small; _local5.caption = _local4.fb_namespace::caption; _local5.created = FacebookXMLParserUtils.toDate(_local4.fb_namespace::created); _local3.addPhoto(_local5); }; _local2.photoCollection = _local3; return (_local2); } protected function parseGetNotifications(_arg1:XML):GetNotificationData{ var _local2:GetNotificationData; var _local3:NotificationCollection; var _local4:*; var _local5:*; var _local6:*; var _local7:NotificationMessageData; var _local8:NotificationPokeData; var _local9:NotificationShareData; _local2 = new GetNotificationData(); _local3 = new NotificationCollection(); for each (_local4 in _arg1.fb_namespace::messages) { _local7 = new NotificationMessageData(); _local7.unread = _local4.fb_namespace::unread; _local7.most_recent = _local4.fb_namespace::most_recent; _local3.addItem(_local7); }; for each (_local5 in _arg1.fb_namespace::pokes) { _local8 = new NotificationPokeData(); _local8.unread = _local5.fb_namespace::unread; _local8.most_recent = _local5.fb_namespace::most_recent; _local3.addItem(_local8); }; for each (_local6 in _arg1.fb_namespace::shares) { _local9 = new NotificationShareData(); _local9.unread = _local6.fb_namespace::unread; _local9.most_recent = _local6.fb_namespace::most_recent; _local3.addItem(_local9); }; _local2.friendsRequests = FacebookXMLParserUtils.toUIDArray(_arg1.fb_namespace::friend_requests[0]); _local2.group_invites = FacebookXMLParserUtils.toUIDArray(_arg1.fb_namespace::group_invites[0]); _local2.event_invites = FacebookXMLParserUtils.toUIDArray(_arg1.fb_namespace::event_invites[0]); _local2.notificationCollection = _local3; return (_local2); } public function createFacebookError(_arg1:Object, _arg2:String):FacebookError{ var _local3:FacebookError; _local3 = new FacebookError(); _local3.rawResult = _arg2; _local3.errorCode = FacebookErrorCodes.SERVER_ERROR; if ((_arg1 is Error)){ _local3.error = (_arg1 as Error); } else { _local3.errorEvent = (_arg1 as ErrorEvent); }; return (_local3); } protected function parseSendEmail(_arg1:XML):ArrayResultData{ var _local2:ArrayResultData; _local2 = new ArrayResultData(); _local2.arrayResult = FacebookXMLParserUtils.toArray(_arg1); return (_local2); } protected function getAffiliation(_arg1:XML):AffiliationCollection{ var _local2:AffiliationCollection; var _local3:*; var _local4:AffiliationData; _local2 = new AffiliationCollection(); for each (_local3 in _arg1..fb_namespace::afflication) { _local4 = new AffiliationData(); _local4.nid = _local3.fb_namespace::nid; _local4.name = _local3.fb_namespace::name; _local4.type = _local3.fb_namespace::type; _local4.status = _local3.fb_namespace::status; _local4.year = _local3.fb_namespace::year; _local2.addAffiliation(_local4); }; return (_local2); } protected function parseGetUserPreferences(_arg1:XML):GetUserPreferencesData{ var _local2:GetUserPreferencesData; var _local3:PreferenceCollection; var _local4:*; var _local5:PreferenceData; _local2 = new GetUserPreferencesData(); _local3 = new PreferenceCollection(); for each (_local4 in _arg1..fb_namespace::preference) { _local5 = new PreferenceData(); _local5.pref_id = _local4.fb_namespace::pref_id; _local5.value = _local4.fb_namespace::value; _local3.addItem(_local5); }; _local2.perferenceCollection = _local3; return (_local2); } protected function parseGetStandardInfo(_arg1:XML):GetStandardInfoData{ var _local2:GetStandardInfoData; var _local3:UserCollection; var _local4:*; var _local5:UserData; _local2 = new GetStandardInfoData(); _local3 = new UserCollection(); for each (_local4 in _arg1..fb_namespace::user) { _local5 = new UserData(); _local5.uid = _local4.fb_namespace::uid; _local5.affiations = getAffiliation(XML(_local4.fb_namespace::affiliations.toXMLString())); _local5.first_name = _local4.fb_namespace::first_name; _local5.last_name = _local4.fb_namespace::last_name; _local5.name = _local4.fb_namespace::name; _local5.timezone = _local4.fb_namespace::timezone; _local3.addItem(_local5); }; _local2.userCollection = _local3; return (_local2); } protected function parseGetAppProperties(_arg1:XML):GetAppPropertiesData{ var _local2:GetAppPropertiesData; _local2 = new GetAppPropertiesData(); _local2.appProperties = JSON.decode(_arg1.toString()); return (_local2); } protected function parseGetRegisteredTemplateBundles(_arg1:XML):GetRegisteredTemplateBundleData{ var _local2:GetRegisteredTemplateBundleData; var _local3:TemplateBundleCollection; var _local4:TemplateCollection; var _local5:*; _local2 = new GetRegisteredTemplateBundleData(); _local3 = new TemplateBundleCollection(); _local4 = new TemplateCollection(); for each (_local5 in _arg1..fb_namespace::template_bundle) { getTemplate(_local5.fb_namespace::one_line_story_template, _local4); getTemplate(_local5.fb_namespace::short_story_templates, _local4); getTemplate(_local5.fb_namespace::full_story_template, _local4); _local4.template_bundle_id = _local5.fb_namespace::template_bundle_id; _local4.time_created = FacebookXMLParserUtils.toDate(_local5.fb_namespace::time_created); }; _local2.bundleCollection = _local4; return (_local2); } protected function parseGetRegisteredTemplateBundleByID(_arg1:XML):GetRegisteredTemplateBundleByIDData{ var _local2:GetRegisteredTemplateBundleByIDData; var _local3:TemplateCollection; _local2 = new GetRegisteredTemplateBundleByIDData(); _local3 = new TemplateCollection(); getTemplate(_arg1.fb_namespace::one_line_story_template, _local3); getTemplate(_arg1.fb_namespace::short_story_templates, _local3); getTemplate(_arg1.fb_namespace::full_story_template, _local3); _local3.template_bundle_id = _arg1.fb_namespace::template_bundle_id; _local3.time_created = FacebookXMLParserUtils.toDate(_arg1.fb_namespace::time_created); _local2.templateCollection = _local3; return (_local2); } protected function responseNodeNameToMethodName(_arg1:String):String{ var _local2:Array; _local2 = _arg1.split("_"); _local2.pop(); return (_local2.join(".")); } protected function parseGetObjectTypes(_arg1:XML):GetObjectTypesData{ var _local2:GetObjectTypesData; var _local3:ObjectTypesCollection; var _local4:*; var _local5:ObjectTypesData; _local2 = new GetObjectTypesData(); _local3 = new ObjectTypesCollection(); for each (_local4 in _arg1..fb_namespace::object_type_info) { _local5 = new ObjectTypesData(); _local5.name = _local4.fb_namespace::name; _local5.object_class = _local4.fb_namespace::object_class; _local3.addItem(_local5); }; _local2.objectTypeCollection = _local3; return (_local2); } protected function parseFacebookPhoto(_arg1:XML):FacebookPhoto{ var _local2:FacebookPhoto; _local2 = new FacebookPhoto(); _local2.pid = FacebookXMLParserUtils.toStringValue(_arg1.fb_namespace::pid[0]); _local2.aid = FacebookXMLParserUtils.toStringValue(_arg1.fb_namespace::aid[0]); _local2.owner = FacebookXMLParserUtils.toNumber(_arg1.fb_namespace::owner[0]); _local2.src = FacebookXMLParserUtils.toStringValue(_arg1.fb_namespace::src[0]); _local2.src_big = FacebookXMLParserUtils.toStringValue(_arg1.fb_namespace::src_big[0]); _local2.src_small = FacebookXMLParserUtils.toStringValue(_arg1.fb_namespace::src_small[0]); _local2.link = FacebookXMLParserUtils.toStringValue(_arg1.fb_namespace::link[0]); _local2.caption = FacebookXMLParserUtils.toStringValue(_arg1.fb_namespace::caption[0]); return (_local2); } protected function parseGetObjectType(_arg1:XML):GetObjectTypeData{ var _local2:GetObjectTypeData; _local2 = new GetObjectTypeData(); _local2.name = _arg1.fb_namespace::name; _local2.data_type = _arg1.fb_namespace::data_type; _local2.index_type = _arg1.fb_namespace::index_type; return (_local2); } protected function createTagObject(_arg1:XML, _arg2:Array){ var _local3:Number; var _local4:String; var _local5:AbstractTagData; var _local6:Number; var _local7:Object; _local3 = _arg1.children().length(); _local4 = _arg1.children()[0].toLowerCase(); if (_local4 == "leaf"){ _local5 = new LeafTagData(null, null, null, null, null); (_local5 as LeafTagData).fbml = _arg1.children()[9]; } else { _local5 = new ContainerTagData(null, null, null, null, null, null, null); (_local5 as ContainerTagData).open_tag_fbml = _arg1.children()[2]; (_local5 as ContainerTagData).close_tag_fbml = _arg1.children()[4]; }; _local6 = 0; while (_local6 < _local3) { _local7 = _arg1.children()[_local6]; switch (_arg2[_local6]){ case "name": case "type": case "description": case "is_public": case "header_fbml": case "footer_fbml": _local5[_arg2[_local6]] = _local7.text(); break; case "attributes": if ((_local7.children() is XMLList)){ if (_local7.children().length() == 0){ _local5[_arg2[_local6]] = null; }; }; break; }; _local6++; }; return (_local5); } protected function parseGetNotes(_arg1:XML):GetNotesData{ var _local2:GetNotesData; var _local3:NotesCollection; var _local4:*; var _local5:NoteData; _local2 = new GetNotesData(); _local3 = new NotesCollection(); for each (_local4 in _arg1..fb_namespace::note) { _local5 = new NoteData(); _local5.note_id = _local4.fb_namespace::note_id; _local5.title = _local4.fb_namespace::title; _local5.content = _local4.fb_namespace::content; _local5.created_time = FacebookXMLParserUtils.toDate(_local4.fb_namespace::created_time); _local5.updated_time = FacebookXMLParserUtils.toDate(_local4.fb_namespace::updated_time); _local5.uid = _local4.fb_namespace::uid; _local3.addItem(_local5); }; _local2.notesCollection = _local3; return (_local2); } protected function parseGetMetrics(_arg1:XML):GetMetricsData{ var _local2:GetMetricsData; var _local3:MetricsDataCollection; var _local4:*; var _local5:MetricsData; _local2 = new GetMetricsData(); _local3 = new MetricsDataCollection(); for each (_local4 in _arg1..fb_namespace::metrics) { _local5 = new MetricsData(); _local5.end_time = FacebookXMLParserUtils.toDate(_local4.fb_namespace::end_time); _local5.active_users = _local4.fb_namespace::active_users; _local5.canvas_page_views = _local4.fb_namespace::canvas_page_views; _local3.addItem(_local5); }; _local2.metricsCollection = _local3; return (_local2); } protected function parsePageGetInfo(_arg1:XML):GetPageInfoData{ var _local2:GetPageInfoData; var _local3:PageInfoCollection; var _local4:XMLList; var _local5:Object; var _local6:PageInfoData; _local2 = new GetPageInfoData(); _local3 = new PageInfoCollection(); _local4 = _arg1.fb_namespace::page; for each (_local5 in _local4) { _local6 = new PageInfoData(); _local6.page_id = _local5.fb_namespace::page_id; _local6.name = _local5.fb_namespace::name; _local6.pic_small = _local5.fb_namespace::pic_small; _local6.pic_big = _local5.fb_namespace::pic_big; _local6.pic_square = _local5.fb_namespace::pic_square; _local6.pic_large = _local5.fb_namespace::pic_large; _local6.type = _local5.fb_namespace::type; _local6.website = _local5.fb_namespace::website; _local6.location = FacebookXMLParserUtils.createLocation(_local5.fb_namespace::location[0], fb_namespace); _local6.hours = _local5.fb_namespace::hours; _local6.band_members = _local5.fb_namespace::band_members; _local6.bio = _local5.fb_namespace::bio; _local6.hometown = _local5.fb_namespace::hometown; _local6.genre = FacebookXMLParserUtils.toStringValue(_local5.fb_namespace::genre[0]); _local6.record_label = _local5.fb_namespace::record_label; _local6.influences = _local5.fb_namespace::influences; _local6.has_added_app = FacebookXMLParserUtils.toBoolean(_local5.fb_namespace::has_added_app[0]); _local6.founded = _local5.fb_namespace::founded; _local6.company_overview = _local5.fb_namespace::company_overview; _local6.mission = _local5.fb_namespace::mission; _local6.products = _local5.fb_namespace::products; _local6.release_date = _local5.fb_namespace::release_date; _local6.starring = _local5.fb_namespace::starring; _local6.written_by = _local5.fb_namespace::written_by; _local6.directed_by = _local5.fb_namespace::directed_by; _local6.produced_by = _local5.fb_namespace::produced_by; _local6.studio = _local5.fb_namespace::studio; _local6.awards = _local5.fb_namespace::awards; _local6.plot_outline = _local5.fb_namespace::plot_outline; _local6.network = _local5.fb_namespace::network; _local6.season = _local5.fb_namespace::season; _local6.schedule = _local5.fb_namespace::schedule; _local3.addPageInfo(_local6); }; _local2.pageInfoCollection = _local3; return (_local2); } protected function parseGetTags(_arg1:XML):GetTagsData{ var _local2:GetTagsData; var _local3:PhotoTagCollection; var _local4:*; var _local5:TagData; _local2 = new GetTagsData(); _local3 = new PhotoTagCollection(); for each (_local4 in _arg1..fb_namespace::photo_tag) { _local5 = new TagData(); _local5.text = _local4.fb_namespace::text; _local5.pid = _local4.fb_namespace::pid; _local5.subject = _local4.fb_namespace::subject; _local5.xcoord = _local4.fb_namespace::xcoord; _local5.ycoord = _local4.fb_namespace::ycoord; _local5.created = FacebookXMLParserUtils.toDate(_local4.fb_namespace::created); _local3.addPhotoTag(_local5); }; _local2.photoTagsCollection = _local3; return (_local2); } protected function parseGetGroupMembers(_arg1:XML):GetMemberData{ var _local2:GetMemberData; _local2 = new GetMemberData(); _local2.members = FacebookXMLParserUtils.toUIDArray(_arg1.fb_namespace::members[0]); _local2.admins = FacebookXMLParserUtils.toUIDArray(_arg1.fb_namespace::admins[0]); _local2.officers = FacebookXMLParserUtils.toUIDArray(_arg1.fb_namespace::officers[0]); _local2.notReplied = FacebookXMLParserUtils.toUIDArray(_arg1.fb_namespace::not_replied[0]); return (_local2); } protected function parseGetGroups(_arg1:XML):GetGroupData{ var _local2:GetGroupData; var _local3:GroupCollection; var _local4:*; var _local5:GroupData; _local2 = new GetGroupData(); _local3 = new GroupCollection(); for each (_local4 in _arg1..fb_namespace::group) { _local5 = new GroupData(); _local5.gid = _local4.fb_namespace::gid; _local5.name = _local4.fb_namespace::name; _local5.nid = _local4.fb_namespace::nid; _local5.description = _local4.fb_namespace::description; _local5.group_type = _local4.fb_namespace::group_type; _local5.group_subtype = _local4.fb_namespace::group_subtype; _local5.recent_news = _local4.fb_namespace::recent_news; _local5.pic = _local4.fb_namespace::pic; _local5.pic_big = _local4.fb_namespace::pic_big; _local5.pic_small = _local4.fb_namespace::pic_small; _local5.creator = _local4.fb_namespace::creator; _local5.update_time = FacebookXMLParserUtils.toDate(_local4.fb_namespace::update_time); _local5.office = _local4.fb_namespace::office; _local5.website = _local4.fb_namespace::website; _local5.venue = FacebookXMLParserUtils.createLocation(_local4.fb_namespace::venue[0], fb_namespace); _local5.privacy = _local4.fb_namespace::privacy; _local3.addGroup(_local5); }; _local2.groups = _local3; return (_local2); } protected function parseCreateAlbum(_arg1:XML):GetCreateAlbumData{ var _local2:GetCreateAlbumData; var _local3:AlbumData; _local2 = new GetCreateAlbumData(); _local3 = new AlbumData(); _local3.aid = _arg1.fb_namespace::aid; _local3.cover_pid = _arg1.fb_namespace::cover_pid; _local3.owner = _arg1.fb_namespace::owner; _local3.name = _arg1.fb_namespace::name; _local3.created = FacebookXMLParserUtils.toDate(_arg1.fb_namespace::created); _local3.modified = FacebookXMLParserUtils.toDate(_arg1.fb_namespace::modified); _local3.description = _arg1.fb_namespace::description; _local3.location = _arg1.fb_namespace::location; _local3.link = _arg1.fb_namespace::link; _local3.size = _arg1.fb_namespace::size; _local3.visible = _arg1.fb_namespace::visible; _local2.albumData = _local3; return (_local2); } protected function parseGetAllocation(_arg1:XML):GetAllocationData{ var _local2:GetAllocationData; _local2 = new GetAllocationData(); _local2.allocationLimit = Number(_arg1.toString()); return (_local2); } protected function parseGetCookies(_arg1:XML):GetCookiesData{ var _local2:GetCookiesData; _local2 = new GetCookiesData(); _local2.uid = _arg1.fb_namespace::uid; _local2.name = _arg1.fb_namespace::name; _local2.value = _arg1.fb_namespace::value; _local2.expires = _arg1.fb_namespace::expires; _local2.path = _arg1.fb_namespace::path; return (_local2); } protected function parseGetCustomTags(_arg1:XML):GetCustomTagsData{ var _local2:Array; var _local3:GetCustomTagsData; var _local4:TagCollection; var _local5:*; _local2 = ["type", "name", "open_tag_fbml", "description", "close_tag_fbml", "is_public", "attributes", "header_fbml", "footer_fbml", "fbml"]; _local3 = new GetCustomTagsData(); _local4 = new TagCollection(); for each (_local5 in _arg1..fb_namespace::custom_tag) { _local4.addItem(createTagObject(_local5, _local2)); }; _local3.tagCollection = _local4; return (_local3); } protected function parseGetAlbums(_arg1:XML):GetAlbumsData{ var _local2:GetAlbumsData; _local2 = new GetAlbumsData(); _local2.albumCollection = FacebookXMLParserUtils.createAlbumCollection(_arg1, fb_namespace); return (_local2); } protected function parseGetInfo(_arg1:XML):GetInfoData{ var _local2:FacebookUserCollection; var _local3:XMLList; var _local4:uint; var _local5:uint; var _local6:GetInfoData; var _local7:FacebookUser; _local2 = new FacebookUserCollection(); _local3 = _arg1..fb_namespace::user; _local4 = _local3.length(); _local5 = 0; while (_local5 < _local4) { _local7 = FacebookUserXMLParser.createFacebookUser(_local3[_local5], fb_namespace); _local2.addItem(_local7); _local5++; }; _local6 = new GetInfoData(); _local6.userCollection = _local2; return (_local6); } protected function parseGetLists(_arg1:XML):GetListsData{ var _local2:GetListsData; var _local3:Array; var _local4:*; var _local5:ListsData; _local2 = new GetListsData(); _local3 = []; for each (_local4 in _arg1..fb_namespace::friendlist) { _local5 = new ListsData(); _local5.flid = _local4.fb_namespace::flid; _local5.name = _local4.fb_namespace::name; _local3.push(_local5); }; _local2.lists = _local3; return (_local2); } public function parse(_arg1:String, _arg2:String):FacebookData{ var _local3:FacebookData; var _local4:XML; _local4 = new XML(_arg1); switch (_arg2){ case "application.getPublicInfo": _local3 = parseGetPublicInfo(_local4); break; case "data.getCookies": _local3 = parseGetCookies(_local4); break; case "admin.getAllocation": _local3 = parseGetAllocation(_local4); break; case "admin.getAppProperties": _local3 = parseGetAppProperties(_local4); break; case "admin.getMetrics": _local3 = parseGetMetrics(_local4); break; case "auth.getSession": _local3 = new GetSessionData(); (_local3 as GetSessionData).expires = FacebookXMLParserUtils.toDate(_local4.fb_namespace::expires); (_local3 as GetSessionData).uid = FacebookXMLParserUtils.toStringValue(_local4.fb_namespace::uid[0]); (_local3 as GetSessionData).session_key = _local4.fb_namespace::session_key.toString(); (_local3 as GetSessionData).secret = String(_local4.fb_namespace::secret); break; case "feed.getRegisteredTemplateBundles": _local3 = parseGetRegisteredTemplateBundles(_local4); break; case "friends.areFriends": _local3 = parseAreFriends(_local4); break; case "notes.get": _local3 = parseGetNotes(_local4); break; case "friends.get": _local3 = parseGetFriends(_local4); break; case "friends.getAppUsers": _local3 = parseGetAppUsersData(_local4); break; case "friends.getLists": _local3 = parseGetLists(_local4); break; case "groups.get": _local3 = parseGetGroups(_local4); break; case "data.getAssociationDefinitions": _local3 = new FacebookData(); break; case "data.getAssociationDefinition": _local3 = new FacebookData(); break; case "data.getObject": case "data.getObjects": _local3 = new FacebookData(); break; case "groups.getMembers": _local3 = parseGetGroupMembers(_local4); break; case "users.getInfo": _local3 = parseGetInfo(_local4); break; case "data.createObject": case "data.setHashValue": case "connect.getUnconnectedFriendsCount": case "feed.registerTemplateBundle": _local3 = new NumberResultData(); (_local3 as NumberResultData).value = FacebookXMLParserUtils.toNumber(_local4); break; case "notifications.get": _local3 = parseGetNotifications(_local4); break; case "feed.getRegisteredTemplateBundleByID": _local3 = parseGetRegisteredTemplateBundleByID(_local4); break; case "users.getStandardInfo": _local3 = parseGetStandardInfo(_local4); break; case "feed.getRegisteredTemplateBundles": _local3 = parseGetRegisteredTemplateBundles(_local4); break; case "data.getUserPreferences": _local3 = parseGetUserPreferences(_local4); break; case "users.isAppUser": case "users.hasAppPermission": case "users.setStatus": case "pages.isFan": case "pages.isAppAdded": case "pages.isAdmin": case "admin.setAppProperties": case "auth.expireSession": case "auth.revokeAuthorization": case "events.cancel": case "events.edit": case "events.rsvp": case "liveMessage.send": case "data.undefineAssociation": case "data.defineAssociation": case "data.removeHashKeys": case "data.removeHashKey": case "data.incHashValue": case "data.updateObject": case "data.deleteObject": case "data.deleteObjects": case "data.renameAssociation": case "data.setObjectProperty": case "profile.setInfo": case "profile.setInfoOptions": case "feed.deactivateTemplateBundleByID": case "feed.publishTemplatizedAction": case "admin.setRestrictionInfo": case "data.setCookie": case "data.createObjectType": case "notes.delete": case "notes.edit": case "data.setUserPreference": case "data.dropObjectType": case "data.renameObjectType": case "fbml.registerCustomTags": case "fbml.deleteCustomTags": case "fbml.refreshRefUrl": case "fbml.refreshImgSrc": case "fbml.setRefHandle": case "data.setUserPreferences": case "data.defineObjectProperty": case "photos.addTag": case "stream.addLike": case "stream.removeLike": case "stream.removeComment": case "sms.canSend": _local3 = new BooleanResultData(); (_local3 as BooleanResultData).value = FacebookXMLParserUtils.toBoolean(_local4); break; case "feed.publishUserAction": _local3 = new BooleanResultData(); (_local3 as BooleanResultData).value = FacebookXMLParserUtils.toBoolean(_local4.children()[0]); break; case "notifications.sendEmail": _local3 = parseSendEmail(_local4); break; case "data.getObjectTypes": _local3 = parseGetObjectTypes(_local4); break; case "users.getStandardInfo": _local3 = parseGetStandardInfo(_local4); break; case "data.getObjectType": _local3 = parseGetObjectType(_local4); break; case "events.get": _local3 = parseGetEvent(_local4); break; case "events.getMembers": _local3 = parseGetMembers(_local4); break; case "fql.multiquery": _local3 = new FacebookData(); break; case "fql.query": _local3 = new FacebookData(); break; case "photos.createAlbum": _local3 = parseCreateAlbum(_local4); break; case "photos.get": _local3 = parseGetPhotos(_local4); break; case "photos.getTags": _local3 = parseGetTags(_local4); break; case "photos.getAlbums": _local3 = parseGetAlbums(_local4); break; case "photos.upload": _local3 = parseFacebookPhoto(_local4); break; case "pages.getInfo": _local3 = parsePageGetInfo(_local4); break; case "batch.run": _local3 = parseBatchRun(_local4); break; case "fbml.getCustomTags": _local3 = parseGetCustomTags(_local4); break; case "connect.unregisterUsers": case "connect.registerUsers": _local3 = new ArrayResultData(); (_local3 as ArrayResultData).arrayResult = FacebookXMLParserUtils.toArray(_local4); break; case "status.get": _local3 = parseGetStatus(_local4); break; case "stream.get": _local3 = FacebookStreamXMLParser.createStream(_local4, fb_namespace); break; case "stream.getComments": _local3 = FacebookStreamXMLParser.createGetCommentsData(_local4, fb_namespace); break; case "stream.getFilters": _local3 = FacebookStreamXMLParser.createStreamFilterCollection(_local4, fb_namespace); break; case "auth.createToken": case "events.create": case "links.post": case "auth.promoteSession": case "admin.getRestrictionInfo": case "data.getObjectProperty": case "notifications.send": case "notes.create": case "data.getUserPreference": case "profile.setFBML": case "users.getLoggedInUser": case "stream.addComment": default: _local3 = new StringResultData(); (_local3 as StringResultData).value = FacebookXMLParserUtils.toStringValue(_local4); break; }; _local3.rawResult = _arg1; return (_local3); } protected function parseGetAppUsersData(_arg1:XML):GetAppUserData{ var _local2:Array; var _local3:GetAppUserData; _local2 = FacebookXMLParserUtils.toUIDArray(_arg1); _local3 = new GetAppUserData(); _local3.uids = _local2; return (_local3); } protected function parseGetStatus(_arg1:XML):GetStatusData{ var _local2:GetStatusData; var _local3:Array; var _local4:XMLList; var _local5:uint; var _local6:uint; var _local7:XML; var _local8:Status; _local2 = new GetStatusData(); _local3 = []; _local4 = _arg1.children(); _local5 = _local4.length(); _local6 = 0; while (_local6 < _local5) { _local7 = _local4[_local6]; _local8 = new Status(); _local8.uid = FacebookXMLParserUtils.toStringValue(_local7.fb_namespace::uid[0]); _local8.status_id = FacebookXMLParserUtils.toStringValue(_local7.fb_namespace::status_id[0]); _local8.time = FacebookXMLParserUtils.toDate(_local7.fb_namespace::time[0]); _local8.source = FacebookXMLParserUtils.toStringValue(_local7.fb_namespace::source[0]); _local8.message = FacebookXMLParserUtils.toStringValue(_local7.fb_namespace::message[0]); _local3.push(_local8); _local6++; }; _local2.status = _local3; return (_local2); } protected function parseGetMembers(_arg1:XML):GetMembersData{ var _local2:GetMembersData; _local2 = new GetMembersData(); _local2.attending = FacebookXMLParserUtils.toUIDArray(_arg1..fb_namespace::attending[0]); _local2.unsure = FacebookXMLParserUtils.toUIDArray(_arg1..fb_namespace::unsure[0]); _local2.declined = FacebookXMLParserUtils.toUIDArray(_arg1..fb_namespace::declined[0]); _local2.not_replied = FacebookXMLParserUtils.toUIDArray(_arg1..fb_namespace::not_replied[0]); return (_local2); } protected function parseGetEvent(_arg1:XML):GetEventsData{ var _local2:GetEventsData; var _local3:EventCollection; var _local4:*; var _local5:EventData; _local2 = new GetEventsData(); _local3 = new EventCollection(); for each (_local4 in _arg1..fb_namespace::event) { _local5 = new EventData(); _local5.eid = _local4.fb_namespace::eid; _local5.name = _local4.fb_namespace::name; _local5.tagline = _local4.fb_namespace::tagline; _local5.nid = _local4.fb_namespace::nid; _local5.pic = _local4.fb_namespace::pic; _local5.pic_big = _local4.fb_namespace::pic_big; _local5.pic_small = _local4.fb_namespace::pic_small; _local5.host = _local4.fb_namespace::host; _local5.description = _local4.fb_namespace::description; _local5.event_type = _local4.fb_namespace::event_type; _local5.event_subtype = _local4.fb_namespace::event_subtype; _local5.start_time = FacebookXMLParserUtils.toDate(_local4.fb_namespace::start_time); _local5.end_time = FacebookXMLParserUtils.toDate(_local4.fb_namespace::end_time); _local5.creator = _local4.fb_namespace::end_time; _local5.update_time = FacebookXMLParserUtils.toDate(_local4.fb_namespace::update_time); _local5.location = _local4.fb_namespace::location; _local5.venue = FacebookXMLParserUtils.createLocation(_local4.fb_namespace::venue[0], fb_namespace); _local3.addItem(_local5); }; _local2.eventCollection = _local3; return (_local2); } protected function parseGetFriends(_arg1:XML):GetFriendsData{ var _local2:GetFriendsData; var _local3:FacebookUserCollection; var _local4:*; var _local5:FacebookUser; _local2 = new GetFriendsData(); _local3 = new FacebookUserCollection(); for each (_local4 in _arg1..fb_namespace::uid) { _local5 = new FacebookUser(); _local5.uid = _local4; _local3.addItem(_local5); }; _local2.friends = _local3; return (_local2); } protected function parseGetPublicInfo(_arg1:XML):GetPublicInfoData{ var _local2:GetPublicInfoData; _local2 = new GetPublicInfoData(); _local2.app_id = _arg1.fb_namespace::app_id; _local2.api_key = _arg1.fb_namespace::api_key; _local2.canvas_name = _arg1.fb_namespace::canvas_name; _local2.display_name = _arg1.fb_namespace::display_name; _local2.icon_url = _arg1.fb_namespace::icon_url; _local2.logo_url = _arg1.fb_namespace::logo_url; _local2.developers = _arg1.fb_namespace::developers; _local2.company_name = _arg1.fb_namespace::company_name; _local2.developers = _arg1.fb_namespace::developers; _local2.daily_active_users = _arg1.fb_namespace::daily_active_users; _local2.weekly_active_users = _arg1.fb_namespace::weekly_active_users; _local2.monthly_active_users = _arg1.fb_namespace::monthly_active_users; _local2.description = _arg1.fb_namespace::description; return (_local2); } protected function parseAreFriends(_arg1:XML):AreFriendsData{ var _local2:AreFriendsData; var _local3:FriendsCollection; var _local4:*; var _local5:FriendsData; _local2 = new AreFriendsData(); _local3 = new FriendsCollection(); for each (_local4 in _arg1..fb_namespace::friend_info) { _local5 = new FriendsData(); _local5.uid1 = _local4.fb_namespace::uid1; _local5.uid2 = _local4.fb_namespace::uid2; _local5.are_friends = FacebookXMLParserUtils.toBoolean(XML(_local4.fb_namespace::are_friends.toXMLString())); _local3.addItem(_local5); }; _local2.friendsCollection = _local3; return (_local2); } public function validateFacebookResponce(_arg1:String):FacebookError{ var error:FacebookError; var xml:XML; var xmlError:Error; var hasXMLError:Boolean; var result = _arg1; error = null; hasXMLError = false; try { xml = new XML(result); } catch(e) { xmlError = e; hasXMLError = true; }; if (hasXMLError == false){ if (xml.localName() == "error_response"){ error = new FacebookError(); error.rawResult = result; error.errorCode = Number(xml.fb_namespace::error_code); error.errorMsg = xml.fb_namespace::error_msg; error.requestArgs = FacebookXMLParserUtils.xmlToUrlVariables(xml..arg); }; return (error); }; if (hasXMLError == true){ error = new FacebookError(); error.error = xmlError; error.errorCode = -1; }; return (error); } protected function parseBatchRun(_arg1:XML):FacebookData{ var _local2:XMLList; var _local3:uint; var _local4:Array; var _local5:uint; var _local6:BatchResult; var _local7:String; var _local8:XML; var _local9:FacebookError; var _local10:String; var _local11:FacebookData; _local2 = _arg1..fb_namespace::batch_run_response_elt; _local3 = _local2.length(); _local4 = []; _local5 = 0; while (_local5 < _local3) { _local7 = _local2[_local5].toString(); _local8 = new XML(_local7); _local9 = validateFacebookResponce(_local7); if (_local9 === null){ _local10 = responseNodeNameToMethodName(_local8.localName().toString()); _local11 = parse(_local7, _local10); _local4.push(_local11); } else { _local4.push(_local9); }; _local5++; }; _local6 = new BatchResult(); _local6.results = _local4; return (_local6); } protected function getTemplate(_arg1:XMLList, _arg2:TemplateCollection):void{ var _local3:*; var _local4:TemplateData; for each (_local3 in _arg1) { _local4 = new TemplateData(); _local4.type = _local3.localName(); _local4.template_body = _local3.fb_namespace::template_body; _local4.template_title = _local3.fb_namespace::template_title; _arg2.addTemplateData(_local4); }; } } }//package com.facebook.data
Section 359
//AbstractFileUploadDelegate (com.facebook.delegates.AbstractFileUploadDelegate) package com.facebook.delegates { import flash.utils.*; import com.facebook.net.*; import flash.net.*; import com.facebook.utils.*; import com.facebook.session.*; import flash.events.*; public class AbstractFileUploadDelegate extends WebDelegate { protected var ba:ByteArray; public function AbstractFileUploadDelegate(_arg1:FacebookCall, _arg2:WebSession){ super(_arg1, _arg2); ba = new ByteArray(); } override protected function onDataComplete(_arg1:Event):void{ var _local2:ByteArray; var _local3:String; _local2 = (_arg1.target.data as ByteArray); if (_local2 == null){ super.onDataComplete(_arg1); } else { _local3 = _local2.readUTFBytes(_local2.length); _local2.length = 0; _local2 = null; handleResult(_local3); }; } protected function getContentType():String{ return (null); } protected function uploadByteArray(_arg1:ByteArray):void{ var _local2:PostRequest; var _local3:String; var _local4:URLRequest; _local2 = new PostRequest(); for (_local3 in call.args) { if (_local3 != "data"){ _local2.writePostData(_local3, call.args[_local3]); }; }; _local2.writeFileData(((("fn" + call.args["call_id"]) + ".") + getExt()), _arg1, getContentType()); _local2.close(); _local4 = new URLRequest(); _local4.method = URLRequestMethod.POST; _local4.contentType = ("multipart/form-data; boundary=" + _local2.boundary); _local4.data = _local2.getPostData(); _local4.url = _session.rest_url; createURLLoader(); loader.dataFormat = URLLoaderDataFormat.BINARY; loader.load(_local4); } protected function getExt():String{ return (null); } protected function onFileRefComplete(_arg1:Event):void{ fileRef = (call.args.data as FileReference); uploadByteArray(fileRef["data"]); } } }//package com.facebook.delegates
Section 360
//DesktopDelegate (com.facebook.delegates.DesktopDelegate) package com.facebook.delegates { import com.facebook.net.*; import com.facebook.session.*; public class DesktopDelegate extends WebDelegate { public function DesktopDelegate(_arg1:FacebookCall, _arg2:DesktopSession){ super(_arg1, _arg2); } override protected function addOptionalArguments():void{ } } }//package com.facebook.delegates
Section 361
//IFacebookCallDelegate (com.facebook.delegates.IFacebookCallDelegate) package com.facebook.delegates { import com.facebook.net.*; import com.facebook.session.*; import flash.events.*; public interface IFacebookCallDelegate extends IEventDispatcher { function set session(_arg1:IFacebookSession):void; function get session():IFacebookSession; function close():void; function set call(_arg1:FacebookCall):void; function get call():FacebookCall; } }//package com.facebook.delegates
Section 362
//JSDelegate (com.facebook.delegates.JSDelegate) package com.facebook.delegates { import com.facebook.net.*; import com.adobe.serialization.json.*; import com.facebook.data.*; import com.facebook.errors.*; import com.facebook.utils.*; import com.facebook.session.*; import flash.events.*; import com.facebook.*; import flash.external.*; public class JSDelegate extends EventDispatcher implements IFacebookCallDelegate { protected var _session:JSSession; protected var _call:FacebookCall; protected static var externalInterfaceCalls:Object = {}; protected static var externalInterfaceCallId:Number = 0; public function JSDelegate(_arg1:FacebookCall, _arg2:JSSession){ this.call = _arg1; this.session = _arg2; execute(); } public function set session(_arg1:IFacebookSession):void{ this._session = (_arg1 as JSSession); } protected function onReceiveStatus(_arg1:StatusEvent):void{ var _local2:FacebookError; switch ((_arg1.level == "error")){ case "error": _local2 = new FacebookError(); _local2.rawResult = _arg1.level; var _local3 = call; _local3.facebook_internal::handleError(_local2); break; case "warning": case "status": break; }; } public function get session():IFacebookSession{ return (_session); } protected function onReceiveError(_arg1:ErrorEvent):void{ var _local2:FacebookError; _local2 = new FacebookError(); _local2.errorEvent = _arg1; var _local3 = call; _local3.facebook_internal::handleError(_local2); } public function get call():FacebookCall{ return (_call); } protected function buildCall():String{ var _local1:String; var _local2:Object; var _local3:String; var _local4:String; _local1 = ("bridgeFacebookCall_" + externalInterfaceCallId); RequestHelper.formatRequest(call); _local2 = {}; for (_local3 in call.args) { _local2[_local3] = call.args[_local3]; }; _local4 = (((((((((((((((("function " + _local1) + "() { ") + "FB.Facebook.apiClient.callMethod(\"") + call.method) + "\", ") + JavascriptRequestHelper.formatURLVariables(call.args)) + ", ") + "function(result, exception) {") + "document.") + (_session as JSSession).as_swf_name) + ".bridgeFacebookReply(result, exception, ") + externalInterfaceCallId) + ")") + "}") + ");") + "}"); return (_local4); } protected function execute():void{ var _local1:Array; var _local2:Object; var _local3:String; _local1 = []; for each (_local2 in call.args) { _local1.push(_local2); }; var _local4 = ++externalInterfaceCallId; externalInterfaceCalls[_local4] = call; _local3 = buildCall(); ExternalInterface.addCallback("bridgeFacebookReply", postBridgeAsyncReply); ExternalInterface.call(_local3); } protected function postBridgeAsyncReply(_arg1:Object, _arg2:Object, _arg3:uint):void{ var _local4:FacebookCall; var _local5:JSONResultData; var _local6:FacebookError; _local4 = externalInterfaceCalls[_arg3]; if (_arg1){ _local5 = new JSONResultData(); _local5.result = _arg1; var _local7 = _local4; _local7.facebook_internal::handleResult(_local5); } else { _local6 = new FacebookError(); _local6.rawResult = JSON.encode(_arg2); _local7 = _local4; _local7.facebook_internal::handleError(_local6); }; delete externalInterfaceCalls[_arg3]; } public function set call(_arg1:FacebookCall):void{ this._call = _arg1; } public function close():void{ } } }//package com.facebook.delegates
Section 363
//RequestHelper (com.facebook.delegates.RequestHelper) package com.facebook.delegates { import flash.display.*; import flash.utils.*; import com.facebook.net.*; import flash.net.*; import com.facebook.session.*; import com.adobe.crypto.*; public class RequestHelper { protected static var callID:int = 0; public static function formatRequest(_arg1:FacebookCall):void{ var _local2:IFacebookSession; var _local3:String; _local2 = _arg1.session; _arg1.setRequestArgument("v", _local2.api_version); if (_local2.api_key != null){ _arg1.setRequestArgument("api_key", _local2.api_key); }; if (((!((_local2.session_key == null))) && (_arg1.useSession))){ _arg1.setRequestArgument("session_key", _local2.session_key); }; _local3 = (new Date().time.toString() + callID++.toString()); _arg1.setRequestArgument("call_id", _local3); _arg1.setRequestArgument("method", _arg1.method); _arg1.setRequestArgument("sig", formatSig(_arg1)); } public static function formatSig(_arg1:FacebookCall):String{ var _local2:IFacebookSession; var _local3:Array; var _local4:String; var _local5:String; var _local6:*; _local2 = _arg1.session; _local3 = []; for (_local4 in _arg1.args) { _local6 = _arg1.args[_local4]; if (((((((((!((_local4 === "sig"))) && (!((_local6 is ByteArray))))) && (!((_local6 is FileReference))))) && (!((_local6 is BitmapData))))) && (!((_local6 is Bitmap))))){ _local3.push(((_local4 + "=") + _local6.toString())); }; }; _local3.sort(); _local5 = _local3.join(""); if (_local2.secret != null){ _local5 = (_local5 + _local2.secret); }; return (MD5.hash(_local5)); } } }//package com.facebook.delegates
Section 364
//WebDelegate (com.facebook.delegates.WebDelegate) package com.facebook.delegates { import com.facebook.net.*; import com.facebook.data.*; import com.facebook.errors.*; import flash.net.*; import com.facebook.session.*; import flash.events.*; import com.facebook.events.*; public class WebDelegate extends EventDispatcher implements IFacebookCallDelegate { protected var loader:URLLoader; protected var _session:WebSession; protected var parser:XMLDataParser; protected var fileRef:FileReference; protected var _call:FacebookCall; public function WebDelegate(_arg1:FacebookCall, _arg2:WebSession){ this.call = _arg1; this.session = _arg2; parser = new XMLDataParser(); execute(); } protected function addOptionalArguments():void{ call.setRequestArgument("ss", true); } protected function clean():void{ if (loader == null){ return; }; loader.removeEventListener(Event.COMPLETE, onDataComplete); loader.removeEventListener(IOErrorEvent.IO_ERROR, onError); loader.removeEventListener(SecurityErrorEvent.SECURITY_ERROR, onError); } protected function handleResult(_arg1:String):void{ var _local2:FacebookError; var _local3:FacebookData; clean(); _local2 = parser.validateFacebookResponce(_arg1); if (_local2 == null){ _local3 = parser.parse(_arg1, call.method); call.handleResult(_local3); } else { call.handleError(_local2); }; } public function get session():IFacebookSession{ return (_session); } protected function onDataComplete(_arg1:Event):void{ handleResult((_arg1.target.data as String)); } public function get call():FacebookCall{ return (_call); } protected function post():void{ addOptionalArguments(); RequestHelper.formatRequest(call); sendRequest(); } protected function execute():void{ if (call == null){ throw (new Error("No call defined.")); }; post(); } protected function sendRequest():void{ var _local1:URLRequest; createURLLoader(); _local1 = new URLRequest(_session.rest_url); _local1.contentType = "application/x-www-form-urlencoded"; _local1.method = URLRequestMethod.POST; _local1.data = call.args; trace(((_local1.url + "?") + unescape(call.args.toString()))); loader.dataFormat = URLLoaderDataFormat.TEXT; loader.load(_local1); } protected function createURLLoader():void{ loader = new URLLoader(); loader.addEventListener(Event.COMPLETE, onDataComplete); loader.addEventListener(HTTPStatusEvent.HTTP_STATUS, onHTTPStatus); loader.addEventListener(IOErrorEvent.IO_ERROR, onError); loader.addEventListener(SecurityErrorEvent.SECURITY_ERROR, onError); } protected function onError(_arg1:ErrorEvent):void{ var _local2:FacebookError; clean(); _local2 = parser.createFacebookError(_arg1, loader.data); call.handleError(_local2); dispatchEvent(new FacebookEvent(FacebookEvent.COMPLETE, false, false, false, null, _local2)); } public function set session(_arg1:IFacebookSession):void{ _session = (_arg1 as WebSession); } public function close():void{ try { loader.close(); } catch(e) { }; } protected function onHTTPStatus(_arg1:HTTPStatusEvent):void{ } public function set call(_arg1:FacebookCall):void{ _call = _arg1; } } }//package com.facebook.delegates
Section 365
//WebImageUploadDelegate (com.facebook.delegates.WebImageUploadDelegate) package com.facebook.delegates { import flash.display.*; import flash.utils.*; import com.adobe.images.*; import com.facebook.net.*; import flash.net.*; import com.facebook.utils.*; import com.facebook.session.*; import flash.events.*; import com.facebook.commands.photos.*; public class WebImageUploadDelegate extends AbstractFileUploadDelegate { public function WebImageUploadDelegate(_arg1:FacebookCall, _arg2:WebSession){ super(_arg1, _arg2); } override protected function getContentType():String{ return ("Content-Type: image/jpg"); } override protected function sendRequest():void{ var _local1:ByteArray; var _local2:URLRequest; var _local3:Object; var _local4:JPGEncoder; _local2 = new URLRequest(_session.rest_url); _local3 = call.args.data; if (_local3 == null){ super.sendRequest(); return; }; if ((((PlayerUtils.majorVersion == 9)) && ((_local3 is FileReference)))){ throw (new TypeError("Uploading FileReference with Player 9 is unsupported. Use either an BitmapData or ByteArray.")); }; if ((_local3 is Bitmap)){ _local3 = (_local3 as Bitmap).bitmapData; }; if ((((PlayerUtils.majorVersion == 10)) && ((_local3 is FileReference)))){ _local1 = (_local3 as FileReference)["load"](); fileRef = (_local3 as FileReference); fileRef.addEventListener(Event.COMPLETE, onFileRefComplete); } else { if ((_local3 is ByteArray)){ uploadByteArray((_local3 as ByteArray)); } else { if ((_local3 is BitmapData)){ switch ((call as UploadPhoto).uploadType){ case UploadPhotoTypes.JPEG: _local4 = new JPGEncoder((call as UploadPhoto).uploadQuality); ba = _local4.encode((_local3 as BitmapData)); break; case UploadPhotoTypes.PNG: ba = PNGEncoder.encode((_local3 as BitmapData)); break; }; uploadByteArray(ba); } else { throw (new Error((("Error data type " + call.args.data) + " is not supported. Please use one of the following types: FileReference, ByteArray, BitmapData or Bitmap."))); }; }; }; } override protected function getExt():String{ return ((((call as IUploadPhoto).uploadType == UploadPhotoTypes.JPEG)) ? "jpeg" : "png"); } } }//package com.facebook.delegates
Section 366
//VideoUploadDelegate (com.facebook.delegates.VideoUploadDelegate) package com.facebook.delegates { import flash.utils.*; import com.facebook.net.*; import flash.net.*; import com.facebook.utils.*; import com.facebook.session.*; import flash.events.*; import com.facebook.commands.video.*; public class VideoUploadDelegate extends AbstractFileUploadDelegate { public function VideoUploadDelegate(_arg1:FacebookCall, _arg2:WebSession){ super(_arg1, _arg2); } override protected function getContentType():String{ return (("Content-Type: video/" + (call as UploadVideo).ext)); } override protected function sendRequest():void{ var _local1:ByteArray; var _local2:URLRequest; var _local3:Object; _local2 = new URLRequest(_session.rest_url); _local3 = call.args.data; if ((((PlayerUtils.majorVersion == 9)) && ((_local3 is FileReference)))){ throw (new TypeError("Uploading FileReference with Player 9 is unsupported. Use ByteArray.")); }; if ((((PlayerUtils.majorVersion == 10)) && ((_local3 is FileReference)))){ _local1 = (_local3 as FileReference)["load"](); fileRef = (_local3 as FileReference); fileRef.addEventListener(Event.COMPLETE, onFileRefComplete); } else { if ((_local3 is ByteArray)){ uploadByteArray((_local3 as ByteArray)); } else { throw (new Error((("Error data type " + call.args.data) + " is not supported. Please use one of the following types: FileReference or ByteArray."))); }; }; } override protected function getExt():String{ return ((call as UploadVideo).ext); } } }//package com.facebook.delegates
Section 367
//FacebookError (com.facebook.errors.FacebookError) package com.facebook.errors { import com.facebook.data.*; import flash.net.*; import flash.events.*; public class FacebookError extends FacebookData { public var reason:String; public var error:Error; public var requestArgs:URLVariables; public var errorCode:Number; public var errorMsg:String; public var errorEvent:ErrorEvent; } }//package com.facebook.errors
Section 368
//FacebookEvent (com.facebook.events.FacebookEvent) package com.facebook.events { import com.facebook.data.*; import com.facebook.errors.*; import flash.events.*; public class FacebookEvent extends Event { public var success:Boolean; public var permission:String; public var error:FacebookError; public var hasPermission:Boolean; public var data:FacebookData; public static const PERMISSIONS_LOADED:String = "permissionsLoaded"; public static const LOGOUT:String = "logout"; public static const CONNECT:String = "connect"; public static const VERIFYING_SESSION:String = "verifyingSession"; public static const WAITING_FOR_LOGIN:String = "waitingForLogin"; public static const PERMISSION_CHANGE:String = "permissionChanged"; public static const PERMISSION_STATUS:String = "permissionStatus"; public static const LOGIN_SUCCESS:String = "loginSuccess"; public static const ERROR:String = "facebookEventError"; public static const PERMISSIONS_WINDOW_SHOW:String = "permissionsWindowShow"; public static const LOGIN_FAILURE:String = "loginFailure"; public static const LOGIN_WINDOW_SHOW:String = "loginWindoShow"; public static const COMPLETE:String = "complete"; public function FacebookEvent(_arg1:String, _arg2:Boolean=false, _arg3:Boolean=false, _arg4:Boolean=false, _arg5:FacebookData=null, _arg6:FacebookError=null, _arg7:String="", _arg8:Boolean=false){ this.success = _arg4; this.data = _arg5; this.error = _arg6; this.permission = _arg7; this.hasPermission = _arg8; super(_arg1, _arg2, _arg3); } override public function clone():Event{ return (new FacebookEvent(type, bubbles, cancelable, success, data, error)); } override public function toString():String{ return (formatToString("FacebookEvent", "type", "success", "data", "error")); } } }//package com.facebook.events
Section 369
//FacebookCall (com.facebook.net.FacebookCall) package com.facebook.net { import com.facebook.data.*; import com.facebook.errors.*; import flash.net.*; import com.facebook.delegates.*; import com.facebook.session.*; import flash.events.*; import com.facebook.events.*; import com.facebook.*; public class FacebookCall extends EventDispatcher { public var success:Boolean;// = false public var delegate:IFacebookCallDelegate; public var error:FacebookError; public var session:IFacebookSession; public var result:FacebookData; public var method:String; public var args:URLVariables; public var useSession:Boolean;// = true public function FacebookCall(_arg1:String="no_method_required", _arg2:URLVariables=null){ success = false; useSession = true; super(); this.method = _arg1; this.args = ((_arg2)!=null) ? _arg2 : new URLVariables(); } facebook_internal function clearRequestArguments():void{ this.args = new URLVariables(); } facebook_internal function initialize():void{ } facebook_internal function handleError(_arg1:FacebookError):void{ this.error = _arg1; success = false; dispatchEvent(new FacebookEvent(FacebookEvent.COMPLETE, false, false, false, null, _arg1)); } facebook_internal function setRequestArgument(_arg1:String, _arg2:Object):void{ if ((((_arg2 is Number)) && (isNaN((_arg2 as Number))))){ return; }; if (((((_arg1) && (!((_arg2 == null))))) && ((String(_arg2).length > 0)))){ this.args[_arg1] = _arg2; }; } protected function applySchema(_arg1:Array, ... _args):void{ var _local3:uint; var _local4:uint; _local3 = _arg1.length; _local4 = 0; while (_local4 < _local3) { setRequestArgument(_arg1[_local4], _args[_local4]); _local4++; }; } facebook_internal function handleResult(_arg1:FacebookData):void{ this.result = _arg1; success = true; dispatchEvent(new FacebookEvent(FacebookEvent.COMPLETE, false, false, true, _arg1)); } } }//package com.facebook.net
Section 370
//IUploadPhoto (com.facebook.net.IUploadPhoto) package com.facebook.net { public interface IUploadPhoto { function set data(_arg1:Object):void; function set uploadType(_arg1:String):void; function get data():Object; function get uploadType():String; function set uploadQuality(_arg1:uint):void; function get uploadQuality():uint; } }//package com.facebook.net
Section 371
//IUploadVideo (com.facebook.net.IUploadVideo) package com.facebook.net { public interface IUploadVideo { function set title(_arg1:String):void; function set ext(_arg1:String):void; function get title():String; function get ext():String; function get description():String; function set description(_arg1:String):void; } }//package com.facebook.net
Section 372
//DesktopSession (com.facebook.session.DesktopSession) package com.facebook.session { import com.facebook.net.*; import com.facebook.data.*; import com.facebook.errors.*; import flash.net.*; import com.facebook.delegates.*; import com.facebook.events.*; import com.facebook.data.auth.*; import com.facebook.*; import com.facebook.commands.auth.*; import com.facebook.commands.users.*; public class DesktopSession extends WebSession implements IFacebookSession { protected var _waiting_for_login:Boolean;// = false protected var _auth_token:String; protected var _offline_access:Boolean;// = false protected var loginRequest:IFacebookCallDelegate; public function DesktopSession(_arg1:String, _arg2:String=null, _arg3:String=null){ _waiting_for_login = false; _offline_access = false; super(_arg1, null); this._is_connected = false; this._secret = _arg2; if (_arg3){ this._session_key = _arg3; }; } override public function get waiting_for_login():Boolean{ return (_waiting_for_login); } protected function onVerifyLogin(_arg1:FacebookEvent):void{ var _local2:FacebookEvent; _local2 = new FacebookEvent(FacebookEvent.CONNECT); _local2.success = _arg1.success; if (_arg1.success){ facebook_internal::_uid = (_arg1.data as StringResultData).value; _local2.data = _arg1.data; _is_connected = true; } else { _local2.error = _arg1.error; _is_connected = false; }; dispatchEvent(_local2); } override public function post(_arg1:FacebookCall):IFacebookCallDelegate{ rest_url = REST_URL; if ((_arg1 is IUploadPhoto)){ return (new WebImageUploadDelegate(_arg1, this)); }; if ((_arg1 is IUploadVideo)){ rest_url = VIDEO_URL; return (new VideoUploadDelegate(_arg1, this)); }; return (new DesktopDelegate(_arg1, this)); } protected function validateSessionReply(_arg1:FacebookEvent):void{ var _local2:GetSessionData; if (_arg1.success){ _local2 = (_arg1.data as GetSessionData); facebook_internal::_uid = _local2.uid; this._session_key = _local2.session_key; this._expires = _local2.expires; this._secret = ((((_local2.secret == null)) || ((_local2.secret == "")))) ? this._secret : _local2.secret; _is_connected = true; dispatchEvent(new FacebookEvent(FacebookEvent.CONNECT, false, false, true, _local2)); } else { onConnectionError(_arg1.error); }; } protected function tokenCreated():void{ navigateToURL(new URLRequest(login_url)); } override public function refreshSession():void{ var _local1:GetSession; _waiting_for_login = false; _local1 = new GetSession(_auth_token); _local1.session = this; var _local2 = _local1; _local2.facebook_internal::initialize(); _local1.addEventListener(FacebookEvent.COMPLETE, validateSessionReply); post(_local1); } protected function onLogin(_arg1:FacebookEvent):void{ var _local2:URLRequest; var _local3:String; _arg1.target.removeEventListener(FacebookEvent.COMPLETE, onLogin); if (_arg1.success){ _auth_token = (_arg1.data as StringResultData).value; _local2 = new URLRequest(); _local3 = "?"; if (_offline_access){ _local3 = (_local3 + "ext_perm=offline_access&"); }; _local2.url = (((((((login_url + _local3) + "api_key=") + api_key) + "&v=") + api_version) + "&auth_token=") + _auth_token); navigateToURL(_local2, "_blank"); _waiting_for_login = true; dispatchEvent(new FacebookEvent(FacebookEvent.WAITING_FOR_LOGIN)); } else { onConnectionError(_arg1.error); }; } override public function verifySession():void{ var _local1:FacebookCall; if (_session_key){ _local1 = new GetLoggedInUser(); _local1.session = this; var _local2 = _local1; _local2.facebook_internal::initialize(); _local1.addEventListener(FacebookEvent.COMPLETE, onVerifyLogin, false, 0, true); post(_local1); dispatchEvent(new FacebookEvent(FacebookEvent.VERIFYING_SESSION)); } else { _is_connected = false; dispatchEvent(new FacebookEvent(FacebookEvent.CONNECT)); }; } override public function login(_arg1:Boolean):void{ var _local2:FacebookCall; _offline_access = _arg1; _session_key = null; _local2 = new CreateToken(); _local2.session = this; var _local3 = _local2; _local3.facebook_internal::initialize(); _local2.addEventListener(FacebookEvent.COMPLETE, onLogin); post(_local2); } protected function onConnectionError(_arg1:FacebookError):void{ _is_connected = false; dispatchEvent(new FacebookEvent(FacebookEvent.CONNECT, false, false, false, null, _arg1)); } } }//package com.facebook.session
Section 373
//IFacebookSession (com.facebook.session.IFacebookSession) package com.facebook.session { import com.facebook.net.*; import com.facebook.delegates.*; import flash.events.*; public interface IFacebookSession extends IEventDispatcher { function get rest_url():String; function get waiting_for_login():Boolean; function get api_key():String; function get is_connected():Boolean; function get uid():String; function set rest_url(_arg1:String):void; function verifySession():void; function set secret(_arg1:String):void; function post(_arg1:FacebookCall):IFacebookCallDelegate; function login(_arg1:Boolean):void; function set session_key(_arg1:String):void; function get secret():String; function get expires():Date; function get session_key():String; function get api_version():String; function refreshSession():void; } }//package com.facebook.session
Section 374
//JSSession (com.facebook.session.JSSession) package com.facebook.session { import com.facebook.net.*; import com.facebook.delegates.*; import flash.events.*; import com.facebook.events.*; import com.facebook.*; import com.facebook.commands.users.*; public class JSSession extends EventDispatcher implements IFacebookSession { public var _api_key:String; public var as_swf_name:String; protected var _session_key:String; public function JSSession(_arg1:String, _arg2:String){ this._api_key = _arg1; this.as_swf_name = _arg2; } public function get rest_url():String{ return (null); } public function set rest_url(_arg1:String):void{ } public function get waiting_for_login():Boolean{ return (true); } protected function onVerifyLogin(_arg1:FacebookEvent):void{ if (_arg1.success){ dispatchEvent(new FacebookEvent(FacebookEvent.CONNECT, false, false, true)); } else { dispatchEvent(new FacebookEvent(FacebookEvent.CONNECT, false, false, false)); }; } public function get is_sessionless():Boolean{ return (true); } public function post(_arg1:FacebookCall):IFacebookCallDelegate{ return (new JSDelegate(_arg1, this)); } public function get secret():String{ return (null); } public function get api_version():String{ return ("1.0"); } public function get is_connected():Boolean{ return (true); } public function get session_key():String{ return (_session_key); } public function get api_key():String{ return (_api_key); } public function get expires():Date{ return (null); } public function get uid():String{ return (null); } public function refreshSession():void{ } public function verifySession():void{ var _local1:FacebookCall; _local1 = new GetLoggedInUser(); _local1.addEventListener(FacebookEvent.COMPLETE, onVerifyLogin); _local1.session = this; var _local2 = _local1; _local2.facebook_internal::initialize(); post(_local1); } public function set secret(_arg1:String):void{ } public function login(_arg1:Boolean):void{ } public function set session_key(_arg1:String):void{ _session_key = _arg1; } } }//package com.facebook.session
Section 375
//WebSession (com.facebook.session.WebSession) package com.facebook.session { import com.facebook.net.*; import com.facebook.delegates.*; import flash.events.*; import com.facebook.events.*; import com.facebook.*; public class WebSession extends EventDispatcher implements IFacebookSession { protected var _api_key:String; protected var _api_version:String;// = "1.0" facebook_internal var _uid:String; protected var _is_connected:Boolean;// = false public var login_url:String;// = "http://www.facebook.com/login.php" protected var _secret:String; protected var _rest_url:String;// = "http://api.facebook.com/restserver.php" protected var _expires:Date; protected var _session_key:String; public static const VIDEO_URL:String = "http://api-video.facebook.com/restserver.php"; public static const REST_URL:String = "http://api.facebook.com/restserver.php"; public function WebSession(_arg1:String, _arg2:String, _arg3:String=null){ _api_version = "1.0"; _is_connected = false; _rest_url = REST_URL; login_url = "http://www.facebook.com/login.php"; super(); this._api_key = _arg1; this._session_key = _arg3; this.secret = _arg2; } public function get rest_url():String{ return (_rest_url); } public function set rest_url(_arg1:String):void{ _rest_url = _arg1; } public function get waiting_for_login():Boolean{ return (false); } public function post(_arg1:FacebookCall):IFacebookCallDelegate{ rest_url = REST_URL; if ((_arg1 is IUploadPhoto)){ return (new WebImageUploadDelegate(_arg1, this)); }; if ((_arg1 is IUploadVideo)){ rest_url = VIDEO_URL; return (new VideoUploadDelegate(_arg1, this)); }; return (new WebDelegate(_arg1, this)); } public function get secret():String{ return (_secret); } public function get api_version():String{ return (this._api_version); } public function get is_connected():Boolean{ return (_is_connected); } public function get session_key():String{ return (_session_key); } public function get api_key():String{ return (_api_key); } public function get expires():Date{ return (_expires); } public function get uid():String{ return (facebook_internal::_uid); } public function refreshSession():void{ } public function verifySession():void{ if (_session_key){ _is_connected = true; dispatchEvent(new FacebookEvent(FacebookEvent.CONNECT, false, false, true)); } else { _is_connected = false; dispatchEvent(new FacebookEvent(FacebookEvent.CONNECT, false, false, false)); }; } public function set secret(_arg1:String):void{ _secret = _arg1; } public function set api_version(_arg1:String):void{ this._api_version = _arg1; } public function login(_arg1:Boolean):void{ } public function set session_key(_arg1:String):void{ _session_key = _arg1; } } }//package com.facebook.session
Section 376
//EmailHashUtil (com.facebook.utils.EmailHashUtil) package com.facebook.utils { import flash.utils.*; import com.adobe.crypto.*; public class EmailHashUtil { protected static const crcTable:Array = createCRCTable(); protected static function CRC32(_arg1:ByteArray, _arg2:uint=0, _arg3:uint=0):uint{ var _local4:uint; var _local5:uint; if (_arg2 >= _arg1.length){ _arg2 = _arg1.length; }; if (_arg3 == 0){ _arg3 = (_arg1.length - _arg2); }; if ((_arg3 + _arg2) > _arg1.length){ _arg3 = (_arg1.length - _arg2); }; _local4 = 4294967295; _local5 = _arg2; while (_local5 < _arg3) { _local4 = (uint(crcTable[((_local4 ^ _arg1[_local5]) & 0xFF)]) ^ (_local4 >>> 8)); _local5++; }; return ((_local4 ^ 4294967295)); } protected static function createCRCTable():Array{ var _local1:Array; var _local2:uint; var _local3:uint; var _local4:uint; _local1 = []; _local3 = 0; while (_local3 < 0x0100) { _local2 = _local3; _local4 = 0; while (_local4 < 8) { if ((_local2 & 1)){ _local2 = (3988292384 ^ (_local2 >>> 1)); } else { _local2 = (_local2 >>> 1); }; _local4++; }; _local1.push(_local2); _local3++; }; return (_local1); } public static function createHash(_arg1:String):String{ var _local2:String; var _local3:ByteArray; var _local4:uint; var _local5:String; _local2 = _arg1.replace(/\s/ig, ""); _local2 = _local2.toLowerCase(); _local3 = new ByteArray(); _local3.writeUTFBytes(_local2); _local4 = CRC32(_local3, 0, _local3.length); _local5 = MD5.hash(_local2); return (((_local4 + "_") + _local5)); } } }//package com.facebook.utils
Section 377
//FacebookArrayCollection (com.facebook.utils.FacebookArrayCollection) package com.facebook.utils { import flash.utils.*; import flash.events.*; public class FacebookArrayCollection extends EventDispatcher { protected var _source:Array; protected var _type:Class; protected var hash:Dictionary; public function FacebookArrayCollection(_arg1:Array=null, _arg2:Class=null){ reset(); _type = _arg2; initilizeSource(_arg1); } public function indexOf(_arg1:Object):int{ return (_source.indexOf(_arg1)); } public function reset():void{ hash = new Dictionary(true); _source = []; } public function findItemByProperty(_arg1:String, _arg2:Object, _arg3:Boolean=false):Object{ var _local4:Object; for (_local4 in hash) { if (((((_arg3) && ((_arg1 in _local4)))) && ((_local4[_arg1] === _arg2)))){ return (_local4); }; if (((((!(_arg3)) && ((_arg1 in _local4)))) && ((_local4[_arg1] == _arg2)))){ return (_local4); }; }; return (null); } public function get source():Array{ return (_source); } public function toArray():Array{ var _local1:Array; var _local2:uint; var _local3:uint; _local1 = []; _local2 = length; _local3 = 0; while (_local3 < _local2) { _local1.push(getItemAt(_local3)); _local3++; }; return (_local1); } public function contains(_arg1:Object):Boolean{ return ((hash[_arg1] === true)); } protected function verifyIndex(_arg1:uint):void{ if (_source.length < _arg1){ throw (new RangeError((("Index: " + _arg1) + ", is out of range."))); }; } public function removeItemAt(_arg1:uint):void{ var _local2:Object; verifyIndex(_arg1); _local2 = _source[_arg1]; delete hash[_local2]; _source.splice(_arg1, 1); } public function addItem(_arg1:Object):void{ addItemAt(_arg1, length); } public function get length():int{ return (_source.length); } public function addItemAt(_arg1:Object, _arg2:uint):void{ if (hash[_arg1] != null){ throw (new Error("Item already exists.")); }; if (((!((_type === null))) && (!((_arg1 is _type))))){ throw (new TypeError((("This collection requires " + _type) + " as the type."))); }; hash[_arg1] = true; _source.splice(_arg2, 0, _arg1); } public function getItemAt(_arg1:uint):Object{ verifyIndex(_arg1); return (_source[_arg1]); } override public function toString():String{ return (_source.join(", ")); } public function get type():Class{ return (_type); } protected function initilizeSource(_arg1:Array):void{ var _local2:uint; var _local3:uint; _source = []; if (_arg1 == null){ return; }; _local2 = _arg1.length; _local3 = 0; while (_local3 < _local2) { addItem(_arg1[_local3]); _local3++; }; } } }//package com.facebook.utils
Section 378
//FacebookConnectUtil (com.facebook.utils.FacebookConnectUtil) package com.facebook.utils { import flash.display.*; import com.facebook.net.*; import com.facebook.data.*; import com.facebook.errors.*; import flash.events.*; import com.facebook.*; import flash.external.*; public class FacebookConnectUtil extends EventDispatcher { protected var _loaderInfo:LoaderInfo; protected static var externalInterfaceCallId:Number = 0; protected static var externalInterfaceCalls:Object = {}; protected static var hasCallback:Boolean = false; public function FacebookConnectUtil(_arg1:LoaderInfo){ if (hasCallback == false){ ExternalInterface.addCallback("handleConnectCallback", handleConnectCallback); hasCallback = true; }; _loaderInfo = _arg1; } public function getLoggedInUser():String{ return (ExternalInterface.call("FB.Connect.get_loggedInUser")); } public function callMethod(_arg1:String, ... _args):FacebookCall{ var _local3:String; var _local4:String; var _local5:FacebookCall; _local3 = ("bridgeFacebookCall_" + externalInterfaceCallId); _local4 = (((((((((((((((("function " + _local3) + "() { ") + "FB.Connect.") + _arg1) + "(") + JavascriptRequestHelper.formatParams(_args)) + ", ") + "function(result, exception) {") + "document.") + _loaderInfo.parameters.as_swf_name) + ".handleConnectCallback(result, exception, ") + externalInterfaceCallId) + ")") + "}") + ");") + "}"); ExternalInterface.call(_local4); _local5 = new FacebookCall(_arg1); externalInterfaceCalls[externalInterfaceCallId] = _local5; return (_local5); } protected static function handleConnectCallback(_arg1:Object, _arg2:Object, _arg3:String):void{ var _local4:FacebookCall; var _local5:FacebookData; var _local6:FacebookError; _local4 = externalInterfaceCalls[_arg3]; if (_arg1){ _local5 = new FacebookData(); _local5.rawResult = (_arg1 as String); var _local7 = _local4; _local7.facebook_internal::handleResult(_local5); } else { _local6 = new FacebookError(); _local6.rawResult = (_arg2 as String); _local7 = _local4; _local7.facebook_internal::handleError(_local6); }; delete externalInterfaceCalls[_arg3]; } } }//package com.facebook.utils
Section 379
//FacebookDataUtils (com.facebook.utils.FacebookDataUtils) package com.facebook.utils { import com.adobe.serialization.json.*; public class FacebookDataUtils { public static function toJSONValuesArray(_arg1:Array):String{ var _local2:Array; var _local3:Number; var _local4:Number; if (_arg1 == null){ return (null); }; _local2 = []; _local3 = _arg1.length; _local4 = 0; while (_local4 < _local3) { _local2.push(JSON.encode(_arg1[_local4])); _local4++; }; return (_local2.join(",")); } public static function formatDate(_arg1:String):Date{ var _local2:Date; var _local3:Array; var _local4:Array; var _local5:Array; if ((((_arg1 == "")) || ((_arg1 == null)))){ return (null); }; _local2 = new Date(); _local3 = _arg1.split(" "); if (_local3.length == 2){ _local4 = _local3[0].split("-"); _local5 = _local3[1].split(":"); _local2.setFullYear(_local4[0]); _local2.setMonth((_local4[1] - 1)); _local2.setDate(_local4[2]); _local2.setHours(_local5[0]); _local2.setMinutes(_local5[1]); _local2.setSeconds(_local5[2]); } else { _local2.setTime((parseInt(_arg1) * 1000)); }; return (_local2); } public static function facebookCollectionToJSONArray(_arg1:FacebookArrayCollection):String{ if (_arg1 == null){ return (null); }; return (JSON.encode(_arg1.toArray())); } public static function toDateString(_arg1:Date):String{ if (_arg1 == null){ return (null); }; _arg1.setDate((_arg1.date + 1)); return (((_arg1 == null)) ? null : _arg1.getTime().toString().slice(0, 10)); } public static function supplantString(_arg1:String, _arg2:Object):String{ var _local3:String; var _local4:String; _local3 = _arg1; for (_local4 in _arg2) { _local3 = _local3.replace(new RegExp((("\\{" + _local4) + "\\}"), "g"), _arg2[_local4]); }; return (_local3); } public static function toArrayString(_arg1:Array):String{ return (((_arg1 == null)) ? null : _arg1.join(",")); } } }//package com.facebook.utils
Section 380
//FacebookSessionUtil (com.facebook.utils.FacebookSessionUtil) package com.facebook.utils { import flash.display.*; import flash.net.*; import com.facebook.session.*; import flash.events.*; import com.facebook.events.*; import com.facebook.*; import flash.system.*; public class FacebookSessionUtil extends EventDispatcher { public var facebook:Facebook; protected var loaderInfo:LoaderInfo; protected var secret:String; protected var _activeSession:IFacebookSession; protected var session_key:String; protected var api_key:String; public function FacebookSessionUtil(_arg1:String, _arg2:String, _arg3:LoaderInfo){ var _local4:SharedObject; var _local5:Object; super(); this.secret = ((_arg2 == null)) ? _arg3.parameters.fb_sig_ss : _arg2; this.api_key = _arg1; this.loaderInfo = _arg3; _local4 = getStoredSession(); if (_local4.data.session_key){ session_key = _local4.data.session_key; }; _local5 = ((_arg3)!=null) ? _arg3.parameters : {}; if (_local5.fb_sig_session_key != null){ session_key = _local5.fb_sig_session_key; }; if ((((_arg3.url.slice(0, 5) == "file:")) || ((Capabilities.playerType == "Desktop")))){ _activeSession = new DesktopSession(_arg1, this.secret); } else { if (((((_local5.fb_sig_ss) && (_local5.fb_sig_api_key))) && (_local5.fb_sig_session_key))){ _activeSession = new WebSession(_local5.fb_sig_api_key, _local5.fb_sig_ss, _local5.fb_sig_session_key); (_activeSession as WebSession).facebook_internal::_uid = _local5.fb_sig_user; } else { if (_local5.as_app_name){ _activeSession = new JSSession(_arg1, _local5.as_app_name); } else { _activeSession = new DesktopSession(_arg1, _arg2); }; }; }; _activeSession.session_key = session_key; _activeSession.addEventListener(FacebookEvent.VERIFYING_SESSION, onVerifyingSession); facebook = new Facebook(); facebook.addEventListener(FacebookEvent.WAITING_FOR_LOGIN, handleWaitingForLogin); facebook.addEventListener(FacebookEvent.CONNECT, onFacebookReady); facebook.startSession(_activeSession); } protected function handleWaitingForLogin(_arg1:FacebookEvent):void{ dispatchEvent(_arg1); } public function onVerifyingSession(_arg1:FacebookEvent):void{ dispatchEvent(_arg1); } protected function onVerifyLogin(_arg1:FacebookEvent):void{ _activeSession.removeEventListener(FacebookEvent.CONNECT, onVerifyLogin); if (_arg1.success){ onFacebookReady(null); dispatchEvent(new FacebookEvent(FacebookEvent.CONNECT, false, false, true)); } else { dispatchEvent(new FacebookEvent(FacebookEvent.CONNECT, false, false, false)); }; } public function logout():void{ getStoredSession().clear(); getStoredSession().flush(); facebook.logout(); } public function verifySession():void{ _activeSession.verifySession(); } protected function onFacebookReady(_arg1:FacebookEvent):void{ var _local2:SharedObject; if (facebook.session_key){ _local2 = getStoredSession(); _local2.data.session_key = facebook.session_key; _local2.data.stored_secret = facebook.secret; _local2.flush(3000); }; if (_arg1){ dispatchEvent(_arg1); }; } public function login(_arg1:Boolean=true):void{ facebook.login(_arg1); } protected function onWaitingForLogin(_arg1:FacebookEvent):void{ dispatchEvent(_arg1); } public function get activeSession():IFacebookSession{ return (_activeSession); } public function validateLogin():void{ facebook.refreshSession(); } protected function getStoredSession():SharedObject{ return (SharedObject.getLocal((api_key + "_stored_session"))); } } }//package com.facebook.utils
Section 381
//FacebookStreamXMLParser (com.facebook.utils.FacebookStreamXMLParser) package com.facebook.utils { import com.facebook.data.stream.*; public class FacebookStreamXMLParser { public static function createCommentsArray(_arg1:XMLList, _arg2:Namespace):Array{ var _local3:Array; var _local4:uint; var _local5:uint; var _local6:XML; var _local7:PostCommentData; _local3 = []; _local4 = _arg1.length(); _local5 = 0; while (_local5 < _local4) { _local6 = _arg1[_local5]; _local7 = new PostCommentData(); _local7.fromid = FacebookXMLParserUtils.toStringValue(_local6._arg2::fromid[0]); _local7.id = FacebookXMLParserUtils.toStringValue(_local6._arg2::id[0]); _local7.text = FacebookXMLParserUtils.toStringValue(_local6._arg2::text[0]); _local7.time = FacebookXMLParserUtils.toDate(_local6._arg2::time[0]); _local3.push(_local7); _local5++; }; return (_local3); } protected static function createMediaArray(_arg1:XML, _arg2:Namespace):Array{ var _local3:Array; var _local4:XMLList; var _local5:uint; var _local6:uint; var _local7:XML; var _local8:StreamMediaData; if (_arg1 == null){ return (null); }; _local3 = []; _local4 = _arg1.children(); _local5 = _local4.length(); _local6 = 0; while (_local6 < _local5) { _local7 = _local4[_local6]; _local8 = new StreamMediaData(); _local8.type = FacebookXMLParserUtils.toStringValue(_local7._arg2::type[0]); _local8.alt = FacebookXMLParserUtils.toStringValue(_local7._arg2::alt[0]); _local8.href = FacebookXMLParserUtils.toStringValue(_local7._arg2::href[0]); _local8.src = FacebookXMLParserUtils.toStringValue(_local7._arg2::src[0]); _local8.video = createVideoMedia(_local7._arg2::video[0], _arg2); _local8.photo = createPhotoMedia(_local7._arg2::photo[0], _arg2); _local8.flash = createFlashMedia(_local7._arg2::swf[0], _arg2); _local8.music = createMusicMedia(_local7._arg2::music[0], _arg2); _local3.push(_local8); _local6++; }; return (_local3); } public static function createStreamFilterCollection(_arg1:XML, _arg2:Namespace):GetFiltersData{ var _local3:GetFiltersData; var _local4:StreamFilterCollection; var _local5:XMLList; var _local6:uint; var _local7:uint; var _local8:XML; var _local9:StreamFilterData; _local3 = new GetFiltersData(); _local4 = new StreamFilterCollection(); _local5 = _arg1.._arg2::stream_filter; _local6 = _local5.length(); _local7 = 0; while (_local7 < _local6) { _local8 = _local5[_local7]; _local9 = new StreamFilterData(); _local9.filter_key = FacebookXMLParserUtils.toStringValue(_local8._arg2::filter_key[0]); _local9.icon_url = FacebookXMLParserUtils.toStringValue(_local8._arg2::icon_url[0]); _local9.is_visible = FacebookXMLParserUtils.toBoolean(_local8._arg2::is_visible[0]); _local9.name = FacebookXMLParserUtils.toStringValue(_local8._arg2::name[0]); _local9.rank = FacebookXMLParserUtils.toNumber(_local8._arg2::rank[0]); _local9.type = FacebookXMLParserUtils.toStringValue(_local8._arg2::type[0]); _local9.uid = FacebookXMLParserUtils.toStringValue(_local8._arg2::uid[0]); _local9.value = FacebookXMLParserUtils.toStringValue(_local8._arg2::value[0]); _local4.addItem(_local9); _local7++; }; _local3.filters = _local4; return (_local3); } protected static function createVideoMedia(_arg1:XML, _arg2:Namespace):VideoMedia{ var _local3:VideoMedia; if (_arg1 == null){ return (null); }; _local3 = new VideoMedia(); _local3.display_url = FacebookXMLParserUtils.toStringValue(_arg1._arg2::display_url[0]); _local3.owner = FacebookXMLParserUtils.toStringValue(_arg1._arg2::owner[0]); _local3.permalink = FacebookXMLParserUtils.toStringValue(_arg1._arg2::permalink[0]); _local3.source_url = FacebookXMLParserUtils.toStringValue(_arg1._arg2::source_url[0]); _local3.preview_img = FacebookXMLParserUtils.toStringValue(_arg1._arg2::preview_img[0]); return (_local3); } protected static function createFlashMedia(_arg1:XML, _arg2:Namespace):FlashMedia{ var _local3:FlashMedia; if (_arg1 == null){ return (null); }; _local3 = new FlashMedia(); _local3.source_url = FacebookXMLParserUtils.toStringValue(_arg1._arg2::source_url[0]); _local3.preview_img = FacebookXMLParserUtils.toStringValue(_arg1._arg2::preview_img[0]); return (_local3); } public static function createGetCommentsData(_arg1:XML, _arg2:Namespace):GetCommentsData{ var _local3:XMLList; var _local4:GetCommentsData; _local3 = _arg1.._arg2::comment; _local4 = new GetCommentsData(); _local4.comments = createCommentsArray(_local3, _arg2); return (_local4); } protected static function createActionLinksArray(_arg1:XML, _arg2:Namespace):Array{ var _local3:Array; var _local4:XMLList; var _local5:uint; var _local6:uint; var _local7:XML; var _local8:ActionLinkData; if (_arg1 == null){ return (null); }; _local3 = []; _local4 = _arg1.children(); _local5 = _local4.length(); _local6 = 0; while (_local6 < _local5) { _local7 = _local4[_local6]; _local8 = new ActionLinkData(); _local8.text = FacebookXMLParserUtils.toStringValue(_local7._arg2::text[0]); _local8.href = FacebookXMLParserUtils.toStringValue(_local7._arg2::href[0]); _local3.push(_local8); _local6++; }; return (_local3); } protected static function createMusicMedia(_arg1:XML, _arg2:Namespace):MusicMedia{ var _local3:MusicMedia; if (_arg1 == null){ return (null); }; _local3 = new MusicMedia(); _local3.source_url = FacebookXMLParserUtils.toStringValue(_arg1._arg2::source_url[0]); _local3.artist = FacebookXMLParserUtils.toStringValue(_arg1._arg2::artist[0]); _local3.title = FacebookXMLParserUtils.toStringValue(_arg1._arg2::title[0]); return (_local3); } public static function createStream(_arg1:XML, _arg2:Namespace):GetStreamData{ var _local3:GetStreamData; var _local4:StreamStoryCollection; var _local5:ProfileCollection; var _local6:uint; var _local7:uint; var _local8:XMLList; var _local9:XMLList; var _local10:XML; var _local11:StreamStoryData; var _local12:XML; var _local13:AttachmentData; var _local14:LikesData; var _local15:XML; var _local16:XML; var _local17:ProfileData; var _local18:XML; _local3 = new GetStreamData(); _local4 = new StreamStoryCollection(); _local5 = new ProfileCollection(); _local3.stories = _local4; _local3.profiles = _local5; _local8 = _arg1._arg2::posts.children(); _local6 = _local8.length(); _local7 = 0; while (_local7 < _local6) { _local10 = _local8[_local7]; _local11 = new StreamStoryData(); _local11.sourceXML = _local10; _local12 = _local10._arg2::attachment[0]; _local13 = new AttachmentData(); _local13.name = FacebookXMLParserUtils.toStringValue(_local12._arg2::name[0]); _local13.text = FacebookXMLParserUtils.toStringValue(_local12._arg2::text[0]); _local13.body = FacebookXMLParserUtils.toStringValue(_local12._arg2::body[0]); _local13.icon = FacebookXMLParserUtils.toStringValue(_local12._arg2::icon[0]); _local13.label = FacebookXMLParserUtils.toStringValue(_local12._arg2::label[0]); _local13.media = createMediaArray(_local12._arg2::media[0], _arg2); _local13.title = FacebookXMLParserUtils.toStringValue(_local12._arg2::title[0]); _local13.href = FacebookXMLParserUtils.toStringValue(_local12._arg2::href[0]); _local13.caption = FacebookXMLParserUtils.toStringValue(_local12._arg2::caption[0]); _local13.description = FacebookXMLParserUtils.toStringValue(_local12._arg2::description[0]); _local13.properties = FacebookXMLParserUtils.xmlListToObjectArray(_local12.._arg2::stream_property); _local11.attachment = _local13; _local11.actor_id = FacebookXMLParserUtils.toStringValue(_local10._arg2::actor_id[0]); _local11.comments = createComments(_local10._arg2::comments[0], _arg2); _local14 = new LikesData(); _local15 = _local10._arg2::likes[0]; _local14.can_like = FacebookXMLParserUtils.toBoolean(_local15._arg2::can_like[0]); _local14.user_likes = FacebookXMLParserUtils.toBoolean(_local15._arg2::user_likes[0]); _local14.count = FacebookXMLParserUtils.toNumber(_local15._arg2::count[0]); _local14.friends = FacebookXMLParserUtils.toUIDArray(_local15._arg2::friends[0]); _local14.sample = FacebookXMLParserUtils.toUIDArray(_local15._arg2::sample[0]); _local14.href = FacebookXMLParserUtils.toStringValue(_local15._arg2::href[0]); _local11.likes = _local14; _local11.attribution = FacebookXMLParserUtils.toStringValue(_local10._arg2::attribution[0]); _local11.app_id = FacebookXMLParserUtils.toStringValue(_local10._arg2::app_id[0]); _local11.metadata = FacebookXMLParserUtils.nodeToObject(_local10._arg2::metadata); _local11.message = FacebookXMLParserUtils.toStringValue(_local10._arg2::message[0]); _local11.source_id = FacebookXMLParserUtils.toStringValue(_local10._arg2::source_id[0]); _local11.target_id = FacebookXMLParserUtils.toStringValue(_local10._arg2::target_id[0]); _local11.post_id = FacebookXMLParserUtils.toStringValue(_local10._arg2::post_id[0]); _local11.updated_time = FacebookXMLParserUtils.toDate(_local10._arg2::updated_time[0]); _local11.created_time = FacebookXMLParserUtils.toDate(_local10._arg2::created_time[0]); _local11.type = FacebookXMLParserUtils.toNumber(_local10._arg2::type[0]); _local11.viewer_id = FacebookXMLParserUtils.toStringValue(_local10._arg2::viewer_id[0]); _local16 = _local10._arg2::privacy[0]; _local11.privacy = FacebookXMLParserUtils.toStringValue(_local16._arg2::value[0]); _local11.filter_key = FacebookXMLParserUtils.toStringValue(_local10._arg2::filter_key[0]); _local11.permalink = FacebookXMLParserUtils.toStringValue(_local10._arg2::permalink[0]); _local11.is_hidden = FacebookXMLParserUtils.toBoolean(_local10._arg2::is_hidden[0]); _local11.action_links = createActionLinksArray(_local10._arg2::action_links[0], _arg2); _local4.addItem(_local11); _local7++; }; _local9 = _arg1._arg2::profiles.children(); _local6 = _local9.length(); _local7 = 0; while (_local7 < _local6) { _local17 = new ProfileData(); _local18 = _local9[_local7]; _local17.id = FacebookXMLParserUtils.toStringValue(_local18._arg2::id[0]); _local17.name = FacebookXMLParserUtils.toStringValue(_local18._arg2::name[0]); _local17.pic_square = FacebookXMLParserUtils.toStringValue(_local18._arg2::pic_square[0]); _local17.url = FacebookXMLParserUtils.toStringValue(_local18._arg2::url[0]); _local5.addItem(_local17); _local7++; }; _local3.albums = FacebookXMLParserUtils.createAlbumCollection(_arg1._arg2::albums[0], _arg2); return (_local3); } protected static function createPhotoMedia(_arg1:XML, _arg2:Namespace):PhotoMedia{ var _local3:PhotoMedia; if (_arg1 == null){ return (null); }; _local3 = new PhotoMedia(); _local3.aid = FacebookXMLParserUtils.toStringValue(_arg1._arg2::aid[0]); _local3.index = FacebookXMLParserUtils.toNumber(_arg1._arg2::index[0]); _local3.owner = FacebookXMLParserUtils.toStringValue(_arg1._arg2::owner[0]); _local3.pid = FacebookXMLParserUtils.toStringValue(_arg1._arg2::pid[0]); return (_local3); } protected static function createComments(_arg1:XML, _arg2:Namespace):CommentsData{ var _local3:CommentsData; var _local4:XMLList; _local3 = new CommentsData(); _local3.can_remove = FacebookXMLParserUtils.toBoolean(_arg1._arg2::can_remove[0]); _local3.can_post = FacebookXMLParserUtils.toBoolean(_arg1._arg2::can_post[0]); _local3.count = FacebookXMLParserUtils.toNumber(_arg1._arg2::count[0]); _local4 = _arg1._arg2::comment_list.children(); _local3.posts = createCommentsArray(_local4, _arg2); return (_local3); } } }//package com.facebook.utils
Section 382
//FacebookUserXMLParser (com.facebook.utils.FacebookUserXMLParser) package com.facebook.utils { import com.facebook.data.users.*; import com.facebook.data.*; public class FacebookUserXMLParser { protected static function parseWorkHistory(_arg1:XML, _arg2:Namespace):Array{ var _local3:Array; var _local4:XMLList; var _local5:Object; var _local6:FacebookWorkInfo; _local3 = []; _local4 = _arg1.children(); for each (_local5 in _local4) { _local6 = new FacebookWorkInfo(); _local6.location = FacebookXMLParserUtils.createLocation(_local5._arg2::location[0], _arg2); _local6.company_name = String(_local5._arg2::company_name); _local6.description = String(_local5._arg2::description); _local6.position = String(_local5._arg2::position); _local6.start_date = FacebookDataUtils.formatDate(_local5._arg2::start_date); _local6.end_date = FacebookDataUtils.formatDate(_local5._arg2::end_date); _local3.push(_local6); }; return (_local3); } protected static function createStatus(_arg1:XML, _arg2:Namespace):StatusData{ var _local3:StatusData; _local3 = new StatusData(); _local3.message = String(_arg1._arg2::message); _local3.time = FacebookDataUtils.formatDate(String(_arg1._arg2::time)); return (_local3); } protected static function parseEducationHistory(_arg1:XML, _arg2:Namespace):Array{ var _local3:Array; var _local4:XMLList; var _local5:Object; var _local6:FacebookEducationInfo; var _local7:XML; _local3 = []; _local4 = _arg1.children(); for each (_local5 in _local4) { _local6 = new FacebookEducationInfo(); _local6.name = String(_local5._arg2::name); _local6.year = String(_local5._arg2::year); _local6.degree = String(_local5._arg2::degree); _local6.concentrations = []; for each (_local7 in _local5.concentration) { _local6.concentrations.push(_local7); }; _local3.push(_local6); }; return (_local3); } public static function createFacebookUser(_arg1:XML, _arg2:Namespace):FacebookUser{ var _local3:FacebookUser; var _local4:XMLList; var _local5:uint; var _local6:XML; var _local7:String; var _local8:uint; _local3 = new FacebookUser(); _local4 = _arg1.children(); _local5 = _local4.length(); _local8 = 0; while (_local8 < _local5) { _local6 = _local4[_local8]; _local7 = _local6.localName().toString(); switch (_local7){ case "status": _local3[_local7] = createStatus(_local6, _arg2); break; case "affiliations": _local3[_local7] = createAffiliations(_local6.children(), _arg2); break; case "hometown_location": case "current_location": _local3[_local7] = FacebookXMLParserUtils.createLocation(_local6, _arg2); break; case "profile_update_time": _local3[_local7] = FacebookDataUtils.formatDate(_local6.toString()); break; case "hs_info": _local3.hs1_id = parseInt(_local6._arg2::hs1_id); _local3.hs1_name = String(_local6._arg2::hs1_name); _local3.hs2_id = parseInt(_local6._arg2::hs2_id); _local3.hs2_name = String(_local6._arg2::hs2_name); _local3.grad_year = String(_local6._arg2::grad_year); break; case "education_history": _local3[_local7] = parseEducationHistory(_local6, _arg2); break; case "work_history": _local3[_local7] = parseWorkHistory(_local6, _arg2); break; case "timezone": case "notes_count": case "wall_count": _local3[_local7] = Number(_local6.toString()); break; case "has_added_app": case "is_app_user": _local3[_local7] = FacebookXMLParserUtils.toBoolean(_local6); break; case "meeting_sex": case "meeting_for": case "email_hashes": _local3[_local7] = toArray(_local6, _arg2); break; default: if ((_local7 in _local3)){ _local3[_local7] = String(_local6); }; }; _local8++; }; return (_local3); } protected static function toArray(_arg1:XML, _arg2:Namespace):Array{ var _local3:Array; var _local4:XMLList; var _local5:uint; var _local6:uint; _local3 = []; _local4 = _arg1.children(); _local5 = _local4.length(); _local6 = 0; while (_local6 < _local5) { _local3.push(_local4[_local6].toString()); _local6++; }; return (_local3); } protected static function createAffiliations(_arg1:XMLList, _arg2:Namespace):Array{ var _local3:Array; var _local4:*; var _local5:FacebookNetwork; _local3 = []; for each (_local4 in _arg1) { _local5 = new FacebookNetwork(); _local5.nid = parseInt(_local4._arg2::nid); _local5.name = String(_local4._arg2::name); _local5.type = String(_local4._arg2::type); _local5.status = String(_local4._arg2::status); _local5.year = String(_local4._arg2::year); _local3.push(_local5); }; return (_local3); } } }//package com.facebook.utils
Section 383
//FacebookXMLParserUtils (com.facebook.utils.FacebookXMLParserUtils) package com.facebook.utils { import com.facebook.data.*; import flash.net.*; import com.facebook.data.photos.*; public class FacebookXMLParserUtils { public static function createAlbumCollection(_arg1:XML, _arg2:Namespace):AlbumCollection{ var _local3:AlbumCollection; var _local4:*; var _local5:AlbumData; _local3 = new AlbumCollection(); for each (_local4 in _arg1.._arg2::album) { _local5 = new AlbumData(); _local5.aid = FacebookXMLParserUtils.toStringValue(_local4._arg2::aid[0]); _local5.cover_pid = FacebookXMLParserUtils.toStringValue(_local4._arg2::cover_pid[0]); _local5.owner = _local4._arg2::owner; _local5.name = _local4._arg2::name; _local5.created = FacebookXMLParserUtils.toDate(_local4._arg2::created); _local5.modified = FacebookXMLParserUtils.toDate(_local4._arg2::modified); _local5.description = _local4._arg2::description; _local5.location = _local4._arg2::location; _local5.link = _local4._arg2::link; _local5.size = _local4._arg2::size; _local5.visible = _local4._arg2::visible; _local5.modified_major = FacebookXMLParserUtils.toDate(_local4._arg2::modified_major); _local5.edit_link = _local4._arg2::edit_link; _local5.type = _local4._arg2::type; _local3.addAlbum(_local5); }; return (_local3); } public static function toNumber(_arg1:XML):Number{ if (_arg1 == null){ return (NaN); }; return (Number(_arg1.toString())); } public static function toStringValue(_arg1:XML):String{ if (_arg1 == null){ return (null); }; return (_arg1.toString()); } public static function toDate(_arg1:String):Date{ var _local2:String; var _local3:Date; if (_arg1 == null){ return (null); }; _local2 = _arg1; while (_local2.length < 13) { _local2 = (_local2 + "0"); }; _local3 = new Date(Number(_local2)); return (_local3); } public static function xmlListToObjectArray(_arg1:XMLList):Array{ var _local2:Array; var _local3:uint; var _local4:uint; _local2 = []; if (_arg1 == null){ return (_local2); }; _local3 = _arg1.length(); _local4 = 0; while (_local4 < _local3) { _local2.push(xmlToObject(_arg1[_local4])); _local4++; }; return (_local2); } public static function toUIDArray(_arg1:XML):Array{ var _local2:Array; var _local3:XMLList; var _local4:uint; var _local5:uint; _local2 = []; if (_arg1 == null){ return (_local2); }; _local3 = _arg1.children(); _local4 = _local3.length(); _local5 = 0; while (_local5 < _local4) { _local2.push(toNumber(_local3[_local5])); _local5++; }; return (_local2); } public static function toBoolean(_arg1:XML):Boolean{ if (_arg1 == null){ return (false); }; return ((_arg1.toString() == "1")); } public static function createLocation(_arg1:XML, _arg2:Namespace):FacebookLocation{ var _local3:FacebookLocation; _local3 = new FacebookLocation(); if (_arg1 == null){ return (_local3); }; _local3.city = String(_arg1._arg2::city); _local3.state = String(_arg1._arg2::state); _local3.country = String(_arg1._arg2::country); _local3.zip = String(_arg1._arg2::zip); _local3.street = String(_arg1._arg2::street); return (_local3); } public static function xmlToObject(_arg1:XML):Object{ var _local2:Object; var _local3:XMLList; var _local4:uint; var _local5:uint; var _local6:XML; _local2 = {}; _local3 = _arg1.children(); _local4 = _local3.length(); _local5 = 0; while (_local5 < _local4) { _local6 = _local3[_local5]; _local2[_local6.localName()] = _local6.toString(); _local5++; }; return (_local2); } public static function xmlToUrlVariables(_arg1:XMLList):URLVariables{ var _local2:URLVariables; var _local3:XML; _local2 = new URLVariables(); for each (_local3 in _arg1) { _local2[_local3.key.valueOf()] = _local3.value.valueOf(); }; return (_local2); } public static function nodeToObject(_arg1:XMLList):Object{ var _local2:Object; var _local3:XML; _local2 = {}; for each (_local3 in _arg1) { _local2[_local3.key.valueOf()] = _local3.value.valueOf(); }; return (_local2); } public static function toArray(_arg1:XML):Array{ if (_arg1 == null){ return (null); }; return (_arg1.toString().split(",")); } } }//package com.facebook.utils
Section 384
//FBJSBridgeUtil (com.facebook.utils.FBJSBridgeUtil) package com.facebook.utils { import com.facebook.data.*; import flash.net.*; import flash.events.*; import com.facebook.events.*; public class FBJSBridgeUtil extends EventDispatcher { public var fb_fbjs_connection:String; public var fb_local_connection:String; protected var _params:Array; protected var _methodName:String; public var _api_key:String; protected static var receiveConnection:LocalConnection; protected static var connection:LocalConnection; public function FBJSBridgeUtil(_arg1:String, _arg2:String, _arg3:String){ var api_key = _arg1; var fb_local_connection = _arg2; var fb_fbjs_connection = _arg3; super(); this._api_key = api_key; this.fb_local_connection = fb_local_connection; this.fb_fbjs_connection = fb_fbjs_connection; if (connection == null){ connection = new LocalConnection(); connection.allowInsecureDomain("*"); connection.allowDomain("*"); connection.addEventListener(AsyncErrorEvent.ASYNC_ERROR, onSendError, false, 0, true); connection.addEventListener(SecurityErrorEvent.SECURITY_ERROR, onSendError, false, 0, true); connection.addEventListener(StatusEvent.STATUS, onSendStatus, false, 0, true); }; if (receiveConnection == null){ receiveConnection = new LocalConnection(); receiveConnection.allowInsecureDomain("apps.facebook.com", "apps.*.facebook.com"); receiveConnection.allowDomain("apps.facebook.com", "apps.*.facebook.com"); receiveConnection.addEventListener(AsyncErrorEvent.ASYNC_ERROR, onReceiveError, false, 0, true); receiveConnection.addEventListener(SecurityErrorEvent.SECURITY_ERROR, onReceiveError, false, 0, true); receiveConnection.addEventListener(StatusEvent.STATUS, onReceiveStatus, false, 0, true); receiveConnection.client = {asFunction:asFunction}; try { receiveConnection.connect(fb_fbjs_connection); } catch(e) { }; }; } protected function onSendError(_arg1:ErrorEvent):void{ dispatchEvent(_arg1); } protected function onReceiveStatus(_arg1:StatusEvent):void{ dispatchEvent(_arg1); } protected function onSendStatus(_arg1:StatusEvent):void{ dispatchEvent(_arg1); } protected function onReceiveError(_arg1:ErrorEvent):void{ dispatchEvent(_arg1); } public function call(_arg1:String, ... _args):void{ _methodName = _arg1; _params = _args; execute(); } protected function execute():void{ connection.send(fb_local_connection, "callFBJS", _methodName, _params); } public function close():void{ try { connection.close(); } catch(e) { }; try { receiveConnection.close(); } catch(e) { }; } protected function asFunction(... _args):void{ var _local2:FBJSData; _local2 = new FBJSData(); _local2.results = _args; dispatchEvent(new FacebookEvent(FacebookEvent.COMPLETE, false, false, true, _local2)); } } }//package com.facebook.utils
Section 385
//IFacebookResultParser (com.facebook.utils.IFacebookResultParser) package com.facebook.utils { import com.facebook.data.*; import com.facebook.errors.*; public interface IFacebookResultParser { function parse(_arg1:String, _arg2:String):FacebookData; function validateFacebookResponce(_arg1:String):FacebookError; } }//package com.facebook.utils
Section 386
//JavascriptRequestHelper (com.facebook.utils.JavascriptRequestHelper) package com.facebook.utils { import flash.utils.*; import flash.net.*; public class JavascriptRequestHelper { public static function objectToString(_arg1:Object):String{ var _local2:Array; var _local3:String; _local2 = []; for (_local3 in _arg1) { _local2.push((((_local3 + ": ") + quote(_arg1[_local3])) + "")); }; return ((("{" + _local2.join(", ")) + " }")); } public static function quote(_arg1:String):String{ var _local2:RegExp; _local2 = /[\\"\r\n]/g; return ((("\"" + _arg1.replace(_local2, _quote)) + "\"")); } public static function formatParams(_arg1:Array):String{ var _local2:Array; var _local3:uint; var _local4:uint; var _local5:Object; var _local6:String; _local2 = []; _local3 = _arg1.length; _local4 = 0; while (_local4 < _local3) { _local5 = _arg1[_local4]; _local6 = getQualifiedClassName(_local5); switch (_local6){ case "Array": _local5 = (("[" + _local5.join(", ")) + "]"); break; case "Object": _local5 = objectToString(_local5); break; case "String": default: _local5 = (("\"" + _local5) + "\""); break; }; _local2.push(_local5); _local4++; }; return (_local2.join(", ")); } protected static function _quote(_arg1:String, ... _args):String{ switch (_arg1){ case "\\": return ("\\\\"); case "\r": return ("\\r"); case "\n": return ("\\n"); case "\"": return ("\\\""); }; return (null); } public static function formatURLVariables(_arg1:URLVariables):String{ var _local2:Object; var _local3:Boolean; var _local4:Object; var _local5:String; _local2 = {method:true, sig:true, api_key:true, call_id:true}; _local3 = false; _local4 = {}; for (_local5 in _arg1) { if (_local2[_local5]){ } else { _local3 = true; _local4[_local5] = _arg1[_local5]; }; }; return ((_local3) ? objectToString(_local4) : "null"); } } }//package com.facebook.utils
Section 387
//PlayerUtils (com.facebook.utils.PlayerUtils) package com.facebook.utils { import flash.system.*; public class PlayerUtils { protected static var versionObj:Object; public static function get internalBuildNumber():Number{ return (parseVersionString().internalBuildNumber); } public static function get platform():String{ return (parseVersionString().platform); } public static function get buildNumber():Number{ return (parseVersionString().buildNumber); } public static function get minorVersion():Number{ return (parseVersionString().minorVersion); } public static function parseVersionString():Object{ var _local1:String; var _local2:Array; if (versionObj != null){ return (versionObj); }; _local1 = Capabilities.version; versionObj = {}; _local2 = _local1.split(" "); versionObj.platform = _local2[0]; _local2.shift(); _local2 = _local2[0].split(","); versionObj.majorVersion = Number(_local2[0]); versionObj.minorVersion = Number(_local2[1]); versionObj.buildNumber = Number(_local2[2]); versionObj.internalBuildNumber = Number(_local2[3]); return (versionObj); } public static function get majorVersion():Number{ return (parseVersionString().majorVersion); } } }//package com.facebook.utils
Section 388
//PostRequest (com.facebook.utils.PostRequest) package com.facebook.utils { import flash.utils.*; public class PostRequest { protected var postData:ByteArray; protected var _boundary:String;// = "-----" public function PostRequest(){ _boundary = "-----"; super(); createPostData(); } public function getPostData():ByteArray{ postData.position = 0; return (postData); } protected function writeDoubleDash():void{ postData.writeShort(0x2D2D); } public function writeFileData(_arg1:String, _arg2:ByteArray, _arg3:String):void{ var _local4:String; var _local5:Number; writeBoundary(); writeLineBreak(); _local4 = "Content-Disposition: form-data; filename=\""; _local5 = 0; while (_local5 < _local4.length) { postData.writeByte(_local4.charCodeAt(_local5)); _local5++; }; postData.writeUTFBytes(_arg1); writeQuotationMark(); writeLineBreak(); _local4 = _arg3; _local5 = 0; while (_local5 < _local4.length) { postData.writeByte(_local4.charCodeAt(_local5)); _local5++; }; writeLineBreak(); writeLineBreak(); _arg2.position = 0; postData.writeBytes(_arg2, 0, _arg2.length); writeLineBreak(); } public function createPostData():void{ postData = new ByteArray(); postData.endian = Endian.BIG_ENDIAN; } public function writePostData(_arg1:String, _arg2:String):void{ var _local3:String; var _local4:uint; var _local5:Number; writeBoundary(); writeLineBreak(); _local3 = (("Content-Disposition: form-data; name=\"" + _arg1) + "\""); _local4 = _local3.length; _local5 = 0; while (_local5 < _local4) { postData.writeByte(_local3.charCodeAt(_local5)); _local5++; }; writeLineBreak(); writeLineBreak(); postData.writeUTFBytes(_arg2); writeLineBreak(); } protected function writeBoundary():void{ var _local1:Number; writeDoubleDash(); _local1 = 0; while (_local1 < boundary.length) { postData.writeByte(boundary.charCodeAt(_local1)); _local1++; }; } protected function writeLineBreak():void{ postData.writeShort(3338); } public function get boundary():String{ return (_boundary); } public function close():void{ writeBoundary(); writeDoubleDash(); } protected function writeQuotationMark():void{ postData.writeByte(34); } public function set boundary(_arg1:String):void{ _boundary = _arg1; } } }//package com.facebook.utils
Section 389
//ValidationUtils (com.facebook.utils.ValidationUtils) package com.facebook.utils { public class ValidationUtils { public static function validateLength(_arg1:String):Boolean{ var _local2:Boolean; _local2 = ((((_arg1 == null)) || ((_arg1.length >= 0xFF)))) ? false : true; return (_local2); } public static function isDataObjectTypeValid(_arg1:String):Boolean{ var _local2:RegExp; if ((((_arg1 == null)) || ((_arg1.length > 32)))){ return (false); }; _local2 = new RegExp("[^a-z_0-9]", "ig"); return (!(_local2.exec(_arg1))); } } }//package com.facebook.utils
Section 390
//Facebook (com.facebook.Facebook) package com.facebook { import com.facebook.net.*; import flash.net.*; import com.facebook.delegates.*; import com.facebook.session.*; import flash.events.*; import com.facebook.events.*; import com.facebook.commands.auth.*; public class Facebook extends EventDispatcher { public var waiting_for_login:Boolean; public var connectionErrorMessage:String; protected var _currentSession:IFacebookSession; public function Facebook():void{ } public function get api_version():String{ return ((_currentSession) ? this._currentSession.api_version : null); } public function get expires():Date{ return ((_currentSession) ? this._currentSession.expires : new Date()); } public function get uid():String{ return ((_currentSession) ? this._currentSession.uid : null); } public function grantPermission(_arg1:Boolean):void{ var _local2:String; _local2 = ((("http://www.facebook.com/login.php?return_session=" + (_arg1) ? 1 : 0) + "&api_key=") + api_key); navigateToURL(new URLRequest(_local2), "_blank"); } public function refreshSession():void{ _currentSession.refreshSession(); } public function logout():void{ var _local1:ExpireSession; _local1 = new ExpireSession(); _local1.addEventListener(FacebookEvent.COMPLETE, onLoggedOut, false, 0, true); post(_local1); } public function startSession(_arg1:IFacebookSession):void{ _currentSession = _arg1; if (_currentSession.is_connected){ dispatchEvent(new FacebookEvent(FacebookEvent.CONNECT, false, false, true)); } else { _currentSession.addEventListener(FacebookEvent.CONNECT, onSessionConnected); _currentSession.addEventListener(FacebookEvent.WAITING_FOR_LOGIN, onWaitingForLogin); }; } protected function onLoggedOut(_arg1:FacebookEvent):void{ if (_arg1.success == true){ _currentSession.session_key = null; }; dispatchEvent(new FacebookEvent(FacebookEvent.LOGOUT, false, false, _arg1.success, _arg1.data, _arg1.error)); } public function post(_arg1:FacebookCall):FacebookCall{ var _local2:IFacebookCallDelegate; if (_currentSession){ _arg1.session = _currentSession; _arg1.initialize(); _local2 = _currentSession.post(_arg1); _arg1.delegate = _local2; } else { throw (new Error("Cannot post a call; no session has been set.")); }; return (_arg1); } protected function onSessionConnected(_arg1:FacebookEvent):void{ var _local2:IFacebookSession; _local2 = (_arg1.target as IFacebookSession); dispatchEvent(_arg1); } public function grantExtendedPermission(_arg1:String):void{ navigateToURL(new URLRequest(((((("http://www.facebook.com/authorize.php?api_key=" + api_key) + "&v=") + api_version) + "&ext_perm=") + _arg1)), "_blank"); } public function login(_arg1:Boolean):void{ _currentSession.login(_arg1); } protected function onWaitingForLogin(_arg1:FacebookEvent):void{ waiting_for_login = true; dispatchEvent(new FacebookEvent(FacebookEvent.WAITING_FOR_LOGIN)); } public function get secret():String{ return ((_currentSession) ? this._currentSession.secret : null); } public function get session_key():String{ return ((_currentSession) ? this._currentSession.session_key : null); } public function get api_key():String{ return ((_currentSession) ? this._currentSession.api_key : null); } public function get is_connected():Boolean{ return ((_currentSession) ? this._currentSession.is_connected : false); } } }//package com.facebook
Section 391
//facebook_internal (com.facebook.facebook_internal) package com.facebook { public namespace facebook_internal = "http://api.facebook.com/1.0/"; }//package com.facebook
Section 392
//PropTween (com.greensock.core.PropTween) package com.greensock.core { public class PropTween { public var start:Number; public var name:String; public var prevNode:PropTween; public var change:Number; public var target:Object; public var priority:int; public var property:String; public var nextNode:PropTween; public var isPlugin:Boolean; public function PropTween(_arg1:Object, _arg2:String, _arg3:Number, _arg4:Number, _arg5:String, _arg6:Boolean, _arg7:PropTween=null, _arg8:int=0){ this.target = _arg1; this.property = _arg2; this.start = _arg3; this.change = _arg4; this.name = _arg5; this.isPlugin = _arg6; if (_arg7){ _arg7.prevNode = this; this.nextNode = _arg7; }; this.priority = _arg8; } } }//package com.greensock.core
Section 393
//SimpleTimeline (com.greensock.core.SimpleTimeline) package com.greensock.core { public class SimpleTimeline extends TweenCore { public var autoRemoveChildren:Boolean; protected var _lastChild:TweenCore; protected var _firstChild:TweenCore; public function SimpleTimeline(_arg1:Object=null){ super(0, _arg1); } override public function renderTime(_arg1:Number, _arg2:Boolean=false, _arg3:Boolean=false):void{ var _local4:TweenCore; var _local5:Number; var _local6:TweenCore; _local4 = _firstChild; this.cachedTotalTime = _arg1; this.cachedTime = _arg1; while (_local4) { _local6 = _local4.nextNode; if (((_local4.active) || ((((_arg1 >= _local4.cachedStartTime)) && (!(_local4.cachedPaused)))))){ if (!_local4.cachedReversed){ _local4.renderTime(((_arg1 - _local4.cachedStartTime) * _local4.cachedTimeScale), _arg2, false); } else { _local5 = (_local4.cacheIsDirty) ? _local4.totalDuration : _local4.cachedTotalDuration; _local4.renderTime((_local5 - ((_arg1 - _local4.cachedStartTime) * _local4.cachedTimeScale)), _arg2, false); }; }; _local4 = _local6; }; } public function addChild(_arg1:TweenCore):void{ if (((!(_arg1.gc)) && (_arg1.timeline))){ _arg1.timeline.remove(_arg1, true); }; _arg1.timeline = this; if (_arg1.gc){ _arg1.setEnabled(true, true); }; if (_firstChild){ _firstChild.prevNode = _arg1; }; _arg1.nextNode = _firstChild; _firstChild = _arg1; _arg1.prevNode = null; } public function get rawTime():Number{ return (this.cachedTotalTime); } public function remove(_arg1:TweenCore, _arg2:Boolean=false):void{ if (((!(_arg1.gc)) && (!(_arg2)))){ _arg1.setEnabled(false, true); }; if (_arg1.nextNode){ _arg1.nextNode.prevNode = _arg1.prevNode; } else { if (_lastChild == _arg1){ _lastChild = _arg1.prevNode; }; }; if (_arg1.prevNode){ _arg1.prevNode.nextNode = _arg1.nextNode; } else { if (_firstChild == _arg1){ _firstChild = _arg1.nextNode; }; }; } } }//package com.greensock.core
Section 394
//TweenCore (com.greensock.core.TweenCore) package com.greensock.core { import com.greensock.*; public class TweenCore { public var initted:Boolean; protected var _hasUpdate:Boolean; public var active:Boolean; protected var _delay:Number; public var cachedReversed:Boolean; public var nextNode:TweenCore; public var cachedTime:Number; protected var _rawPrevTime:Number;// = -1 public var vars:Object; public var cachedTotalTime:Number; public var data; public var timeline:SimpleTimeline; public var cachedStartTime:Number; public var prevNode:TweenCore; public var cachedDuration:Number; public var gc:Boolean; protected var _pauseTime:Number; public var cacheIsDirty:Boolean; public var cachedPaused:Boolean; public var cachedTimeScale:Number; public var cachedTotalDuration:Number; public static const version:Number = 1.1; protected static var _classInitted:Boolean; public function TweenCore(_arg1:Number=0, _arg2:Object=null){ var _local3:SimpleTimeline; _rawPrevTime = -1; super(); this.vars = ((_arg2) || ({})); this.cachedDuration = (this.cachedTotalDuration = ((_arg1) || (0))); _delay = ((this.vars.delay) || (0)); this.cachedTimeScale = ((this.vars.timeScale) || (1)); this.active = Boolean((((((_arg1 == 0)) && ((_delay == 0)))) && (!((this.vars.immediateRender == false))))); this.cachedTotalTime = (this.cachedTime = 0); this.data = this.vars.data; if (!_classInitted){ if (isNaN(TweenLite.rootFrame)){ TweenLite.initClass(); _classInitted = true; } else { return; }; }; _local3 = ((this.vars.timeline is SimpleTimeline)) ? this.vars.timeline : (this.vars.useFrames) ? TweenLite.rootFramesTimeline : TweenLite.rootTimeline; this.cachedStartTime = (_local3.cachedTotalTime + _delay); _local3.addChild(this); if (this.vars.reversed){ this.cachedReversed = true; }; if (this.vars.paused){ this.paused = true; }; } public function renderTime(_arg1:Number, _arg2:Boolean=false, _arg3:Boolean=false):void{ } public function get delay():Number{ return (_delay); } public function get duration():Number{ return (this.cachedDuration); } public function set reversed(_arg1:Boolean):void{ if (_arg1 != this.cachedReversed){ this.cachedReversed = _arg1; setTotalTime(this.cachedTotalTime, true); }; } public function set startTime(_arg1:Number):void{ var _local2:Boolean; _local2 = Boolean(((!((this.timeline == null))) && (((!((_arg1 == this.cachedStartTime))) || (this.gc))))); this.cachedStartTime = _arg1; if (_local2){ this.timeline.addChild(this); }; } public function set delay(_arg1:Number):void{ this.startTime = (this.startTime + (_arg1 - _delay)); _delay = _arg1; } public function resume():void{ this.paused = false; } public function get paused():Boolean{ return (this.cachedPaused); } public function play():void{ this.reversed = false; this.paused = false; } public function set duration(_arg1:Number):void{ this.cachedDuration = (this.cachedTotalDuration = _arg1); setDirtyCache(false); } public function invalidate():void{ } public function restart(_arg1:Boolean=false, _arg2:Boolean=true):void{ this.reversed = false; this.paused = false; this.setTotalTime((_arg1) ? -(_delay) : 0, _arg2); } public function complete(_arg1:Boolean=false, _arg2:Boolean=false):void{ if (!_arg1){ renderTime(this.cachedTotalDuration, _arg2, false); return; }; if (this.timeline.autoRemoveChildren){ this.setEnabled(false, false); } else { this.active = false; }; if (!_arg2){ if (((((this.vars.onComplete) && ((this.cachedTime == this.cachedDuration)))) && (!(this.cachedReversed)))){ this.vars.onComplete.apply(null, this.vars.onCompleteParams); } else { if (((((this.cachedReversed) && ((this.cachedTotalTime == 0)))) && (this.vars.onReverseComplete))){ this.vars.onReverseComplete.apply(null, this.vars.onReverseCompleteParams); }; }; }; } public function get reversed():Boolean{ return (this.cachedReversed); } public function get totalTime():Number{ return (this.cachedTotalTime); } public function get startTime():Number{ return (this.cachedStartTime); } public function set currentTime(_arg1:Number):void{ setTotalTime(_arg1, false); } protected function setDirtyCache(_arg1:Boolean=true):void{ var _local2:TweenCore; _local2 = (_arg1) ? this : this.timeline; while (_local2) { _local2.cacheIsDirty = true; _local2 = _local2.timeline; }; } public function reverse(_arg1:Boolean=true):void{ this.reversed = true; if (_arg1){ this.paused = false; } else { if (this.gc){ this.setEnabled(true, false); }; }; } public function set paused(_arg1:Boolean):void{ if (((!((_arg1 == this.cachedPaused))) && (this.timeline))){ if (_arg1){ _pauseTime = this.timeline.rawTime; } else { this.cachedStartTime = (this.cachedStartTime + (this.timeline.rawTime - _pauseTime)); _pauseTime = NaN; setDirtyCache(false); }; this.cachedPaused = _arg1; this.active = Boolean(((((!(this.cachedPaused)) && ((this.cachedTotalTime > 0)))) && ((this.cachedTotalTime < this.cachedTotalDuration)))); }; if (((!(_arg1)) && (this.gc))){ this.setTotalTime(this.cachedTotalTime, false); this.setEnabled(true, false); }; } public function kill():void{ setEnabled(false, false); } public function set totalTime(_arg1:Number):void{ setTotalTime(_arg1, false); } public function get currentTime():Number{ return (this.cachedTime); } protected function setTotalTime(_arg1:Number, _arg2:Boolean=false):void{ var _local3:Number; var _local4:Number; if (this.timeline){ _local3 = (((_pauseTime) || ((_pauseTime == 0)))) ? _pauseTime : this.timeline.cachedTotalTime; if (this.cachedReversed){ _local4 = (this.cacheIsDirty) ? this.totalDuration : this.cachedTotalDuration; this.cachedStartTime = (_local3 - ((_local4 - _arg1) / this.cachedTimeScale)); } else { this.cachedStartTime = (_local3 - (_arg1 / this.cachedTimeScale)); }; if (!this.timeline.cacheIsDirty){ setDirtyCache(false); }; if (this.cachedTotalTime != _arg1){ renderTime(_arg1, _arg2, false); }; }; } public function pause():void{ this.paused = true; } public function set totalDuration(_arg1:Number):void{ this.duration = _arg1; } public function get totalDuration():Number{ return (this.cachedTotalDuration); } public function setEnabled(_arg1:Boolean, _arg2:Boolean=false):Boolean{ if (_arg1 == this.gc){ if (_arg1){ this.active = Boolean(((((!(this.cachedPaused)) && ((this.cachedTotalTime > 0)))) && ((this.cachedTotalTime < this.cachedTotalDuration)))); if (!_arg2){ this.timeline.addChild(this); }; } else { this.active = false; if (!_arg2){ this.timeline.remove(this, true); }; }; this.gc = !(_arg1); }; return (false); } } }//package com.greensock.core
Section 395
//TweenLite (com.greensock.TweenLite) package com.greensock { import flash.display.*; import flash.utils.*; import com.greensock.core.*; import flash.events.*; import com.greensock.plugins.*; public class TweenLite extends TweenCore { public var target:Object; protected var _overwrite:uint; public var ratio:Number;// = 0 protected var _notifyPluginsOfEnabled:Boolean; protected var _hasPlugins:Boolean; public var cachedPT1:PropTween; protected var _overwrittenProps:Object; public var propTweenLookup:Object; protected var _ease:Function; public static const version:Number = 11.101; public static var rootTimeline:SimpleTimeline; public static var fastEaseLookup:Dictionary = new Dictionary(false); public static var onPluginEvent:Function; public static var rootFramesTimeline:SimpleTimeline; public static var defaultEase:Function = TweenLite.easeOut; public static var plugins:Object = {}; public static var masterList:Dictionary = new Dictionary(false); public static var overwriteManager:Object; public static var rootFrame:Number; public static var killDelayedCallsTo:Function = TweenLite.killTweensOf; private static var _shape:Shape = new Shape(); protected static var _reservedProps:Object = {ease:1, delay:1, overwrite:1, onComplete:1, onCompleteParams:1, useFrames:1, runBackwards:1, startAt:1, onUpdate:1, onUpdateParams:1, roundProps:1, onStart:1, onStartParams:1, onReverseComplete:1, onReverseCompleteParams:1, onRepeat:1, onRepeatParams:1, proxiedEase:1, easeParams:1, yoyo:1, onCompleteListener:1, onUpdateListener:1, onStartListener:1, onReverseCompleteListener:1, onRepeatListener:1, orientToBezier:1, timeScale:1, immediateRender:1, repeat:1, repeatDelay:1, timeline:1, data:1, paused:1}; public function TweenLite(_arg1:Object, _arg2:Number, _arg3:Object){ var _local4:Array; var _local5:TweenLite; ratio = 0; super(_arg2, _arg3); this.target = _arg1; if ((((this.target is TweenCore)) && (("timeScale" in this.vars)))){ this.cachedTimeScale = 1; }; propTweenLookup = {}; _ease = defaultEase; _overwrite = (((!(("overwrite" in _arg3))) || (((!(overwriteManager.enabled)) && ((_arg3.overwrite > 1)))))) ? overwriteManager.mode : int(_arg3.overwrite); _local4 = masterList[_arg1]; if (!_local4){ masterList[_arg1] = [this]; } else { if (_overwrite == 1){ for each (_local5 in _local4) { if (!_local5.gc){ _local5.setEnabled(false, false); }; }; masterList[_arg1] = [this]; } else { _local4[_local4.length] = this; }; }; if (((this.active) || (this.vars.immediateRender))){ renderTime(0, false, true); }; } override public function renderTime(_arg1:Number, _arg2:Boolean=false, _arg3:Boolean=false):void{ var _local4:Boolean; var _local5:Number; var _local6:PropTween; _local5 = this.cachedTime; this.active = true; if (_arg1 >= this.cachedDuration){ this.cachedTotalTime = (this.cachedTime = this.cachedDuration); this.ratio = 1; _local4 = true; if (this.cachedDuration == 0){ if ((((((_arg1 == 0)) || ((_rawPrevTime < 0)))) && (!((_rawPrevTime == _arg1))))){ _arg3 = true; }; _rawPrevTime = _arg1; }; } else { if (_arg1 <= 0){ this.cachedTotalTime = (this.cachedTime = (this.ratio = 0)); if (_arg1 < 0){ this.active = false; if (this.cachedDuration == 0){ if (_rawPrevTime > 0){ _arg3 = true; _local4 = true; }; _rawPrevTime = _arg1; }; }; if (((this.cachedReversed) && (!((_local5 == 0))))){ _local4 = true; }; } else { this.cachedTotalTime = (this.cachedTime = _arg1); this.ratio = _ease(_arg1, 0, 1, this.cachedDuration); }; }; if ((((this.cachedTime == _local5)) && (!(_arg3)))){ return; }; if (!this.initted){ init(); if (((!(_local4)) && (this.cachedTime))){ this.ratio = _ease(this.cachedTime, 0, 1, this.cachedDuration); }; }; if ((((((((_local5 == 0)) && (this.vars.onStart))) && (!((this.cachedTime == 0))))) && (!(_arg2)))){ this.vars.onStart.apply(null, this.vars.onStartParams); }; _local6 = this.cachedPT1; while (_local6) { _local6.target[_local6.property] = (_local6.start + (this.ratio * _local6.change)); _local6 = _local6.nextNode; }; if (((_hasUpdate) && (!(_arg2)))){ this.vars.onUpdate.apply(null, this.vars.onUpdateParams); }; if (_local4){ if (((_hasPlugins) && (this.cachedPT1))){ onPluginEvent("onComplete", this); }; complete(true, _arg2); }; } protected function init():void{ var _local1:String; var _local2:int; var _local3:*; var _local4:Boolean; var _local5:Array; var _local6:PropTween; if (typeof(this.vars.ease) == "function"){ _ease = this.vars.ease; }; if (this.vars.easeParams){ this.vars.proxiedEase = _ease; _ease = easeProxy; }; this.cachedPT1 = null; this.propTweenLookup = {}; for (_local1 in this.vars) { if ((((_local1 in _reservedProps)) && (!((((_local1 == "timeScale")) && ((this.target is TweenCore))))))){ } else { if ((((_local1 in plugins)) && (new ((plugins[_local1] as Class)).onInitTween(this.target, this.vars[_local1], this)))){ this.cachedPT1 = new PropTween(_local3, "changeFactor", 0, 1, ((_local3.overwriteProps.length)==1) ? _local3.overwriteProps[0] : "_MULTIPLE_", true, this.cachedPT1); if (this.cachedPT1.name == "_MULTIPLE_"){ _local2 = _local3.overwriteProps.length; while (_local2--) { this.propTweenLookup[_local3.overwriteProps[_local2]] = this.cachedPT1; }; } else { this.propTweenLookup[this.cachedPT1.name] = this.cachedPT1; }; if (_local3.priority){ this.cachedPT1.priority = _local3.priority; _local4 = true; }; if (((_local3.onDisable) || (_local3.onEnable))){ _notifyPluginsOfEnabled = true; }; _hasPlugins = true; } else { this.cachedPT1 = new PropTween(this.target, _local1, Number(this.target[_local1]), ((typeof(this.vars[_local1]))=="number") ? (Number(this.vars[_local1]) - this.target[_local1]) : Number(this.vars[_local1]), _local1, false, this.cachedPT1); this.propTweenLookup[_local1] = this.cachedPT1; }; }; }; if (_local4){ onPluginEvent("onInit", this); }; if (this.vars.runBackwards){ _local6 = this.cachedPT1; while (_local6) { _local6.start = (_local6.start + _local6.change); _local6.change = -(_local6.change); _local6 = _local6.nextNode; }; }; _hasUpdate = Boolean(!((this.vars.onUpdate == null))); if (_overwrittenProps){ killVars(_overwrittenProps); if (this.cachedPT1 == null){ this.setEnabled(false, false); }; }; if ((((((((_overwrite > 1)) && (this.cachedPT1))) && (masterList[this.target]))) && ((_local5.length > 1)))){ if (overwriteManager.manageOverwrites(this, this.propTweenLookup, _local5, _overwrite)){ init(); }; }; this.initted = true; } protected function easeProxy(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{ return (this.vars.proxiedEase.apply(null, arguments.concat(this.vars.easeParams))); } override public function invalidate():void{ if (((_notifyPluginsOfEnabled) && (this.cachedPT1))){ onPluginEvent("onDisable", this); }; this.cachedPT1 = null; _overwrittenProps = null; _hasUpdate = (this.initted = (this.active = (_notifyPluginsOfEnabled = false))); this.propTweenLookup = {}; } public function killVars(_arg1:Object, _arg2:Boolean=true):Boolean{ var _local3:String; var _local4:PropTween; var _local5:Boolean; if (_overwrittenProps == null){ _overwrittenProps = {}; }; for (_local3 in _arg1) { if ((_local3 in propTweenLookup)){ _local4 = propTweenLookup[_local3]; if (((_local4.isPlugin) && ((_local4.name == "_MULTIPLE_")))){ _local4.target.killProps(_arg1); if (_local4.target.overwriteProps.length == 0){ _local4.name = ""; }; }; if (_local4.name != "_MULTIPLE_"){ if (_local4.nextNode){ _local4.nextNode.prevNode = _local4.prevNode; }; if (_local4.prevNode){ _local4.prevNode.nextNode = _local4.nextNode; } else { if (this.cachedPT1 == _local4){ this.cachedPT1 = _local4.nextNode; }; }; if (((_local4.isPlugin) && (_local4.target.onDisable))){ _local4.target.onDisable(); if (_local4.target.activeDisable){ _local5 = true; }; }; delete propTweenLookup[_local3]; }; }; if (_arg2){ _overwrittenProps[_local3] = 1; }; }; return (_local5); } override public function setEnabled(_arg1:Boolean, _arg2:Boolean=false):Boolean{ var _local3:Array; if (_arg1 == this.gc){ if (_arg1){ _local3 = TweenLite.masterList[this.target]; if (!_local3){ TweenLite.masterList[this.target] = [this]; } else { _local3[_local3.length] = this; }; }; super.setEnabled(_arg1, _arg2); if (((_notifyPluginsOfEnabled) && (this.cachedPT1))){ return (onPluginEvent((_arg1) ? "onEnable" : "onDisable", this)); }; }; return (false); } public static function initClass():void{ rootFrame = 0; rootTimeline = new SimpleTimeline(null); rootFramesTimeline = new SimpleTimeline(null); rootTimeline.cachedStartTime = (getTimer() * 0.001); rootFramesTimeline.cachedStartTime = rootFrame; rootTimeline.autoRemoveChildren = true; rootFramesTimeline.autoRemoveChildren = true; _shape.addEventListener(Event.ENTER_FRAME, updateAll, false, 0, true); if (overwriteManager == null){ overwriteManager = {mode:1, enabled:false}; }; } public static function killTweensOf(_arg1:Object, _arg2:Boolean=false):void{ var _local3:Array; var _local4:int; if ((_arg1 in masterList)){ _local3 = masterList[_arg1]; _local4 = _local3.length; while (_local4--) { if (!TweenLite(_local3[_local4]).gc){ if (_arg2){ TweenLite(_local3[_local4]).complete(false, false); } else { TweenLite(_local3[_local4]).setEnabled(false, false); }; }; }; delete masterList[_arg1]; }; } public static function from(_arg1:Object, _arg2:Number, _arg3:Object):TweenLite{ _arg3.runBackwards = true; if (!("immediateRender" in _arg3)){ _arg3.immediateRender = true; }; return (new TweenLite(_arg1, _arg2, _arg3)); } protected static function easeOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{ _arg1 = (1 - (_arg1 / _arg4)); return ((1 - (_arg1 * _arg1))); } public static function delayedCall(_arg1:Number, _arg2:Function, _arg3:Array=null, _arg4:Boolean=false):TweenLite{ return (new TweenLite(_arg2, 0, {delay:_arg1, onComplete:_arg2, onCompleteParams:_arg3, immediateRender:false, useFrames:_arg4, overwrite:0})); } protected static function updateAll(_arg1:Event=null):void{ var _local2:Dictionary; var _local3:Object; var _local4:Array; var _local5:int; rootTimeline.renderTime((((getTimer() * 0.001) - rootTimeline.cachedStartTime) * rootTimeline.cachedTimeScale), false, false); rootFrame++; rootFramesTimeline.renderTime(((rootFrame - rootFramesTimeline.cachedStartTime) * rootFramesTimeline.cachedTimeScale), false, false); if (!(rootFrame % 60)){ _local2 = masterList; for (_local3 in _local2) { _local4 = _local2[_local3]; _local5 = _local4.length; while (_local5--) { if (TweenLite(_local4[_local5]).gc){ _local4.splice(_local5, 1); }; }; if (_local4.length == 0){ delete _local2[_local3]; }; }; }; } public static function to(_arg1:Object, _arg2:Number, _arg3:Object):TweenLite{ return (new TweenLite(_arg1, _arg2, _arg3)); } } }//package com.greensock
Section 396
//BaseScrollPane (fl.containers.BaseScrollPane) package fl.containers { import fl.core.*; import fl.controls.*; import flash.display.*; import flash.events.*; import fl.events.*; import flash.geom.*; public class BaseScrollPane extends UIComponent { protected var defaultLineScrollSize:Number;// = 4 protected var _maxHorizontalScrollPosition:Number;// = 0 protected var vScrollBar:Boolean; protected var disabledOverlay:Shape; protected var hScrollBar:Boolean; protected var availableWidth:Number; protected var _verticalPageScrollSize:Number;// = 0 protected var vOffset:Number;// = 0 protected var _verticalScrollBar:ScrollBar; protected var useFixedHorizontalScrolling:Boolean;// = false protected var contentWidth:Number;// = 0 protected var contentHeight:Number;// = 0 protected var _horizontalPageScrollSize:Number;// = 0 protected var background:DisplayObject; protected var _useBitmpScrolling:Boolean;// = false protected var contentPadding:Number;// = 0 protected var availableHeight:Number; protected var _horizontalScrollBar:ScrollBar; protected var contentScrollRect:Rectangle; protected var _horizontalScrollPolicy:String; protected var _verticalScrollPolicy:String; protected static const SCROLL_BAR_STYLES:Object = {upArrowDisabledSkin:"upArrowDisabledSkin", upArrowDownSkin:"upArrowDownSkin", upArrowOverSkin:"upArrowOverSkin", upArrowUpSkin:"upArrowUpSkin", downArrowDisabledSkin:"downArrowDisabledSkin", downArrowDownSkin:"downArrowDownSkin", downArrowOverSkin:"downArrowOverSkin", downArrowUpSkin:"downArrowUpSkin", thumbDisabledSkin:"thumbDisabledSkin", thumbDownSkin:"thumbDownSkin", thumbOverSkin:"thumbOverSkin", thumbUpSkin:"thumbUpSkin", thumbIcon:"thumbIcon", trackDisabledSkin:"trackDisabledSkin", trackDownSkin:"trackDownSkin", trackOverSkin:"trackOverSkin", trackUpSkin:"trackUpSkin", repeatDelay:"repeatDelay", repeatInterval:"repeatInterval"}; private static var defaultStyles:Object = {repeatDelay:500, repeatInterval:35, skin:"ScrollPane_upSkin", contentPadding:0, disabledAlpha:0.5}; public function BaseScrollPane(){ contentWidth = 0; contentHeight = 0; contentPadding = 0; vOffset = 0; _maxHorizontalScrollPosition = 0; _horizontalPageScrollSize = 0; _verticalPageScrollSize = 0; defaultLineScrollSize = 4; useFixedHorizontalScrolling = false; _useBitmpScrolling = false; super(); } protected function handleWheel(_arg1:MouseEvent):void{ if (((((!(enabled)) || (!(_verticalScrollBar.visible)))) || ((contentHeight <= availableHeight)))){ return; }; _verticalScrollBar.scrollPosition = (_verticalScrollBar.scrollPosition - (_arg1.delta * verticalLineScrollSize)); setVerticalScrollPosition(_verticalScrollBar.scrollPosition); dispatchEvent(new ScrollEvent(ScrollBarDirection.VERTICAL, _arg1.delta, horizontalScrollPosition)); } public function get verticalScrollPosition():Number{ return (_verticalScrollBar.scrollPosition); } protected function drawDisabledOverlay():void{ if (enabled){ if (contains(disabledOverlay)){ removeChild(disabledOverlay); }; } else { disabledOverlay.x = (disabledOverlay.y = contentPadding); disabledOverlay.width = availableWidth; disabledOverlay.height = availableHeight; disabledOverlay.alpha = (getStyleValue("disabledAlpha") as Number); addChild(disabledOverlay); }; } public function set verticalScrollPosition(_arg1:Number):void{ drawNow(); _verticalScrollBar.scrollPosition = _arg1; setVerticalScrollPosition(_verticalScrollBar.scrollPosition, false); } protected function setContentSize(_arg1:Number, _arg2:Number):void{ if ((((((contentWidth == _arg1)) || (useFixedHorizontalScrolling))) && ((contentHeight == _arg2)))){ return; }; contentWidth = _arg1; contentHeight = _arg2; invalidate(InvalidationType.SIZE); } public function get horizontalScrollPosition():Number{ return (_horizontalScrollBar.scrollPosition); } public function get horizontalScrollBar():ScrollBar{ return (_horizontalScrollBar); } override public function set enabled(_arg1:Boolean):void{ if (enabled == _arg1){ return; }; _verticalScrollBar.enabled = _arg1; _horizontalScrollBar.enabled = _arg1; super.enabled = _arg1; } public function get verticalLineScrollSize():Number{ return (_verticalScrollBar.lineScrollSize); } public function get horizontalScrollPolicy():String{ return (_horizontalScrollPolicy); } protected function calculateAvailableSize():void{ var _local1:Number; var _local2:Number; var _local3:Number; var _local4:Number; var _local5:Number; _local1 = ScrollBar.WIDTH; _local2 = (contentPadding = Number(getStyleValue("contentPadding"))); _local3 = ((height - (2 * _local2)) - vOffset); vScrollBar = (((_verticalScrollPolicy == ScrollPolicy.ON)) || ((((_verticalScrollPolicy == ScrollPolicy.AUTO)) && ((contentHeight > _local3))))); _local4 = ((width - (vScrollBar) ? _local1 : 0) - (2 * _local2)); _local5 = (useFixedHorizontalScrolling) ? _maxHorizontalScrollPosition : (contentWidth - _local4); hScrollBar = (((_horizontalScrollPolicy == ScrollPolicy.ON)) || ((((_horizontalScrollPolicy == ScrollPolicy.AUTO)) && ((_local5 > 0))))); if (hScrollBar){ _local3 = (_local3 - _local1); }; if (((((((hScrollBar) && (!(vScrollBar)))) && ((_verticalScrollPolicy == ScrollPolicy.AUTO)))) && ((contentHeight > _local3)))){ vScrollBar = true; _local4 = (_local4 - _local1); }; availableHeight = (_local3 + vOffset); availableWidth = _local4; } public function get maxVerticalScrollPosition():Number{ drawNow(); return (Math.max(0, (contentHeight - availableHeight))); } public function set horizontalScrollPosition(_arg1:Number):void{ drawNow(); _horizontalScrollBar.scrollPosition = _arg1; setHorizontalScrollPosition(_horizontalScrollBar.scrollPosition, false); } public function get horizontalLineScrollSize():Number{ return (_horizontalScrollBar.lineScrollSize); } public function set verticalPageScrollSize(_arg1:Number):void{ _verticalPageScrollSize = _arg1; invalidate(InvalidationType.SIZE); } public function get verticalScrollPolicy():String{ return (_verticalScrollPolicy); } protected function setHorizontalScrollPosition(_arg1:Number, _arg2:Boolean=false):void{ } public function get useBitmapScrolling():Boolean{ return (_useBitmpScrolling); } protected function handleScroll(_arg1:ScrollEvent):void{ if (_arg1.target == _verticalScrollBar){ setVerticalScrollPosition(_arg1.position); } else { setHorizontalScrollPosition(_arg1.position); }; } public function set verticalLineScrollSize(_arg1:Number):void{ _verticalScrollBar.lineScrollSize = _arg1; } public function get verticalScrollBar():ScrollBar{ return (_verticalScrollBar); } protected function setVerticalScrollPosition(_arg1:Number, _arg2:Boolean=false):void{ } public function set horizontalPageScrollSize(_arg1:Number):void{ _horizontalPageScrollSize = _arg1; invalidate(InvalidationType.SIZE); } override protected function draw():void{ if (isInvalid(InvalidationType.STYLES)){ setStyles(); drawBackground(); if (contentPadding != getStyleValue("contentPadding")){ invalidate(InvalidationType.SIZE, false); }; }; if (isInvalid(InvalidationType.SIZE, InvalidationType.STATE)){ drawLayout(); }; updateChildren(); super.draw(); } public function set horizontalScrollPolicy(_arg1:String):void{ _horizontalScrollPolicy = _arg1; invalidate(InvalidationType.SIZE); } override protected function configUI():void{ var _local1:Graphics; super.configUI(); contentScrollRect = new Rectangle(0, 0, 85, 85); _verticalScrollBar = new ScrollBar(); _verticalScrollBar.addEventListener(ScrollEvent.SCROLL, handleScroll, false, 0, true); _verticalScrollBar.visible = false; _verticalScrollBar.lineScrollSize = defaultLineScrollSize; addChild(_verticalScrollBar); copyStylesToChild(_verticalScrollBar, SCROLL_BAR_STYLES); _horizontalScrollBar = new ScrollBar(); _horizontalScrollBar.direction = ScrollBarDirection.HORIZONTAL; _horizontalScrollBar.addEventListener(ScrollEvent.SCROLL, handleScroll, false, 0, true); _horizontalScrollBar.visible = false; _horizontalScrollBar.lineScrollSize = defaultLineScrollSize; addChild(_horizontalScrollBar); copyStylesToChild(_horizontalScrollBar, SCROLL_BAR_STYLES); disabledOverlay = new Shape(); _local1 = disabledOverlay.graphics; _local1.beginFill(0xFFFFFF); _local1.drawRect(0, 0, width, height); _local1.endFill(); addEventListener(MouseEvent.MOUSE_WHEEL, handleWheel, false, 0, true); } protected function calculateContentWidth():void{ } public function get verticalPageScrollSize():Number{ if (isNaN(availableHeight)){ drawNow(); }; return (((((_verticalPageScrollSize == 0)) && (!(isNaN(availableHeight))))) ? availableHeight : _verticalPageScrollSize); } protected function drawLayout():void{ calculateAvailableSize(); calculateContentWidth(); background.width = width; background.height = height; if (vScrollBar){ _verticalScrollBar.visible = true; _verticalScrollBar.x = ((width - ScrollBar.WIDTH) - contentPadding); _verticalScrollBar.y = contentPadding; _verticalScrollBar.height = availableHeight; } else { _verticalScrollBar.visible = false; }; _verticalScrollBar.setScrollProperties(availableHeight, 0, (contentHeight - availableHeight), verticalPageScrollSize); setVerticalScrollPosition(_verticalScrollBar.scrollPosition, false); if (hScrollBar){ _horizontalScrollBar.visible = true; _horizontalScrollBar.x = contentPadding; _horizontalScrollBar.y = ((height - ScrollBar.WIDTH) - contentPadding); _horizontalScrollBar.width = availableWidth; } else { _horizontalScrollBar.visible = false; }; _horizontalScrollBar.setScrollProperties(availableWidth, 0, (useFixedHorizontalScrolling) ? _maxHorizontalScrollPosition : (contentWidth - availableWidth), horizontalPageScrollSize); setHorizontalScrollPosition(_horizontalScrollBar.scrollPosition, false); drawDisabledOverlay(); } protected function drawBackground():void{ var _local1:DisplayObject; _local1 = background; background = getDisplayObjectInstance(getStyleValue("skin")); background.width = width; background.height = height; addChildAt(background, 0); if (((!((_local1 == null))) && (!((_local1 == background))))){ removeChild(_local1); }; } public function set horizontalLineScrollSize(_arg1:Number):void{ _horizontalScrollBar.lineScrollSize = _arg1; } public function get horizontalPageScrollSize():Number{ if (isNaN(availableWidth)){ drawNow(); }; return (((((_horizontalPageScrollSize == 0)) && (!(isNaN(availableWidth))))) ? availableWidth : _horizontalPageScrollSize); } public function get maxHorizontalScrollPosition():Number{ drawNow(); return (Math.max(0, (contentWidth - availableWidth))); } protected function setStyles():void{ copyStylesToChild(_verticalScrollBar, SCROLL_BAR_STYLES); copyStylesToChild(_horizontalScrollBar, SCROLL_BAR_STYLES); } protected function updateChildren():void{ _verticalScrollBar.enabled = (_horizontalScrollBar.enabled = enabled); _verticalScrollBar.drawNow(); _horizontalScrollBar.drawNow(); } public function set verticalScrollPolicy(_arg1:String):void{ _verticalScrollPolicy = _arg1; invalidate(InvalidationType.SIZE); } public function set useBitmapScrolling(_arg1:Boolean):void{ _useBitmpScrolling = _arg1; invalidate(InvalidationType.STATE); } public static function getStyleDefinition():Object{ return (mergeStyles(defaultStyles, ScrollBar.getStyleDefinition())); } } }//package fl.containers
Section 397
//CellRenderer (fl.controls.listClasses.CellRenderer) package fl.controls.listClasses { import fl.controls.*; import flash.events.*; public class CellRenderer extends LabelButton implements ICellRenderer { protected var _data:Object; protected var _listData:ListData; private static var defaultStyles:Object = {upSkin:"CellRenderer_upSkin", downSkin:"CellRenderer_downSkin", overSkin:"CellRenderer_overSkin", disabledSkin:"CellRenderer_disabledSkin", selectedDisabledSkin:"CellRenderer_selectedDisabledSkin", selectedUpSkin:"CellRenderer_selectedUpSkin", selectedDownSkin:"CellRenderer_selectedDownSkin", selectedOverSkin:"CellRenderer_selectedOverSkin", textFormat:null, disabledTextFormat:null, embedFonts:null, textPadding:5}; public function CellRenderer():void{ toggle = true; focusEnabled = false; } override protected function toggleSelected(_arg1:MouseEvent):void{ } override public function get selected():Boolean{ return (super.selected); } public function set listData(_arg1:ListData):void{ _listData = _arg1; label = _listData.label; setStyle("icon", _listData.icon); } override public function set selected(_arg1:Boolean):void{ super.selected = _arg1; } public function set data(_arg1:Object):void{ _data = _arg1; } public function get listData():ListData{ return (_listData); } override public function setSize(_arg1:Number, _arg2:Number):void{ super.setSize(_arg1, _arg2); } override protected function drawLayout():void{ var _local1:Number; var _local2:Number; var _local3:Number; _local1 = Number(getStyleValue("textPadding")); _local2 = 0; if (icon != null){ icon.x = _local1; icon.y = Math.round(((height - icon.height) >> 1)); _local2 = (icon.width + _local1); }; if (label.length > 0){ textField.visible = true; _local3 = Math.max(0, ((width - _local2) - (_local1 * 2))); textField.width = _local3; textField.height = (textField.textHeight + 4); textField.x = (_local2 + _local1); textField.y = Math.round(((height - textField.height) >> 1)); } else { textField.visible = false; }; background.width = width; background.height = height; } public function get data():Object{ return (_data); } public static function getStyleDefinition():Object{ return (defaultStyles); } } }//package fl.controls.listClasses
Section 398
//ICellRenderer (fl.controls.listClasses.ICellRenderer) package fl.controls.listClasses { public interface ICellRenderer { function setSize(_arg1:Number, _arg2:Number):void; function get listData():ListData; function get data():Object; function setMouseState(_arg1:String):void; function set x(_arg1:Number):void; function set y(_arg1:Number):void; function set data(_arg1:Object):void; function set selected(_arg1:Boolean):void; function set listData(_arg1:ListData):void; function get selected():Boolean; } }//package fl.controls.listClasses
Section 399
//ListData (fl.controls.listClasses.ListData) package fl.controls.listClasses { import fl.core.*; public class ListData { protected var _index:uint; protected var _owner:UIComponent; protected var _label:String; protected var _icon:Object;// = null protected var _row:uint; protected var _column:uint; public function ListData(_arg1:String, _arg2:Object, _arg3:UIComponent, _arg4:uint, _arg5:uint, _arg6:uint=0){ _icon = null; super(); _label = _arg1; _icon = _arg2; _owner = _arg3; _index = _arg4; _row = _arg5; _column = _arg6; } public function get owner():UIComponent{ return (_owner); } public function get label():String{ return (_label); } public function get row():uint{ return (_row); } public function get index():uint{ return (_index); } public function get icon():Object{ return (_icon); } public function get column():uint{ return (_column); } } }//package fl.controls.listClasses
Section 400
//BaseButton (fl.controls.BaseButton) package fl.controls { import fl.core.*; import flash.display.*; import flash.utils.*; import flash.events.*; import fl.events.*; public class BaseButton extends UIComponent { protected var _selected:Boolean;// = false private var unlockedMouseState:String; protected var pressTimer:Timer; protected var mouseState:String; protected var background:DisplayObject; private var _mouseStateLocked:Boolean;// = false protected var _autoRepeat:Boolean;// = false private static var defaultStyles:Object = {upSkin:"Button_upSkin", downSkin:"Button_downSkin", overSkin:"Button_overSkin", disabledSkin:"Button_disabledSkin", selectedDisabledSkin:"Button_selectedDisabledSkin", selectedUpSkin:"Button_selectedUpSkin", selectedDownSkin:"Button_selectedDownSkin", selectedOverSkin:"Button_selectedOverSkin", focusRectSkin:null, focusRectPadding:null, repeatDelay:500, repeatInterval:35}; public function BaseButton(){ _selected = false; _autoRepeat = false; _mouseStateLocked = false; super(); buttonMode = true; mouseChildren = false; useHandCursor = false; setupMouseEvents(); setMouseState("up"); pressTimer = new Timer(1, 0); pressTimer.addEventListener(TimerEvent.TIMER, buttonDown, false, 0, true); } protected function endPress():void{ pressTimer.reset(); } public function set mouseStateLocked(_arg1:Boolean):void{ _mouseStateLocked = _arg1; if (_arg1 == false){ setMouseState(unlockedMouseState); } else { unlockedMouseState = mouseState; }; } public function get autoRepeat():Boolean{ return (_autoRepeat); } public function set autoRepeat(_arg1:Boolean):void{ _autoRepeat = _arg1; } override public function set enabled(_arg1:Boolean):void{ super.enabled = _arg1; mouseEnabled = _arg1; } public function get selected():Boolean{ return (_selected); } protected function mouseEventHandler(_arg1:MouseEvent):void{ if (_arg1.type == MouseEvent.MOUSE_DOWN){ setMouseState("down"); startPress(); } else { if ((((_arg1.type == MouseEvent.ROLL_OVER)) || ((_arg1.type == MouseEvent.MOUSE_UP)))){ setMouseState("over"); endPress(); } else { if (_arg1.type == MouseEvent.ROLL_OUT){ setMouseState("up"); endPress(); }; }; }; } public function setMouseState(_arg1:String):void{ if (_mouseStateLocked){ unlockedMouseState = _arg1; return; }; if (mouseState == _arg1){ return; }; mouseState = _arg1; invalidate(InvalidationType.STATE); } protected function startPress():void{ if (_autoRepeat){ pressTimer.delay = Number(getStyleValue("repeatDelay")); pressTimer.start(); }; dispatchEvent(new ComponentEvent(ComponentEvent.BUTTON_DOWN, true)); } protected function buttonDown(_arg1:TimerEvent):void{ if (!_autoRepeat){ endPress(); return; }; if (pressTimer.currentCount == 1){ pressTimer.delay = Number(getStyleValue("repeatInterval")); }; dispatchEvent(new ComponentEvent(ComponentEvent.BUTTON_DOWN, true)); } public function set selected(_arg1:Boolean):void{ if (_selected == _arg1){ return; }; _selected = _arg1; invalidate(InvalidationType.STATE); } override public function get enabled():Boolean{ return (super.enabled); } override protected function draw():void{ if (isInvalid(InvalidationType.STYLES, InvalidationType.STATE)){ drawBackground(); invalidate(InvalidationType.SIZE, false); }; if (isInvalid(InvalidationType.SIZE)){ drawLayout(); }; super.draw(); } protected function setupMouseEvents():void{ addEventListener(MouseEvent.ROLL_OVER, mouseEventHandler, false, 0, true); addEventListener(MouseEvent.MOUSE_DOWN, mouseEventHandler, false, 0, true); addEventListener(MouseEvent.MOUSE_UP, mouseEventHandler, false, 0, true); addEventListener(MouseEvent.ROLL_OUT, mouseEventHandler, false, 0, true); } protected function drawLayout():void{ background.width = width; background.height = height; } protected function drawBackground():void{ var _local1:String; var _local2:DisplayObject; _local1 = (enabled) ? mouseState : "disabled"; if (selected){ _local1 = (("selected" + _local1.substr(0, 1).toUpperCase()) + _local1.substr(1)); }; _local1 = (_local1 + "Skin"); _local2 = background; background = getDisplayObjectInstance(getStyleValue(_local1)); addChildAt(background, 0); if (((!((_local2 == null))) && (!((_local2 == background))))){ removeChild(_local2); }; } public static function getStyleDefinition():Object{ return (defaultStyles); } } }//package fl.controls
Section 401
//Button (fl.controls.Button) package fl.controls { import fl.core.*; import flash.display.*; import fl.managers.*; public class Button extends LabelButton implements IFocusManagerComponent { protected var emphasizedBorder:DisplayObject; protected var _emphasized:Boolean;// = false private static var defaultStyles:Object = {emphasizedSkin:"Button_emphasizedSkin", emphasizedPadding:2}; public static var createAccessibilityImplementation:Function; public function Button(){ _emphasized = false; super(); } override public function drawFocus(_arg1:Boolean):void{ var _local2:Number; var _local3:*; super.drawFocus(_arg1); if (_arg1){ _local2 = Number(getStyleValue("emphasizedPadding")); if ((((_local2 < 0)) || (!(_emphasized)))){ _local2 = 0; }; _local3 = getStyleValue("focusRectPadding"); _local3 = ((_local3)==null) ? 2 : _local3; _local3 = (_local3 + _local2); uiFocusRect.x = -(_local3); uiFocusRect.y = -(_local3); uiFocusRect.width = (width + (_local3 * 2)); uiFocusRect.height = (height + (_local3 * 2)); }; } public function set emphasized(_arg1:Boolean):void{ _emphasized = _arg1; invalidate(InvalidationType.STYLES); } override protected function draw():void{ if (((isInvalid(InvalidationType.STYLES)) || (isInvalid(InvalidationType.SIZE)))){ drawEmphasized(); }; super.draw(); if (emphasizedBorder != null){ setChildIndex(emphasizedBorder, (numChildren - 1)); }; } public function get emphasized():Boolean{ return (_emphasized); } override protected function initializeAccessibility():void{ if (Button.createAccessibilityImplementation != null){ Button.createAccessibilityImplementation(this); }; } protected function drawEmphasized():void{ var _local1:Object; var _local2:Number; if (emphasizedBorder != null){ removeChild(emphasizedBorder); }; emphasizedBorder = null; if (!_emphasized){ return; }; _local1 = getStyleValue("emphasizedSkin"); if (_local1 != null){ emphasizedBorder = getDisplayObjectInstance(_local1); }; if (emphasizedBorder != null){ addChildAt(emphasizedBorder, 0); _local2 = Number(getStyleValue("emphasizedPadding")); emphasizedBorder.x = (emphasizedBorder.y = -(_local2)); emphasizedBorder.width = (width + (_local2 * 2)); emphasizedBorder.height = (height + (_local2 * 2)); }; } public static function getStyleDefinition():Object{ return (UIComponent.mergeStyles(LabelButton.getStyleDefinition(), defaultStyles)); } } }//package fl.controls
Section 402
//ButtonLabelPlacement (fl.controls.ButtonLabelPlacement) package fl.controls { public class ButtonLabelPlacement { public static const TOP:String = "top"; public static const LEFT:String = "left"; public static const BOTTOM:String = "bottom"; public static const RIGHT:String = "right"; } }//package fl.controls
Section 403
//ComboBox (fl.controls.ComboBox) package fl.controls { import fl.controls.listClasses.*; import fl.core.*; import flash.display.*; import flash.events.*; import fl.data.*; import fl.managers.*; import fl.events.*; import flash.text.*; import flash.ui.*; import flash.geom.*; public class ComboBox extends UIComponent implements IFocusManagerComponent { protected var _dropdownWidth:Number; protected var highlightedCell:int;// = -1 protected var _prompt:String; protected var isOpen:Boolean;// = false protected var list:List; protected var _rowCount:uint;// = 5 protected var currentIndex:int; protected var isKeyDown:Boolean;// = false protected var _labels:Array; protected var background:BaseButton; protected var inputField:TextInput; protected var listOverIndex:uint; protected var editableValue:String; protected var _editable:Boolean;// = false private var collectionItemImport:SimpleCollectionItem; protected static const BACKGROUND_STYLES:Object = {overSkin:"overSkin", downSkin:"downSkin", upSkin:"upSkin", disabledSkin:"disabledSkin", repeatInterval:"repeatInterval"}; protected static const LIST_STYLES:Object = {upSkin:"comboListUpSkin", overSkin:"comboListOverSkin", downSkin:"comobListDownSkin", disabledSkin:"comboListDisabledSkin", downArrowDisabledSkin:"downArrowDisabledSkin", downArrowDownSkin:"downArrowDownSkin", downArrowOverSkin:"downArrowOverSkin", downArrowUpSkin:"downArrowUpSkin", upArrowDisabledSkin:"upArrowDisabledSkin", upArrowDownSkin:"upArrowDownSkin", upArrowOverSkin:"upArrowOverSkin", upArrowUpSkin:"upArrowUpSkin", thumbDisabledSkin:"thumbDisabledSkin", thumbDownSkin:"thumbDownSkin", thumbOverSkin:"thumbOverSkin", thumbUpSkin:"thumbUpSkin", thumbIcon:"thumbIcon", trackDisabledSkin:"trackDisabledSkin", trackDownSkin:"trackDownSkin", trackOverSkin:"trackOverSkin", trackUpSkin:"trackUpSkin", repeatDelay:"repeatDelay", repeatInterval:"repeatInterval", textFormat:"textFormat", disabledAlpha:"disabledAlpha", skin:"listSkin"}; private static var defaultStyles:Object = {upSkin:"ComboBox_upSkin", downSkin:"ComboBox_downSkin", overSkin:"ComboBox_overSkin", disabledSkin:"ComboBox_disabledSkin", focusRectSkin:null, focusRectPadding:null, textFormat:null, disabledTextFormat:null, textPadding:3, buttonWidth:24, disabledAlpha:null, listSkin:null}; public static var createAccessibilityImplementation:Function; public function ComboBox(){ _rowCount = 5; _editable = false; isOpen = false; highlightedCell = -1; isKeyDown = false; super(); } protected function drawList():void{ list.rowCount = Math.max(0, Math.min(_rowCount, list.dataProvider.length)); } public function set imeMode(_arg1:String):void{ inputField.imeMode = _arg1; } public function get dropdown():List{ return (list); } public function get dropdownWidth():Number{ return (list.width); } public function sortItemsOn(_arg1:String, _arg2:Object=null){ return (list.sortItemsOn(_arg1, _arg2)); } protected function onEnter(_arg1:ComponentEvent):void{ _arg1.stopPropagation(); } public function removeItemAt(_arg1:uint):void{ list.removeItemAt(_arg1); invalidate(InvalidationType.DATA); } public function open():void{ currentIndex = selectedIndex; if (((isOpen) || ((length == 0)))){ return; }; dispatchEvent(new Event(Event.OPEN)); isOpen = true; addEventListener(Event.ENTER_FRAME, addCloseListener, false, 0, true); positionList(); list.scrollToSelected(); stage.addChild(list); } public function get selectedItem():Object{ return (list.selectedItem); } public function set text(_arg1:String):void{ if (!editable){ return; }; inputField.text = _arg1; } public function get labelField():String{ return (list.labelField); } override protected function keyDownHandler(_arg1:KeyboardEvent):void{ var _local2:int; var _local3:uint; var _local4:Number; var _local5:int; isKeyDown = true; if (_arg1.ctrlKey){ switch (_arg1.keyCode){ case Keyboard.UP: if (highlightedCell > -1){ selectedIndex = highlightedCell; dispatchEvent(new Event(Event.CHANGE)); }; close(); break; case Keyboard.DOWN: open(); break; }; return; }; _arg1.stopPropagation(); _local2 = Math.max(((calculateAvailableHeight() / list.rowHeight) << 0), 1); _local3 = selectedIndex; _local4 = ((highlightedCell)==-1) ? selectedIndex : highlightedCell; _local5 = -1; switch (_arg1.keyCode){ case Keyboard.SPACE: if (isOpen){ close(); } else { open(); }; return; case Keyboard.ESCAPE: if (isOpen){ if (highlightedCell > -1){ selectedIndex = selectedIndex; }; close(); }; return; case Keyboard.UP: _local5 = Math.max(0, (_local4 - 1)); break; case Keyboard.DOWN: _local5 = Math.min((length - 1), (_local4 + 1)); break; case Keyboard.PAGE_UP: _local5 = Math.max((_local4 - _local2), 0); break; case Keyboard.PAGE_DOWN: _local5 = Math.min((_local4 + _local2), (length - 1)); break; case Keyboard.HOME: _local5 = 0; break; case Keyboard.END: _local5 = (length - 1); break; case Keyboard.ENTER: if (((_editable) && ((highlightedCell == -1)))){ editableValue = inputField.text; selectedIndex = -1; } else { if (((isOpen) && ((highlightedCell > -1)))){ editableValue = null; selectedIndex = highlightedCell; dispatchEvent(new Event(Event.CHANGE)); }; }; dispatchEvent(new ComponentEvent(ComponentEvent.ENTER)); close(); return; default: if (editable){ break; }; _local5 = list.getNextIndexAtLetter(String.fromCharCode(_arg1.keyCode), _local4); break; }; if (_local5 > -1){ if (isOpen){ highlightCell(_local5); inputField.text = list.itemToLabel(getItemAt(_local5)); } else { highlightCell(); selectedIndex = _local5; dispatchEvent(new Event(Event.CHANGE)); }; }; } public function set dropdownWidth(_arg1:Number):void{ _dropdownWidth = _arg1; invalidate(InvalidationType.SIZE); } public function get editable():Boolean{ return (_editable); } override protected function focusInHandler(_arg1:FocusEvent):void{ super.focusInHandler(_arg1); if (editable){ stage.focus = inputField.textField; }; } protected function onStageClick(_arg1:MouseEvent):void{ if (!isOpen){ return; }; if (((!(contains((_arg1.target as DisplayObject)))) && (!(list.contains((_arg1.target as DisplayObject)))))){ if (highlightedCell != -1){ selectedIndex = highlightedCell; dispatchEvent(new Event(Event.CHANGE)); }; close(); }; } protected function handleDataChange(_arg1:DataChangeEvent):void{ invalidate(InvalidationType.DATA); } override protected function keyUpHandler(_arg1:KeyboardEvent):void{ isKeyDown = false; } protected function onListItemUp(_arg1:MouseEvent):void{ var _local2:*; stage.removeEventListener(MouseEvent.MOUSE_UP, onListItemUp); if (((!((_arg1.target is ICellRenderer))) || (!(list.contains((_arg1.target as DisplayObject)))))){ return; }; editableValue = null; _local2 = selectedIndex; selectedIndex = _arg1.target.listData.index; if (_local2 != selectedIndex){ dispatchEvent(new Event(Event.CHANGE)); }; close(); } public function removeAll():void{ list.removeAll(); inputField.text = ""; invalidate(InvalidationType.DATA); } public function set selectedItem(_arg1:Object):void{ list.selectedItem = _arg1; invalidate(InvalidationType.SELECTED); } protected function highlightCell(_arg1:int=-1):void{ var _local2:ICellRenderer; if (highlightedCell > -1){ _local2 = list.itemToCellRenderer(getItemAt(highlightedCell)); if (_local2 != null){ _local2.setMouseState("up"); }; }; if (_arg1 == -1){ return; }; list.scrollToIndex(_arg1); list.drawNow(); _local2 = list.itemToCellRenderer(getItemAt(_arg1)); if (_local2 != null){ _local2.setMouseState("over"); highlightedCell = _arg1; }; } public function itemToLabel(_arg1:Object):String{ if (_arg1 == null){ return (""); }; return (list.itemToLabel(_arg1)); } public function addItemAt(_arg1:Object, _arg2:uint):void{ list.addItemAt(_arg1, _arg2); invalidate(InvalidationType.DATA); } public function replaceItemAt(_arg1:Object, _arg2:uint):Object{ return (list.replaceItemAt(_arg1, _arg2)); } protected function showPrompt():void{ inputField.text = _prompt; } public function set rowCount(_arg1:uint):void{ _rowCount = _arg1; invalidate(InvalidationType.SIZE); } public function get restrict():String{ return (inputField.restrict); } protected function setEmbedFonts():void{ var _local1:Object; _local1 = getStyleValue("embedFonts"); if (_local1 != null){ inputField.textField.embedFonts = _local1; }; } public function sortItems(... _args){ return (list.sortItems.apply(list, _args)); } public function set labelField(_arg1:String):void{ list.labelField = _arg1; invalidate(InvalidationType.DATA); } public function set editable(_arg1:Boolean):void{ _editable = _arg1; drawTextField(); } public function set prompt(_arg1:String):void{ if (_arg1 == ""){ _prompt = null; } else { _prompt = _arg1; }; invalidate(InvalidationType.STATE); } public function get length():int{ return (list.length); } protected function drawTextField():void{ inputField.setStyle("upSkin", ""); inputField.setStyle("disabledSkin", ""); inputField.enabled = enabled; inputField.editable = _editable; inputField.textField.selectable = ((enabled) && (_editable)); inputField.mouseEnabled = (inputField.mouseChildren = ((enabled) && (_editable))); inputField.focusEnabled = false; if (_editable){ inputField.addEventListener(FocusEvent.FOCUS_IN, onInputFieldFocus, false, 0, true); inputField.addEventListener(FocusEvent.FOCUS_OUT, onInputFieldFocusOut, false, 0, true); } else { inputField.removeEventListener(FocusEvent.FOCUS_IN, onInputFieldFocus); inputField.removeEventListener(FocusEvent.FOCUS_OUT, onInputFieldFocusOut); }; } protected function onInputFieldFocusOut(_arg1:FocusEvent):void{ inputField.removeEventListener(ComponentEvent.ENTER, onEnter); selectedIndex = selectedIndex; } protected function passEvent(_arg1:Event):void{ dispatchEvent(_arg1); } public function get imeMode():String{ return (inputField.imeMode); } public function get labelFunction():Function{ return (list.labelFunction); } protected function calculateAvailableHeight():Number{ var _local1:Number; _local1 = Number(getStyleValue("contentPadding")); return ((list.height - (_local1 * 2))); } public function get selectedIndex():int{ return (list.selectedIndex); } override protected function focusOutHandler(_arg1:FocusEvent):void{ isKeyDown = false; if (isOpen){ if (((!(_arg1.relatedObject)) || (!(list.contains(_arg1.relatedObject))))){ if (((!((highlightedCell == -1))) && (!((highlightedCell == selectedIndex))))){ selectedIndex = highlightedCell; dispatchEvent(new Event(Event.CHANGE)); }; close(); }; }; super.focusOutHandler(_arg1); } public function get selectedLabel():String{ if (editableValue != null){ return (editableValue); }; if (selectedIndex == -1){ return (null); }; return (itemToLabel(selectedItem)); } public function get text():String{ return (inputField.text); } protected function onListChange(_arg1:Event):void{ editableValue = null; dispatchEvent(_arg1); invalidate(InvalidationType.SELECTED); if (isKeyDown){ return; }; close(); } protected function onToggleListVisibility(_arg1:MouseEvent):void{ _arg1.stopPropagation(); dispatchEvent(_arg1); if (isOpen){ close(); } else { open(); stage.addEventListener(MouseEvent.MOUSE_UP, onListItemUp, false, 0, true); }; } override protected function draw():void{ var _local1:*; _local1 = selectedIndex; if ((((_local1 == -1)) && (((((!((prompt == null))) || (editable))) || ((length == 0)))))){ _local1 = Math.max(-1, Math.min(_local1, (length - 1))); } else { editableValue = null; _local1 = Math.max(0, Math.min(_local1, (length - 1))); }; if (list.selectedIndex != _local1){ list.selectedIndex = _local1; invalidate(InvalidationType.SELECTED, false); }; if (isInvalid(InvalidationType.STYLES)){ setStyles(); setEmbedFonts(); invalidate(InvalidationType.SIZE, false); }; if (isInvalid(InvalidationType.SIZE, InvalidationType.DATA, InvalidationType.STATE)){ drawTextFormat(); drawLayout(); invalidate(InvalidationType.DATA); }; if (isInvalid(InvalidationType.DATA)){ drawList(); invalidate(InvalidationType.SELECTED, true); }; if (isInvalid(InvalidationType.SELECTED)){ if ((((_local1 == -1)) && (!((editableValue == null))))){ inputField.text = editableValue; } else { if (_local1 > -1){ if (length > 0){ inputField.horizontalScrollPosition = 0; inputField.text = itemToLabel(list.selectedItem); }; } else { if ((((_local1 == -1)) && (!((_prompt == null))))){ showPrompt(); } else { inputField.text = ""; }; }; }; if (((((editable) && ((selectedIndex > -1)))) && ((stage.focus == inputField.textField)))){ inputField.setSelection(0, inputField.length); }; }; drawTextField(); super.draw(); } public function addItem(_arg1:Object):void{ list.addItem(_arg1); invalidate(InvalidationType.DATA); } public function get rowCount():uint{ return (_rowCount); } override protected function configUI():void{ super.configUI(); background = new BaseButton(); background.focusEnabled = false; copyStylesToChild(background, BACKGROUND_STYLES); background.addEventListener(MouseEvent.MOUSE_DOWN, onToggleListVisibility, false, 0, true); addChild(background); inputField = new TextInput(); inputField.focusTarget = (this as IFocusManagerComponent); inputField.focusEnabled = false; inputField.addEventListener(Event.CHANGE, onTextInput, false, 0, true); addChild(inputField); list = new List(); list.focusEnabled = false; copyStylesToChild(list, LIST_STYLES); list.addEventListener(Event.CHANGE, onListChange, false, 0, true); list.addEventListener(ListEvent.ITEM_CLICK, onListChange, false, 0, true); list.addEventListener(ListEvent.ITEM_ROLL_OUT, passEvent, false, 0, true); list.addEventListener(ListEvent.ITEM_ROLL_OVER, passEvent, false, 0, true); list.verticalScrollBar.addEventListener(Event.SCROLL, passEvent, false, 0, true); } protected function positionList():void{ var _local1:Point; _local1 = localToGlobal(new Point(0, 0)); list.x = _local1.x; if (((_local1.y + height) + list.height) > stage.stageHeight){ list.y = (_local1.y - list.height); } else { list.y = (_local1.y + height); }; } public function get value():String{ var _local1:Object; if (editableValue != null){ return (editableValue); }; _local1 = selectedItem; if (((!(_editable)) && (!((_local1.data == null))))){ return (_local1.data); }; return (itemToLabel(_local1)); } public function get prompt():String{ return (_prompt); } public function set dataProvider(_arg1:DataProvider):void{ _arg1.addEventListener(DataChangeEvent.DATA_CHANGE, handleDataChange, false, 0, true); list.dataProvider = _arg1; invalidate(InvalidationType.DATA); } public function set restrict(_arg1:String):void{ if (((componentInspectorSetting) && ((_arg1 == "")))){ _arg1 = null; }; if (!_editable){ return; }; inputField.restrict = _arg1; } protected function onTextInput(_arg1:Event):void{ _arg1.stopPropagation(); if (!_editable){ return; }; editableValue = inputField.text; selectedIndex = -1; dispatchEvent(new Event(Event.CHANGE)); } protected function onInputFieldFocus(_arg1:FocusEvent):void{ inputField.addEventListener(ComponentEvent.ENTER, onEnter, false, 0, true); close(); } public function getItemAt(_arg1:uint):Object{ return (list.getItemAt(_arg1)); } override protected function initializeAccessibility():void{ if (ComboBox.createAccessibilityImplementation != null){ ComboBox.createAccessibilityImplementation(this); }; } protected function drawLayout():void{ var _local1:Number; var _local2:Number; _local1 = (getStyleValue("buttonWidth") as Number); _local2 = (getStyleValue("textPadding") as Number); background.setSize(width, height); inputField.x = (inputField.y = _local2); inputField.setSize(((width - _local1) - _local2), (height - _local2)); list.width = (isNaN(_dropdownWidth)) ? width : _dropdownWidth; background.enabled = enabled; background.drawNow(); } public function removeItem(_arg1:Object):Object{ return (list.removeItem(_arg1)); } private function addCloseListener(_arg1:Event){ removeEventListener(Event.ENTER_FRAME, addCloseListener); if (!isOpen){ return; }; stage.addEventListener(MouseEvent.MOUSE_DOWN, onStageClick, false, 0, true); } public function get dataProvider():DataProvider{ return (list.dataProvider); } public function get textField():TextInput{ return (inputField); } protected function setStyles():void{ copyStylesToChild(background, BACKGROUND_STYLES); copyStylesToChild(list, LIST_STYLES); } public function set labelFunction(_arg1:Function):void{ list.labelFunction = _arg1; invalidate(InvalidationType.DATA); } protected function drawTextFormat():void{ var _local1:TextFormat; _local1 = (getStyleValue((_enabled) ? "textFormat" : "disabledTextFormat") as TextFormat); if (_local1 == null){ _local1 = new TextFormat(); }; inputField.textField.defaultTextFormat = _local1; inputField.textField.setTextFormat(_local1); setEmbedFonts(); } public function set selectedIndex(_arg1:int):void{ list.selectedIndex = _arg1; highlightCell(); invalidate(InvalidationType.SELECTED); } public function close():void{ highlightCell(); highlightedCell = -1; if (!isOpen){ return; }; dispatchEvent(new Event(Event.CLOSE)); stage.removeEventListener(MouseEvent.MOUSE_DOWN, onStageClick); isOpen = false; stage.removeChild(list); } public static function getStyleDefinition():Object{ return (mergeStyles(defaultStyles, List.getStyleDefinition())); } } }//package fl.controls
Section 404
//LabelButton (fl.controls.LabelButton) package fl.controls { import fl.core.*; import flash.display.*; import flash.events.*; import fl.managers.*; import fl.events.*; import flash.text.*; import flash.ui.*; public class LabelButton extends BaseButton implements IFocusManagerComponent { protected var _labelPlacement:String;// = "right" protected var _toggle:Boolean;// = false protected var icon:DisplayObject; protected var oldMouseState:String; protected var mode:String;// = "center" public var textField:TextField; protected var _label:String;// = "Label" private static var defaultStyles:Object = {icon:null, upIcon:null, downIcon:null, overIcon:null, disabledIcon:null, selectedDisabledIcon:null, selectedUpIcon:null, selectedDownIcon:null, selectedOverIcon:null, textFormat:null, disabledTextFormat:null, textPadding:5, embedFonts:false}; public static var createAccessibilityImplementation:Function; public function LabelButton(){ _labelPlacement = ButtonLabelPlacement.RIGHT; _toggle = false; _label = "Label"; mode = "center"; super(); } protected function toggleSelected(_arg1:MouseEvent):void{ selected = !(selected); dispatchEvent(new Event(Event.CHANGE, true)); } public function get labelPlacement():String{ return (_labelPlacement); } override protected function keyDownHandler(_arg1:KeyboardEvent):void{ if (!enabled){ return; }; if (_arg1.keyCode == Keyboard.SPACE){ if (oldMouseState == null){ oldMouseState = mouseState; }; setMouseState("down"); startPress(); }; } protected function setEmbedFont(){ var _local1:Object; _local1 = getStyleValue("embedFonts"); if (_local1 != null){ textField.embedFonts = _local1; }; } override protected function keyUpHandler(_arg1:KeyboardEvent):void{ if (!enabled){ return; }; if (_arg1.keyCode == Keyboard.SPACE){ setMouseState(oldMouseState); oldMouseState = null; endPress(); dispatchEvent(new MouseEvent(MouseEvent.CLICK)); }; } override public function get selected():Boolean{ return ((_toggle) ? _selected : false); } public function set labelPlacement(_arg1:String):void{ _labelPlacement = _arg1; invalidate(InvalidationType.SIZE); } public function set toggle(_arg1:Boolean):void{ if (((!(_arg1)) && (super.selected))){ selected = false; }; _toggle = _arg1; if (_toggle){ addEventListener(MouseEvent.CLICK, toggleSelected, false, 0, true); } else { removeEventListener(MouseEvent.CLICK, toggleSelected); }; invalidate(InvalidationType.STATE); } public function get label():String{ return (_label); } override public function set selected(_arg1:Boolean):void{ _selected = _arg1; if (_toggle){ invalidate(InvalidationType.STATE); }; } override protected function draw():void{ if (textField.text != _label){ label = _label; }; if (isInvalid(InvalidationType.STYLES, InvalidationType.STATE)){ drawBackground(); drawIcon(); drawTextFormat(); invalidate(InvalidationType.SIZE, false); }; if (isInvalid(InvalidationType.SIZE)){ drawLayout(); }; if (isInvalid(InvalidationType.SIZE, InvalidationType.STYLES)){ if (((isFocused) && (focusManager.showFocusIndicator))){ drawFocus(true); }; }; validate(); } public function get toggle():Boolean{ return (_toggle); } override protected function configUI():void{ super.configUI(); textField = new TextField(); textField.type = TextFieldType.DYNAMIC; textField.selectable = false; addChild(textField); } override protected function drawLayout():void{ var _local1:Number; var _local2:String; var _local3:Number; var _local4:Number; var _local5:Number; var _local6:Number; var _local7:Number; var _local8:Number; _local1 = Number(getStyleValue("textPadding")); _local2 = ((((icon == null)) && ((mode == "center")))) ? ButtonLabelPlacement.TOP : _labelPlacement; textField.height = (textField.textHeight + 4); _local3 = (textField.textWidth + 4); _local4 = (textField.textHeight + 4); _local5 = ((icon)==null) ? 0 : (icon.width + _local1); _local6 = ((icon)==null) ? 0 : (icon.height + _local1); textField.visible = (label.length > 0); if (icon != null){ icon.x = Math.round(((width - icon.width) / 2)); icon.y = Math.round(((height - icon.height) / 2)); }; if (textField.visible == false){ textField.width = 0; textField.height = 0; } else { if ((((_local2 == ButtonLabelPlacement.BOTTOM)) || ((_local2 == ButtonLabelPlacement.TOP)))){ _local7 = Math.max(0, Math.min(_local3, (width - (2 * _local1)))); if ((height - 2) > _local4){ _local8 = _local4; } else { _local8 = (height - 2); }; _local3 = _local7; textField.width = _local3; _local4 = _local8; textField.height = _local4; textField.x = Math.round(((width - _local3) / 2)); textField.y = Math.round(((((height - textField.height) - _local6) / 2) + ((_local2)==ButtonLabelPlacement.BOTTOM) ? _local6 : 0)); if (icon != null){ icon.y = Math.round(((_local2)==ButtonLabelPlacement.BOTTOM) ? (textField.y - _local6) : ((textField.y + textField.height) + _local1)); }; } else { _local7 = Math.max(0, Math.min(_local3, ((width - _local5) - (2 * _local1)))); _local3 = _local7; textField.width = _local3; textField.x = Math.round(((((width - _local3) - _local5) / 2) + ((_local2)!=ButtonLabelPlacement.LEFT) ? _local5 : 0)); textField.y = Math.round(((height - textField.height) / 2)); if (icon != null){ icon.x = Math.round(((_local2)!=ButtonLabelPlacement.LEFT) ? (textField.x - _local5) : ((textField.x + _local3) + _local1)); }; }; }; super.drawLayout(); } override protected function initializeAccessibility():void{ if (LabelButton.createAccessibilityImplementation != null){ LabelButton.createAccessibilityImplementation(this); }; } protected function drawIcon():void{ var _local1:DisplayObject; var _local2:String; var _local3:Object; _local1 = icon; _local2 = (enabled) ? mouseState : "disabled"; if (selected){ _local2 = (("selected" + _local2.substr(0, 1).toUpperCase()) + _local2.substr(1)); }; _local2 = (_local2 + "Icon"); _local3 = getStyleValue(_local2); if (_local3 == null){ _local3 = getStyleValue("icon"); }; if (_local3 != null){ icon = getDisplayObjectInstance(_local3); }; if (icon != null){ addChildAt(icon, 1); }; if (((!((_local1 == null))) && (!((_local1 == icon))))){ removeChild(_local1); }; } public function set label(_arg1:String):void{ _label = _arg1; if (textField.text != _label){ textField.text = _label; dispatchEvent(new ComponentEvent(ComponentEvent.LABEL_CHANGE)); }; invalidate(InvalidationType.SIZE); invalidate(InvalidationType.STYLES); } protected function drawTextFormat():void{ var _local1:Object; var _local2:TextFormat; var _local3:TextFormat; _local1 = UIComponent.getStyleDefinition(); _local2 = (enabled) ? (_local1.defaultTextFormat as TextFormat) : (_local1.defaultDisabledTextFormat as TextFormat); textField.setTextFormat(_local2); _local3 = (getStyleValue((enabled) ? "textFormat" : "disabledTextFormat") as TextFormat); if (_local3 != null){ textField.setTextFormat(_local3); } else { _local3 = _local2; }; textField.defaultTextFormat = _local3; setEmbedFont(); } public static function getStyleDefinition():Object{ return (mergeStyles(defaultStyles, BaseButton.getStyleDefinition())); } } }//package fl.controls
Section 405
//List (fl.controls.List) package fl.controls { import fl.controls.listClasses.*; import fl.core.*; import flash.display.*; import flash.utils.*; import flash.events.*; import fl.managers.*; import flash.ui.*; import flash.geom.*; public class List extends SelectableList implements IFocusManagerComponent { protected var _labelField:String;// = "label" protected var _rowHeight:Number;// = 20 protected var _cellRenderer:Object; protected var _iconField:String;// = "icon" protected var _labelFunction:Function; protected var _iconFunction:Function; private static var defaultStyles:Object = {focusRectSkin:null, focusRectPadding:null}; public static var createAccessibilityImplementation:Function; public function List(){ _rowHeight = 20; _labelField = "label"; _iconField = "icon"; super(); } public function get iconField():String{ return (_iconField); } protected function doKeySelection(_arg1:int, _arg2:Boolean, _arg3:Boolean):void{ var _local4:Boolean; var _local5:int; var _local6:Array; var _local7:int; var _local8:int; _local4 = false; if (_arg2){ _local6 = []; _local7 = lastCaretIndex; _local8 = _arg1; if (_local7 == -1){ _local7 = ((caretIndex)!=-1) ? caretIndex : _arg1; }; if (_local7 > _local8){ _local8 = _local7; _local7 = _arg1; }; _local5 = _local7; while (_local5 <= _local8) { _local6.push(_local5); _local5++; }; selectedIndices = _local6; caretIndex = _arg1; _local4 = true; } else { selectedIndex = _arg1; caretIndex = (lastCaretIndex = _arg1); _local4 = true; }; if (_local4){ dispatchEvent(new Event(Event.CHANGE)); }; invalidate(InvalidationType.DATA); } override protected function drawList():void{ var _local1:Rectangle; var _local2:uint; var _local3:uint; var _local4:uint; var _local5:Object; var _local6:ICellRenderer; var _local7:Dictionary; var _local8:Dictionary; var _local9:Boolean; var _local10:String; var _local11:Object; var _local12:Sprite; var _local13:String; listHolder.x = (listHolder.y = contentPadding); _local1 = listHolder.scrollRect; _local1.x = _horizontalScrollPosition; _local1.y = (Math.floor(_verticalScrollPosition) % rowHeight); listHolder.scrollRect = _local1; listHolder.cacheAsBitmap = useBitmapScrolling; _local2 = Math.floor((_verticalScrollPosition / rowHeight)); _local3 = Math.min(length, ((_local2 + rowCount) + 1)); _local7 = (renderedItems = new Dictionary(true)); _local4 = _local2; while (_local4 < _local3) { _local7[_dataProvider.getItemAt(_local4)] = true; _local4++; }; _local8 = new Dictionary(true); while (activeCellRenderers.length > 0) { _local6 = (activeCellRenderers.pop() as ICellRenderer); _local5 = _local6.data; if ((((_local7[_local5] == null)) || ((invalidItems[_local5] == true)))){ availableCellRenderers.push(_local6); } else { _local8[_local5] = _local6; invalidItems[_local5] = true; }; list.removeChild((_local6 as DisplayObject)); }; invalidItems = new Dictionary(true); _local4 = _local2; while (_local4 < _local3) { _local9 = false; _local5 = _dataProvider.getItemAt(_local4); if (_local8[_local5] != null){ _local9 = true; _local6 = _local8[_local5]; delete _local8[_local5]; } else { if (availableCellRenderers.length > 0){ _local6 = (availableCellRenderers.pop() as ICellRenderer); } else { _local6 = (getDisplayObjectInstance(getStyleValue("cellRenderer")) as ICellRenderer); _local12 = (_local6 as Sprite); if (_local12 != null){ _local12.addEventListener(MouseEvent.CLICK, handleCellRendererClick, false, 0, true); _local12.addEventListener(MouseEvent.ROLL_OVER, handleCellRendererMouseEvent, false, 0, true); _local12.addEventListener(MouseEvent.ROLL_OUT, handleCellRendererMouseEvent, false, 0, true); _local12.addEventListener(Event.CHANGE, handleCellRendererChange, false, 0, true); _local12.doubleClickEnabled = true; _local12.addEventListener(MouseEvent.DOUBLE_CLICK, handleCellRendererDoubleClick, false, 0, true); if (_local12["setStyle"] != null){ for (_local13 in rendererStyles) { var _local16 = _local12; _local16["setStyle"](_local13, rendererStyles[_local13]); }; }; }; }; }; list.addChild((_local6 as Sprite)); activeCellRenderers.push(_local6); _local6.y = (rowHeight * (_local4 - _local2)); _local6.setSize((availableWidth + _maxHorizontalScrollPosition), rowHeight); _local10 = itemToLabel(_local5); _local11 = null; if (_iconFunction != null){ _local11 = _iconFunction(_local5); } else { if (_iconField != null){ _local11 = _local5[_iconField]; }; }; if (!_local9){ _local6.data = _local5; }; _local6.listData = new ListData(_local10, _local11, this, _local4, _local4, 0); _local6.selected = !((_selectedIndices.indexOf(_local4) == -1)); if ((_local6 is UIComponent)){ (_local6 as UIComponent).drawNow(); }; _local4++; }; } public function get iconFunction():Function{ return (_iconFunction); } public function set iconField(_arg1:String):void{ if (_arg1 == _iconField){ return; }; _iconField = _arg1; invalidate(InvalidationType.DATA); } override protected function keyDownHandler(_arg1:KeyboardEvent):void{ var _local2:int; if (!selectable){ return; }; switch (_arg1.keyCode){ case Keyboard.UP: case Keyboard.DOWN: case Keyboard.END: case Keyboard.HOME: case Keyboard.PAGE_UP: case Keyboard.PAGE_DOWN: moveSelectionVertically(_arg1.keyCode, ((_arg1.shiftKey) && (_allowMultipleSelection)), ((_arg1.ctrlKey) && (_allowMultipleSelection))); break; case Keyboard.LEFT: case Keyboard.RIGHT: moveSelectionHorizontally(_arg1.keyCode, ((_arg1.shiftKey) && (_allowMultipleSelection)), ((_arg1.ctrlKey) && (_allowMultipleSelection))); break; case Keyboard.SPACE: if (caretIndex == -1){ caretIndex = 0; }; doKeySelection(caretIndex, _arg1.shiftKey, _arg1.ctrlKey); scrollToSelected(); break; default: _local2 = getNextIndexAtLetter(String.fromCharCode(_arg1.keyCode), selectedIndex); if (_local2 > -1){ selectedIndex = _local2; scrollToSelected(); }; break; }; _arg1.stopPropagation(); } override public function itemToLabel(_arg1:Object):String{ if (_labelFunction != null){ return (String(_labelFunction(_arg1))); }; return (((_arg1[_labelField])!=null) ? String(_arg1[_labelField]) : ""); } public function get labelField():String{ return (_labelField); } override protected function moveSelectionVertically(_arg1:uint, _arg2:Boolean, _arg3:Boolean):void{ var _local4:int; var _local5:int; var _local6:int; _local4 = Math.max(Math.floor((calculateAvailableHeight() / rowHeight)), 1); _local5 = -1; _local6 = 0; switch (_arg1){ case Keyboard.UP: if (caretIndex > 0){ _local5 = (caretIndex - 1); }; break; case Keyboard.DOWN: if (caretIndex < (length - 1)){ _local5 = (caretIndex + 1); }; break; case Keyboard.PAGE_UP: if (caretIndex > 0){ _local5 = Math.max((caretIndex - _local4), 0); }; break; case Keyboard.PAGE_DOWN: if (caretIndex < (length - 1)){ _local5 = Math.min((caretIndex + _local4), (length - 1)); }; break; case Keyboard.HOME: if (caretIndex > 0){ _local5 = 0; }; break; case Keyboard.END: if (caretIndex < (length - 1)){ _local5 = (length - 1); }; break; }; if (_local5 >= 0){ doKeySelection(_local5, _arg2, _arg3); scrollToSelected(); }; } public function set labelField(_arg1:String):void{ if (_arg1 == _labelField){ return; }; _labelField = _arg1; invalidate(InvalidationType.DATA); } public function set rowCount(_arg1:uint):void{ var _local2:Number; var _local3:Number; _local2 = Number(getStyleValue("contentPadding")); _local3 = ((((_horizontalScrollPolicy == ScrollPolicy.ON)) || ((((_horizontalScrollPolicy == ScrollPolicy.AUTO)) && ((_maxHorizontalScrollPosition > 0)))))) ? 15 : 0; height = (((rowHeight * _arg1) + (2 * _local2)) + _local3); } override protected function setHorizontalScrollPosition(_arg1:Number, _arg2:Boolean=false):void{ list.x = -(_arg1); super.setHorizontalScrollPosition(_arg1, true); } public function set iconFunction(_arg1:Function):void{ if (_iconFunction == _arg1){ return; }; _iconFunction = _arg1; invalidate(InvalidationType.DATA); } public function get labelFunction():Function{ return (_labelFunction); } override protected function moveSelectionHorizontally(_arg1:uint, _arg2:Boolean, _arg3:Boolean):void{ } override protected function setVerticalScrollPosition(_arg1:Number, _arg2:Boolean=false):void{ invalidate(InvalidationType.SCROLL); super.setVerticalScrollPosition(_arg1, true); } protected function calculateAvailableHeight():Number{ var _local1:Number; _local1 = Number(getStyleValue("contentPadding")); return (((height - (_local1 * 2)) - ((((_horizontalScrollPolicy == ScrollPolicy.ON)) || ((((_horizontalScrollPolicy == ScrollPolicy.AUTO)) && ((_maxHorizontalScrollPosition > 0)))))) ? 15 : 0)); } override protected function draw():void{ var _local1:Boolean; _local1 = !((contentHeight == (rowHeight * length))); contentHeight = (rowHeight * length); if (isInvalid(InvalidationType.STYLES)){ setStyles(); drawBackground(); if (contentPadding != getStyleValue("contentPadding")){ invalidate(InvalidationType.SIZE, false); }; if (_cellRenderer != getStyleValue("cellRenderer")){ _invalidateList(); _cellRenderer = getStyleValue("cellRenderer"); }; }; if (((isInvalid(InvalidationType.SIZE, InvalidationType.STATE)) || (_local1))){ drawLayout(); }; if (isInvalid(InvalidationType.RENDERER_STYLES)){ updateRendererStyles(); }; if (isInvalid(InvalidationType.STYLES, InvalidationType.SIZE, InvalidationType.DATA, InvalidationType.SCROLL, InvalidationType.SELECTED)){ drawList(); }; updateChildren(); validate(); } override protected function configUI():void{ useFixedHorizontalScrolling = true; _horizontalScrollPolicy = ScrollPolicy.AUTO; _verticalScrollPolicy = ScrollPolicy.AUTO; super.configUI(); } override public function get rowCount():uint{ return (Math.ceil((calculateAvailableHeight() / rowHeight))); } override protected function initializeAccessibility():void{ if (List.createAccessibilityImplementation != null){ List.createAccessibilityImplementation(this); }; } override public function scrollToIndex(_arg1:int):void{ var _local2:uint; var _local3:uint; drawNow(); _local2 = (Math.floor(((_verticalScrollPosition + availableHeight) / rowHeight)) - 1); _local3 = Math.ceil((_verticalScrollPosition / rowHeight)); if (_arg1 < _local3){ verticalScrollPosition = (_arg1 * rowHeight); } else { if (_arg1 > _local2){ verticalScrollPosition = (((_arg1 + 1) * rowHeight) - availableHeight); }; }; } public function get rowHeight():Number{ return (_rowHeight); } public function set labelFunction(_arg1:Function):void{ if (_labelFunction == _arg1){ return; }; _labelFunction = _arg1; invalidate(InvalidationType.DATA); } public function set rowHeight(_arg1:Number):void{ _rowHeight = _arg1; invalidate(InvalidationType.SIZE); } public static function getStyleDefinition():Object{ return (mergeStyles(defaultStyles, SelectableList.getStyleDefinition())); } } }//package fl.controls
Section 406
//ScrollBar (fl.controls.ScrollBar) package fl.controls { import fl.core.*; import flash.events.*; import fl.events.*; public class ScrollBar extends UIComponent { private var _direction:String;// = "vertical" protected var inDrag:Boolean;// = false protected var upArrow:BaseButton; private var _pageScrollSize:Number;// = 0 protected var downArrow:BaseButton; private var _pageSize:Number;// = 10 private var thumbScrollOffset:Number; private var _maxScrollPosition:Number;// = 0 private var _scrollPosition:Number;// = 0 protected var track:BaseButton; private var _minScrollPosition:Number;// = 0 private var _lineScrollSize:Number;// = 1 protected var thumb:LabelButton; protected static const THUMB_STYLES:Object = {disabledSkin:"thumbDisabledSkin", downSkin:"thumbDownSkin", overSkin:"thumbOverSkin", upSkin:"thumbUpSkin", icon:"thumbIcon", textPadding:0}; public static const WIDTH:Number = 15; protected static const DOWN_ARROW_STYLES:Object = {disabledSkin:"downArrowDisabledSkin", downSkin:"downArrowDownSkin", overSkin:"downArrowOverSkin", upSkin:"downArrowUpSkin", repeatDelay:"repeatDelay", repeatInterval:"repeatInterval"}; protected static const UP_ARROW_STYLES:Object = {disabledSkin:"upArrowDisabledSkin", downSkin:"upArrowDownSkin", overSkin:"upArrowOverSkin", upSkin:"upArrowUpSkin", repeatDelay:"repeatDelay", repeatInterval:"repeatInterval"}; protected static const TRACK_STYLES:Object = {disabledSkin:"trackDisabledSkin", downSkin:"trackDownSkin", overSkin:"trackOverSkin", upSkin:"trackUpSkin", repeatDelay:"repeatDelay", repeatInterval:"repeatInterval"}; private static var defaultStyles:Object = {downArrowDisabledSkin:"ScrollArrowDown_disabledSkin", downArrowDownSkin:"ScrollArrowDown_downSkin", downArrowOverSkin:"ScrollArrowDown_overSkin", downArrowUpSkin:"ScrollArrowDown_upSkin", thumbDisabledSkin:"ScrollThumb_upSkin", thumbDownSkin:"ScrollThumb_downSkin", thumbOverSkin:"ScrollThumb_overSkin", thumbUpSkin:"ScrollThumb_upSkin", trackDisabledSkin:"ScrollTrack_skin", trackDownSkin:"ScrollTrack_skin", trackOverSkin:"ScrollTrack_skin", trackUpSkin:"ScrollTrack_skin", upArrowDisabledSkin:"ScrollArrowUp_disabledSkin", upArrowDownSkin:"ScrollArrowUp_downSkin", upArrowOverSkin:"ScrollArrowUp_overSkin", upArrowUpSkin:"ScrollArrowUp_upSkin", thumbIcon:"ScrollBar_thumbIcon", repeatDelay:500, repeatInterval:35}; public function ScrollBar(){ _pageSize = 10; _pageScrollSize = 0; _lineScrollSize = 1; _minScrollPosition = 0; _maxScrollPosition = 0; _scrollPosition = 0; _direction = ScrollBarDirection.VERTICAL; inDrag = false; super(); setStyles(); focusEnabled = false; } public function get minScrollPosition():Number{ return (_minScrollPosition); } public function set minScrollPosition(_arg1:Number):void{ setScrollProperties(_pageSize, _arg1, _maxScrollPosition); } public function setScrollPosition(_arg1:Number, _arg2:Boolean=true):void{ var _local3:Number; _local3 = scrollPosition; _scrollPosition = Math.max(_minScrollPosition, Math.min(_maxScrollPosition, _arg1)); if (_local3 == _scrollPosition){ return; }; if (_arg2){ dispatchEvent(new ScrollEvent(_direction, (scrollPosition - _local3), scrollPosition)); }; updateThumb(); } public function set scrollPosition(_arg1:Number):void{ setScrollPosition(_arg1, true); } public function get pageScrollSize():Number{ return (((_pageScrollSize)==0) ? _pageSize : _pageScrollSize); } public function set pageSize(_arg1:Number):void{ if (_arg1 > 0){ _pageSize = _arg1; }; } public function setScrollProperties(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number=0):void{ this.pageSize = _arg1; _minScrollPosition = _arg2; _maxScrollPosition = _arg3; if (_arg4 >= 0){ _pageScrollSize = _arg4; }; enabled = (_maxScrollPosition > _minScrollPosition); setScrollPosition(_scrollPosition, false); updateThumb(); } override public function set enabled(_arg1:Boolean):void{ super.enabled = _arg1; downArrow.enabled = (track.enabled = (thumb.enabled = (upArrow.enabled = ((enabled) && ((_maxScrollPosition > _minScrollPosition)))))); updateThumb(); } protected function updateThumb():void{ var _local1:Number; _local1 = ((_maxScrollPosition - _minScrollPosition) + _pageSize); if ((((((track.height <= 12)) || ((_maxScrollPosition <= _minScrollPosition)))) || ((((_local1 == 0)) || (isNaN(_local1)))))){ thumb.height = 12; thumb.visible = false; } else { thumb.height = Math.max(13, ((_pageSize / _local1) * track.height)); thumb.y = (track.y + ((track.height - thumb.height) * ((_scrollPosition - _minScrollPosition) / (_maxScrollPosition - _minScrollPosition)))); thumb.visible = enabled; }; } protected function thumbPressHandler(_arg1:MouseEvent):void{ inDrag = true; thumbScrollOffset = (mouseY - thumb.y); thumb.mouseStateLocked = true; mouseChildren = false; stage.addEventListener(MouseEvent.MOUSE_MOVE, handleThumbDrag, false, 0, true); stage.addEventListener(MouseEvent.MOUSE_UP, thumbReleaseHandler, false, 0, true); } protected function thumbReleaseHandler(_arg1:MouseEvent):void{ inDrag = false; mouseChildren = true; thumb.mouseStateLocked = false; stage.removeEventListener(MouseEvent.MOUSE_MOVE, handleThumbDrag); stage.removeEventListener(MouseEvent.MOUSE_UP, thumbReleaseHandler); } public function set pageScrollSize(_arg1:Number):void{ if (_arg1 >= 0){ _pageScrollSize = _arg1; }; } protected function handleThumbDrag(_arg1:MouseEvent):void{ var _local2:Number; _local2 = Math.max(0, Math.min((track.height - thumb.height), ((mouseY - track.y) - thumbScrollOffset))); setScrollPosition((((_local2 / (track.height - thumb.height)) * (_maxScrollPosition - _minScrollPosition)) + _minScrollPosition)); } public function set direction(_arg1:String):void{ var _local2:Boolean; if (_direction == _arg1){ return; }; _direction = _arg1; if (isLivePreview){ return; }; setScaleY(1); _local2 = (_direction == ScrollBarDirection.HORIZONTAL); if (((_local2) && (componentInspectorSetting))){ if (rotation == 90){ return; }; setScaleX(-1); rotation = -90; }; if (!componentInspectorSetting){ if (((_local2) && ((rotation == 0)))){ rotation = -90; setScaleX(-1); } else { if (((!(_local2)) && ((rotation == -90)))){ rotation = 0; setScaleX(1); }; }; }; invalidate(InvalidationType.SIZE); } public function set lineScrollSize(_arg1:Number):void{ if (_arg1 > 0){ _lineScrollSize = _arg1; }; } override public function get height():Number{ return (((_direction)==ScrollBarDirection.HORIZONTAL) ? super.width : super.height); } protected function scrollPressHandler(_arg1:ComponentEvent):void{ var _local2:Number; var _local3:Number; _arg1.stopImmediatePropagation(); if (_arg1.currentTarget == upArrow){ setScrollPosition((_scrollPosition - _lineScrollSize)); } else { if (_arg1.currentTarget == downArrow){ setScrollPosition((_scrollPosition + _lineScrollSize)); } else { _local2 = (((track.mouseY / track.height) * (_maxScrollPosition - _minScrollPosition)) + _minScrollPosition); _local3 = ((pageScrollSize)==0) ? pageSize : pageScrollSize; if (_scrollPosition < _local2){ setScrollPosition(Math.min(_local2, (_scrollPosition + _local3))); } else { if (_scrollPosition > _local2){ setScrollPosition(Math.max(_local2, (_scrollPosition - _local3))); }; }; }; }; } public function get pageSize():Number{ return (_pageSize); } public function set maxScrollPosition(_arg1:Number):void{ setScrollProperties(_pageSize, _minScrollPosition, _arg1); } public function get scrollPosition():Number{ return (_scrollPosition); } override public function get enabled():Boolean{ return (super.enabled); } override protected function draw():void{ var _local1:Number; if (isInvalid(InvalidationType.SIZE)){ _local1 = super.height; downArrow.move(0, Math.max(upArrow.height, (_local1 - downArrow.height))); track.setSize(WIDTH, Math.max(0, (_local1 - (downArrow.height + upArrow.height)))); updateThumb(); }; if (isInvalid(InvalidationType.STYLES, InvalidationType.STATE)){ setStyles(); }; downArrow.drawNow(); upArrow.drawNow(); track.drawNow(); thumb.drawNow(); validate(); } override protected function configUI():void{ super.configUI(); track = new BaseButton(); track.move(0, 14); track.useHandCursor = false; track.autoRepeat = true; track.focusEnabled = false; addChild(track); thumb = new LabelButton(); thumb.label = ""; thumb.setSize(WIDTH, 15); thumb.move(0, 15); thumb.focusEnabled = false; addChild(thumb); downArrow = new BaseButton(); downArrow.setSize(WIDTH, 14); downArrow.autoRepeat = true; downArrow.focusEnabled = false; addChild(downArrow); upArrow = new BaseButton(); upArrow.setSize(WIDTH, 14); upArrow.move(0, 0); upArrow.autoRepeat = true; upArrow.focusEnabled = false; addChild(upArrow); upArrow.addEventListener(ComponentEvent.BUTTON_DOWN, scrollPressHandler, false, 0, true); downArrow.addEventListener(ComponentEvent.BUTTON_DOWN, scrollPressHandler, false, 0, true); track.addEventListener(ComponentEvent.BUTTON_DOWN, scrollPressHandler, false, 0, true); thumb.addEventListener(MouseEvent.MOUSE_DOWN, thumbPressHandler, false, 0, true); enabled = false; } public function get direction():String{ return (_direction); } public function get lineScrollSize():Number{ return (_lineScrollSize); } override public function setSize(_arg1:Number, _arg2:Number):void{ if (_direction == ScrollBarDirection.HORIZONTAL){ super.setSize(_arg2, _arg1); } else { super.setSize(_arg1, _arg2); }; } public function get maxScrollPosition():Number{ return (_maxScrollPosition); } override public function get width():Number{ return (((_direction)==ScrollBarDirection.HORIZONTAL) ? super.height : super.width); } protected function setStyles():void{ copyStylesToChild(downArrow, DOWN_ARROW_STYLES); copyStylesToChild(thumb, THUMB_STYLES); copyStylesToChild(track, TRACK_STYLES); copyStylesToChild(upArrow, UP_ARROW_STYLES); } public static function getStyleDefinition():Object{ return (defaultStyles); } } }//package fl.controls
Section 407
//ScrollBarDirection (fl.controls.ScrollBarDirection) package fl.controls { public class ScrollBarDirection { public static const HORIZONTAL:String = "horizontal"; public static const VERTICAL:String = "vertical"; } }//package fl.controls
Section 408
//ScrollPolicy (fl.controls.ScrollPolicy) package fl.controls { public class ScrollPolicy { public static const OFF:String = "off"; public static const ON:String = "on"; public static const AUTO:String = "auto"; } }//package fl.controls
Section 409
//SelectableList (fl.controls.SelectableList) package fl.controls { import fl.controls.listClasses.*; import fl.core.*; import flash.display.*; import flash.utils.*; import flash.events.*; import fl.data.*; import fl.managers.*; import fl.events.*; import flash.ui.*; import fl.containers.*; public class SelectableList extends BaseScrollPane implements IFocusManagerComponent { protected var invalidItems:Dictionary; protected var renderedItems:Dictionary; protected var listHolder:Sprite; protected var _allowMultipleSelection:Boolean;// = false protected var lastCaretIndex:int;// = -1 protected var _selectedIndices:Array; protected var availableCellRenderers:Array; protected var list:Sprite; protected var caretIndex:int;// = -1 protected var updatedRendererStyles:Object; protected var preChangeItems:Array; protected var activeCellRenderers:Array; protected var rendererStyles:Object; protected var _verticalScrollPosition:Number; protected var _dataProvider:DataProvider; protected var _horizontalScrollPosition:Number; private var collectionItemImport:SimpleCollectionItem; protected var _selectable:Boolean;// = true private static var defaultStyles:Object = {skin:"List_skin", cellRenderer:CellRenderer, contentPadding:null, disabledAlpha:null}; public static var createAccessibilityImplementation:Function; public function SelectableList(){ _allowMultipleSelection = false; _selectable = true; caretIndex = -1; lastCaretIndex = -1; super(); activeCellRenderers = []; availableCellRenderers = []; invalidItems = new Dictionary(true); renderedItems = new Dictionary(true); _selectedIndices = []; if (dataProvider == null){ dataProvider = new DataProvider(); }; verticalScrollPolicy = ScrollPolicy.AUTO; rendererStyles = {}; updatedRendererStyles = {}; } protected function drawList():void{ } public function set allowMultipleSelection(_arg1:Boolean):void{ if (_arg1 == _allowMultipleSelection){ return; }; _allowMultipleSelection = _arg1; if (((!(_arg1)) && ((_selectedIndices.length > 1)))){ _selectedIndices = [_selectedIndices.pop()]; invalidate(InvalidationType.DATA); }; } public function sortItemsOn(_arg1:String, _arg2:Object=null){ return (_dataProvider.sortOn(_arg1, _arg2)); } public function removeItemAt(_arg1:uint):Object{ return (_dataProvider.removeItemAt(_arg1)); } public function get selectedItem():Object{ return (((_selectedIndices.length)==0) ? null : _dataProvider.getItemAt(selectedIndex)); } override protected function keyDownHandler(_arg1:KeyboardEvent):void{ if (!selectable){ return; }; switch (_arg1.keyCode){ case Keyboard.UP: case Keyboard.DOWN: case Keyboard.END: case Keyboard.HOME: case Keyboard.PAGE_UP: case Keyboard.PAGE_DOWN: moveSelectionVertically(_arg1.keyCode, ((_arg1.shiftKey) && (_allowMultipleSelection)), ((_arg1.ctrlKey) && (_allowMultipleSelection))); _arg1.stopPropagation(); break; case Keyboard.LEFT: case Keyboard.RIGHT: moveSelectionHorizontally(_arg1.keyCode, ((_arg1.shiftKey) && (_allowMultipleSelection)), ((_arg1.ctrlKey) && (_allowMultipleSelection))); _arg1.stopPropagation(); break; }; } public function get selectable():Boolean{ return (_selectable); } public function itemToCellRenderer(_arg1:Object):ICellRenderer{ var _local2:*; var _local3:ICellRenderer; if (_arg1 != null){ for (_local2 in activeCellRenderers) { _local3 = (activeCellRenderers[_local2] as ICellRenderer); if (_local3.data == _arg1){ return (_local3); }; }; }; return (null); } public function getNextIndexAtLetter(_arg1:String, _arg2:int=-1):int{ var _local3:int; var _local4:Number; var _local5:Number; var _local6:Object; var _local7:String; if (length == 0){ return (-1); }; _arg1 = _arg1.toUpperCase(); _local3 = (length - 1); _local4 = 0; while (_local4 < _local3) { _local5 = ((_arg2 + 1) + _local4); if (_local5 > (length - 1)){ _local5 = (_local5 - length); }; _local6 = getItemAt(_local5); if (_local6 == null){ break; }; _local7 = itemToLabel(_local6); if (_local7 == null){ } else { if (_local7.charAt(0).toUpperCase() == _arg1){ return (_local5); }; }; _local4++; }; return (-1); } public function invalidateList():void{ _invalidateList(); invalidate(InvalidationType.DATA); } override public function set enabled(_arg1:Boolean):void{ super.enabled = _arg1; list.mouseChildren = _enabled; } public function get selectedIndices():Array{ return (_selectedIndices.concat()); } public function set selectable(_arg1:Boolean):void{ if (_arg1 == _selectable){ return; }; if (!_arg1){ selectedIndices = []; }; _selectable = _arg1; } public function itemToLabel(_arg1:Object):String{ return (_arg1["label"]); } public function addItemAt(_arg1:Object, _arg2:uint):void{ _dataProvider.addItemAt(_arg1, _arg2); invalidateList(); } public function replaceItemAt(_arg1:Object, _arg2:uint):Object{ return (_dataProvider.replaceItemAt(_arg1, _arg2)); } protected function handleDataChange(_arg1:DataChangeEvent):void{ var _local2:int; var _local3:int; var _local4:String; var _local5:uint; _local2 = _arg1.startIndex; _local3 = _arg1.endIndex; _local4 = _arg1.changeType; if (_local4 == DataChangeType.INVALIDATE_ALL){ clearSelection(); invalidateList(); } else { if (_local4 == DataChangeType.INVALIDATE){ _local5 = 0; while (_local5 < _arg1.items.length) { invalidateItem(_arg1.items[_local5]); _local5++; }; } else { if (_local4 == DataChangeType.ADD){ _local5 = 0; while (_local5 < _selectedIndices.length) { if (_selectedIndices[_local5] >= _local2){ _selectedIndices[_local5] = (_selectedIndices[_local5] + (_local2 - _local3)); }; _local5++; }; } else { if (_local4 == DataChangeType.REMOVE){ _local5 = 0; while (_local5 < _selectedIndices.length) { if (_selectedIndices[_local5] >= _local2){ if (_selectedIndices[_local5] <= _local3){ delete _selectedIndices[_local5]; } else { _selectedIndices[_local5] = (_selectedIndices[_local5] - ((_local2 - _local3) + 1)); }; }; _local5++; }; } else { if (_local4 == DataChangeType.REMOVE_ALL){ clearSelection(); } else { if (_local4 == DataChangeType.REPLACE){ } else { selectedItems = preChangeItems; preChangeItems = null; }; }; }; }; }; }; invalidate(InvalidationType.DATA); } protected function _invalidateList():void{ availableCellRenderers = []; while (activeCellRenderers.length > 0) { list.removeChild((activeCellRenderers.pop() as DisplayObject)); }; } protected function updateRendererStyles():void{ var _local1:Array; var _local2:uint; var _local3:uint; var _local4:String; _local1 = availableCellRenderers.concat(activeCellRenderers); _local2 = _local1.length; _local3 = 0; while (_local3 < _local2) { if (_local1[_local3].setStyle == null){ } else { for (_local4 in updatedRendererStyles) { _local1[_local3].setStyle(_local4, updatedRendererStyles[_local4]); }; _local1[_local3].drawNow(); }; _local3++; }; updatedRendererStyles = {}; } public function set selectedItem(_arg1:Object):void{ var _local2:int; _local2 = _dataProvider.getItemIndex(_arg1); selectedIndex = _local2; } public function sortItems(... _args){ return (_dataProvider.sort.apply(_dataProvider, _args)); } public function removeAll():void{ _dataProvider.removeAll(); } protected function handleCellRendererChange(_arg1:Event):void{ var _local2:ICellRenderer; var _local3:uint; _local2 = (_arg1.currentTarget as ICellRenderer); _local3 = _local2.listData.index; _dataProvider.invalidateItemAt(_local3); } protected function moveSelectionVertically(_arg1:uint, _arg2:Boolean, _arg3:Boolean):void{ } override protected function setHorizontalScrollPosition(_arg1:Number, _arg2:Boolean=false):void{ var _local3:Number; if (_arg1 == _horizontalScrollPosition){ return; }; _local3 = (_arg1 - _horizontalScrollPosition); _horizontalScrollPosition = _arg1; if (_arg2){ dispatchEvent(new ScrollEvent(ScrollBarDirection.HORIZONTAL, _local3, _arg1)); }; } public function scrollToSelected():void{ scrollToIndex(selectedIndex); } public function invalidateItem(_arg1:Object):void{ if (renderedItems[_arg1] == null){ return; }; invalidItems[_arg1] = true; invalidate(InvalidationType.DATA); } protected function handleCellRendererClick(_arg1:MouseEvent):void{ var _local2:ICellRenderer; var _local3:uint; var _local4:int; var _local5:int; var _local6:uint; if (!_enabled){ return; }; _local2 = (_arg1.currentTarget as ICellRenderer); _local3 = _local2.listData.index; if (((!(dispatchEvent(new ListEvent(ListEvent.ITEM_CLICK, false, true, _local2.listData.column, _local2.listData.row, _local3, _local2.data)))) || (!(_selectable)))){ return; }; _local4 = selectedIndices.indexOf(_local3); if (!_allowMultipleSelection){ if (_local4 != -1){ return; }; _local2.selected = true; _selectedIndices = [_local3]; lastCaretIndex = (caretIndex = _local3); } else { if (_arg1.shiftKey){ _local6 = ((_selectedIndices.length)>0) ? _selectedIndices[0] : _local3; _selectedIndices = []; if (_local6 > _local3){ _local5 = _local6; while (_local5 >= _local3) { _selectedIndices.push(_local5); _local5--; }; } else { _local5 = _local6; while (_local5 <= _local3) { _selectedIndices.push(_local5); _local5++; }; }; caretIndex = _local3; } else { if (_arg1.ctrlKey){ if (_local4 != -1){ _local2.selected = false; _selectedIndices.splice(_local4, 1); } else { _local2.selected = true; _selectedIndices.push(_local3); }; caretIndex = _local3; } else { _selectedIndices = [_local3]; lastCaretIndex = (caretIndex = _local3); }; }; }; dispatchEvent(new Event(Event.CHANGE)); invalidate(InvalidationType.DATA); } public function get length():uint{ return (_dataProvider.length); } public function get allowMultipleSelection():Boolean{ return (_allowMultipleSelection); } protected function onPreChange(_arg1:DataChangeEvent):void{ switch (_arg1.changeType){ case DataChangeType.REMOVE: case DataChangeType.ADD: case DataChangeType.INVALIDATE: case DataChangeType.REMOVE_ALL: case DataChangeType.REPLACE: case DataChangeType.INVALIDATE_ALL: break; default: preChangeItems = selectedItems; break; }; } public function getRendererStyle(_arg1:String, _arg2:int=-1):Object{ return (rendererStyles[_arg1]); } override protected function setVerticalScrollPosition(_arg1:Number, _arg2:Boolean=false):void{ var _local3:Number; if (_arg1 == _verticalScrollPosition){ return; }; _local3 = (_arg1 - _verticalScrollPosition); _verticalScrollPosition = _arg1; if (_arg2){ dispatchEvent(new ScrollEvent(ScrollBarDirection.VERTICAL, _local3, _arg1)); }; } protected function moveSelectionHorizontally(_arg1:uint, _arg2:Boolean, _arg3:Boolean):void{ } public function set selectedIndices(_arg1:Array):void{ if (!_selectable){ return; }; _selectedIndices = ((_arg1)==null) ? [] : _arg1.concat(); invalidate(InvalidationType.SELECTED); } public function get selectedIndex():int{ return (((_selectedIndices.length)==0) ? -1 : _selectedIndices[(_selectedIndices.length - 1)]); } override protected function draw():void{ super.draw(); } override protected function configUI():void{ super.configUI(); listHolder = new Sprite(); addChild(listHolder); listHolder.scrollRect = contentScrollRect; list = new Sprite(); listHolder.addChild(list); } public function addItem(_arg1:Object):void{ _dataProvider.addItem(_arg1); invalidateList(); } protected function handleCellRendererMouseEvent(_arg1:MouseEvent):void{ var _local2:ICellRenderer; var _local3:String; _local2 = (_arg1.target as ICellRenderer); _local3 = ((_arg1.type)==MouseEvent.ROLL_OVER) ? ListEvent.ITEM_ROLL_OVER : ListEvent.ITEM_ROLL_OUT; dispatchEvent(new ListEvent(_local3, false, false, _local2.listData.column, _local2.listData.row, _local2.listData.index, _local2.data)); } public function clearRendererStyle(_arg1:String, _arg2:int=-1):void{ delete rendererStyles[_arg1]; updatedRendererStyles[_arg1] = null; invalidate(InvalidationType.RENDERER_STYLES); } protected function handleCellRendererDoubleClick(_arg1:MouseEvent):void{ var _local2:ICellRenderer; var _local3:uint; if (!_enabled){ return; }; _local2 = (_arg1.currentTarget as ICellRenderer); _local3 = _local2.listData.index; dispatchEvent(new ListEvent(ListEvent.ITEM_DOUBLE_CLICK, false, true, _local2.listData.column, _local2.listData.row, _local3, _local2.data)); } public function get rowCount():uint{ return (0); } public function isItemSelected(_arg1:Object):Boolean{ return ((selectedItems.indexOf(_arg1) > -1)); } public function set dataProvider(_arg1:DataProvider):void{ if (_dataProvider != null){ _dataProvider.removeEventListener(DataChangeEvent.DATA_CHANGE, handleDataChange); _dataProvider.removeEventListener(DataChangeEvent.PRE_DATA_CHANGE, onPreChange); }; _dataProvider = _arg1; _dataProvider.addEventListener(DataChangeEvent.DATA_CHANGE, handleDataChange, false, 0, true); _dataProvider.addEventListener(DataChangeEvent.PRE_DATA_CHANGE, onPreChange, false, 0, true); clearSelection(); invalidateList(); } override protected function drawLayout():void{ super.drawLayout(); contentScrollRect = listHolder.scrollRect; contentScrollRect.width = availableWidth; contentScrollRect.height = availableHeight; listHolder.scrollRect = contentScrollRect; } public function getItemAt(_arg1:uint):Object{ return (_dataProvider.getItemAt(_arg1)); } override protected function initializeAccessibility():void{ if (SelectableList.createAccessibilityImplementation != null){ SelectableList.createAccessibilityImplementation(this); }; } public function scrollToIndex(_arg1:int):void{ } public function removeItem(_arg1:Object):Object{ return (_dataProvider.removeItem(_arg1)); } public function get dataProvider():DataProvider{ return (_dataProvider); } public function set maxHorizontalScrollPosition(_arg1:Number):void{ _maxHorizontalScrollPosition = _arg1; invalidate(InvalidationType.SIZE); } public function setRendererStyle(_arg1:String, _arg2:Object, _arg3:uint=0):void{ if (rendererStyles[_arg1] == _arg2){ return; }; updatedRendererStyles[_arg1] = _arg2; rendererStyles[_arg1] = _arg2; invalidate(InvalidationType.RENDERER_STYLES); } public function invalidateItemAt(_arg1:uint):void{ var _local2:Object; _local2 = _dataProvider.getItemAt(_arg1); if (_local2 != null){ invalidateItem(_local2); }; } public function set selectedItems(_arg1:Array):void{ var _local2:Array; var _local3:uint; var _local4:int; if (_arg1 == null){ selectedIndices = null; return; }; _local2 = []; _local3 = 0; while (_local3 < _arg1.length) { _local4 = _dataProvider.getItemIndex(_arg1[_local3]); if (_local4 != -1){ _local2.push(_local4); }; _local3++; }; selectedIndices = _local2; } public function clearSelection():void{ selectedIndex = -1; } override public function get maxHorizontalScrollPosition():Number{ return (_maxHorizontalScrollPosition); } public function get selectedItems():Array{ var _local1:Array; var _local2:uint; _local1 = []; _local2 = 0; while (_local2 < _selectedIndices.length) { _local1.push(_dataProvider.getItemAt(_selectedIndices[_local2])); _local2++; }; return (_local1); } public function set selectedIndex(_arg1:int):void{ selectedIndices = ((_arg1)==-1) ? null : [_arg1]; } public static function getStyleDefinition():Object{ return (mergeStyles(defaultStyles, BaseScrollPane.getStyleDefinition())); } } }//package fl.controls
Section 410
//TextInput (fl.controls.TextInput) package fl.controls { import fl.core.*; import flash.display.*; import flash.events.*; import fl.managers.*; import fl.events.*; import flash.text.*; import flash.ui.*; public class TextInput extends UIComponent implements IFocusManagerComponent { protected var _html:Boolean;// = false protected var _savedHTML:String; protected var background:DisplayObject; protected var _editable:Boolean;// = true public var textField:TextField; private static var defaultStyles:Object = {upSkin:"TextInput_upSkin", disabledSkin:"TextInput_disabledSkin", focusRectSkin:null, focusRectPadding:null, textFormat:null, disabledTextFormat:null, textPadding:0, embedFonts:false}; public static var createAccessibilityImplementation:Function; public function TextInput(){ _editable = true; _html = false; super(); } override public function drawFocus(_arg1:Boolean):void{ if (focusTarget != null){ focusTarget.drawFocus(_arg1); return; }; super.drawFocus(_arg1); } public function set imeMode(_arg1:String):void{ _imeMode = _arg1; } override protected function isOurFocus(_arg1:DisplayObject):Boolean{ return ((((_arg1 == textField)) || (super.isOurFocus(_arg1)))); } protected function handleKeyDown(_arg1:KeyboardEvent):void{ if (_arg1.keyCode == Keyboard.ENTER){ dispatchEvent(new ComponentEvent(ComponentEvent.ENTER, true)); }; } public function set text(_arg1:String):void{ textField.text = _arg1; _html = false; invalidate(InvalidationType.DATA); invalidate(InvalidationType.STYLES); } protected function updateTextFieldType():void{ textField.type = (((enabled) && (editable))) ? TextFieldType.INPUT : TextFieldType.DYNAMIC; textField.selectable = enabled; } public function get selectionEndIndex():int{ return (textField.selectionEndIndex); } public function get editable():Boolean{ return (_editable); } override protected function focusInHandler(_arg1:FocusEvent):void{ var _local2:IFocusManager; if (_arg1.target == this){ stage.focus = textField; }; _local2 = focusManager; if (((editable) && (_local2))){ _local2.showFocusIndicator = true; if (((textField.selectable) && ((textField.selectionBeginIndex == textField.selectionBeginIndex)))){ setSelection(0, textField.length); }; }; super.focusInHandler(_arg1); if (editable){ setIMEMode(true); }; } public function get selectionBeginIndex():int{ return (textField.selectionBeginIndex); } public function set alwaysShowSelection(_arg1:Boolean):void{ textField.alwaysShowSelection = _arg1; } override public function set enabled(_arg1:Boolean):void{ super.enabled = _arg1; updateTextFieldType(); } protected function setEmbedFont(){ var _local1:Object; _local1 = getStyleValue("embedFonts"); if (_local1 != null){ textField.embedFonts = _local1; }; } public function get horizontalScrollPosition():int{ return (textField.scrollH); } public function set condenseWhite(_arg1:Boolean):void{ textField.condenseWhite = _arg1; } public function set displayAsPassword(_arg1:Boolean):void{ textField.displayAsPassword = _arg1; } public function set horizontalScrollPosition(_arg1:int):void{ textField.scrollH = _arg1; } public function get restrict():String{ return (textField.restrict); } public function get textWidth():Number{ return (textField.textWidth); } public function get textHeight():Number{ return (textField.textHeight); } public function set editable(_arg1:Boolean):void{ _editable = _arg1; updateTextFieldType(); } public function get maxChars():int{ return (textField.maxChars); } public function get length():int{ return (textField.length); } public function getLineMetrics(_arg1:int):TextLineMetrics{ return (textField.getLineMetrics(_arg1)); } public function get imeMode():String{ return (_imeMode); } override protected function focusOutHandler(_arg1:FocusEvent):void{ super.focusOutHandler(_arg1); if (editable){ setIMEMode(false); }; } public function set htmlText(_arg1:String):void{ if (_arg1 == ""){ text = ""; return; }; _html = true; _savedHTML = _arg1; textField.htmlText = _arg1; invalidate(InvalidationType.DATA); invalidate(InvalidationType.STYLES); } public function get text():String{ return (textField.text); } override public function get enabled():Boolean{ return (super.enabled); } public function get condenseWhite():Boolean{ return (textField.condenseWhite); } public function get alwaysShowSelection():Boolean{ return (textField.alwaysShowSelection); } override protected function draw():void{ var _local1:Object; if (isInvalid(InvalidationType.STYLES, InvalidationType.STATE)){ drawTextFormat(); drawBackground(); _local1 = getStyleValue("embedFonts"); if (_local1 != null){ textField.embedFonts = _local1; }; invalidate(InvalidationType.SIZE, false); }; if (isInvalid(InvalidationType.SIZE)){ drawLayout(); }; super.draw(); } protected function handleTextInput(_arg1:TextEvent):void{ _arg1.stopPropagation(); dispatchEvent(new TextEvent(TextEvent.TEXT_INPUT, true, false, _arg1.text)); } override protected function configUI():void{ super.configUI(); tabChildren = true; textField = new TextField(); addChild(textField); updateTextFieldType(); textField.addEventListener(TextEvent.TEXT_INPUT, handleTextInput, false, 0, true); textField.addEventListener(Event.CHANGE, handleChange, false, 0, true); textField.addEventListener(KeyboardEvent.KEY_DOWN, handleKeyDown, false, 0, true); } public function setSelection(_arg1:int, _arg2:int):void{ textField.setSelection(_arg1, _arg2); } public function get displayAsPassword():Boolean{ return (textField.displayAsPassword); } public function appendText(_arg1:String):void{ textField.appendText(_arg1); } public function set restrict(_arg1:String):void{ if (((componentInspectorSetting) && ((_arg1 == "")))){ _arg1 = null; }; textField.restrict = _arg1; } public function get htmlText():String{ return (textField.htmlText); } protected function drawBackground():void{ var _local1:DisplayObject; var _local2:String; _local1 = background; _local2 = (enabled) ? "upSkin" : "disabledSkin"; background = getDisplayObjectInstance(getStyleValue(_local2)); if (background == null){ return; }; addChildAt(background, 0); if (((((!((_local1 == null))) && (!((_local1 == background))))) && (contains(_local1)))){ removeChild(_local1); }; } override public function setFocus():void{ stage.focus = textField; } protected function drawLayout():void{ var _local1:Number; _local1 = Number(getStyleValue("textPadding")); if (background != null){ background.width = width; background.height = height; }; textField.width = (width - (2 * _local1)); textField.height = (height - (2 * _local1)); textField.x = (textField.y = _local1); } public function set maxChars(_arg1:int):void{ textField.maxChars = _arg1; } public function get maxHorizontalScrollPosition():int{ return (textField.maxScrollH); } protected function drawTextFormat():void{ var _local1:Object; var _local2:TextFormat; var _local3:TextFormat; _local1 = UIComponent.getStyleDefinition(); _local2 = (enabled) ? (_local1.defaultTextFormat as TextFormat) : (_local1.defaultDisabledTextFormat as TextFormat); textField.setTextFormat(_local2); _local3 = (getStyleValue((enabled) ? "textFormat" : "disabledTextFormat") as TextFormat); if (_local3 != null){ textField.setTextFormat(_local3); } else { _local3 = _local2; }; textField.defaultTextFormat = _local3; setEmbedFont(); if (_html){ textField.htmlText = _savedHTML; }; } protected function handleChange(_arg1:Event):void{ _arg1.stopPropagation(); dispatchEvent(new Event(Event.CHANGE, true)); } public static function getStyleDefinition():Object{ return (defaultStyles); } } }//package fl.controls
Section 411
//ComponentShim (fl.core.ComponentShim) package fl.core { import flash.display.*; public dynamic class ComponentShim extends MovieClip { } }//package fl.core
Section 412
//InvalidationType (fl.core.InvalidationType) package fl.core { public class InvalidationType { public static const SIZE:String = "size"; public static const ALL:String = "all"; public static const DATA:String = "data"; public static const SCROLL:String = "scroll"; public static const STATE:String = "state"; public static const STYLES:String = "styles"; public static const SELECTED:String = "selected"; public static const RENDERER_STYLES:String = "rendererStyles"; } }//package fl.core
Section 413
//UIComponent (fl.core.UIComponent) package fl.core { import flash.display.*; import flash.utils.*; import flash.events.*; import fl.managers.*; import fl.events.*; import flash.text.*; import flash.system.*; public class UIComponent extends Sprite { protected var _enabled:Boolean;// = true private var _mouseFocusEnabled:Boolean;// = true protected var startHeight:Number; protected var _height:Number; protected var _oldIMEMode:String;// = null protected var startWidth:Number; public var focusTarget:IFocusManagerComponent; protected var errorCaught:Boolean;// = false protected var uiFocusRect:DisplayObject; protected var _width:Number; public var version:String;// = "3.0.0.15" protected var isFocused:Boolean;// = false protected var callLaterMethods:Dictionary; private var _focusEnabled:Boolean;// = true private var tempText:TextField; protected var invalidateFlag:Boolean;// = false protected var _inspector:Boolean;// = false protected var sharedStyles:Object; protected var invalidHash:Object; protected var isLivePreview:Boolean;// = false protected var _imeMode:String;// = null protected var instanceStyles:Object; protected var _x:Number; protected var _y:Number; public static var inCallLaterPhase:Boolean = false; private static var defaultStyles:Object = {focusRectSkin:"focusRectSkin", focusRectPadding:2, textFormat:new TextFormat("_sans", 11, 0, false, false, false, "", "", TextFormatAlign.LEFT, 0, 0, 0, 0), disabledTextFormat:new TextFormat("_sans", 11, 0x999999, false, false, false, "", "", TextFormatAlign.LEFT, 0, 0, 0, 0), defaultTextFormat:new TextFormat("_sans", 11, 0, false, false, false, "", "", TextFormatAlign.LEFT, 0, 0, 0, 0), defaultDisabledTextFormat:new TextFormat("_sans", 11, 0x999999, false, false, false, "", "", TextFormatAlign.LEFT, 0, 0, 0, 0)}; public static var createAccessibilityImplementation:Function; private static var focusManagers:Dictionary = new Dictionary(false); public function UIComponent(){ version = "3.0.0.15"; isLivePreview = false; invalidateFlag = false; _enabled = true; isFocused = false; _focusEnabled = true; _mouseFocusEnabled = true; _imeMode = null; _oldIMEMode = null; errorCaught = false; _inspector = false; super(); instanceStyles = {}; sharedStyles = {}; invalidHash = {}; callLaterMethods = new Dictionary(); StyleManager.registerInstance(this); configUI(); invalidate(InvalidationType.ALL); tabEnabled = (this is IFocusManagerComponent); focusRect = false; if (tabEnabled){ addEventListener(FocusEvent.FOCUS_IN, focusInHandler); addEventListener(FocusEvent.FOCUS_OUT, focusOutHandler); addEventListener(KeyboardEvent.KEY_DOWN, keyDownHandler); addEventListener(KeyboardEvent.KEY_UP, keyUpHandler); }; initializeFocusManager(); addEventListener(Event.ENTER_FRAME, hookAccessibility, false, 0, true); } public function drawFocus(_arg1:Boolean):void{ var _local2:Number; isFocused = _arg1; if (((!((uiFocusRect == null))) && (contains(uiFocusRect)))){ removeChild(uiFocusRect); uiFocusRect = null; }; if (_arg1){ uiFocusRect = (getDisplayObjectInstance(getStyleValue("focusRectSkin")) as Sprite); if (uiFocusRect == null){ return; }; _local2 = Number(getStyleValue("focusRectPadding")); uiFocusRect.x = -(_local2); uiFocusRect.y = -(_local2); uiFocusRect.width = (width + (_local2 * 2)); uiFocusRect.height = (height + (_local2 * 2)); addChildAt(uiFocusRect, 0); }; } private function callLaterDispatcher(_arg1:Event):void{ var _local2:Dictionary; var _local3:Object; if (_arg1.type == Event.ADDED_TO_STAGE){ removeEventListener(Event.ADDED_TO_STAGE, callLaterDispatcher); stage.addEventListener(Event.RENDER, callLaterDispatcher, false, 0, true); stage.invalidate(); return; }; _arg1.target.removeEventListener(Event.RENDER, callLaterDispatcher); if (stage == null){ addEventListener(Event.ADDED_TO_STAGE, callLaterDispatcher, false, 0, true); return; }; inCallLaterPhase = true; _local2 = callLaterMethods; for (_local3 in _local2) { _local3(); delete _local2[_local3]; }; inCallLaterPhase = false; } private function addedHandler(_arg1:Event):void{ removeEventListener("addedToStage", addedHandler); initializeFocusManager(); } protected function getStyleValue(_arg1:String):Object{ return (((instanceStyles[_arg1])==null) ? sharedStyles[_arg1] : instanceStyles[_arg1]); } protected function isOurFocus(_arg1:DisplayObject):Boolean{ return ((_arg1 == this)); } override public function get scaleX():Number{ return ((width / startWidth)); } override public function get scaleY():Number{ return ((height / startHeight)); } override public function set height(_arg1:Number):void{ if (_height == _arg1){ return; }; setSize(width, _arg1); } protected function keyDownHandler(_arg1:KeyboardEvent):void{ } protected function focusInHandler(_arg1:FocusEvent):void{ var _local2:IFocusManager; if (isOurFocus((_arg1.target as DisplayObject))){ _local2 = focusManager; if (((_local2) && (_local2.showFocusIndicator))){ drawFocus(true); isFocused = true; }; }; } public function setStyle(_arg1:String, _arg2:Object):void{ if ((((instanceStyles[_arg1] === _arg2)) && (!((_arg2 is TextFormat))))){ return; }; instanceStyles[_arg1] = _arg2; invalidate(InvalidationType.STYLES); } override public function get visible():Boolean{ return (super.visible); } public function get componentInspectorSetting():Boolean{ return (_inspector); } override public function get x():Number{ return ((isNaN(_x)) ? super.x : _x); } override public function get y():Number{ return ((isNaN(_y)) ? super.y : _y); } protected function setIMEMode(_arg1:Boolean){ var enabled = _arg1; if (_imeMode != null){ if (enabled){ IME.enabled = true; _oldIMEMode = IME.conversionMode; try { if (((!(errorCaught)) && (!((IME.conversionMode == IMEConversionMode.UNKNOWN))))){ IME.conversionMode = _imeMode; }; errorCaught = false; } catch(e:Error) { errorCaught = true; throw (new Error(("IME mode not supported: " + _imeMode))); }; } else { if (((!((IME.conversionMode == IMEConversionMode.UNKNOWN))) && (!((_oldIMEMode == IMEConversionMode.UNKNOWN))))){ IME.conversionMode = _oldIMEMode; }; IME.enabled = false; }; }; } public function set enabled(_arg1:Boolean):void{ if (_arg1 == _enabled){ return; }; _enabled = _arg1; invalidate(InvalidationType.STATE); } public function setSharedStyle(_arg1:String, _arg2:Object):void{ if ((((sharedStyles[_arg1] === _arg2)) && (!((_arg2 is TextFormat))))){ return; }; sharedStyles[_arg1] = _arg2; if (instanceStyles[_arg1] == null){ invalidate(InvalidationType.STYLES); }; } protected function keyUpHandler(_arg1:KeyboardEvent):void{ } public function set focusEnabled(_arg1:Boolean):void{ _focusEnabled = _arg1; } override public function set scaleX(_arg1:Number):void{ setSize((startWidth * _arg1), height); } public function get mouseFocusEnabled():Boolean{ return (_mouseFocusEnabled); } override public function set scaleY(_arg1:Number):void{ setSize(width, (startHeight * _arg1)); } protected function getDisplayObjectInstance(_arg1:Object):DisplayObject{ var classDef:Object; var skin = _arg1; classDef = null; if ((skin is Class)){ return ((new (skin) as DisplayObject)); }; if ((skin is DisplayObject)){ (skin as DisplayObject).x = 0; (skin as DisplayObject).y = 0; return ((skin as DisplayObject)); }; try { classDef = getDefinitionByName(skin.toString()); } catch(e:Error) { try { classDef = (loaderInfo.applicationDomain.getDefinition(skin.toString()) as Object); } catch(e:Error) { }; }; if (classDef == null){ return (null); }; return ((new (classDef) as DisplayObject)); } protected function copyStylesToChild(_arg1:UIComponent, _arg2:Object):void{ var _local3:String; for (_local3 in _arg2) { _arg1.setStyle(_local3, getStyleValue(_arg2[_local3])); }; } protected function beforeComponentParameters():void{ } protected function callLater(_arg1:Function):void{ if (inCallLaterPhase){ return; }; callLaterMethods[_arg1] = true; if (stage != null){ stage.addEventListener(Event.RENDER, callLaterDispatcher, false, 0, true); stage.invalidate(); } else { addEventListener(Event.ADDED_TO_STAGE, callLaterDispatcher, false, 0, true); }; } protected function createFocusManager():void{ if (focusManagers[stage] == null){ focusManagers[stage] = new FocusManager(stage); }; } override public function set visible(_arg1:Boolean):void{ var _local2:String; if (super.visible == _arg1){ return; }; super.visible = _arg1; _local2 = (_arg1) ? ComponentEvent.SHOW : ComponentEvent.HIDE; dispatchEvent(new ComponentEvent(_local2, true)); } protected function hookAccessibility(_arg1:Event):void{ removeEventListener(Event.ENTER_FRAME, hookAccessibility); initializeAccessibility(); } public function set componentInspectorSetting(_arg1:Boolean):void{ _inspector = _arg1; if (_inspector){ beforeComponentParameters(); } else { afterComponentParameters(); }; } override public function set x(_arg1:Number):void{ move(_arg1, _y); } public function drawNow():void{ draw(); } override public function set y(_arg1:Number):void{ move(_x, _arg1); } protected function checkLivePreview():Boolean{ var className:String; if (parent == null){ return (false); }; try { className = getQualifiedClassName(parent); } catch(e:Error) { }; return ((className == "fl.livepreview::LivePreviewParent")); } protected function focusOutHandler(_arg1:FocusEvent):void{ if (isOurFocus((_arg1.target as DisplayObject))){ drawFocus(false); isFocused = false; }; } public function set mouseFocusEnabled(_arg1:Boolean):void{ _mouseFocusEnabled = _arg1; } public function getFocus():InteractiveObject{ if (stage){ return (stage.focus); }; return (null); } protected function validate():void{ invalidHash = {}; } override public function get height():Number{ return (_height); } public function invalidate(_arg1:String="all", _arg2:Boolean=true):void{ invalidHash[_arg1] = true; if (_arg2){ this.callLater(draw); }; } public function get enabled():Boolean{ return (_enabled); } protected function getScaleX():Number{ return (super.scaleX); } protected function getScaleY():Number{ return (super.scaleY); } public function get focusEnabled():Boolean{ return (_focusEnabled); } protected function afterComponentParameters():void{ } protected function draw():void{ if (isInvalid(InvalidationType.SIZE, InvalidationType.STYLES)){ if (((isFocused) && (focusManager.showFocusIndicator))){ drawFocus(true); }; }; validate(); } protected function configUI():void{ var _local1:Number; var _local2:Number; var _local3:Number; isLivePreview = checkLivePreview(); _local1 = rotation; rotation = 0; _local2 = super.width; _local3 = super.height; var _local4 = 1; super.scaleY = _local4; super.scaleX = _local4; setSize(_local2, _local3); move(super.x, super.y); rotation = _local1; startWidth = _local2; startHeight = _local3; if (numChildren > 0){ removeChildAt(0); }; } protected function setScaleX(_arg1:Number):void{ super.scaleX = _arg1; } protected function setScaleY(_arg1:Number):void{ super.scaleY = _arg1; } private function initializeFocusManager():void{ if (stage == null){ addEventListener(Event.ADDED_TO_STAGE, addedHandler, false, 0, true); } else { createFocusManager(); }; } public function set focusManager(_arg1:IFocusManager):void{ UIComponent.focusManagers[this] = _arg1; } public function clearStyle(_arg1:String):void{ setStyle(_arg1, null); } protected function isInvalid(_arg1:String, ... _args):Boolean{ if (((invalidHash[_arg1]) || (invalidHash[InvalidationType.ALL]))){ return (true); }; while (_args.length > 0) { if (invalidHash[_args.pop()]){ return (true); }; }; return (false); } public function setSize(_arg1:Number, _arg2:Number):void{ _width = _arg1; _height = _arg2; invalidate(InvalidationType.SIZE); dispatchEvent(new ComponentEvent(ComponentEvent.RESIZE, false)); } override public function set width(_arg1:Number):void{ if (_width == _arg1){ return; }; setSize(_arg1, height); } public function setFocus():void{ if (stage){ stage.focus = this; }; } protected function initializeAccessibility():void{ if (UIComponent.createAccessibilityImplementation != null){ UIComponent.createAccessibilityImplementation(this); }; } public function get focusManager():IFocusManager{ var _local1:DisplayObject; _local1 = this; while (_local1) { if (UIComponent.focusManagers[_local1] != null){ return (IFocusManager(UIComponent.focusManagers[_local1])); }; _local1 = _local1.parent; }; return (null); } override public function get width():Number{ return (_width); } public function move(_arg1:Number, _arg2:Number):void{ _x = _arg1; _y = _arg2; super.x = Math.round(_arg1); super.y = Math.round(_arg2); dispatchEvent(new ComponentEvent(ComponentEvent.MOVE)); } public function validateNow():void{ invalidate(InvalidationType.ALL, false); draw(); } public function getStyle(_arg1:String):Object{ return (instanceStyles[_arg1]); } public static function getStyleDefinition():Object{ return (defaultStyles); } public static function mergeStyles(... _args):Object{ var _local2:Object; var _local3:uint; var _local4:uint; var _local5:Object; var _local6:String; _local2 = {}; _local3 = _args.length; _local4 = 0; while (_local4 < _local3) { _local5 = _args[_local4]; for (_local6 in _local5) { if (_local2[_local6] != null){ } else { _local2[_local6] = _args[_local4][_local6]; }; }; _local4++; }; return (_local2); } } }//package fl.core
Section 414
//DataProvider (fl.data.DataProvider) package fl.data { import flash.events.*; import fl.events.*; public class DataProvider extends EventDispatcher { protected var data:Array; public function DataProvider(_arg1:Object=null){ if (_arg1 == null){ data = []; } else { data = getDataFromObject(_arg1); }; } protected function dispatchPreChangeEvent(_arg1:String, _arg2:Array, _arg3:int, _arg4:int):void{ dispatchEvent(new DataChangeEvent(DataChangeEvent.PRE_DATA_CHANGE, _arg1, _arg2, _arg3, _arg4)); } public function invalidateItemAt(_arg1:int):void{ checkIndex(_arg1, (data.length - 1)); dispatchChangeEvent(DataChangeType.INVALIDATE, [data[_arg1]], _arg1, _arg1); } public function getItemIndex(_arg1:Object):int{ return (data.indexOf(_arg1)); } protected function getDataFromObject(_arg1:Object):Array{ var _local2:Array; var _local3:Array; var _local4:uint; var _local5:Object; var _local6:XML; var _local7:XMLList; var _local8:XML; var _local9:XMLList; var _local10:XML; var _local11:XMLList; var _local12:XML; if ((_arg1 is Array)){ _local3 = (_arg1 as Array); if (_local3.length > 0){ if ((((_local3[0] is String)) || ((_local3[0] is Number)))){ _local2 = []; _local4 = 0; while (_local4 < _local3.length) { _local5 = {label:String(_local3[_local4]), data:_local3[_local4]}; _local2.push(_local5); _local4++; }; return (_local2); }; }; return (_arg1.concat()); //unresolved jump }; if ((_arg1 is DataProvider)){ return (_arg1.toArray()); }; if ((_arg1 is XML)){ _local6 = (_arg1 as XML); _local2 = []; _local7 = _local6.*; for each (_local8 in _local7) { _arg1 = {}; _local9 = _local8.attributes(); for each (_local10 in _local9) { _arg1[_local10.localName()] = _local10.toString(); }; _local11 = _local8.*; for each (_local12 in _local11) { if (_local12.hasSimpleContent()){ _arg1[_local12.localName()] = _local12.toString(); }; }; _local2.push(_arg1); }; return (_local2); //unresolved jump }; throw (new TypeError((("Error: Type Coercion failed: cannot convert " + _arg1) + " to Array or DataProvider."))); } public function removeItemAt(_arg1:uint):Object{ var _local2:Array; checkIndex(_arg1, (data.length - 1)); dispatchPreChangeEvent(DataChangeType.REMOVE, data.slice(_arg1, (_arg1 + 1)), _arg1, _arg1); _local2 = data.splice(_arg1, 1); dispatchChangeEvent(DataChangeType.REMOVE, _local2, _arg1, _arg1); return (_local2[0]); } public function addItem(_arg1:Object):void{ dispatchPreChangeEvent(DataChangeType.ADD, [_arg1], (data.length - 1), (data.length - 1)); data.push(_arg1); dispatchChangeEvent(DataChangeType.ADD, [_arg1], (data.length - 1), (data.length - 1)); } public function sortOn(_arg1:Object, _arg2:Object=null){ var _local3:Array; dispatchPreChangeEvent(DataChangeType.SORT, data.concat(), 0, (data.length - 1)); _local3 = data.sortOn(_arg1, _arg2); dispatchChangeEvent(DataChangeType.SORT, data.concat(), 0, (data.length - 1)); return (_local3); } public function sort(... _args){ var _local2:Array; dispatchPreChangeEvent(DataChangeType.SORT, data.concat(), 0, (data.length - 1)); _local2 = data.sort.apply(data, _args); dispatchChangeEvent(DataChangeType.SORT, data.concat(), 0, (data.length - 1)); return (_local2); } public function addItems(_arg1:Object):void{ addItemsAt(_arg1, data.length); } public function concat(_arg1:Object):void{ addItems(_arg1); } public function clone():DataProvider{ return (new DataProvider(data)); } public function toArray():Array{ return (data.concat()); } public function get length():uint{ return (data.length); } public function addItemAt(_arg1:Object, _arg2:uint):void{ checkIndex(_arg2, data.length); dispatchPreChangeEvent(DataChangeType.ADD, [_arg1], _arg2, _arg2); data.splice(_arg2, 0, _arg1); dispatchChangeEvent(DataChangeType.ADD, [_arg1], _arg2, _arg2); } public function getItemAt(_arg1:uint):Object{ checkIndex(_arg1, (data.length - 1)); return (data[_arg1]); } override public function toString():String{ return ((("DataProvider [" + data.join(" , ")) + "]")); } public function invalidateItem(_arg1:Object):void{ var _local2:uint; _local2 = getItemIndex(_arg1); if (_local2 == -1){ return; }; invalidateItemAt(_local2); } protected function dispatchChangeEvent(_arg1:String, _arg2:Array, _arg3:int, _arg4:int):void{ dispatchEvent(new DataChangeEvent(DataChangeEvent.DATA_CHANGE, _arg1, _arg2, _arg3, _arg4)); } protected function checkIndex(_arg1:int, _arg2:int):void{ if ((((_arg1 > _arg2)) || ((_arg1 < 0)))){ throw (new RangeError((((("DataProvider index (" + _arg1) + ") is not in acceptable range (0 - ") + _arg2) + ")"))); }; } public function addItemsAt(_arg1:Object, _arg2:uint):void{ var _local3:Array; checkIndex(_arg2, data.length); _local3 = getDataFromObject(_arg1); dispatchPreChangeEvent(DataChangeType.ADD, _local3, _arg2, ((_arg2 + _local3.length) - 1)); data.splice.apply(data, [_arg2, 0].concat(_local3)); dispatchChangeEvent(DataChangeType.ADD, _local3, _arg2, ((_arg2 + _local3.length) - 1)); } public function replaceItem(_arg1:Object, _arg2:Object):Object{ var _local3:int; _local3 = getItemIndex(_arg2); if (_local3 != -1){ return (replaceItemAt(_arg1, _local3)); }; return (null); } public function removeItem(_arg1:Object):Object{ var _local2:int; _local2 = getItemIndex(_arg1); if (_local2 != -1){ return (removeItemAt(_local2)); }; return (null); } public function merge(_arg1:Object):void{ var _local2:Array; var _local3:uint; var _local4:uint; var _local5:uint; var _local6:Object; _local2 = getDataFromObject(_arg1); _local3 = _local2.length; _local4 = data.length; dispatchPreChangeEvent(DataChangeType.ADD, data.slice(_local4, data.length), _local4, (this.data.length - 1)); _local5 = 0; while (_local5 < _local3) { _local6 = _local2[_local5]; if (getItemIndex(_local6) == -1){ data.push(_local6); }; _local5++; }; if (data.length > _local4){ dispatchChangeEvent(DataChangeType.ADD, data.slice(_local4, data.length), _local4, (this.data.length - 1)); } else { dispatchChangeEvent(DataChangeType.ADD, [], -1, -1); }; } public function replaceItemAt(_arg1:Object, _arg2:uint):Object{ var _local3:Array; checkIndex(_arg2, (data.length - 1)); _local3 = [data[_arg2]]; dispatchPreChangeEvent(DataChangeType.REPLACE, _local3, _arg2, _arg2); data[_arg2] = _arg1; dispatchChangeEvent(DataChangeType.REPLACE, _local3, _arg2, _arg2); return (_local3[0]); } public function invalidate():void{ dispatchEvent(new DataChangeEvent(DataChangeEvent.DATA_CHANGE, DataChangeType.INVALIDATE_ALL, data.concat(), 0, data.length)); } public function removeAll():void{ var _local1:Array; _local1 = data.concat(); dispatchPreChangeEvent(DataChangeType.REMOVE_ALL, _local1, 0, _local1.length); data = []; dispatchChangeEvent(DataChangeType.REMOVE_ALL, _local1, 0, _local1.length); } } }//package fl.data
Section 415
//SimpleCollectionItem (fl.data.SimpleCollectionItem) package fl.data { public dynamic class SimpleCollectionItem { public var label:String; public var data:String; public function toString():String{ return ((((("[SimpleCollectionItem: " + label) + ",") + data) + "]")); } } }//package fl.data
Section 416
//ComponentEvent (fl.events.ComponentEvent) package fl.events { import flash.events.*; public class ComponentEvent extends Event { public static const HIDE:String = "hide"; public static const BUTTON_DOWN:String = "buttonDown"; public static const MOVE:String = "move"; public static const RESIZE:String = "resize"; public static const ENTER:String = "enter"; public static const LABEL_CHANGE:String = "labelChange"; public static const SHOW:String = "show"; public function ComponentEvent(_arg1:String, _arg2:Boolean=false, _arg3:Boolean=false){ super(_arg1, _arg2, _arg3); } override public function toString():String{ return (formatToString("ComponentEvent", "type", "bubbles", "cancelable")); } override public function clone():Event{ return (new ComponentEvent(type, bubbles, cancelable)); } } }//package fl.events
Section 417
//DataChangeEvent (fl.events.DataChangeEvent) package fl.events { import flash.events.*; public class DataChangeEvent extends Event { protected var _items:Array; protected var _endIndex:uint; protected var _changeType:String; protected var _startIndex:uint; public static const PRE_DATA_CHANGE:String = "preDataChange"; public static const DATA_CHANGE:String = "dataChange"; public function DataChangeEvent(_arg1:String, _arg2:String, _arg3:Array, _arg4:int=-1, _arg5:int=-1):void{ super(_arg1); _changeType = _arg2; _startIndex = _arg4; _items = _arg3; _endIndex = ((_arg5)==-1) ? _startIndex : _arg5; } public function get changeType():String{ return (_changeType); } public function get startIndex():uint{ return (_startIndex); } public function get items():Array{ return (_items); } override public function clone():Event{ return (new DataChangeEvent(type, _changeType, _items, _startIndex, _endIndex)); } override public function toString():String{ return (formatToString("DataChangeEvent", "type", "changeType", "startIndex", "endIndex", "bubbles", "cancelable")); } public function get endIndex():uint{ return (_endIndex); } } }//package fl.events
Section 418
//DataChangeType (fl.events.DataChangeType) package fl.events { public class DataChangeType { public static const ADD:String = "add"; public static const REMOVE:String = "remove"; public static const REMOVE_ALL:String = "removeAll"; public static const CHANGE:String = "change"; public static const REPLACE:String = "replace"; public static const INVALIDATE:String = "invalidate"; public static const INVALIDATE_ALL:String = "invalidateAll"; public static const SORT:String = "sort"; } }//package fl.events
Section 419
//ListEvent (fl.events.ListEvent) package fl.events { import flash.events.*; public class ListEvent extends Event { protected var _index:int; protected var _item:Object; protected var _columnIndex:int; protected var _rowIndex:int; public static const ITEM_DOUBLE_CLICK:String = "itemDoubleClick"; public static const ITEM_ROLL_OUT:String = "itemRollOut"; public static const ITEM_ROLL_OVER:String = "itemRollOver"; public static const ITEM_CLICK:String = "itemClick"; public function ListEvent(_arg1:String, _arg2:Boolean=false, _arg3:Boolean=false, _arg4:int=-1, _arg5:int=-1, _arg6:int=-1, _arg7:Object=null){ super(_arg1, _arg2, _arg3); _rowIndex = _arg5; _columnIndex = _arg4; _index = _arg6; _item = _arg7; } public function get rowIndex():Object{ return (_rowIndex); } public function get index():int{ return (_index); } public function get item():Object{ return (_item); } public function get columnIndex():int{ return (_columnIndex); } override public function clone():Event{ return (new ListEvent(type, bubbles, cancelable, _columnIndex, _rowIndex)); } override public function toString():String{ return (formatToString("ListEvent", "type", "bubbles", "cancelable", "columnIndex", "rowIndex", "index", "item")); } } }//package fl.events
Section 420
//ScrollEvent (fl.events.ScrollEvent) package fl.events { import flash.events.*; public class ScrollEvent extends Event { private var _position:Number; private var _direction:String; private var _delta:Number; public static const SCROLL:String = "scroll"; public function ScrollEvent(_arg1:String, _arg2:Number, _arg3:Number){ super(ScrollEvent.SCROLL, false, false); _direction = _arg1; _delta = _arg2; _position = _arg3; } override public function clone():Event{ return (new ScrollEvent(_direction, _delta, _position)); } public function get position():Number{ return (_position); } override public function toString():String{ return (formatToString("ScrollEvent", "type", "bubbles", "cancelable", "direction", "delta", "position")); } public function get delta():Number{ return (_delta); } public function get direction():String{ return (_direction); } } }//package fl.events
Section 421
//FocusManager (fl.managers.FocusManager) package fl.managers { import fl.core.*; import fl.controls.*; import flash.display.*; import flash.utils.*; import flash.events.*; import flash.text.*; import flash.ui.*; public class FocusManager implements IFocusManager { private var focusableObjects:Dictionary; private var _showFocusIndicator:Boolean;// = true private var defButton:Button; private var focusableCandidates:Array; private var _form:DisplayObjectContainer; private var _defaultButtonEnabled:Boolean;// = true private var activated:Boolean;// = false private var _defaultButton:Button; private var calculateCandidates:Boolean;// = true private var lastFocus:InteractiveObject; private var lastAction:String; public function FocusManager(_arg1:DisplayObjectContainer){ activated = false; calculateCandidates = true; _showFocusIndicator = true; _defaultButtonEnabled = true; super(); focusableObjects = new Dictionary(true); if (_arg1 != null){ _form = _arg1; addFocusables(DisplayObject(_arg1)); _arg1.addEventListener(Event.ADDED, addedHandler); _arg1.addEventListener(Event.REMOVED, removedHandler); activate(); }; } public function get showFocusIndicator():Boolean{ return (_showFocusIndicator); } private function getIndexOfNextObject(_arg1:int, _arg2:Boolean, _arg3:Boolean, _arg4:String):int{ var _local5:int; var _local6:int; var _local7:DisplayObject; var _local8:IFocusManagerGroup; var _local9:int; var _local10:DisplayObject; var _local11:IFocusManagerGroup; _local5 = focusableCandidates.length; _local6 = _arg1; while (true) { if (_arg2){ _arg1--; } else { _arg1++; }; if (_arg3){ if (((_arg2) && ((_arg1 < 0)))){ break; }; if (((!(_arg2)) && ((_arg1 == _local5)))){ break; }; } else { _arg1 = ((_arg1 + _local5) % _local5); if (_local6 == _arg1){ break; }; }; if (isValidFocusCandidate(focusableCandidates[_arg1], _arg4)){ _local7 = DisplayObject(findFocusManagerComponent(focusableCandidates[_arg1])); if ((_local7 is IFocusManagerGroup)){ _local8 = IFocusManagerGroup(_local7); _local9 = 0; while (_local9 < focusableCandidates.length) { _local10 = focusableCandidates[_local9]; if ((_local10 is IFocusManagerGroup)){ _local11 = IFocusManagerGroup(_local10); if ((((_local11.groupName == _local8.groupName)) && (_local11.selected))){ _arg1 = _local9; break; }; }; _local9++; }; }; return (_arg1); }; }; return (_arg1); } public function set form(_arg1:DisplayObjectContainer):void{ _form = _arg1; } private function addFocusables(_arg1:DisplayObject, _arg2:Boolean=false):void{ var focusable:IFocusManagerComponent; var io:InteractiveObject; var doc:DisplayObjectContainer; var i:int; var child:DisplayObject; var o = _arg1; var skipTopLevel = _arg2; if (!skipTopLevel){ if ((o is IFocusManagerComponent)){ focusable = IFocusManagerComponent(o); if (focusable.focusEnabled){ if (((focusable.tabEnabled) && (isTabVisible(o)))){ focusableObjects[o] = true; calculateCandidates = true; }; o.addEventListener(Event.TAB_ENABLED_CHANGE, tabEnabledChangeHandler); o.addEventListener(Event.TAB_INDEX_CHANGE, tabIndexChangeHandler); }; } else { if ((o is InteractiveObject)){ io = (o as InteractiveObject); if (((((io) && (io.tabEnabled))) && ((findFocusManagerComponent(io) == io)))){ focusableObjects[io] = true; calculateCandidates = true; }; io.addEventListener(Event.TAB_ENABLED_CHANGE, tabEnabledChangeHandler); io.addEventListener(Event.TAB_INDEX_CHANGE, tabIndexChangeHandler); }; }; }; if ((o is DisplayObjectContainer)){ doc = DisplayObjectContainer(o); o.addEventListener(Event.TAB_CHILDREN_CHANGE, tabChildrenChangeHandler); if ((((((doc is Stage)) || ((doc.parent is Stage)))) || (doc.tabChildren))){ i = 0; while (i < doc.numChildren) { try { child = doc.getChildAt(i); if (child != null){ addFocusables(doc.getChildAt(i)); }; } catch(error:SecurityError) { }; i = (i + 1); }; }; }; } private function getChildIndex(_arg1:DisplayObjectContainer, _arg2:DisplayObject):int{ return (_arg1.getChildIndex(_arg2)); } private function mouseFocusChangeHandler(_arg1:FocusEvent):void{ if ((_arg1.relatedObject is TextField)){ return; }; _arg1.preventDefault(); } private function focusOutHandler(_arg1:FocusEvent):void{ var _local2:InteractiveObject; _local2 = (_arg1.target as InteractiveObject); } private function isValidFocusCandidate(_arg1:DisplayObject, _arg2:String):Boolean{ var _local3:IFocusManagerGroup; if (!isEnabledAndVisible(_arg1)){ return (false); }; if ((_arg1 is IFocusManagerGroup)){ _local3 = IFocusManagerGroup(_arg1); if (_arg2 == _local3.groupName){ return (false); }; }; return (true); } public function findFocusManagerComponent(_arg1:InteractiveObject):InteractiveObject{ var _local2:InteractiveObject; _local2 = _arg1; while (_arg1) { if ((((_arg1 is IFocusManagerComponent)) && (IFocusManagerComponent(_arg1).focusEnabled))){ return (_arg1); }; _arg1 = _arg1.parent; }; return (_local2); } private function sortFocusableObjectsTabIndex():void{ var _local1:Object; var _local2:InteractiveObject; focusableCandidates = []; for (_local1 in focusableObjects) { _local2 = InteractiveObject(_local1); if (((_local2.tabIndex) && (!(isNaN(Number(_local2.tabIndex)))))){ focusableCandidates.push(_local2); }; }; focusableCandidates.sort(sortByTabIndex); } private function removeFocusables(_arg1:DisplayObject):void{ var _local2:Object; var _local3:DisplayObject; if ((_arg1 is DisplayObjectContainer)){ _arg1.removeEventListener(Event.TAB_CHILDREN_CHANGE, tabChildrenChangeHandler); _arg1.removeEventListener(Event.TAB_INDEX_CHANGE, tabIndexChangeHandler); for (_local2 in focusableObjects) { _local3 = DisplayObject(_local2); if (DisplayObjectContainer(_arg1).contains(_local3)){ if (_local3 == lastFocus){ lastFocus = null; }; _local3.removeEventListener(Event.TAB_ENABLED_CHANGE, tabEnabledChangeHandler); delete focusableObjects[_local2]; calculateCandidates = true; }; }; }; } private function addedHandler(_arg1:Event):void{ var _local2:DisplayObject; _local2 = DisplayObject(_arg1.target); if (_local2.stage){ addFocusables(DisplayObject(_arg1.target)); }; } private function getTopLevelFocusTarget(_arg1:InteractiveObject):InteractiveObject{ while (_arg1 != InteractiveObject(form)) { if ((((((((_arg1 is IFocusManagerComponent)) && (IFocusManagerComponent(_arg1).focusEnabled))) && (IFocusManagerComponent(_arg1).mouseFocusEnabled))) && (UIComponent(_arg1).enabled))){ return (_arg1); }; _arg1 = _arg1.parent; if (_arg1 == null){ break; }; }; return (null); } private function tabChildrenChangeHandler(_arg1:Event):void{ var _local2:DisplayObjectContainer; if (_arg1.target != _arg1.currentTarget){ return; }; calculateCandidates = true; _local2 = DisplayObjectContainer(_arg1.target); if (_local2.tabChildren){ addFocusables(_local2, true); } else { removeFocusables(_local2); }; } public function sendDefaultButtonEvent():void{ defButton.dispatchEvent(new MouseEvent(MouseEvent.CLICK)); } public function getFocus():InteractiveObject{ var _local1:InteractiveObject; _local1 = form.stage.focus; return (findFocusManagerComponent(_local1)); } private function isEnabledAndVisible(_arg1:DisplayObject):Boolean{ var _local2:DisplayObjectContainer; var _local3:TextField; var _local4:SimpleButton; _local2 = DisplayObject(form).parent; while (_arg1 != _local2) { if ((_arg1 is UIComponent)){ if (!UIComponent(_arg1).enabled){ return (false); }; } else { if ((_arg1 is TextField)){ _local3 = TextField(_arg1); if ((((_local3.type == TextFieldType.DYNAMIC)) || (!(_local3.selectable)))){ return (false); }; } else { if ((_arg1 is SimpleButton)){ _local4 = SimpleButton(_arg1); if (!_local4.enabled){ return (false); }; }; }; }; if (!_arg1.visible){ return (false); }; _arg1 = _arg1.parent; }; return (true); } public function set defaultButton(_arg1:Button):void{ var _local2:Button; _local2 = (_arg1) ? Button(_arg1) : null; if (_local2 != _defaultButton){ if (_defaultButton){ _defaultButton.emphasized = false; }; if (defButton){ defButton.emphasized = false; }; _defaultButton = _local2; defButton = _local2; if (_local2){ _local2.emphasized = true; }; }; } private function deactivateHandler(_arg1:Event):void{ var _local2:InteractiveObject; _local2 = InteractiveObject(_arg1.target); } public function setFocus(_arg1:InteractiveObject):void{ if ((_arg1 is IFocusManagerComponent)){ IFocusManagerComponent(_arg1).setFocus(); } else { form.stage.focus = _arg1; }; } private function setFocusToNextObject(_arg1:FocusEvent):void{ var _local2:InteractiveObject; if (!hasFocusableObjects()){ return; }; _local2 = getNextFocusManagerComponent(_arg1.shiftKey); if (_local2){ setFocus(_local2); }; } private function hasFocusableObjects():Boolean{ var _local1:Object; for (_local1 in focusableObjects) { return (true); }; return (false); } private function tabIndexChangeHandler(_arg1:Event):void{ calculateCandidates = true; } private function sortFocusableObjects():void{ var _local1:Object; var _local2:InteractiveObject; focusableCandidates = []; for (_local1 in focusableObjects) { _local2 = InteractiveObject(_local1); if (((((_local2.tabIndex) && (!(isNaN(Number(_local2.tabIndex)))))) && ((_local2.tabIndex > 0)))){ sortFocusableObjectsTabIndex(); return; }; focusableCandidates.push(_local2); }; focusableCandidates.sort(sortByDepth); } private function keyFocusChangeHandler(_arg1:FocusEvent):void{ showFocusIndicator = true; if ((((((_arg1.keyCode == Keyboard.TAB)) || ((_arg1.keyCode == 0)))) && (!(_arg1.isDefaultPrevented())))){ setFocusToNextObject(_arg1); _arg1.preventDefault(); }; } private function getIndexOfFocusedObject(_arg1:DisplayObject):int{ var _local2:int; var _local3:int; _local2 = focusableCandidates.length; _local3 = 0; _local3 = 0; while (_local3 < _local2) { if (focusableCandidates[_local3] == _arg1){ return (_local3); }; _local3++; }; return (-1); } public function hideFocus():void{ } private function removedHandler(_arg1:Event):void{ var _local2:int; var _local3:DisplayObject; var _local4:InteractiveObject; _local3 = DisplayObject(_arg1.target); if ((((_local3 is IFocusManagerComponent)) && ((focusableObjects[_local3] == true)))){ if (_local3 == lastFocus){ IFocusManagerComponent(lastFocus).drawFocus(false); lastFocus = null; }; _local3.removeEventListener(Event.TAB_ENABLED_CHANGE, tabEnabledChangeHandler); delete focusableObjects[_local3]; calculateCandidates = true; } else { if ((((_local3 is InteractiveObject)) && ((focusableObjects[_local3] == true)))){ _local4 = (_local3 as InteractiveObject); if (_local4){ if (_local4 == lastFocus){ lastFocus = null; }; delete focusableObjects[_local4]; calculateCandidates = true; }; _local3.addEventListener(Event.TAB_ENABLED_CHANGE, tabEnabledChangeHandler); }; }; removeFocusables(_local3); } private function sortByDepth(_arg1:InteractiveObject, _arg2:InteractiveObject):Number{ var _local3:String; var _local4:String; var _local5:int; var _local6:String; var _local7:String; var _local8:String; var _local9:DisplayObject; var _local10:DisplayObject; _local3 = ""; _local4 = ""; _local8 = "0000"; _local9 = DisplayObject(_arg1); _local10 = DisplayObject(_arg2); while (((!((_local9 == DisplayObject(form)))) && (_local9.parent))) { _local5 = getChildIndex(_local9.parent, _local9); _local6 = _local5.toString(16); if (_local6.length < 4){ _local7 = (_local8.substring(0, (4 - _local6.length)) + _local6); }; _local3 = (_local7 + _local3); _local9 = _local9.parent; }; while (((!((_local10 == DisplayObject(form)))) && (_local10.parent))) { _local5 = getChildIndex(_local10.parent, _local10); _local6 = _local5.toString(16); if (_local6.length < 4){ _local7 = (_local8.substring(0, (4 - _local6.length)) + _local6); }; _local4 = (_local7 + _local4); _local10 = _local10.parent; }; return (((_local3 > _local4)) ? 1 : ((_local3 < _local4)) ? -1 : 0); } public function get defaultButton():Button{ return (_defaultButton); } private function activateHandler(_arg1:Event):void{ var _local2:InteractiveObject; _local2 = InteractiveObject(_arg1.target); if (lastFocus){ if ((lastFocus is IFocusManagerComponent)){ IFocusManagerComponent(lastFocus).setFocus(); } else { form.stage.focus = lastFocus; }; }; lastAction = "ACTIVATE"; } public function showFocus():void{ } public function set defaultButtonEnabled(_arg1:Boolean):void{ _defaultButtonEnabled = _arg1; } public function getNextFocusManagerComponent(_arg1:Boolean=false):InteractiveObject{ var _local2:DisplayObject; var _local3:String; var _local4:int; var _local5:Boolean; var _local6:int; var _local7:int; var _local8:IFocusManagerGroup; if (!hasFocusableObjects()){ return (null); }; if (calculateCandidates){ sortFocusableObjects(); calculateCandidates = false; }; _local2 = form.stage.focus; _local2 = DisplayObject(findFocusManagerComponent(InteractiveObject(_local2))); _local3 = ""; if ((_local2 is IFocusManagerGroup)){ _local8 = IFocusManagerGroup(_local2); _local3 = _local8.groupName; }; _local4 = getIndexOfFocusedObject(_local2); _local5 = false; _local6 = _local4; if (_local4 == -1){ if (_arg1){ _local4 = focusableCandidates.length; }; _local5 = true; }; _local7 = getIndexOfNextObject(_local4, _arg1, _local5, _local3); return (findFocusManagerComponent(focusableCandidates[_local7])); } private function mouseDownHandler(_arg1:MouseEvent):void{ var _local2:InteractiveObject; if (_arg1.isDefaultPrevented()){ return; }; _local2 = getTopLevelFocusTarget(InteractiveObject(_arg1.target)); if (!_local2){ return; }; showFocusIndicator = false; if (((((!((_local2 == lastFocus))) || ((lastAction == "ACTIVATE")))) && (!((_local2 is TextField))))){ setFocus(_local2); }; lastAction = "MOUSEDOWN"; } private function isTabVisible(_arg1:DisplayObject):Boolean{ var _local2:DisplayObjectContainer; _local2 = _arg1.parent; while (((((_local2) && (!((_local2 is Stage))))) && (!(((_local2.parent) && ((_local2.parent is Stage))))))) { if (!_local2.tabChildren){ return (false); }; _local2 = _local2.parent; }; return (true); } public function get nextTabIndex():int{ return (0); } private function keyDownHandler(_arg1:KeyboardEvent):void{ if (_arg1.keyCode == Keyboard.TAB){ lastAction = "KEY"; if (calculateCandidates){ sortFocusableObjects(); calculateCandidates = false; }; }; if (((((((defaultButtonEnabled) && ((_arg1.keyCode == Keyboard.ENTER)))) && (defaultButton))) && (defButton.enabled))){ sendDefaultButtonEvent(); }; } private function focusInHandler(_arg1:FocusEvent):void{ var _local2:InteractiveObject; var _local3:Button; _local2 = InteractiveObject(_arg1.target); if (form.contains(_local2)){ lastFocus = findFocusManagerComponent(InteractiveObject(_local2)); if ((lastFocus is Button)){ _local3 = Button(lastFocus); if (defButton){ defButton.emphasized = false; defButton = _local3; _local3.emphasized = true; }; } else { if (((defButton) && (!((defButton == _defaultButton))))){ defButton.emphasized = false; defButton = _defaultButton; _defaultButton.emphasized = true; }; }; }; } private function tabEnabledChangeHandler(_arg1:Event):void{ var _local2:InteractiveObject; var _local3:Boolean; calculateCandidates = true; _local2 = InteractiveObject(_arg1.target); _local3 = (focusableObjects[_local2] == true); if (_local2.tabEnabled){ if (((!(_local3)) && (isTabVisible(_local2)))){ if (!(_local2 is IFocusManagerComponent)){ _local2.focusRect = false; }; focusableObjects[_local2] = true; }; } else { if (_local3){ delete focusableObjects[_local2]; }; }; } public function set showFocusIndicator(_arg1:Boolean):void{ _showFocusIndicator = _arg1; } public function get form():DisplayObjectContainer{ return (_form); } private function sortByTabIndex(_arg1:InteractiveObject, _arg2:InteractiveObject):int{ return (((_arg1.tabIndex > _arg2.tabIndex)) ? 1 : ((_arg1.tabIndex < _arg2.tabIndex)) ? -1 : sortByDepth(_arg1, _arg2)); } public function activate():void{ if (activated){ return; }; form.stage.addEventListener(FocusEvent.MOUSE_FOCUS_CHANGE, mouseFocusChangeHandler, false, 0, true); form.stage.addEventListener(FocusEvent.KEY_FOCUS_CHANGE, keyFocusChangeHandler, false, 0, true); form.addEventListener(FocusEvent.FOCUS_IN, focusInHandler, true); form.addEventListener(FocusEvent.FOCUS_OUT, focusOutHandler, true); form.stage.addEventListener(Event.ACTIVATE, activateHandler, false, 0, true); form.stage.addEventListener(Event.DEACTIVATE, deactivateHandler, false, 0, true); form.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler); form.addEventListener(KeyboardEvent.KEY_DOWN, keyDownHandler, true); activated = true; if (lastFocus){ setFocus(lastFocus); }; } public function deactivate():void{ form.stage.removeEventListener(FocusEvent.MOUSE_FOCUS_CHANGE, mouseFocusChangeHandler); form.stage.removeEventListener(FocusEvent.KEY_FOCUS_CHANGE, keyFocusChangeHandler); form.removeEventListener(FocusEvent.FOCUS_IN, focusInHandler, true); form.removeEventListener(FocusEvent.FOCUS_OUT, focusOutHandler, true); form.stage.removeEventListener(Event.ACTIVATE, activateHandler); form.stage.removeEventListener(Event.DEACTIVATE, deactivateHandler); form.removeEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler); form.removeEventListener(KeyboardEvent.KEY_DOWN, keyDownHandler, true); activated = false; } public function get defaultButtonEnabled():Boolean{ return (_defaultButtonEnabled); } } }//package fl.managers
Section 422
//IFocusManager (fl.managers.IFocusManager) package fl.managers { import fl.controls.*; import flash.display.*; public interface IFocusManager { function getFocus():InteractiveObject; function deactivate():void; function set defaultButton(_arg1:Button):void; function set showFocusIndicator(_arg1:Boolean):void; function get defaultButtonEnabled():Boolean; function get nextTabIndex():int; function get defaultButton():Button; function get showFocusIndicator():Boolean; function setFocus(_arg1:InteractiveObject):void; function activate():void; function showFocus():void; function set defaultButtonEnabled(_arg1:Boolean):void; function hideFocus():void; function findFocusManagerComponent(_arg1:InteractiveObject):InteractiveObject; function getNextFocusManagerComponent(_arg1:Boolean=false):InteractiveObject; } }//package fl.managers
Section 423
//IFocusManagerComponent (fl.managers.IFocusManagerComponent) package fl.managers { public interface IFocusManagerComponent { function set focusEnabled(_arg1:Boolean):void; function drawFocus(_arg1:Boolean):void; function setFocus():void; function get focusEnabled():Boolean; function get tabEnabled():Boolean; function get tabIndex():int; function get mouseFocusEnabled():Boolean; } }//package fl.managers
Section 424
//IFocusManagerGroup (fl.managers.IFocusManagerGroup) package fl.managers { public interface IFocusManagerGroup { function set groupName(_arg1:String):void; function set selected(_arg1:Boolean):void; function get groupName():String; function get selected():Boolean; } }//package fl.managers
Section 425
//StyleManager (fl.managers.StyleManager) package fl.managers { import fl.core.*; import flash.utils.*; import flash.text.*; public class StyleManager { private var globalStyles:Object; private var classToDefaultStylesDict:Dictionary; private var styleToClassesHash:Object; private var classToStylesDict:Dictionary; private var classToInstancesDict:Dictionary; private static var _instance:StyleManager; public function StyleManager(){ styleToClassesHash = {}; classToInstancesDict = new Dictionary(true); classToStylesDict = new Dictionary(true); classToDefaultStylesDict = new Dictionary(true); globalStyles = UIComponent.getStyleDefinition(); } public static function clearComponentStyle(_arg1:Object, _arg2:String):void{ var _local3:Class; var _local4:Object; _local3 = getClassDef(_arg1); _local4 = getInstance().classToStylesDict[_local3]; if (((!((_local4 == null))) && (!((_local4[_arg2] == null))))){ delete _local4[_arg2]; invalidateComponentStyle(_local3, _arg2); }; } private static function getClassDef(_arg1:Object):Class{ var component = _arg1; if ((component is Class)){ return ((component as Class)); }; try { return ((getDefinitionByName(getQualifiedClassName(component)) as Class)); } catch(e:Error) { if ((component is UIComponent)){ try { return ((component.loaderInfo.applicationDomain.getDefinition(getQualifiedClassName(component)) as Class)); } catch(e:Error) { }; }; }; return (null); } public static function clearStyle(_arg1:String):void{ setStyle(_arg1, null); } public static function setComponentStyle(_arg1:Object, _arg2:String, _arg3:Object):void{ var _local4:Class; var _local5:Object; _local4 = getClassDef(_arg1); _local5 = getInstance().classToStylesDict[_local4]; if (_local5 == null){ _local5 = (getInstance().classToStylesDict[_local4] = {}); }; if (_local5 == _arg3){ return; }; _local5[_arg2] = _arg3; invalidateComponentStyle(_local4, _arg2); } private static function setSharedStyles(_arg1:UIComponent):void{ var _local2:StyleManager; var _local3:Class; var _local4:Object; var _local5:String; _local2 = getInstance(); _local3 = getClassDef(_arg1); _local4 = _local2.classToDefaultStylesDict[_local3]; for (_local5 in _local4) { _arg1.setSharedStyle(_local5, getSharedStyle(_arg1, _local5)); }; } public static function getComponentStyle(_arg1:Object, _arg2:String):Object{ var _local3:Class; var _local4:Object; _local3 = getClassDef(_arg1); _local4 = getInstance().classToStylesDict[_local3]; return (((_local4)==null) ? null : _local4[_arg2]); } private static function getInstance(){ if (_instance == null){ _instance = new (StyleManager); }; return (_instance); } private static function invalidateComponentStyle(_arg1:Class, _arg2:String):void{ var _local3:Dictionary; var _local4:Object; var _local5:UIComponent; _local3 = getInstance().classToInstancesDict[_arg1]; if (_local3 == null){ return; }; for (_local4 in _local3) { _local5 = (_local4 as UIComponent); if (_local5 == null){ } else { _local5.setSharedStyle(_arg2, getSharedStyle(_local5, _arg2)); }; }; } private static function invalidateStyle(_arg1:String):void{ var _local2:Dictionary; var _local3:Object; _local2 = getInstance().styleToClassesHash[_arg1]; if (_local2 == null){ return; }; for (_local3 in _local2) { invalidateComponentStyle(Class(_local3), _arg1); }; } public static function registerInstance(_arg1:UIComponent):void{ var inst:StyleManager; var classDef:Class; var target:Class; var defaultStyles:Object; var styleToClasses:Object; var n:String; var instance = _arg1; inst = getInstance(); classDef = getClassDef(instance); if (classDef == null){ return; }; if (inst.classToInstancesDict[classDef] == null){ inst.classToInstancesDict[classDef] = new Dictionary(true); target = classDef; while (defaultStyles == null) { if (target["getStyleDefinition"] != null){ defaultStyles = target["getStyleDefinition"](); break; }; try { target = (instance.loaderInfo.applicationDomain.getDefinition(getQualifiedSuperclassName(target)) as Class); } catch(err:Error) { try { target = (getDefinitionByName(getQualifiedSuperclassName(target)) as Class); } catch(e:Error) { defaultStyles = UIComponent.getStyleDefinition(); break; }; }; }; styleToClasses = inst.styleToClassesHash; for (n in defaultStyles) { if (styleToClasses[n] == null){ styleToClasses[n] = new Dictionary(true); }; styleToClasses[n][classDef] = true; }; inst.classToDefaultStylesDict[classDef] = defaultStyles; inst.classToStylesDict[classDef] = {}; }; inst.classToInstancesDict[classDef][instance] = true; setSharedStyles(instance); } public static function getStyle(_arg1:String):Object{ return (getInstance().globalStyles[_arg1]); } private static function getSharedStyle(_arg1:UIComponent, _arg2:String):Object{ var _local3:Class; var _local4:StyleManager; var _local5:Object; _local3 = getClassDef(_arg1); _local4 = getInstance(); _local5 = _local4.classToStylesDict[_local3][_arg2]; if (_local5 != null){ return (_local5); }; _local5 = _local4.globalStyles[_arg2]; if (_local5 != null){ return (_local5); }; return (_local4.classToDefaultStylesDict[_local3][_arg2]); } public static function setStyle(_arg1:String, _arg2:Object):void{ var _local3:Object; _local3 = getInstance().globalStyles; if ((((_local3[_arg1] === _arg2)) && (!((_arg2 is TextFormat))))){ return; }; _local3[_arg1] = _arg2; invalidateStyle(_arg1); } } }//package fl.managers
Section 426
//bgs (bgs) package { import flash.media.*; public dynamic class bgs extends Sound { } }//package
Section 427
//CellRenderer_disabledSkin (CellRenderer_disabledSkin) package { import flash.display.*; public dynamic class CellRenderer_disabledSkin extends MovieClip { } }//package
Section 428
//CellRenderer_downSkin (CellRenderer_downSkin) package { import flash.display.*; public dynamic class CellRenderer_downSkin extends MovieClip { } }//package
Section 429
//CellRenderer_overSkin (CellRenderer_overSkin) package { import flash.display.*; public dynamic class CellRenderer_overSkin extends MovieClip { } }//package
Section 430
//CellRenderer_selectedDisabledSkin (CellRenderer_selectedDisabledSkin) package { import flash.display.*; public dynamic class CellRenderer_selectedDisabledSkin extends MovieClip { } }//package
Section 431
//CellRenderer_selectedDownSkin (CellRenderer_selectedDownSkin) package { import flash.display.*; public dynamic class CellRenderer_selectedDownSkin extends MovieClip { } }//package
Section 432
//CellRenderer_selectedOverSkin (CellRenderer_selectedOverSkin) package { import flash.display.*; public dynamic class CellRenderer_selectedOverSkin extends MovieClip { } }//package
Section 433
//CellRenderer_selectedUpSkin (CellRenderer_selectedUpSkin) package { import flash.display.*; public dynamic class CellRenderer_selectedUpSkin extends MovieClip { } }//package
Section 434
//CellRenderer_upSkin (CellRenderer_upSkin) package { import flash.display.*; public dynamic class CellRenderer_upSkin extends MovieClip { } }//package
Section 435
//ComboBox_disabledSkin (ComboBox_disabledSkin) package { import flash.display.*; public dynamic class ComboBox_disabledSkin extends MovieClip { } }//package
Section 436
//ComboBox_downSkin (ComboBox_downSkin) package { import flash.display.*; public dynamic class ComboBox_downSkin extends MovieClip { } }//package
Section 437
//ComboBox_overSkin (ComboBox_overSkin) package { import flash.display.*; public dynamic class ComboBox_overSkin extends MovieClip { } }//package
Section 438
//ComboBox_upSkin (ComboBox_upSkin) package { import flash.display.*; public dynamic class ComboBox_upSkin extends MovieClip { } }//package
Section 439
//focusRectSkin (focusRectSkin) package { import flash.display.*; public dynamic class focusRectSkin extends MovieClip { } }//package
Section 440
//foot (foot) package { import flash.media.*; public dynamic class foot extends Sound { } }//package
Section 441
//gameen (gameen) package { import flash.media.*; public dynamic class gameen extends Sound { } }//package
Section 442
//highScore (highScore) package { import flash.display.*; import flash.utils.*; import flash.net.*; import flash.events.*; import com.greensock.easing.*; public class highScore extends MovieClip { var movie_mc:thumbMc; var nameURL:String;// = "" var rightMove:Boolean;// = false var currentPos:Number; var imageRand:Array; var startY:Number;// = 0 var gameCount:int;// = 0 var scoreList:Number;// = 0 var gLevel:int;// = 0 var i:int;// = 0 var startMov:Number;// = 110 var uId:String; var highScorePath:String;// = "" var leftMove:Boolean;// = false var gameScoreArr:Array; var gPage:MovieClip; var gameData:Array; var gameScore:Number;// = 0 var totalGames:Number;// = 0 var gId:String;// = "" var userName:String;// = "" public function highScore(_arg1:Boolean, _arg2:MovieClip, _arg3, _arg4:String, _arg5:String, _arg6:String, _arg7:String){ var _local8:URLLoader; var _local9:URLRequest; var _local10:Array; var _local11:Number; imageRand = new Array(); totalGames = 0; gameCount = 0; gameData = new Array(); gPage = new MovieClip(); gLevel = 0; gId = ""; highScorePath = ""; userName = ""; gameScore = 0; rightMove = false; scoreList = 0; leftMove = false; gameScoreArr = new Array(); nameURL = ""; i = 0; startMov = 110; startY = 0; super(); uId = _arg7; nameURL = _arg5; gId = _arg4; trace(("gId=" + gId)); gPage = _arg2; gameScore = _arg3; _local8 = new URLLoader(); _local9 = new URLRequest(((((("http://www.yotreat.com/score/submit?gameid=" + gId) + "&score=") + gameScore) + "&ownsite=") + _arg6)); _local8.load(_local9); _local8.addEventListener(Event.COMPLETE, getXml); _local10 = new Array("Afghanistan", "Albania", "Algeria", "Andorra", "Angola", "Antigua and Barbuda", "Argentina", "Armenia", "Australia", "Austria", "Azerbaijan", "Bahamas", "Bahrain", "Bangladesh", "Barbados", "Belarus", "Belgium", "Belize", "Benin", "Bhutan", "Bolivia", "Bosnia and Herzegovina", "Botswana", "Brazil", "Brunei", "Darussalam", "Bulgaria", "Burkina", "Faso", "Burma (Myanmar)", "Burundi", "Cambodia", "Cameroon", "Canada", "Cape", "Verde", "Central African Republic", "Chad", "Chile", "China", "Colombia", "Comoros", "Congo", "Costa Rica", "Croatia", "Cuba", "Cyprus", "Czech Republic", "Denmark", "Djibouti", "Dominica", "Dominican Republic", "Ecuador", "East", "Timor", "Egypt", "Salvador", "England", "Equatorial Guinea", "Eritrea", "Estonia", "Ethiopia", "Fiji", "Finland", "France", "Gabon", "Gambia", "Georgia", "Germany", "Ghana", "Great Britain", "Greece", "Grenada", "Guatemala", "Guinea", "Guinea-Bissau", "Guyana", "Haiti", "Honduras", "Hungary", "Iceland", "India", "Indonesia", "Iran", "Iraq", "Ireland", "Israel", "Italy", "Jamaica", "Japan", "Jordan", "Kazakhstan", "Kenya", "Kiribati", "Korea (North)", "Korea (South)", "Kosovo", "Kuwait", "Kyrgyzstan", "Laos", "Latvia", "Lebanon", "Lesotho", "Liberia", "Libya", "Liechtenstein", "Lithuania", "Luxembourg", "Macedonia", "Madagascar", "Malawi", "Malaysia", "Maldives", "Mali", "Malta", "Marshall Islands", "Mauritania", "Mauritius", "Mexico", "Micronesia", "Moldova", "Monaco", "Mongolia", "Montenegro", "Morocco", "Mozambique", "Myanmar", "Namibia", "Nauru", "Nepal", "Netherlands", "New Zealand", "Nicaragua", "Niger", "Nigeria", "Norway", "Northern Ireland", "Oman", "Pakistan", "Palau", "Palestinian", "Panama", "Papua new Guinea", "Paraguay", "Peru", "Philippines", "Poland", "Portugal", "Qatar", "Romania", "Russia", "Rwanda", "Nevis", "Lucia Vincent", "Arabia", "Scotland", "Senegal", "Serbia", "Seychelles", "Sierra", "Leone", "Singapore", "Slovakia", "Slovenia", "Solomon Islands", "Somalia", "South Africa", "Spain", "Sri Lanka", "Sudan", "Suriname", "Swaziland", "Sweden", "Switzerland", "Syria", "Taiwan", "Tajikistan", "Tanzania", "Thailand", "Togo", "Tonga", "Trinidad", "Tobago", "Tunisia", "Turkey", "Turkmenistan", "Tuvalu", "Uganda", "Ukraine", "United Arab Emirates", "United Kingdom", "United States", "Uruguay", "Uzbekistan", "Vanuatu", "Vatican", "Venezuela", "Vietnam", "Western Sahara*", "Wales", "Yemen", "Zaire", "Zambia", "Zimbabwe"); _local10.sort(); if (_arg1){ startY = 340; gPage.gotoAndStop(2); } else { startY = 92; gPage.gotoAndStop(1); gPage.countryCombo.addItem({label:"All Countries"}); _local11 = 0; while (_local11 < _local10.length) { gPage.countryCombo.addItem({label:_local10[_local11]}); _local11++; }; gPage.name_txt.addEventListener(Event.CHANGE, nameFun); gPage.submit_btn.addEventListener(MouseEvent.MOUSE_DOWN, sendScore); gPage.pAgain_btn.addEventListener(MouseEvent.MOUSE_DOWN, playGame); gPage.countryCombo.addEventListener(Event.CHANGE, comboFun); }; setTimeout(resetFun, 200); setTimeout(createMovieFun, 100, 1, 3); } function rightMoveOut(_arg1:MouseEvent){ rightMove = false; gPage.gCont_mc.removeEventListener(Event.ENTER_FRAME, galleryMoveFun); } function gotoGame(_arg1:MouseEvent){ navigateToURL(new URLRequest(_arg1.currentTarget.urlPath), "_blank"); } function loadImage(_arg1:Event){ _arg1.target.content.width = 115; _arg1.target.content.height = 75; gPage.gCont_mc.getChildAt(gameCount).gameName_txt.text = String(gameData[gameCount].gName); gPage.gCont_mc.getChildAt(gameCount).imageCont_mc.addChild(_arg1.target.content); gPage.gCont_mc.getChildAt(gameCount).urlPath = gameData[gameCount].gPath; gPage.gCont_mc.getChildAt(gameCount).addEventListener(MouseEvent.MOUSE_DOWN, gotoGame); gameCount++; if ((((gameCount < 10)) && ((gameCount < totalGames)))){ loadImages(gameCount); }; } function comboFun(_arg1:Event){ gPage.combo_mc.gotoAndStop(1); } function loadImages(_arg1:int){ var _local2:Loader; _local2 = new Loader(); _local2.load(new URLRequest(gameData[_arg1].iPath)); _local2.contentLoaderInfo.addEventListener(Event.COMPLETE, loadImage); } function nameFun(_arg1:Event){ if (((!((gPage.name_txt.text == ""))) && (!((gPage.name_txt.text == null))))){ gPage.name_mc.gotoAndStop(1); }; } function rightMoveFun(_arg1:MouseEvent){ rightMove = true; gPage.gCont_mc.addEventListener(Event.ENTER_FRAME, galleryMoveFun); } function galleryMoveFun(_arg1:Event){ if (((leftMove) && (gPage.gCont_mc.hitTestObject(gPage.left_btn)))){ gPage.right_btn.visible = true; gPage.gCont_mc.x = (gPage.gCont_mc.x + 9); } else { if (!rightMove){ gPage.left_btn.visible = false; }; }; if (((rightMove) && (gPage.gCont_mc.hitTestObject(gPage.right_btn)))){ gPage.left_btn.visible = true; gPage.gCont_mc.x = (gPage.gCont_mc.x - 9); } else { if (!leftMove){ gPage.right_btn.visible = false; }; }; } function loadScoreList(){ var _local1:*; var _local2:*; if (scoreList >= 9){ _local1 = 1; while (_local1 <= scoreList) { gPage.scoreDisp_mc[("pos" + _local1)].text = String(gameScoreArr[(_local1 - 1)].position); gPage.scoreDisp_mc[("name" + _local1)].text = String(gameScoreArr[(_local1 - 1)].uName); gPage.scoreDisp_mc[("score" + _local1)].text = String(gameScoreArr[(_local1 - 1)].uScore); _local1++; }; } else { _local2 = 1; while (_local2 <= scoreList) { gPage.scoreDisp_mc[("pos" + _local2)].text = String(gameScoreArr[(_local2 - 1)].position); gPage.scoreDisp_mc[("name" + _local2)].text = String(gameScoreArr[(_local2 - 1)].uName); gPage.scoreDisp_mc[("score" + _local2)].text = String(gameScoreArr[(_local2 - 1)].uScore); _local2++; }; }; } function createMovieFun(_arg1:Number, _arg2:Number){ i = _arg1; while (i <= _arg2) { movie_mc = new thumbMc(); movie_mc.x = (startMov + ((i - 1) * 130)); movie_mc.y = startY; gPage.gCont_mc.addChild(movie_mc); movie_mc.buttonMode = true; trace(("xpos=" + movie_mc.x)); i++; }; } function hideMsgBox(_arg1:MouseEvent){ gPage.msgBox_mc.visible = false; } function generateRandom(_arg1:int):Array{ var _local2:int; var _local3:Array; var _local4:Array; var _local5:int; _local2 = 0; _local3 = new Array(); _local4 = new Array(); _local2 = 0; while (_local2 < _arg1) { _local4.push(_local2); _local2++; }; _local2 = 0; while (_local2 < _arg1) { _local5 = Math.round((Math.random() * (_local4.length - 1))); if (_local5 == -1){ _local5 = 0; }; _local3.push(_local4[_local5]); _local4.splice(_local5, 1); _local2++; }; trace(_local3); return (_local3); } function playGame(_arg1:MouseEvent){ MovieClip(gPage.root).gotoAndStop("startpage"); } function resetFun(){ gPage.right_btn.visible = false; gPage.left_btn.visible = false; gPage.pAgain_btn.addEventListener(MouseEvent.MOUSE_DOWN, playGame); } function leftMoveOut(_arg1:MouseEvent){ leftMove = false; gPage.gCont_mc.removeEventListener(Event.ENTER_FRAME, galleryMoveFun); } function postFun(){ navigateToURL(new URLRequest(("http://www.yotreat.com/highscores/" + nameURL))); } function handleComplete(_arg1:Event){ var _local2:String; var _local3:URLLoader; _local2 = String(_arg1.target); _local3 = new URLLoader(new URLRequest(_local2)); } function getXml(_arg1:Event){ var _local2:XML; var _local3:int; var _local4:int; var _local5:int; var _local6:int; _local2 = XML(_arg1.target.data); totalGames = _local2.similargames.game.length(); trace(("totalGames=" + totalGames)); trace(("totalGame=" + _local2.highscores.game.length())); scoreList = _local2.highscores.game.length(); _local3 = 0; while (_local3 < totalGames) { gameData.push({gName:_local2.similargames.game[_local3].title, gPath:_local2.similargames.game[_local3].url, iPath:_local2.similargames.game[_local3].thump}); _local3++; }; if (_local2.highscores.game.length() > 6){ _local5 = 5; while (_local5 <= 8) { gPage.scoreDisp_mc[("color_mc" + _local5)].gotoAndStop(3); _local5++; }; }; _local4 = 0; while (_local4 < scoreList) { gameScoreArr.push({position:_local2.highscores.game[_local4].user_rank, uName:_local2.highscores.game[_local4].user_name, uScore:_local2.highscores.game[_local4].user_score}); trace(("pos=" + gameScoreArr[_local4].position)); if (_local2.highscores.game[_local4].user_id == uId){ currentPos = _local4; trace(("currentPos=" + currentPos)); gPage.scoreDisp_mc[("color_mc" + currentPos)].gotoAndStop(2); if ((((currentPos >= 0)) && ((currentPos <= 3)))){ _local6 = 5; while (_local6 <= 8) { gPage.scoreDisp_mc[("color_mc" + _local6)].gotoAndStop(1); _local6++; }; }; }; _local4++; }; imageRand = generateRandom(totalGames); if (gPage.currentFrame == 2){ loadScoreList(); }; if (totalGames > 3){ gPage.right_btn.visible = true; }; if ((((totalGames > 3)) && ((totalGames < 10)))){ createMovieFun(4, totalGames); } else { if (totalGames >= 10){ createMovieFun(4, 10); }; }; gPage.right_btn.addEventListener(MouseEvent.MOUSE_OVER, rightMoveFun); gPage.right_btn.addEventListener(MouseEvent.MOUSE_OUT, rightMoveOut); gPage.left_btn.addEventListener(MouseEvent.MOUSE_OVER, leftMoveFun); gPage.left_btn.addEventListener(MouseEvent.MOUSE_OUT, leftMoveOut); loadImages(gameCount); } function leftMoveFun(_arg1:MouseEvent){ leftMove = true; gPage.gCont_mc.addEventListener(Event.ENTER_FRAME, galleryMoveFun); } function sendScore(_arg1:MouseEvent){ var _local2:String; var _local3:URLVariables; var _local4:URLRequest; var _local5:Loader; userName = gPage.name_txt.text; trace((("text=" + gPage.name_txt.text) + "*")); if ((((userName == null)) || ((userName == "")))){ trace("Enter Name"); gPage.name_mc.gotoAndPlay(2); }; if (gPage.countryCombo.selectedItem.label == "All Countries"){ gPage.combo_mc.gotoAndPlay(2); }; if (((((!((userName == null))) && (!((userName == ""))))) && (!((gPage.countryCombo.selectedItem.label == "All Countries"))))){ _local2 = "http://www.yotreat.com/score/submit"; _local3 = new URLVariables(); _local3.score = gameScore; _local3.gameid = gId; _local3.name = userName; _local3.country = gPage.countryCombo.selectedItem.label; _local4 = new URLRequest(_local2); _local4.data = _local3; _local5 = new Loader(); _local5.addEventListener(Event.COMPLETE, handleComplete); _local5.load(_local4); MovieClip(gPage.root).gotoAndStop("startpage"); setTimeout(postFun, 2000); }; } } }//package
Section 443
//jumps (jumps) package { import flash.media.*; public dynamic class jumps extends Sound { } }//package
Section 444
//life (life) package { import flash.display.*; public dynamic class life extends MovieClip { public function life(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package
Section 445
//List_skin (List_skin) package { import flash.display.*; public dynamic class List_skin extends MovieClip { } }//package
Section 446
//loaderEnd (loaderEnd) package { import flash.media.*; public dynamic class loaderEnd extends Sound { } }//package
Section 447
//loaderStart (loaderStart) package { import flash.media.*; public dynamic class loaderStart extends Sound { } }//package
Section 448
//MochiBot (MochiBot) package { import flash.display.*; import flash.net.*; import flash.system.*; public dynamic class MochiBot extends Sprite { public static function track(_arg1:Sprite, _arg2:String):MochiBot{ var _local3:MochiBot; var _local4:String; var _local5:URLVariables; var _local6:String; var _local7:URLRequest; var _local8:Loader; if (Security.sandboxType == "localWithFile"){ return (null); }; _local3 = new (MochiBot); _arg1.addChild(_local3); Security.allowDomain("*"); Security.allowInsecureDomain("*"); _local4 = "http://core.mochibot.com/my/core.swf"; _local5 = new URLVariables(); _local5["sb"] = Security.sandboxType; _local5["v"] = Capabilities.version; _local5["swfid"] = _arg2; _local5["mv"] = "8"; _local5["fv"] = "9"; _local6 = _local3.root.loaderInfo.loaderURL; if (_local6.indexOf("http") == 0){ _local5["url"] = _local6; } else { _local5["url"] = "local"; }; _local7 = new URLRequest(_local4); _local7.contentType = "application/x-www-form-urlencoded"; _local7.method = URLRequestMethod.POST; _local7.data = _local5; _local8 = new Loader(); _local3.addChild(_local8); _local8.load(_local7); return (_local3); } } }//package
Section 449
//ohh (ohh) package { import flash.media.*; public dynamic class ohh extends Sound { } }//package
Section 450
//pausebtn (pausebtn) package { import flash.display.*; public dynamic class pausebtn extends MovieClip { public var pause_mc:MovieClip; } }//package
Section 451
//preLoaderMc (preLoaderMc) package { import flash.display.*; public dynamic class preLoaderMc extends MovieClip { public var cream_mc:MovieClip; } }//package
Section 452
//ScrollArrowDown_disabledSkin (ScrollArrowDown_disabledSkin) package { import flash.display.*; public dynamic class ScrollArrowDown_disabledSkin extends MovieClip { } }//package
Section 453
//ScrollArrowDown_downSkin (ScrollArrowDown_downSkin) package { import flash.display.*; public dynamic class ScrollArrowDown_downSkin extends MovieClip { } }//package
Section 454
//ScrollArrowDown_overSkin (ScrollArrowDown_overSkin) package { import flash.display.*; public dynamic class ScrollArrowDown_overSkin extends MovieClip { } }//package
Section 455
//ScrollArrowDown_upSkin (ScrollArrowDown_upSkin) package { import flash.display.*; public dynamic class ScrollArrowDown_upSkin extends MovieClip { } }//package
Section 456
//ScrollArrowUp_disabledSkin (ScrollArrowUp_disabledSkin) package { import flash.display.*; public dynamic class ScrollArrowUp_disabledSkin extends MovieClip { } }//package
Section 457
//ScrollArrowUp_downSkin (ScrollArrowUp_downSkin) package { import flash.display.*; public dynamic class ScrollArrowUp_downSkin extends MovieClip { } }//package
Section 458
//ScrollArrowUp_overSkin (ScrollArrowUp_overSkin) package { import flash.display.*; public dynamic class ScrollArrowUp_overSkin extends MovieClip { } }//package
Section 459
//ScrollArrowUp_upSkin (ScrollArrowUp_upSkin) package { import flash.display.*; public dynamic class ScrollArrowUp_upSkin extends MovieClip { } }//package
Section 460
//ScrollBar_thumbIcon (ScrollBar_thumbIcon) package { import flash.display.*; public dynamic class ScrollBar_thumbIcon extends MovieClip { } }//package
Section 461
//ScrollThumb_downSkin (ScrollThumb_downSkin) package { import flash.display.*; public dynamic class ScrollThumb_downSkin extends MovieClip { } }//package
Section 462
//ScrollThumb_overSkin (ScrollThumb_overSkin) package { import flash.display.*; public dynamic class ScrollThumb_overSkin extends MovieClip { } }//package
Section 463
//ScrollThumb_upSkin (ScrollThumb_upSkin) package { import flash.display.*; public dynamic class ScrollThumb_upSkin extends MovieClip { } }//package
Section 464
//ScrollTrack_skin (ScrollTrack_skin) package { import flash.display.*; public dynamic class ScrollTrack_skin extends MovieClip { } }//package
Section 465
//skate (skate) package { import flash.media.*; public dynamic class skate extends Sound { } }//package
Section 466
//spark (spark) package { import flash.display.*; public dynamic class spark extends MovieClip { public function spark(){ addFrameScript(15, frame16); } function frame16(){ stop(); this.parent.removeChild(this); } } }//package
Section 467
//stone (stone) package { import flash.display.*; public dynamic class stone extends MovieClip { public var stone16:MovieClip; public function stone(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package
Section 468
//TextInput_disabledSkin (TextInput_disabledSkin) package { import flash.display.*; public dynamic class TextInput_disabledSkin extends MovieClip { } }//package
Section 469
//TextInput_upSkin (TextInput_upSkin) package { import flash.display.*; public dynamic class TextInput_upSkin extends MovieClip { } }//package
Section 470
//thumbMc (thumbMc) package { import flash.display.*; import flash.text.*; public dynamic class thumbMc extends MovieClip { public var imageLoader_mc:MovieClip; public var gameName_txt:TextField; public var imageCont_mc:MovieClip; } }//package

Library Items

Symbol 1 Sound {skate}
Symbol 2 Sound {ohh}
Symbol 3 Sound {loaderStart}
Symbol 4 Sound {loaderEnd}
Symbol 5 Sound {jumps}
Symbol 6 Sound {gameen}
Symbol 7 Sound {foot}
Symbol 8 Sound {bgs}
Symbol 9 GraphicUsed by:13
Symbol 10 GraphicUsed by:11 751
Symbol 11 MovieClipUses:10Used by:12
Symbol 12 MovieClip {bg1_fla.fghf_356}Uses:11Used by:13
Symbol 13 MovieClip {life}Uses:9 12
Symbol 14 GraphicUsed by:15
Symbol 15 MovieClipUses:14Used by:67 72 81
Symbol 16 MovieClip {fl.core.ComponentShim}Used by:35 66 67 72 81
Symbol 17 GraphicUsed by:18
Symbol 18 MovieClip {List_skin}Uses:17Used by:67
Symbol 19 GraphicUsed by:20
Symbol 20 MovieClip {CellRenderer_upSkin}Uses:19Used by:35
Symbol 21 GraphicUsed by:22
Symbol 22 MovieClip {CellRenderer_disabledSkin}Uses:21Used by:35
Symbol 23 GraphicUsed by:24
Symbol 24 MovieClip {CellRenderer_downSkin}Uses:23Used by:35
Symbol 25 GraphicUsed by:26
Symbol 26 MovieClip {CellRenderer_overSkin}Uses:25Used by:35
Symbol 27 GraphicUsed by:28
Symbol 28 MovieClip {CellRenderer_selectedDisabledSkin}Uses:27Used by:35
Symbol 29 GraphicUsed by:30
Symbol 30 MovieClip {CellRenderer_selectedDownSkin}Uses:29Used by:35
Symbol 31 GraphicUsed by:32
Symbol 32 MovieClip {CellRenderer_selectedOverSkin}Uses:31Used by:35
Symbol 33 GraphicUsed by:34
Symbol 34 MovieClip {CellRenderer_selectedUpSkin}Uses:33Used by:35
Symbol 35 MovieClip {fl.controls.listClasses.CellRenderer}Uses:20 16 22 24 26 28 30 32 34Used by:67
Symbol 36 GraphicUsed by:37
Symbol 37 MovieClip {focusRectSkin}Uses:36Used by:66 67 72 81
Symbol 38 GraphicUsed by:39
Symbol 39 MovieClip {ScrollTrack_skin}Uses:38Used by:66
Symbol 40 GraphicUsed by:43
Symbol 41 GraphicUsed by:42 45 49 59
Symbol 42 MovieClipUses:41Used by:43 53 55
Symbol 43 MovieClip {ScrollArrowUp_downSkin}Uses:40 42Used by:66
Symbol 44 GraphicUsed by:45
Symbol 45 MovieClip {ScrollArrowDown_downSkin}Uses:44 41Used by:66
Symbol 46 GraphicUsed by:47
Symbol 47 MovieClip {ScrollThumb_downSkin}Uses:46Used by:66
Symbol 48 GraphicUsed by:49
Symbol 49 MovieClip {ScrollArrowDown_overSkin}Uses:48 41Used by:66
Symbol 50 GraphicUsed by:51
Symbol 51 MovieClip {ScrollThumb_overSkin}Uses:50Used by:66
Symbol 52 GraphicUsed by:53
Symbol 53 MovieClip {ScrollArrowUp_overSkin}Uses:52 42Used by:66
Symbol 54 GraphicUsed by:55
Symbol 55 MovieClip {ScrollArrowUp_upSkin}Uses:54 42Used by:66
Symbol 56 GraphicUsed by:57
Symbol 57 MovieClip {ScrollThumb_upSkin}Uses:56Used by:66
Symbol 58 GraphicUsed by:59
Symbol 59 MovieClip {ScrollArrowDown_upSkin}Uses:58 41Used by:66
Symbol 60 GraphicUsed by:61
Symbol 61 MovieClip {ScrollArrowDown_disabledSkin}Uses:60Used by:66
Symbol 62 GraphicUsed by:63
Symbol 63 MovieClip {ScrollArrowUp_disabledSkin}Uses:62Used by:66
Symbol 64 GraphicUsed by:65
Symbol 65 MovieClip {ScrollBar_thumbIcon}Uses:64Used by:66
Symbol 66 MovieClip {fl.controls.ScrollBar}Uses:39 16 37 43 45 47 49 51 53 55 57 59 61 63 65Used by:67
Symbol 67 MovieClip {fl.controls.List}Uses:15 16 18 35 37 66Used by:81
Symbol 68 GraphicUsed by:69
Symbol 69 MovieClip {TextInput_disabledSkin}Uses:68Used by:72
Symbol 70 GraphicUsed by:71
Symbol 71 MovieClip {TextInput_upSkin}Uses:70Used by:72
Symbol 72 MovieClip {fl.controls.TextInput}Uses:15 16 69 71 37Used by:81
Symbol 73 GraphicUsed by:74
Symbol 74 MovieClip {ComboBox_upSkin}Uses:73Used by:81
Symbol 75 GraphicUsed by:76
Symbol 76 MovieClip {ComboBox_disabledSkin}Uses:75Used by:81
Symbol 77 GraphicUsed by:78
Symbol 78 MovieClip {ComboBox_overSkin}Uses:77Used by:81
Symbol 79 GraphicUsed by:80
Symbol 80 MovieClip {ComboBox_downSkin}Uses:79Used by:81
Symbol 81 MovieClip {fl.controls.ComboBox}Uses:15 16 37 74 76 78 80 72 67Used by:922
Symbol 82 GraphicUsed by:83
Symbol 83 MovieClipUses:82Used by:84
Symbol 84 MovieClipUses:83Used by:90
Symbol 85 GraphicUsed by:90 775
Symbol 86 MovieClipUsed by:90
Symbol 87 GraphicUsed by:90
Symbol 88 FontUsed by:89 884
Symbol 89 EditableTextUses:88Used by:90
Symbol 90 MovieClip {thumbMc}Uses:84 85 86 87 89Used by:Timeline
Symbol 91 GraphicUsed by:160
Symbol 92 ShapeTweeningUsed by:158
Symbol 93 ShapeTweeningUsed by:158
Symbol 94 GraphicUsed by:158
Symbol 95 GraphicUsed by:158
Symbol 96 GraphicUsed by:158
Symbol 97 GraphicUsed by:158
Symbol 98 GraphicUsed by:158
Symbol 99 GraphicUsed by:158
Symbol 100 GraphicUsed by:158
Symbol 101 GraphicUsed by:158
Symbol 102 GraphicUsed by:158
Symbol 103 GraphicUsed by:158
Symbol 104 GraphicUsed by:158
Symbol 105 GraphicUsed by:158
Symbol 106 GraphicUsed by:158
Symbol 107 GraphicUsed by:158
Symbol 108 GraphicUsed by:130
Symbol 109 GraphicUsed by:110
Symbol 110 MovieClipUses:109Used by:130
Symbol 111 GraphicUsed by:112 384 397 502 503
Symbol 112 MovieClipUses:111Used by:130
Symbol 113 GraphicUsed by:114
Symbol 114 MovieClipUses:113Used by:130
Symbol 115 GraphicUsed by:116 384 397 502 503
Symbol 116 MovieClipUses:115Used by:130
Symbol 117 GraphicUsed by:118
Symbol 118 MovieClipUses:117Used by:130
Symbol 119 GraphicUsed by:120 502 503
Symbol 120 MovieClipUses:119Used by:130
Symbol 121 GraphicUsed by:122
Symbol 122 MovieClipUses:121Used by:130
Symbol 123 GraphicUsed by:130
Symbol 124 GraphicUsed by:125
Symbol 125 MovieClipUses:124Used by:130
Symbol 126 GraphicUsed by:127
Symbol 127 MovieClipUses:126Used by:130
Symbol 128 FontUsed by:129 136 140 145
Symbol 129 TextUses:128Used by:130
Symbol 130 MovieClipUses:108 110 112 114 116 118 120 122 123 125 127 129Used by:131
Symbol 131 MovieClip {bg1_fla.dfgxbvcpassghgk_254}Uses:130Used by:158
Symbol 132 GraphicUsed by:133
Symbol 133 MovieClipUses:132Used by:158
Symbol 134 GraphicUsed by:135
Symbol 135 ButtonUses:134Used by:143 146
Symbol 136 TextUses:128Used by:143 146
Symbol 137 GraphicUsed by:138 146
Symbol 138 MovieClipUses:137Used by:139
Symbol 139 MovieClipUses:138Used by:143 146
Symbol 140 TextUses:128Used by:143
Symbol 141 GraphicUsed by:142
Symbol 142 MovieClipUses:141Used by:143 146
Symbol 143 MovieClip {bg1_fla.CVUJHGHJNpassghgk_266}Uses:135 136 139 140 142Used by:158
Symbol 144 GraphicUsed by:146
Symbol 145 TextUses:128Used by:146
Symbol 146 ButtonUses:144 145 142 135 136 139 137Used by:158
Symbol 147 ShapeTweeningUsed by:158
Symbol 148 ShapeTweeningUsed by:158
Symbol 149 GraphicUsed by:158
Symbol 150 GraphicUsed by:158
Symbol 151 GraphicUsed by:158
Symbol 152 GraphicUsed by:158
Symbol 153 GraphicUsed by:158
Symbol 154 GraphicUsed by:158
Symbol 155 GraphicUsed by:158
Symbol 156 GraphicUsed by:158
Symbol 157 GraphicUsed by:158
Symbol 158 MovieClip {bg1_fla.bgyikujpassghghk_253}Uses:92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 131 133 143 146 147 148 149 150 151 152 153 154 155 156 157Used by:160
Symbol 159 GraphicUsed by:160
Symbol 160 MovieClip {pausebtn}Uses:91 158 159Used by:Timeline
Symbol 161 GraphicUsed by:162 540 807
Symbol 162 MovieClip {bg1_fla.Symbol10_169}Uses:161Used by:184
Symbol 163 GraphicUsed by:166
Symbol 164 GraphicUsed by:165
Symbol 165 MovieClipUses:164Used by:166
Symbol 166 MovieClip {bg1_fla.hjkjdfvgxdfd_170}Uses:163 165Used by:184
Symbol 167 GraphicUsed by:170
Symbol 168 GraphicUsed by:169
Symbol 169 MovieClipUses:168Used by:170
Symbol 170 MovieClip {bg1_fla.gfjhgdfvgxdfd_172}Uses:167 169Used by:184
Symbol 171 GraphicUsed by:172
Symbol 172 MovieClipUses:171Used by:175
Symbol 173 ShapeTweeningUsed by:175
Symbol 174 GraphicUsed by:175
Symbol 175 MovieClip {bg1_fla.gjhgjsssssdfsdfsdf_174}Uses:172 173 174Used by:184
Symbol 176 GraphicUsed by:180 543 573 809
Symbol 177 GraphicUsed by:178
Symbol 178 MovieClipUses:177Used by:179
Symbol 179 MovieClip {bg1_fla.gjhhgjdfvgxdfd_177}Uses:178Used by:180
Symbol 180 MovieClip {bg1_fla.mbnmdfvgxdfd_176}Uses:176 179Used by:184
Symbol 181 GraphicUsed by:182
Symbol 182 MovieClipUses:181Used by:183
Symbol 183 MovieClip {bg1_fla.hgxvsssssdfsdfsdf_179}Uses:182Used by:184
Symbol 184 MovieClip {stone}Uses:162 166 170 175 180 183Used by:667
Symbol 185 GraphicUsed by:188 661
Symbol 186 GraphicUsed by:188 661
Symbol 187 GraphicUsed by:188 661
Symbol 188 MovieClipUses:185 186 187Used by:189 190
Symbol 189 MovieClipUses:188Used by:191
Symbol 190 MovieClipUses:188Used by:191
Symbol 191 MovieClip {spark}Uses:189 190Used by:Timeline
Symbol 192 GraphicUsed by:193
Symbol 193 MovieClipUses:192Used by:403
Symbol 194 GraphicUsed by:195
Symbol 195 MovieClipUses:194Used by:196
Symbol 196 MovieClipUses:195Used by:203
Symbol 197 GraphicUsed by:198
Symbol 198 MovieClipUses:197Used by:199
Symbol 199 MovieClipUses:198Used by:203
Symbol 200 GraphicUsed by:201
Symbol 201 MovieClipUses:200Used by:202
Symbol 202 MovieClipUses:201Used by:203
Symbol 203 MovieClipUses:196 199 202Used by:403
Symbol 204 GraphicUsed by:248
Symbol 205 GraphicUsed by:248 384 502 503
Symbol 206 GraphicUsed by:216 247 248 286 302 312 429 439
Symbol 207 GraphicUsed by:208 248 279 295 312 423 439
Symbol 208 MovieClipUses:207Used by:216 247
Symbol 209 GraphicUsed by:216
Symbol 210 GraphicUsed by:216
Symbol 211 GraphicUsed by:216
Symbol 212 GraphicUsed by:216
Symbol 213 GraphicUsed by:216
Symbol 214 GraphicUsed by:216
Symbol 215 GraphicUsed by:216
Symbol 216 MovieClipUses:206 208 209 210 211 212 213 214 215Used by:248
Symbol 217 GraphicUsed by:248 287
Symbol 218 GraphicUsed by:248
Symbol 219 GraphicUsed by:248
Symbol 220 GraphicUsed by:248
Symbol 221 GraphicUsed by:248
Symbol 222 GraphicUsed by:232 327 382 454 501
Symbol 223 GraphicUsed by:232 327 382 454 501
Symbol 224 ShapeTweeningUsed by:232
Symbol 225 GraphicUsed by:232
Symbol 226 ShapeTweeningUsed by:232
Symbol 227 ShapeTweeningUsed by:232
Symbol 228 ShapeTweeningUsed by:232
Symbol 229 ShapeTweeningUsed by:232
Symbol 230 ShapeTweeningUsed by:232
Symbol 231 GraphicUsed by:232 327 382 454 501
Symbol 232 MovieClipUses:222 223 224 225 226 227 228 229 230 231Used by:248
Symbol 233 GraphicUsed by:248
Symbol 234 GraphicUsed by:248
Symbol 235 GraphicUsed by:248
Symbol 236 GraphicUsed by:248 312 439
Symbol 237 GraphicUsed by:248
Symbol 238 GraphicUsed by:248
Symbol 239 GraphicUsed by:248
Symbol 240 GraphicUsed by:247
Symbol 241 GraphicUsed by:247
Symbol 242 GraphicUsed by:247
Symbol 243 GraphicUsed by:247
Symbol 244 GraphicUsed by:247
Symbol 245 GraphicUsed by:247
Symbol 246 GraphicUsed by:247
Symbol 247 MovieClipUses:206 208 240 241 242 243 244 245 246Used by:248
Symbol 248 MovieClipUses:204 205 216 217 218 219 220 221 232 233 234 235 236 207 237 238 206 239 247Used by:255
Symbol 249 GraphicUsed by:254
Symbol 250 GraphicUsed by:252
Symbol 251 GraphicUsed by:252
Symbol 252 MovieClipUses:250 251Used by:254
Symbol 253 GraphicUsed by:254
Symbol 254 MovieClipUses:249 252 253Used by:255 384 397
Symbol 255 MovieClipUses:248 254Used by:398
Symbol 256 FontUsed by:257
Symbol 257 EditableTextUses:256Used by:258
Symbol 258 MovieClip {bg1_fla.Symbol13prlaaaa_19}Uses:257Used by:398
Symbol 259 GraphicUsed by:260 397 402
Symbol 260 MovieClip {bg1_fla.Tween20xprlaaaa_20}Uses:259Used by:398
Symbol 261 GraphicUsed by:262 397
Symbol 262 MovieClipUses:261Used by:263 402
Symbol 263 MovieClip {bg1_fla.Tween19xprlaaaa_21}Uses:262Used by:398
Symbol 264 GraphicUsed by:265 397
Symbol 265 MovieClipUses:264Used by:266 402
Symbol 266 MovieClip {bg1_fla.Tween18xprlaaaa_23}Uses:265Used by:398
Symbol 267 GraphicUsed by:268 397
Symbol 268 MovieClipUses:267Used by:269 402
Symbol 269 MovieClip {bg1_fla.Tween17xprlaaaa_25}Uses:268Used by:398
Symbol 270 GraphicUsed by:271 397
Symbol 271 MovieClipUses:270Used by:272 402
Symbol 272 MovieClip {bg1_fla.Tween16xprlaaaa_27}Uses:271Used by:398
Symbol 273 GraphicUsed by:274 397 402
Symbol 274 MovieClip {bg1_fla.Tween14xprlaaaa_29}Uses:273Used by:398
Symbol 275 GraphicUsed by:276 397
Symbol 276 MovieClipUses:275Used by:277 402
Symbol 277 MovieClip {bg1_fla.Tween15xprlaaaa_30}Uses:276Used by:398
Symbol 278 GraphicUsed by:287
Symbol 279 MovieClipUses:207Used by:286
Symbol 280 GraphicUsed by:286
Symbol 281 GraphicUsed by:286
Symbol 282 GraphicUsed by:286
Symbol 283 GraphicUsed by:286 429
Symbol 284 GraphicUsed by:286
Symbol 285 GraphicUsed by:286
Symbol 286 MovieClipUses:206 279 280 281 282 283 284 285Used by:287
Symbol 287 MovieClipUses:278 286 217Used by:397
Symbol 288 GraphicUsed by:384 397
Symbol 289 GraphicUsed by:384 397
Symbol 290 GraphicUsed by:384 397
Symbol 291 GraphicUsed by:384 397
Symbol 292 GraphicUsed by:384 397
Symbol 293 GraphicUsed by:384 502
Symbol 294 GraphicUsed by:384
Symbol 295 MovieClipUses:207Used by:302
Symbol 296 GraphicUsed by:302
Symbol 297 GraphicUsed by:302
Symbol 298 GraphicUsed by:302
Symbol 299 GraphicUsed by:302
Symbol 300 GraphicUsed by:302
Symbol 301 GraphicUsed by:302
Symbol 302 MovieClipUses:206 295 296 297 298 299 300 301Used by:384
Symbol 303 GraphicUsed by:384
Symbol 304 GraphicUsed by:384
Symbol 305 GraphicUsed by:384
Symbol 306 GraphicUsed by:312
Symbol 307 GraphicUsed by:312
Symbol 308 GraphicUsed by:312
Symbol 309 GraphicUsed by:312
Symbol 310 GraphicUsed by:312
Symbol 311 GraphicUsed by:312
Symbol 312 MovieClipUses:306 307 308 309 236 207 310 311 206Used by:384
Symbol 313 GraphicUsed by:327
Symbol 314 ShapeTweeningUsed by:327
Symbol 315 GraphicUsed by:327
Symbol 316 GraphicUsed by:327
Symbol 317 GraphicUsed by:327
Symbol 318 ShapeTweeningUsed by:327
Symbol 319 GraphicUsed by:327
Symbol 320 GraphicUsed by:327
Symbol 321 GraphicUsed by:327
Symbol 322 GraphicUsed by:327
Symbol 323 ShapeTweeningUsed by:327
Symbol 324 ShapeTweeningUsed by:327
Symbol 325 ShapeTweeningUsed by:327
Symbol 326 ShapeTweeningUsed by:327
Symbol 327 MovieClipUses:313 223 314 315 316 317 318 319 320 321 322 222 323 324 325 326 231Used by:384
Symbol 328 GraphicUsed by:384
Symbol 329 GraphicUsed by:384
Symbol 330 GraphicUsed by:384 502
Symbol 331 GraphicUsed by:384
Symbol 332 GraphicUsed by:384 502 503
Symbol 333 GraphicUsed by:384 502 503
Symbol 334 GraphicUsed by:384
Symbol 335 GraphicUsed by:384
Symbol 336 GraphicUsed by:384
Symbol 337 GraphicUsed by:384
Symbol 338 GraphicUsed by:384
Symbol 339 GraphicUsed by:384 502 503
Symbol 340 GraphicUsed by:384
Symbol 341 ShapeTweeningUsed by:384
Symbol 342 GraphicUsed by:384
Symbol 343 ShapeTweeningUsed by:384
Symbol 344 GraphicUsed by:384 502
Symbol 345 ShapeTweeningUsed by:384
Symbol 346 ShapeTweeningUsed by:384
Symbol 347 GraphicUsed by:384 502
Symbol 348 ShapeTweeningUsed by:384
Symbol 349 ShapeTweeningUsed by:384
Symbol 350 ShapeTweeningUsed by:384
Symbol 351 ShapeTweeningUsed by:384
Symbol 352 GraphicUsed by:384
Symbol 353 GraphicUsed by:384
Symbol 354 GraphicUsed by:384
Symbol 355 ShapeTweeningUsed by:384
Symbol 356 ShapeTweeningUsed by:384
Symbol 357 GraphicUsed by:384
Symbol 358 GraphicUsed by:384
Symbol 359 GraphicUsed by:384
Symbol 360 ShapeTweeningUsed by:384
Symbol 361 GraphicUsed by:384
Symbol 362 GraphicUsed by:384
Symbol 363 GraphicUsed by:384
Symbol 364 GraphicUsed by:384
Symbol 365 GraphicUsed by:384
Symbol 366 GraphicUsed by:384 502
Symbol 367 GraphicUsed by:382
Symbol 368 ShapeTweeningUsed by:382
Symbol 369 GraphicUsed by:382
Symbol 370 GraphicUsed by:382
Symbol 371 GraphicUsed by:382
Symbol 372 ShapeTweeningUsed by:382
Symbol 373 GraphicUsed by:382
Symbol 374 GraphicUsed by:382
Symbol 375 GraphicUsed by:382
Symbol 376 GraphicUsed by:382
Symbol 377 GraphicUsed by:382
Symbol 378 ShapeTweeningUsed by:382
Symbol 379 ShapeTweeningUsed by:382
Symbol 380 ShapeTweeningUsed by:382
Symbol 381 ShapeTweeningUsed by:382
Symbol 382 MovieClipUses:367 223 368 369 370 371 372 373 374 375 376 222 377 378 379 380 381 231Used by:384
Symbol 383 GraphicUsed by:384 502 503
Symbol 384 MovieClipUses:292 290 111 254 115 289 288 291 293 294 205 302 303 304 305 312 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 382 383Used by:396
Symbol 385 GraphicUsed by:386
Symbol 386 MovieClipUses:385Used by:387
Symbol 387 MovieClipUses:386Used by:396
Symbol 388 GraphicUsed by:396
Symbol 389 GraphicUsed by:395 505
Symbol 390 GraphicUsed by:395
Symbol 391 GraphicUsed by:392
Symbol 392 MovieClipUses:391Used by:395
Symbol 393 GraphicUsed by:394 504
Symbol 394 MovieClipUses:393Used by:395
Symbol 395 MovieClipUses:389 390 392 394Used by:396
Symbol 396 MovieClip {bg1_fla.fljhflogonprlaaaa_36}Uses:384 387 388 395Used by:397
Symbol 397 MovieClip {bg1_fla.Symbol28copyprlaaaa_32}Uses:287 254 259 261 264 267 270 273 275 288 115 289 290 291 111 292 396Used by:398
Symbol 398 MovieClip {bg1_fla.Symbol29prlaaaa_10}Uses:255 258 260 263 266 269 272 274 277 397Used by:403
Symbol 399 MovieClipUsed by:403
Symbol 400 GraphicUsed by:402
Symbol 401 GraphicUsed by:402
Symbol 402 MovieClipUses:400 401 259 265 268 262 271 273 276Used by:403
Symbol 403 MovieClip {preLoaderMc}Uses:193 203 398 399 402Used by:Timeline
Symbol 404 MovieClipUsed by:Timeline
Symbol 405 BitmapUsed by:408
Symbol 406 BitmapUsed by:408
Symbol 407 BitmapUsed by:408
Symbol 408 GraphicUses:405 406 407Used by:414
Symbol 409 FontUsed by:410 411 412
Symbol 410 TextUses:409Used by:413
Symbol 411 TextUses:409Used by:413
Symbol 412 TextUses:409Used by:413
Symbol 413 MovieClipUses:410 411 412Used by:414
Symbol 414 MovieClipUses:408 413Used by:415
Symbol 415 MovieClip {bg1_fla.gfyhju_55}Uses:414Used by:Timeline
Symbol 416 GraphicUsed by:502 503
Symbol 417 GraphicUsed by:502 503
Symbol 418 GraphicUsed by:419
Symbol 419 MovieClipUses:418Used by:502 503
Symbol 420 GraphicUsed by:502 503
Symbol 421 GraphicUsed by:502 503
Symbol 422 GraphicUsed by:502 503
Symbol 423 MovieClipUses:207Used by:429
Symbol 424 GraphicUsed by:429
Symbol 425 GraphicUsed by:429
Symbol 426 GraphicUsed by:429
Symbol 427 GraphicUsed by:429
Symbol 428 GraphicUsed by:429
Symbol 429 MovieClipUses:206 423 424 425 283 426 427 428Used by:502 503
Symbol 430 GraphicUsed by:502 503
Symbol 431 GraphicUsed by:502 503
Symbol 432 GraphicUsed by:502 503
Symbol 433 GraphicUsed by:439
Symbol 434 GraphicUsed by:439
Symbol 435 GraphicUsed by:439
Symbol 436 GraphicUsed by:439
Symbol 437 GraphicUsed by:439
Symbol 438 GraphicUsed by:439
Symbol 439 MovieClipUses:433 434 435 436 236 207 437 438 206Used by:502 503
Symbol 440 GraphicUsed by:454
Symbol 441 ShapeTweeningUsed by:454
Symbol 442 GraphicUsed by:454
Symbol 443 GraphicUsed by:454
Symbol 444 GraphicUsed by:454
Symbol 445 ShapeTweeningUsed by:454
Symbol 446 GraphicUsed by:454
Symbol 447 GraphicUsed by:454
Symbol 448 GraphicUsed by:454
Symbol 449 GraphicUsed by:454
Symbol 450 ShapeTweeningUsed by:454
Symbol 451 ShapeTweeningUsed by:454
Symbol 452 ShapeTweeningUsed by:454
Symbol 453 ShapeTweeningUsed by:454
Symbol 454 MovieClipUses:440 223 441 442 443 444 445 446 447 448 449 222 450 451 452 453 231Used by:502 503
Symbol 455 GraphicUsed by:502 503
Symbol 456 GraphicUsed by:502 503
Symbol 457 GraphicUsed by:502 503
Symbol 458 GraphicUsed by:502 503
Symbol 459 GraphicUsed by:502 503
Symbol 460 GraphicUsed by:502 503
Symbol 461 GraphicUsed by:502 503
Symbol 462 GraphicUsed by:502 503
Symbol 463 GraphicUsed by:502 503
Symbol 464 ShapeTweeningUsed by:502
Symbol 465 ShapeTweeningUsed by:502
Symbol 466 ShapeTweeningUsed by:502
Symbol 467 ShapeTweeningUsed by:502
Symbol 468 ShapeTweeningUsed by:502
Symbol 469 ShapeTweeningUsed by:502
Symbol 470 ShapeTweeningUsed by:502
Symbol 471 ShapeTweeningUsed by:502
Symbol 472 GraphicUsed by:502 503
Symbol 473 GraphicUsed by:502
Symbol 474 GraphicUsed by:502 503
Symbol 475 ShapeTweeningUsed by:502
Symbol 476 GraphicUsed by:502 503
Symbol 477 GraphicUsed by:502
Symbol 478 GraphicUsed by:502
Symbol 479 GraphicUsed by:502 503
Symbol 480 ShapeTweeningUsed by:502
Symbol 481 GraphicUsed by:502
Symbol 482 GraphicUsed by:502
Symbol 483 GraphicUsed by:502 503
Symbol 484 GraphicUsed by:502
Symbol 485 GraphicUsed by:502
Symbol 486 GraphicUsed by:501
Symbol 487 ShapeTweeningUsed by:501
Symbol 488 GraphicUsed by:501
Symbol 489 GraphicUsed by:501
Symbol 490 GraphicUsed by:501
Symbol 491 ShapeTweeningUsed by:501
Symbol 492 GraphicUsed by:501
Symbol 493 GraphicUsed by:501
Symbol 494 GraphicUsed by:501
Symbol 495 GraphicUsed by:501
Symbol 496 GraphicUsed by:501
Symbol 497 ShapeTweeningUsed by:501
Symbol 498 ShapeTweeningUsed by:501
Symbol 499 ShapeTweeningUsed by:501
Symbol 500 ShapeTweeningUsed by:501
Symbol 501 MovieClipUses:486 223 487 488 489 490 491 492 493 494 495 222 496 497 498 499 500 231Used by:502 503
Symbol 502 MovieClipUses:416 417 111 419 115 420 119 421 293 422 205 429 430 431 432 439 454 455 456 330 457 332 333 458 459 460 461 462 339 463 464 465 344 466 467 347 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 366 501 383Used by:506
Symbol 503 MovieClipUses:416 417 111 419 115 420 119 421 422 205 429 430 431 432 439 454 455 456 461 462 339 457 332 333 458 459 460 463 472 474 476 479 483 501 383Used by:506
Symbol 504 MovieClipUses:393Used by:505
Symbol 505 MovieClipUses:389 504Used by:506
Symbol 506 MovieClip {bg1_fla.fljhflogon_lo_59}Uses:502 503 505Used by:507
Symbol 507 MovieClip {bg1_fla.fljhflogon_58}Uses:506Used by:Timeline
Symbol 508 GraphicUsed by:509
Symbol 509 MovieClipUses:508Used by:Timeline
Symbol 510 GraphicUsed by:511
Symbol 511 MovieClipUses:510Used by:Timeline
Symbol 512 GraphicUsed by:513 568 788
Symbol 513 MovieClipUses:512Used by:516
Symbol 514 GraphicUsed by:515
Symbol 515 MovieClipUses:514Used by:516
Symbol 516 MovieClipUses:513 515Used by:Timeline
Symbol 517 GraphicUsed by:518 574 674 694 720 742 792
Symbol 518 MovieClipUses:517Used by:539
Symbol 519 GraphicUsed by:520
Symbol 520 MovieClipUses:519Used by:539
Symbol 521 GraphicUsed by:522 577 669 689 715 737 795
Symbol 522 MovieClipUses:521Used by:539
Symbol 523 GraphicUsed by:524 578 672 692 718 740 796
Symbol 524 MovieClipUses:523Used by:539
Symbol 525 GraphicUsed by:526 579 673 693 719 741 797
Symbol 526 MovieClipUses:525Used by:539
Symbol 527 GraphicUsed by:528 580 677 697 723 745 798
Symbol 528 MovieClipUses:527Used by:539
Symbol 529 GraphicUsed by:530 581 678 698 724 746 799
Symbol 530 MovieClipUses:529Used by:539
Symbol 531 GraphicUsed by:532
Symbol 532 MovieClipUses:531Used by:539
Symbol 533 GraphicUsed by:534 584 802
Symbol 534 MovieClipUses:533Used by:539
Symbol 535 GraphicUsed by:536 585 681 702 803
Symbol 536 MovieClipUses:535Used by:539
Symbol 537 GraphicUsed by:538
Symbol 538 MovieClipUses:537Used by:539
Symbol 539 MovieClipUses:518 520 522 524 526 528 530 532 534 536 538Used by:Timeline
Symbol 540 MovieClipUses:161Used by:Timeline
Symbol 541 GraphicUsed by:542 572 808
Symbol 542 MovieClipUses:541Used by:Timeline
Symbol 543 MovieClipUses:176Used by:Timeline
Symbol 544 GraphicUsed by:545 549 589 592 595 812 815
Symbol 545 MovieClipUses:544Used by:549
Symbol 546 GraphicUsed by:547 549
Symbol 547 MovieClipUses:546Used by:549
Symbol 548 SoundUsed by:549 558 592 595 815
Symbol 549 ButtonUses:545 547 544 546 548Used by:Timeline
Symbol 550 GraphicUsed by:551
Symbol 551 MovieClipUses:550Used by:Timeline
Symbol 552 GraphicUsed by:553
Symbol 553 MovieClipUses:552Used by:Timeline
Symbol 554 GraphicUsed by:555 558
Symbol 555 MovieClipUses:554Used by:558
Symbol 556 GraphicUsed by:557 558
Symbol 557 MovieClipUses:556Used by:558
Symbol 558 ButtonUses:555 557 554 556 548Used by:559
Symbol 559 MovieClip {bg1_fla.Symbol9_95}Uses:558Used by:Timeline
Symbol 560 GraphicUsed by:561
Symbol 561 MovieClipUses:560Used by:Timeline
Symbol 562 GraphicUsed by:563
Symbol 563 MovieClipUses:562Used by:Timeline
Symbol 564 GraphicUsed by:565
Symbol 565 MovieClipUses:564Used by:Timeline
Symbol 566 GraphicUsed by:567
Symbol 567 MovieClipUses:566Used by:Timeline
Symbol 568 MovieClipUses:512Used by:571
Symbol 569 GraphicUsed by:570
Symbol 570 MovieClipUses:569Used by:571
Symbol 571 MovieClipUses:568 570Used by:Timeline
Symbol 572 MovieClipUses:541Used by:Timeline
Symbol 573 MovieClipUses:176Used by:Timeline
Symbol 574 MovieClipUses:517Used by:588
Symbol 575 GraphicUsed by:576
Symbol 576 MovieClipUses:575Used by:588
Symbol 577 MovieClipUses:521Used by:588
Symbol 578 MovieClipUses:523Used by:588
Symbol 579 MovieClipUses:525Used by:588
Symbol 580 MovieClipUses:527Used by:588
Symbol 581 MovieClipUses:529Used by:588
Symbol 582 GraphicUsed by:583
Symbol 583 MovieClipUses:582Used by:588
Symbol 584 MovieClipUses:533Used by:588
Symbol 585 MovieClipUses:535Used by:588
Symbol 586 GraphicUsed by:587
Symbol 587 MovieClipUses:586Used by:588
Symbol 588 MovieClipUses:574 576 577 578 579 580 581 583 584 585 587Used by:Timeline
Symbol 589 MovieClipUses:544Used by:592 595
Symbol 590 GraphicUsed by:591 592
Symbol 591 MovieClipUses:590Used by:592
Symbol 592 ButtonUses:589 591 544 590 548Used by:Timeline
Symbol 593 GraphicUsed by:594 595
Symbol 594 MovieClipUses:593Used by:595
Symbol 595 ButtonUses:589 594 544 593 548Used by:Timeline
Symbol 596 GraphicUsed by:597
Symbol 597 MovieClipUses:596Used by:Timeline
Symbol 598 GraphicUsed by:599
Symbol 599 MovieClipUses:598Used by:Timeline
Symbol 600 GraphicUsed by:601
Symbol 601 MovieClipUses:600Used by:614
Symbol 602 GraphicUsed by:603
Symbol 603 MovieClipUses:602Used by:614
Symbol 604 GraphicUsed by:605
Symbol 605 MovieClipUses:604Used by:614 616
Symbol 606 GraphicUsed by:607
Symbol 607 MovieClipUses:606Used by:614 616
Symbol 608 GraphicUsed by:609 640 648
Symbol 609 MovieClipUses:608Used by:614 652 663
Symbol 610 GraphicUsed by:611
Symbol 611 MovieClipUses:610Used by:614 652 663
Symbol 612 GraphicUsed by:613
Symbol 613 MovieClipUses:612Used by:614 640 667
Symbol 614 MovieClipUses:601 603 605 607 609 611 613Used by:641
Symbol 615 GraphicUsed by:616
Symbol 616 MovieClipUses:615 605 607Used by:640
Symbol 617 GraphicUsed by:618
Symbol 618 MovieClipUses:617Used by:639
Symbol 619 GraphicUsed by:620
Symbol 620 MovieClipUses:619Used by:639
Symbol 621 GraphicUsed by:622
Symbol 622 MovieClipUses:621Used by:639
Symbol 623 GraphicUsed by:624
Symbol 624 MovieClipUses:623Used by:639
Symbol 625 GraphicUsed by:626
Symbol 626 MovieClipUses:625Used by:639
Symbol 627 GraphicUsed by:628
Symbol 628 MovieClipUses:627Used by:639
Symbol 629 GraphicUsed by:630
Symbol 630 MovieClipUses:629Used by:639
Symbol 631 GraphicUsed by:632
Symbol 632 MovieClipUses:631Used by:639
Symbol 633 GraphicUsed by:634
Symbol 634 MovieClipUses:633Used by:639
Symbol 635 GraphicUsed by:636
Symbol 636 MovieClipUses:635Used by:639
Symbol 637 GraphicUsed by:638
Symbol 638 MovieClipUses:637Used by:639
Symbol 639 MovieClipUses:618 620 622 624 626 628 630 632 634 636 638Used by:640 648
Symbol 640 MovieClipUses:616 608 639 613Used by:641
Symbol 641 MovieClipUses:614 640Used by:658
Symbol 642 GraphicUsed by:643
Symbol 643 MovieClipUses:642Used by:649 652
Symbol 644 GraphicUsed by:645
Symbol 645 MovieClipUses:644Used by:649 652 662 663
Symbol 646 GraphicUsed by:647
Symbol 647 MovieClipUses:646Used by:649 652 662 663
Symbol 648 MovieClipUses:608 639Used by:649 662
Symbol 649 MovieClipUses:643 645 647 648Used by:653
Symbol 650 GraphicUsed by:651
Symbol 651 MovieClipUses:650Used by:652 663
Symbol 652 MovieClipUses:643 651 609 611 645 647Used by:653
Symbol 653 MovieClipUses:649 652Used by:658
Symbol 654 GraphicUsed by:657
Symbol 655 GraphicUsed by:656
Symbol 656 MovieClipUses:655Used by:657 666
Symbol 657 MovieClipUses:654 656Used by:658
Symbol 658 MovieClipUses:641 653 657Used by:667
Symbol 659 GraphicUsed by:660
Symbol 660 MovieClipUses:659Used by:662 663
Symbol 661 MovieClipUses:185 186 187Used by:662 663
Symbol 662 MovieClipUses:660 645 647 661 648Used by:664
Symbol 663 MovieClipUses:660 651 609 611 645 647 661Used by:664
Symbol 664 MovieClipUses:662 663Used by:667
Symbol 665 GraphicUsed by:666
Symbol 666 MovieClipUses:665 656Used by:667
Symbol 667 MovieClip {bg1_fla.fsdfsdfsdf_127}Uses:658 664 666 613 184Used by:Timeline
Symbol 668 MovieClipUsed by:Timeline
Symbol 669 MovieClipUses:521Used by:686
Symbol 670 GraphicUsed by:671
Symbol 671 MovieClipUses:670Used by:686
Symbol 672 MovieClipUses:523Used by:686
Symbol 673 MovieClipUses:525Used by:686
Symbol 674 MovieClipUses:517Used by:686
Symbol 675 GraphicUsed by:676
Symbol 676 MovieClipUses:675Used by:686
Symbol 677 MovieClipUses:527Used by:686
Symbol 678 MovieClipUses:529Used by:686
Symbol 679 GraphicUsed by:680
Symbol 680 MovieClipUses:679Used by:686
Symbol 681 MovieClipUses:535Used by:686
Symbol 682 GraphicUsed by:683 701
Symbol 683 MovieClipUses:682Used by:686
Symbol 684 GraphicUsed by:685
Symbol 685 MovieClipUses:684Used by:686
Symbol 686 MovieClipUses:669 671 672 673 674 676 677 678 680 681 683 685Used by:753
Symbol 687 GraphicUsed by:688
Symbol 688 MovieClipUses:687Used by:753
Symbol 689 MovieClipUses:521Used by:703 713
Symbol 690 GraphicUsed by:691
Symbol 691 MovieClipUses:690Used by:703 713
Symbol 692 MovieClipUses:523Used by:703 713
Symbol 693 MovieClipUses:525Used by:703 713
Symbol 694 MovieClipUses:517Used by:703 713
Symbol 695 GraphicUsed by:696
Symbol 696 MovieClipUses:695Used by:703 713
Symbol 697 MovieClipUses:527Used by:703 713
Symbol 698 MovieClipUses:529Used by:703 713
Symbol 699 GraphicUsed by:700
Symbol 700 MovieClipUses:699Used by:703 713
Symbol 701 MovieClipUses:682Used by:703 713
Symbol 702 MovieClipUses:535Used by:703 713
Symbol 703 MovieClip {bg1_fla.fgkjhdzsdZSd_197}Uses:689 691 692 693 694 696 697 698 700 701 702Used by:753
Symbol 704 GraphicUsed by:713
Symbol 705 GraphicUsed by:713
Symbol 706 GraphicUsed by:713
Symbol 707 GraphicUsed by:713
Symbol 708 GraphicUsed by:713 735
Symbol 709 GraphicUsed by:713 735
Symbol 710 GraphicUsed by:713 735
Symbol 711 GraphicUsed by:713 735
Symbol 712 GraphicUsed by:713 735
Symbol 713 MovieClip {bg1_fla.fhbgfhdzsdZSd_210}Uses:689 691 692 693 694 696 697 698 700 701 702 704 705 706 707 708 709 710 711 712Used by:714
Symbol 714 MovieClip {bg1_fla.Symbol6_209}Uses:713Used by:753
Symbol 715 MovieClipUses:521Used by:735
Symbol 716 GraphicUsed by:717
Symbol 717 MovieClipUses:716Used by:735
Symbol 718 MovieClipUses:523Used by:735
Symbol 719 MovieClipUses:525Used by:735
Symbol 720 MovieClipUses:517Used by:735
Symbol 721 GraphicUsed by:722
Symbol 722 MovieClipUses:721Used by:735
Symbol 723 MovieClipUses:527Used by:735
Symbol 724 MovieClipUses:529Used by:735
Symbol 725 GraphicUsed by:726
Symbol 726 MovieClipUses:725Used by:735
Symbol 727 GraphicUsed by:728 750
Symbol 728 MovieClipUses:727Used by:735
Symbol 729 GraphicUsed by:730 749
Symbol 730 MovieClipUses:729Used by:735
Symbol 731 GraphicUsed by:735
Symbol 732 GraphicUsed by:735
Symbol 733 GraphicUsed by:735
Symbol 734 GraphicUsed by:735
Symbol 735 MovieClip {bg1_fla.fghsfsdsfs_212}Uses:715 717 718 719 720 722 723 724 726 728 730 731 732 733 734 708 709 710 711 712Used by:736
Symbol 736 MovieClip {bg1_fla.Symbol7_211}Uses:735Used by:753
Symbol 737 MovieClipUses:521Used by:752
Symbol 738 GraphicUsed by:739
Symbol 739 MovieClipUses:738Used by:752
Symbol 740 MovieClipUses:523Used by:752
Symbol 741 MovieClipUses:525Used by:752
Symbol 742 MovieClipUses:517Used by:752
Symbol 743 GraphicUsed by:744
Symbol 744 MovieClipUses:743Used by:752
Symbol 745 MovieClipUses:527Used by:752
Symbol 746 MovieClipUses:529Used by:752
Symbol 747 GraphicUsed by:748
Symbol 748 MovieClipUses:747Used by:752
Symbol 749 MovieClipUses:729Used by:752
Symbol 750 MovieClipUses:727Used by:752
Symbol 751 MovieClipUses:10Used by:752
Symbol 752 MovieClipUses:737 739 740 741 742 744 745 746 748 749 750 751Used by:753
Symbol 753 MovieClip {bg1_fla.bnbvndzsdZSd_182}Uses:686 688 703 714 736 752Used by:Timeline
Symbol 754 GraphicUsed by:755
Symbol 755 MovieClipUses:754Used by:776
Symbol 756 GraphicUsed by:759
Symbol 757 GraphicUsed by:758
Symbol 758 ButtonUses:757Used by:759
Symbol 759 ButtonUses:756 758Used by:763
Symbol 760 GraphicUsed by:761
Symbol 761 MovieClipUses:760Used by:762
Symbol 762 MovieClipUses:761Used by:763
Symbol 763 MovieClip {bg1_fla.gvhk_ti_239}Uses:759 762Used by:776
Symbol 764 GraphicUsed by:772 773
Symbol 765 GraphicUsed by:766 773
Symbol 766 MovieClipUses:765Used by:771 774
Symbol 767 ShapeTweeningUsed by:771 773
Symbol 768 ShapeTweeningUsed by:771
Symbol 769 GraphicUsed by:771
Symbol 770 GraphicUsed by:771
Symbol 771 MovieClipUses:766 767 768 769 770Used by:772
Symbol 772 MovieClipUses:764 771Used by:773
Symbol 773 ButtonUses:772 764 765 767Used by:774
Symbol 774 MovieClip {bg1_fla.fvgtyj_ti_244}Uses:773 766Used by:776
Symbol 775 MovieClipUses:85Used by:776
Symbol 776 MovieClip {bg1_fla.Symbol31_237}Uses:755 763 774 775Used by:Timeline
Symbol 777 FontUsed by:778
Symbol 778 EditableTextUses:777Used by:779
Symbol 779 MovieClip {bg1_fla.Symbol36_250}Uses:778Used by:Timeline
Symbol 780 GraphicUsed by:781
Symbol 781 MovieClipUses:780Used by:Timeline
Symbol 782 FontUsed by:783 818
Symbol 783 EditableTextUses:782Used by:Timeline
Symbol 784 GraphicUsed by:785
Symbol 785 MovieClipUses:784Used by:Timeline
Symbol 786 GraphicUsed by:787
Symbol 787 MovieClipUses:786Used by:Timeline
Symbol 788 MovieClipUses:512Used by:791
Symbol 789 GraphicUsed by:790
Symbol 790 MovieClipUses:789Used by:791
Symbol 791 MovieClipUses:788 790Used by:Timeline
Symbol 792 MovieClipUses:517Used by:806
Symbol 793 GraphicUsed by:794
Symbol 794 MovieClipUses:793Used by:806
Symbol 795 MovieClipUses:521Used by:806
Symbol 796 MovieClipUses:523Used by:806
Symbol 797 MovieClipUses:525Used by:806
Symbol 798 MovieClipUses:527Used by:806
Symbol 799 MovieClipUses:529Used by:806
Symbol 800 GraphicUsed by:801
Symbol 801 MovieClipUses:800Used by:806
Symbol 802 MovieClipUses:533Used by:806
Symbol 803 MovieClipUses:535Used by:806
Symbol 804 GraphicUsed by:805
Symbol 805 MovieClipUses:804Used by:806
Symbol 806 MovieClipUses:792 794 795 796 797 798 799 801 802 803 805Used by:Timeline
Symbol 807 MovieClipUses:161Used by:Timeline
Symbol 808 MovieClipUses:541Used by:Timeline
Symbol 809 MovieClipUses:176Used by:Timeline
Symbol 810 GraphicUsed by:811
Symbol 811 MovieClipUses:810Used by:Timeline
Symbol 812 MovieClipUses:544Used by:815
Symbol 813 GraphicUsed by:814 815
Symbol 814 MovieClipUses:813Used by:815
Symbol 815 ButtonUses:812 814 544 813 548Used by:Timeline
Symbol 816 GraphicUsed by:817
Symbol 817 MovieClipUses:816Used by:Timeline
Symbol 818 EditableTextUses:782Used by:819
Symbol 819 MovieClip {bg1_fla.Symbol8_297}Uses:818Used by:Timeline
Symbol 820 GraphicUsed by:853 856
Symbol 821 GraphicUsed by:856
Symbol 822 GraphicUsed by:856
Symbol 823 GraphicUsed by:856
Symbol 824 GraphicUsed by:853 856
Symbol 825 GraphicUsed by:856
Symbol 826 GraphicUsed by:833 848
Symbol 827 GraphicUsed by:833 848
Symbol 828 GraphicUsed by:833
Symbol 829 GraphicUsed by:833
Symbol 830 GraphicUsed by:833
Symbol 831 GraphicUsed by:833
Symbol 832 GraphicUsed by:833
Symbol 833 MovieClipUses:826 827 828 829 830 831 832Used by:856
Symbol 834 GraphicUsed by:856
Symbol 835 GraphicUsed by:856
Symbol 836 GraphicUsed by:856
Symbol 837 GraphicUsed by:853 856
Symbol 838 GraphicUsed by:853 856
Symbol 839 GraphicUsed by:853 856
Symbol 840 GraphicUsed by:853 856
Symbol 841 GraphicUsed by:853 856
Symbol 842 GraphicUsed by:856
Symbol 843 GraphicUsed by:848
Symbol 844 GraphicUsed by:848
Symbol 845 GraphicUsed by:848
Symbol 846 GraphicUsed by:848
Symbol 847 GraphicUsed by:848
Symbol 848 MovieClipUses:826 827 843 844 845 846 847Used by:853 856
Symbol 849 GraphicUsed by:856
Symbol 850 GraphicUsed by:856
Symbol 851 GraphicUsed by:853 856
Symbol 852 GraphicUsed by:853 856
Symbol 853 MovieClipUses:852 837 838 839 840 841 824 851 848 820Used by:856
Symbol 854 GraphicUsed by:855
Symbol 855 ButtonUses:854Used by:856
Symbol 856 MovieClip {bg1_fla.Symbol14_lvlcopy_298}Uses:820 821 822 823 824 825 833 834 835 836 837 838 839 840 841 842 848 849 850 851 852 853 855Used by:Timeline
Symbol 857 GraphicUsed by:922
Symbol 858 FontUsed by:859 866
Symbol 859 TextUses:858Used by:860
Symbol 860 MovieClipUses:859Used by:922
Symbol 861 FontUsed by:862 863 864 869 871 886
Symbol 862 TextUses:861Used by:922
Symbol 863 TextUses:861Used by:922
Symbol 864 TextUses:861Used by:922
Symbol 865 GraphicUsed by:922
Symbol 866 TextUses:858Used by:867
Symbol 867 MovieClipUses:866Used by:922
Symbol 868 GraphicUsed by:870 872
Symbol 869 TextUses:861Used by:870
Symbol 870 ButtonUses:868 869Used by:922
Symbol 871 TextUses:861Used by:872
Symbol 872 ButtonUses:868 871Used by:922
Symbol 873 GraphicUsed by:875
Symbol 874 GraphicUsed by:875
Symbol 875 MovieClip {bg1_fla.gvjhfg_312}Uses:873 874Used by:922
Symbol 876 GraphicUsed by:877
Symbol 877 ButtonUses:876Used by:922
Symbol 878 GraphicUsed by:879
Symbol 879 ButtonUses:878Used by:922
Symbol 880 GraphicUsed by:922
Symbol 881 MovieClipUsed by:922
Symbol 882 FontUsed by:883
Symbol 883 EditableTextUses:882Used by:922
Symbol 884 EditableTextUses:88Used by:922
Symbol 885 GraphicUsed by:922
Symbol 886 TextUses:861Used by:922
Symbol 887 GraphicUsed by:920
Symbol 888 GraphicUsed by:891
Symbol 889 GraphicUsed by:891
Symbol 890 GraphicUsed by:891
Symbol 891 MovieClip {bg1_fla.disppp_353}Uses:888 889 890Used by:920
Symbol 892 FontUsed by:893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919
Symbol 893 EditableTextUses:892Used by:920
Symbol 894 EditableTextUses:892Used by:920
Symbol 895 EditableTextUses:892Used by:920
Symbol 896 EditableTextUses:892Used by:920
Symbol 897 EditableTextUses:892Used by:920
Symbol 898 EditableTextUses:892Used by:920
Symbol 899 EditableTextUses:892Used by:920
Symbol 900 EditableTextUses:892Used by:920
Symbol 901 EditableTextUses:892Used by:920
Symbol 902 EditableTextUses:892Used by:920
Symbol 903 EditableTextUses:892Used by:920
Symbol 904 EditableTextUses:892Used by:920
Symbol 905 EditableTextUses:892Used by:920
Symbol 906 EditableTextUses:892Used by:920
Symbol 907 EditableTextUses:892Used by:920
Symbol 908 EditableTextUses:892Used by:920
Symbol 909 EditableTextUses:892Used by:920
Symbol 910 EditableTextUses:892Used by:920
Symbol 911 EditableTextUses:892Used by:920
Symbol 912 EditableTextUses:892Used by:920
Symbol 913 EditableTextUses:892Used by:920
Symbol 914 EditableTextUses:892Used by:920
Symbol 915 EditableTextUses:892Used by:920
Symbol 916 EditableTextUses:892Used by:920
Symbol 917 EditableTextUses:892Used by:920
Symbol 918 EditableTextUses:892Used by:920
Symbol 919 EditableTextUses:892Used by:920
Symbol 920 MovieClip {bg1_fla.scoooo_352}Uses:887 891 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919Used by:922
Symbol 921 MovieClipUsed by:922
Symbol 922 MovieClip {bg1_fla.gameOverMc_307}Uses:857 860 862 863 864 865 867 870 872 875 877 879 880 881 81 883 884 885 886 920 921Used by:Timeline

Instance Names

"loaderCont_mc"Frame 1Symbol 404 MovieClip
"logo"Frame 2Symbol 507 MovieClip {bg1_fla.fljhflogon_58}
"play_btn"Frame 3Symbol 549 Button
"start_btn"Frame 4Symbol 592 Button
"back_btn"Frame 4Symbol 595 Button
"bg_mc"Frame 5Symbol 667 MovieClip {bg1_fla.fsdfsdfsdf_127}
"con_mc"Frame 5Symbol 668 MovieClip
"char_mc"Frame 5Symbol 753 MovieClip {bg1_fla.bnbvndzsdZSd_182}
"pause_mc"Frame 5Symbol 776 MovieClip {bg1_fla.Symbol31_237}
"time_mc"Frame 5Symbol 779 MovieClip {bg1_fla.Symbol36_250}
"score_txt"Frame 5Symbol 783 EditableText
"logo"Frame 5Symbol 507 MovieClip {bg1_fla.fljhflogon_58}
"pausebg_mc"Frame 5Symbol 160 MovieClip {pausebtn}
"submit_btn"Frame 6Symbol 815 Button
"s_mc"Frame 6Symbol 819 MovieClip {bg1_fla.Symbol8_297}
"gPage"Frame 7Symbol 922 MovieClip {bg1_fla.gameOverMc_307}
"imageLoader_mc"Symbol 90 MovieClip {thumbMc} Frame 1Symbol 84 MovieClip
"imageCont_mc"Symbol 90 MovieClip {thumbMc} Frame 1Symbol 86 MovieClip
"gameName_txt"Symbol 90 MovieClip {thumbMc} Frame 1Symbol 89 EditableText
"logo_mc"Symbol 131 MovieClip {bg1_fla.dfgxbvcpassghgk_254} Frame 1Symbol 130 MovieClip
"hit"Symbol 158 MovieClip {bg1_fla.bgyikujpassghghk_253} Frame 29Symbol 146 Button
"btn"Symbol 158 MovieClip {bg1_fla.bgyikujpassghghk_253} Frame 31Symbol 146 Button
"pause_mc"Symbol 160 MovieClip {pausebtn} Frame 1Symbol 158 MovieClip {bg1_fla.bgyikujpassghghk_253}
"stone16"Symbol 184 MovieClip {stone} Frame 1Symbol 162 MovieClip {bg1_fla.Symbol10_169}
"stone16"Symbol 184 MovieClip {stone} Frame 2Symbol 166 MovieClip {bg1_fla.hjkjdfvgxdfd_170}
"stone16"Symbol 184 MovieClip {stone} Frame 3Symbol 170 MovieClip {bg1_fla.gfjhgdfvgxdfd_172}
"stone16"Symbol 184 MovieClip {stone} Frame 4Symbol 175 MovieClip {bg1_fla.gjhgjsssssdfsdfsdf_174}
"stone16"Symbol 184 MovieClip {stone} Frame 5Symbol 180 MovieClip {bg1_fla.mbnmdfvgxdfd_176}
"stone16"Symbol 184 MovieClip {stone} Frame 6Symbol 183 MovieClip {bg1_fla.hgxvsssssdfsdfsdf_179}
"txt"Symbol 258 MovieClip {bg1_fla.Symbol13prlaaaa_19} Frame 1Symbol 257 EditableText
"logo_mc"Symbol 396 MovieClip {bg1_fla.fljhflogonprlaaaa_36} Frame 1Symbol 384 MovieClip
"logo"Symbol 397 MovieClip {bg1_fla.Symbol28copyprlaaaa_32} Frame 40Symbol 396 MovieClip {bg1_fla.fljhflogonprlaaaa_36}
"text_mc"Symbol 398 MovieClip {bg1_fla.Symbol29prlaaaa_10} Frame 1Symbol 258 MovieClip {bg1_fla.Symbol13prlaaaa_19}
"ball2"Symbol 398 MovieClip {bg1_fla.Symbol29prlaaaa_10} Frame 1Symbol 260 MovieClip {bg1_fla.Tween20xprlaaaa_20}
"ball7"Symbol 398 MovieClip {bg1_fla.Symbol29prlaaaa_10} Frame 1Symbol 263 MovieClip {bg1_fla.Tween19xprlaaaa_21}
"ball5"Symbol 398 MovieClip {bg1_fla.Symbol29prlaaaa_10} Frame 1Symbol 266 MovieClip {bg1_fla.Tween18xprlaaaa_23}
"ball4"Symbol 398 MovieClip {bg1_fla.Symbol29prlaaaa_10} Frame 1Symbol 269 MovieClip {bg1_fla.Tween17xprlaaaa_25}
"ball6"Symbol 398 MovieClip {bg1_fla.Symbol29prlaaaa_10} Frame 1Symbol 272 MovieClip {bg1_fla.Tween16xprlaaaa_27}
"ball1"Symbol 398 MovieClip {bg1_fla.Symbol29prlaaaa_10} Frame 1Symbol 274 MovieClip {bg1_fla.Tween14xprlaaaa_29}
"ball3"Symbol 398 MovieClip {bg1_fla.Symbol29prlaaaa_10} Frame 1Symbol 277 MovieClip {bg1_fla.Tween15xprlaaaa_30}
"cream_mc"Symbol 403 MovieClip {preLoaderMc} Frame 1Symbol 398 MovieClip {bg1_fla.Symbol29prlaaaa_10}
"logo_mc"Symbol 506 MovieClip {bg1_fla.fljhflogon_lo_59} Frame 1Symbol 502 MovieClip
"logo_mc"Symbol 506 MovieClip {bg1_fla.fljhflogon_lo_59} Frame 1Symbol 503 MovieClip
"logo_mc"Symbol 507 MovieClip {bg1_fla.fljhflogon_58} Frame 1Symbol 506 MovieClip {bg1_fla.fljhflogon_lo_59}
"logo_btn"Symbol 559 MovieClip {bg1_fla.Symbol9_95} Frame 1Symbol 558 Button
"stone1"Symbol 667 MovieClip {bg1_fla.fsdfsdfsdf_127} Frame 1Symbol 184 MovieClip {stone}
"stone2"Symbol 667 MovieClip {bg1_fla.fsdfsdfsdf_127} Frame 1Symbol 184 MovieClip {stone}
"stone3"Symbol 667 MovieClip {bg1_fla.fsdfsdfsdf_127} Frame 1Symbol 184 MovieClip {stone}
"stone4"Symbol 667 MovieClip {bg1_fla.fsdfsdfsdf_127} Frame 1Symbol 184 MovieClip {stone}
"stone5"Symbol 667 MovieClip {bg1_fla.fsdfsdfsdf_127} Frame 1Symbol 184 MovieClip {stone}
"stone6"Symbol 667 MovieClip {bg1_fla.fsdfsdfsdf_127} Frame 1Symbol 184 MovieClip {stone}
"stone7"Symbol 667 MovieClip {bg1_fla.fsdfsdfsdf_127} Frame 1Symbol 184 MovieClip {stone}
"stone8"Symbol 667 MovieClip {bg1_fla.fsdfsdfsdf_127} Frame 1Symbol 184 MovieClip {stone}
"stone10"Symbol 667 MovieClip {bg1_fla.fsdfsdfsdf_127} Frame 1Symbol 184 MovieClip {stone}
"stone12"Symbol 667 MovieClip {bg1_fla.fsdfsdfsdf_127} Frame 1Symbol 184 MovieClip {stone}
"stone13"Symbol 667 MovieClip {bg1_fla.fsdfsdfsdf_127} Frame 1Symbol 184 MovieClip {stone}
"stone14"Symbol 667 MovieClip {bg1_fla.fsdfsdfsdf_127} Frame 1Symbol 184 MovieClip {stone}
"stone15"Symbol 667 MovieClip {bg1_fla.fsdfsdfsdf_127} Frame 1Symbol 184 MovieClip {stone}
"stone16"Symbol 667 MovieClip {bg1_fla.fsdfsdfsdf_127} Frame 1Symbol 184 MovieClip {stone}
"stone11"Symbol 667 MovieClip {bg1_fla.fsdfsdfsdf_127} Frame 1Symbol 184 MovieClip {stone}
"stone9"Symbol 667 MovieClip {bg1_fla.fsdfsdfsdf_127} Frame 1Symbol 184 MovieClip {stone}
"hit"Symbol 753 MovieClip {bg1_fla.bnbvndzsdZSd_182} Frame 1Symbol 688 MovieClip
"pause_btn"Symbol 763 MovieClip {bg1_fla.gvhk_ti_239} Frame 1Symbol 759 Button
"rect"Symbol 776 MovieClip {bg1_fla.Symbol31_237} Frame 1Symbol 755 MovieClip
"pause_btn"Symbol 776 MovieClip {bg1_fla.Symbol31_237} Frame 1Symbol 763 MovieClip {bg1_fla.gvhk_ti_239}
"mute_btn"Symbol 776 MovieClip {bg1_fla.Symbol31_237} Frame 1Symbol 774 MovieClip {bg1_fla.fvgtyj_ti_244}
"pausehit"Symbol 776 MovieClip {bg1_fla.Symbol31_237} Frame 1Symbol 775 MovieClip
"mutehit"Symbol 776 MovieClip {bg1_fla.Symbol31_237} Frame 1Symbol 775 MovieClip
"time_txt"Symbol 779 MovieClip {bg1_fla.Symbol36_250} Frame 1Symbol 778 EditableText
"s_txt"Symbol 819 MovieClip {bg1_fla.Symbol8_297} Frame 1Symbol 818 EditableText
"twitter_btn"Symbol 856 MovieClip {bg1_fla.Symbol14_lvlcopy_298} Frame 81Symbol 855 Button
"color_mc0"Symbol 920 MovieClip {bg1_fla.scoooo_352} Frame 1Symbol 891 MovieClip {bg1_fla.disppp_353}
"color_mc1"Symbol 920 MovieClip {bg1_fla.scoooo_352} Frame 1Symbol 891 MovieClip {bg1_fla.disppp_353}
"color_mc2"Symbol 920 MovieClip {bg1_fla.scoooo_352} Frame 1Symbol 891 MovieClip {bg1_fla.disppp_353}
"color_mc3"Symbol 920 MovieClip {bg1_fla.scoooo_352} Frame 1Symbol 891 MovieClip {bg1_fla.disppp_353}
"color_mc4"Symbol 920 MovieClip {bg1_fla.scoooo_352} Frame 1Symbol 891 MovieClip {bg1_fla.disppp_353}
"color_mc5"Symbol 920 MovieClip {bg1_fla.scoooo_352} Frame 1Symbol 891 MovieClip {bg1_fla.disppp_353}
"color_mc6"Symbol 920 MovieClip {bg1_fla.scoooo_352} Frame 1Symbol 891 MovieClip {bg1_fla.disppp_353}
"color_mc7"Symbol 920 MovieClip {bg1_fla.scoooo_352} Frame 1Symbol 891 MovieClip {bg1_fla.disppp_353}
"color_mc8"Symbol 920 MovieClip {bg1_fla.scoooo_352} Frame 1Symbol 891 MovieClip {bg1_fla.disppp_353}
"name1"Symbol 920 MovieClip {bg1_fla.scoooo_352} Frame 1Symbol 893 EditableText
"score1"Symbol 920 MovieClip {bg1_fla.scoooo_352} Frame 1Symbol 894 EditableText
"pos1"Symbol 920 MovieClip {bg1_fla.scoooo_352} Frame 1Symbol 895 EditableText
"name2"Symbol 920 MovieClip {bg1_fla.scoooo_352} Frame 1Symbol 896 EditableText
"name3"Symbol 920 MovieClip {bg1_fla.scoooo_352} Frame 1Symbol 897 EditableText
"name4"Symbol 920 MovieClip {bg1_fla.scoooo_352} Frame 1Symbol 898 EditableText
"name5"Symbol 920 MovieClip {bg1_fla.scoooo_352} Frame 1Symbol 899 EditableText
"name6"Symbol 920 MovieClip {bg1_fla.scoooo_352} Frame 1Symbol 900 EditableText
"name7"Symbol 920 MovieClip {bg1_fla.scoooo_352} Frame 1Symbol 901 EditableText
"name8"Symbol 920 MovieClip {bg1_fla.scoooo_352} Frame 1Symbol 902 EditableText
"name9"Symbol 920 MovieClip {bg1_fla.scoooo_352} Frame 1Symbol 903 EditableText
"pos2"Symbol 920 MovieClip {bg1_fla.scoooo_352} Frame 1Symbol 904 EditableText
"pos3"Symbol 920 MovieClip {bg1_fla.scoooo_352} Frame 1Symbol 905 EditableText
"pos4"Symbol 920 MovieClip {bg1_fla.scoooo_352} Frame 1Symbol 906 EditableText
"pos5"Symbol 920 MovieClip {bg1_fla.scoooo_352} Frame 1Symbol 907 EditableText
"pos6"Symbol 920 MovieClip {bg1_fla.scoooo_352} Frame 1Symbol 908 EditableText
"pos7"Symbol 920 MovieClip {bg1_fla.scoooo_352} Frame 1Symbol 909 EditableText
"pos8"Symbol 920 MovieClip {bg1_fla.scoooo_352} Frame 1Symbol 910 EditableText
"pos9"Symbol 920 MovieClip {bg1_fla.scoooo_352} Frame 1Symbol 911 EditableText
"score2"Symbol 920 MovieClip {bg1_fla.scoooo_352} Frame 1Symbol 912 EditableText
"score3"Symbol 920 MovieClip {bg1_fla.scoooo_352} Frame 1Symbol 913 EditableText
"score4"Symbol 920 MovieClip {bg1_fla.scoooo_352} Frame 1Symbol 914 EditableText
"score5"Symbol 920 MovieClip {bg1_fla.scoooo_352} Frame 1Symbol 915 EditableText
"score6"Symbol 920 MovieClip {bg1_fla.scoooo_352} Frame 1Symbol 916 EditableText
"score7"Symbol 920 MovieClip {bg1_fla.scoooo_352} Frame 1Symbol 917 EditableText
"score8"Symbol 920 MovieClip {bg1_fla.scoooo_352} Frame 1Symbol 918 EditableText
"score9"Symbol 920 MovieClip {bg1_fla.scoooo_352} Frame 1Symbol 919 EditableText
"submit_btn"Symbol 922 MovieClip {bg1_fla.gameOverMc_307} Frame 1Symbol 870 Button
"pAgain_btn"Symbol 922 MovieClip {bg1_fla.gameOverMc_307} Frame 1Symbol 872 Button
"name_mc"Symbol 922 MovieClip {bg1_fla.gameOverMc_307} Frame 1Symbol 875 MovieClip {bg1_fla.gvjhfg_312}
"combo_mc"Symbol 922 MovieClip {bg1_fla.gameOverMc_307} Frame 1Symbol 875 MovieClip {bg1_fla.gvjhfg_312}
"right_btn"Symbol 922 MovieClip {bg1_fla.gameOverMc_307} Frame 1Symbol 877 Button
"left_btn"Symbol 922 MovieClip {bg1_fla.gameOverMc_307} Frame 1Symbol 879 Button
"gCont_mc"Symbol 922 MovieClip {bg1_fla.gameOverMc_307} Frame 1Symbol 881 MovieClip
"countryCombo"Symbol 922 MovieClip {bg1_fla.gameOverMc_307} Frame 1Symbol 81 MovieClip {fl.controls.ComboBox}
"score_txt"Symbol 922 MovieClip {bg1_fla.gameOverMc_307} Frame 1Symbol 883 EditableText
"name_txt"Symbol 922 MovieClip {bg1_fla.gameOverMc_307} Frame 1Symbol 884 EditableText
"right_btn"Symbol 922 MovieClip {bg1_fla.gameOverMc_307} Frame 2Symbol 877 Button
"left_btn"Symbol 922 MovieClip {bg1_fla.gameOverMc_307} Frame 2Symbol 879 Button
"scoreDisp_mc"Symbol 922 MovieClip {bg1_fla.gameOverMc_307} Frame 2Symbol 920 MovieClip {bg1_fla.scoooo_352}
"gCont_mc"Symbol 922 MovieClip {bg1_fla.gameOverMc_307} Frame 2Symbol 921 MovieClip

Special Tags

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

Labels

"videopage"Frame 2
"startpage"Frame 3
"ins"Frame 4
"gamepage"Frame 5
"gameend"Frame 6
"highScorePage"Frame 7




http://swfchan.com/24/116801/info.shtml
Created: 8/3 -2019 11:11:25 Last modified: 8/3 -2019 11:11:25 Server time: 22/12 -2024 10:37:00