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

Happy New Year!

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

airport-girl-dress-up.swf

This is the info page for
Flash #116987

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


Text
---
Dress Up

Airport

Girl

play game

More Games

Show

Reset

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

e

e

e

TryAgain

TryAgain

Start

Start

Try Again


ActionScript [AS3]

Section 1
//bag1_new_321 (AirportGirlDressup_fla.bag1_new_321) package AirportGirlDressup_fla { import flash.display.*; public dynamic class bag1_new_321 extends MovieClip { public function bag1_new_321(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package AirportGirlDressup_fla
Section 2
//botdup_268 (AirportGirlDressup_fla.botdup_268) package AirportGirlDressup_fla { import flash.display.*; public dynamic class botdup_268 extends MovieClip { public function botdup_268(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package AirportGirlDressup_fla
Section 3
//bvcb_games2DressLoadernn_load_414 (AirportGirlDressup_fla.bvcb_games2DressLoadernn_load_414) package AirportGirlDressup_fla { import flash.display.*; public dynamic class bvcb_games2DressLoadernn_load_414 extends MovieClip { public var loadBar_mc:MovieClip; } }//package AirportGirlDressup_fla
Section 4
//BVCBCV_games2DressLoadernn_load_415 (AirportGirlDressup_fla.BVCBCV_games2DressLoadernn_load_415) package AirportGirlDressup_fla { import flash.display.*; public dynamic class BVCBCV_games2DressLoadernn_load_415 extends MovieClip { public function BVCBCV_games2DressLoadernn_load_415(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package AirportGirlDressup_fla
Section 5
//cap_d34_330 (AirportGirlDressup_fla.cap_d34_330) package AirportGirlDressup_fla { import flash.display.*; public dynamic class cap_d34_330 extends MovieClip { public function cap_d34_330(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package AirportGirlDressup_fla
Section 6
//ccxb_games2DressLoadernn_load_413 (AirportGirlDressup_fla.ccxb_games2DressLoadernn_load_413) package AirportGirlDressup_fla { import flash.display.*; public dynamic class ccxb_games2DressLoadernn_load_413 extends MovieClip { public function ccxb_games2DressLoadernn_load_413(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package AirportGirlDressup_fla
Section 7
//doll1_246 (AirportGirlDressup_fla.doll1_246) package AirportGirlDressup_fla { import flash.display.*; public dynamic class doll1_246 extends MovieClip { public var bag:MovieClip; public var neck:MovieClip; public var top:MovieClip; public var h:MovieClip; public var e:MovieClip; public var s:MovieClip; public var bot:MovieClip; public var cap:MovieClip; } }//package AirportGirlDressup_fla
Section 8
//edup_334 (AirportGirlDressup_fla.edup_334) package AirportGirlDressup_fla { import flash.display.*; public dynamic class edup_334 extends MovieClip { public function edup_334(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package AirportGirlDressup_fla
Section 9
//loadCircle_373 (AirportGirlDressup_fla.loadCircle_373) package AirportGirlDressup_fla { import flash.display.*; import flash.utils.*; import flash.net.*; import flash.events.*; import flash.text.*; import flash.media.*; import flash.ui.*; import flash.filters.*; import flash.geom.*; import flash.system.*; import flash.external.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.printing.*; import flash.xml.*; public dynamic class loadCircle_373 extends MovieClip { public var cid:int; public function loadCircle_373(){ addFrameScript(0, frame1, 3, frame4); } function frame1(){ stop(); } function frame4(){ stop(); cid = int(this.name.substr(1)); trace(("cid=" + cid)); if (cid >= 18){ cid = 0; }; if (MovieClip(parent).visible == true){ MovieClip(parent)[("c" + (cid + 1))].gotoAndPlay(2); }; } } }//package AirportGirlDressup_fla
Section 10
//LOGO_242 (AirportGirlDressup_fla.LOGO_242) package AirportGirlDressup_fla { import flash.display.*; import flash.net.*; import flash.events.*; public dynamic class LOGO_242 extends MovieClip { public var logo_mc:MovieClip; public function LOGO_242(){ addFrameScript(0, frame1); } public function sendWebsite(_arg1:MouseEvent){ if (!this.loaderInfo.url.match("games2dress")){ navigateToURL(new URLRequest("http://www.games2dress.com/"), "_blank"); }; } function frame1(){ logo_mc.buttonMode = true; logo_mc.addEventListener(MouseEvent.MOUSE_DOWN, sendWebsite); } } }//package AirportGirlDressup_fla
Section 11
//MainTimeline (AirportGirlDressup_fla.MainTimeline) package AirportGirlDressup_fla { import flash.display.*; import flash.utils.*; import flash.net.*; import flash.events.*; import flash.text.*; import flash.media.*; import flash.ui.*; import flash.filters.*; import flash.geom.*; import flash.system.*; import flash.external.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.printing.*; import flash.xml.*; public dynamic class MainTimeline extends MovieClip { public var bag:SimpleButton; public var dressDetails:Array; public var fullIn:Number; public var min:String; public var botChange:Number; public var sec:String; public var btn_mc:MovieClip; public var perct:int; public var neck:SimpleButton; public var myContextMenu:ContextMenu; public var e:SimpleButton; public var h:SimpleButton; public var i; public var j:int; public var tid:int; public var s:SimpleButton; public var tim:int; public var score:Number; public var bgTransform:SoundTransform; public var gameId:Number; public var scaleArr:Array; public var pauseSound:Boolean; public var startpage_btn2:SimpleButton; public var tipMsg:MovieClip; public var scoreArray:Array; public var gf:GlowFilter; public var bgChannel:SoundChannel; public var next_btn:SimpleButton; public var menuItem:ContextMenuItem; public var nextArray:Array; public var fullChange:Number; public var mute_btn:MovieClip; public var initial:Number; public var doll:MovieClip; public var top:SimpleButton; public var topChange:Number; public var topIn:Number; public var reset_btn:SimpleButton; public var animationPlayed:Boolean; public var itemIndex:Number; public var bgSndObj:bgSnd; public var level:Number; public var itemCode:String; public var bot:SimpleButton; public var cap:SimpleButton; public var try_btn:SimpleButton; public var dummyItem:MovieClip; public var gamescore:Number; public var mgame_btn:SimpleButton; public function MainTimeline(){ addFrameScript(0, frame1, 9, frame10, 14, frame15, 24, frame25); } public function gotoGame(_arg1:MouseEvent){ i = 0; while (i < dressDetails.length) { nextArray[dressDetails[i].mcname] = 1; doll[dressDetails[i].mcname].gotoAndStop(1); i++; }; gotoAndStop("gamePage"); } public function mgame_btn_MOUSEDOWN(_arg1:MouseEvent):void{ navigateToURL(new URLRequest("http://www.teensgirlsgames.com/"), "_blank"); } public function showGlow(_arg1:MouseEvent){ _arg1.currentTarget.filters = [gf]; } public function btn_mc_MOUSEDOWN(_arg1:MouseEvent):void{ navigateToURL(new URLRequest("http://www.teensgirlsgames.com"), "_blank"); } function frame10(){ stop(); stage.scaleMode = "exactFit"; SoundMixer.stopAll(); level = 1; startpage_btn2.addEventListener(MouseEvent.MOUSE_DOWN, gamepage); mgame_btn.addEventListener(MouseEvent.MOUSE_DOWN, mgame_btn_MOUSEDOWN); } function frame15(){ stop(); j = 0; tid = 0; min = ""; sec = ""; tim = 0; gameId = 1989; dressDetails = new Array(); dummyItem = new MovieClip(); nextArray = new Array(); scoreArray = new Array(); dummyItem = null; topIn = 0; fullIn = 0; topChange = 0; botChange = 0; fullChange = 0; score = 0; initial = 0; gamescore = 0; gf = new GlowFilter(0xFFFFFF, 1, 6, 6, 2, 1, false, false); scaleArr = new Array("", 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0.6, 0.6, 0.6, 0.6, 1, 0.6, 1, 0.6, 0.6, 0.6, 1); tipMsg.visible = false; dressDetails.push({mcname:"h", total:9}); dressDetails.push({mcname:"e", total:5}); dressDetails.push({mcname:"top", total:10}); dressDetails.push({mcname:"s", total:5}); dressDetails.push({mcname:"neck", total:5}); dressDetails.push({mcname:"cap", total:4}); dressDetails.push({mcname:"bag", total:5}); dressDetails.push({mcname:"bot", total:10}); i = 0; while (i < dressDetails.length) { nextArray[dressDetails[i].mcname] = 1; j = 1; while (j <= dressDetails[i].total) { this[dressDetails[i].mcname].addEventListener(MouseEvent.MOUSE_DOWN, ClickItem); if ((((doll[dressDetails[i].mcname].name == "cap")) || ((doll[dressDetails[i].mcname].name == "bot")))){ doll.cap.gotoAndStop(1); } else { doll[dressDetails[i].mcname].gotoAndStop(2); nextArray[dressDetails[i].mcname] = doll[dressDetails[i].mcname].currentFrame; }; j++; }; i++; }; itemIndex = 0; itemCode = ""; reset_btn.addEventListener(MouseEvent.MOUSE_DOWN, resetpage); stage.addEventListener(KeyboardEvent.KEY_UP, listenKey); pauseSound = false; bgTransform = new SoundTransform(); bgTransform.volume = 0.2; bgSndObj = new bgSnd(); bgChannel = bgSndObj.play(0, int.MAX_VALUE); bgChannel.soundTransform = bgTransform; mute_btn.addEventListener(MouseEvent.MOUSE_OVER, mutetipS); mute_btn.addEventListener(MouseEvent.MOUSE_OUT, hideTip); mute_btn.addEventListener(MouseEvent.MOUSE_DOWN, muteSound); stage.addEventListener(Event.ENTER_FRAME, moveTip); next_btn.addEventListener(MouseEvent.CLICK, nextFun); tid = setInterval(stimer, 1000); mgame_btn.addEventListener(MouseEvent.MOUSE_DOWN, sendWebsite); } function frame1(){ stop(); animationPlayed = false; perct = 0; myContextMenu = new ContextMenu(); myContextMenu.hideBuiltInItems(); menuItem = new ContextMenuItem("http://www.teensgirlsgames.com"); menuItem.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, getAction); myContextMenu.customItems.push(menuItem); this.contextMenu = myContextMenu; stage.addEventListener(Event.ENTER_FRAME, loadGame); btn_mc.alpha = 0; btn_mc.addEventListener(MouseEvent.MOUSE_DOWN, btn_mc_MOUSEDOWN); } public function resetpage(_arg1:MouseEvent){ i = 0; while (i < dressDetails.length) { nextArray[dressDetails[i].mcname] = 1; if ((((doll[dressDetails[i].mcname].name == "cap")) || ((doll[dressDetails[i].mcname].name == "bot")))){ doll[dressDetails[i].mcname].gotoAndStop(1); } else { doll[dressDetails[i].mcname].gotoAndStop(2); }; i++; }; } function frame25(){ SoundMixer.stopAll(); clearInterval(tid); i = 0; while (i < dressDetails.length) { trace(((dressDetails[i].mcname + ":") + nextArray[dressDetails[i].mcname])); doll[dressDetails[i].mcname].gotoAndStop(nextArray[dressDetails[i].mcname]); i++; }; try_btn.addEventListener(MouseEvent.MOUSE_DOWN, gotoGame); mgame_btn.addEventListener(MouseEvent.MOUSE_DOWN, sendWebsite1); } public function muteSound(_arg1:MouseEvent){ muteFunction(); } public function showTip(_arg1:String, _arg2:Number, _arg3:Number, _arg4:Number){ tipMsg.visible = true; tipMsg.text_txt.text = _arg1; tipMsg.width = _arg2; } public function ClickItem(_arg1:MouseEvent){ initial = 1; itemCode = _arg1.currentTarget.name; if (doll[itemCode].currentFrame == doll[itemCode].totalFrames){ trace("totalFrame"); if (itemCode == "cap"){ doll[itemCode].gotoAndStop(1); } else { doll[itemCode].gotoAndStop(2); }; } else { doll[itemCode].nextFrame(); trace(("tframe=" + doll[itemCode].currentFrame)); if (itemCode == "top"){ if (doll.bot.currentFrame != 1){ doll.bot.gotoAndStop(1); if (doll.h.currentFrame == 1){ doll.h.gotoAndStop(2); nextArray["h"] = 2; }; nextArray["bot"] = 1; }; topChange = 1; }; if (itemCode == "h"){ if (doll.bot.currentFrame != 1){ if (doll.top.currentFrame == 1){ doll.top.gotoAndStop(2); nextArray["top"] = 2; }; doll.bot.gotoAndStop(1); nextArray["bot"] = 1; }; botChange = 1; }; if (itemCode == "bot"){ doll.top.gotoAndStop(1); doll.h.gotoAndStop(1); nextArray["top"] = 1; nextArray["h"] = 1; fullChange = 1; }; }; nextArray[itemCode] = doll[itemCode].currentFrame; score = 0; } public function sendWebsite1(_arg1:MouseEvent){ navigateToURL(new URLRequest("http://www.teensgirlsgames.com/"), "_blank"); } public function mutetipS(_arg1:MouseEvent){ showTip("Mute", 50, _arg1.currentTarget.x, _arg1.currentTarget.y); } public function stimer(){ tim++; min = String(int((tim / 60))); sec = String(int((tim % 60))); if (min.length < 2){ min = ("0" + min); }; if (sec.length < 2){ sec = ("0" + sec); }; } public function moveTip(_arg1:Event){ if (tipMsg.visible == true){ tipMsg.x = mouseX; tipMsg.y = mouseY; }; } public function muteFunction(){ if (mute_btn.currentFrame == 1){ bgChannel.stop(); mute_btn.gotoAndStop(2); pauseSound = true; } else { bgChannel = bgSndObj.play(0, int.MAX_VALUE); bgChannel.soundTransform = bgTransform; mute_btn.gotoAndStop(1); pauseSound = false; }; } public function getAction(_arg1:ContextMenuEvent){ navigateToURL(new URLRequest(_arg1.target.caption), "_blank"); } public function listenKey(_arg1:KeyboardEvent){ if ((((_arg1.keyCode == 77)) || ((_arg1.keyCode == 109)))){ muteFunction(); }; } public function clearGlow(_arg1:MouseEvent){ _arg1.currentTarget.filters = null; } public function gamepage(_arg1:MouseEvent){ gotoAndStop("gamePage"); } public function nextFun(_arg1:MouseEvent){ if (((((((!((nextArray["top"] == 1))) && ((topChange == 1)))) || (((!((nextArray["h"] == 1))) && ((botChange == 1)))))) || (((!((nextArray["bot"] == 1))) && ((fullChange == 1)))))){ trace("inside"); stage.removeEventListener(Event.ENTER_FRAME, moveTip); gotoAndStop("nextPage"); }; } public function sendWebsite(_arg1:MouseEvent){ navigateToURL(new URLRequest("http://www.teensgirlsgames.com/"), "_blank"); } public function loadGame(_arg1:Event){ perct = int(((this.loaderInfo.bytesLoaded / this.loaderInfo.bytesTotal) * 100)); if ((((perct >= 100)) && (animationPlayed))){ stage.removeEventListener(Event.ENTER_FRAME, loadGame); gotoAndStop("startPage"); }; } public function hideTip(_arg1:MouseEvent){ tipMsg.visible = false; } } }//package AirportGirlDressup_fla
Section 12
//msg_panel_228 (AirportGirlDressup_fla.msg_panel_228) package AirportGirlDressup_fla { import flash.display.*; import flash.text.*; public dynamic class msg_panel_228 extends MovieClip { public var text_txt:TextField; } }//package AirportGirlDressup_fla
Section 13
//necklaceWhole_309 (AirportGirlDressup_fla.necklaceWhole_309) package AirportGirlDressup_fla { import flash.display.*; public dynamic class necklaceWhole_309 extends MovieClip { public function necklaceWhole_309(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package AirportGirlDressup_fla
Section 14
//newhair_new_256 (AirportGirlDressup_fla.newhair_new_256) package AirportGirlDressup_fla { import flash.display.*; public dynamic class newhair_new_256 extends MovieClip { public function newhair_new_256(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package AirportGirlDressup_fla
Section 15
//sdup_250 (AirportGirlDressup_fla.sdup_250) package AirportGirlDressup_fla { import flash.display.*; public dynamic class sdup_250 extends MovieClip { public function sdup_250(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package AirportGirlDressup_fla
Section 16
//teems_197 (AirportGirlDressup_fla.teems_197) package AirportGirlDressup_fla { import flash.display.*; public dynamic class teems_197 extends MovieClip { public var 新建符号:MovieClip; } }//package AirportGirlDressup_fla
Section 17
//teems_200 (AirportGirlDressup_fla.teems_200) package AirportGirlDressup_fla { import flash.display.*; public dynamic class teems_200 extends MovieClip { public var 新建符号:MovieClip; } }//package AirportGirlDressup_fla
Section 18
//teems_201 (AirportGirlDressup_fla.teems_201) package AirportGirlDressup_fla { import flash.display.*; public dynamic class teems_201 extends MovieClip { public var 新建符号:MovieClip; } }//package AirportGirlDressup_fla
Section 19
//teems_202 (AirportGirlDressup_fla.teems_202) package AirportGirlDressup_fla { import flash.display.*; public dynamic class teems_202 extends MovieClip { public var 新建符号:MovieClip; } }//package AirportGirlDressup_fla
Section 20
//teemsaaa_1 (AirportGirlDressup_fla.teemsaaa_1) package AirportGirlDressup_fla { import flash.display.*; import flash.utils.*; import flash.net.*; import flash.events.*; import flash.text.*; import flash.media.*; import flash.ui.*; import flash.filters.*; import flash.geom.*; import flash.system.*; import flash.external.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.printing.*; import flash.xml.*; public dynamic class teemsaaa_1 extends MovieClip { public function teemsaaa_1(){ addFrameScript(0, frame1, 157, frame158); } function frame158(){ stop(); MovieClip(parent).animationPlayed = true; } function frame1(){ MovieClip(parent).stop(); } } }//package AirportGirlDressup_fla
Section 21
//teemsbody_185 (AirportGirlDressup_fla.teemsbody_185) package AirportGirlDressup_fla { import flash.display.*; public dynamic class teemsbody_185 extends MovieClip { public var 新建符号_3:MovieClip; } }//package AirportGirlDressup_fla
Section 22
//teemsteemsflash0_205 (AirportGirlDressup_fla.teemsteemsflash0_205) package AirportGirlDressup_fla { import flash.display.*; public dynamic class teemsteemsflash0_205 extends MovieClip { public function teemsteemsflash0_205(){ addFrameScript(143, frame144); } function frame144(){ stop(); } } }//package AirportGirlDressup_fla
Section 23
//teens_340 (AirportGirlDressup_fla.teens_340) package AirportGirlDressup_fla { import flash.display.*; import flash.net.*; import flash.events.*; public dynamic class teens_340 extends MovieClip { public var fButton:MovieClip; public function teens_340(){ addFrameScript(0, frame1); } function frame1(){ fButton.addEventListener(MouseEvent.CLICK, fButtonClicked); } public function fButtonClicked(_arg1:MouseEvent){ var urlRequest:URLRequest; var e = _arg1; try { urlRequest = new URLRequest("http://www.teensgirlsgames.com/"); navigateToURL(urlRequest, "_blank"); } catch(e:Error) { }; } } }//package AirportGirlDressup_fla
Section 24
//teens_341 (AirportGirlDressup_fla.teens_341) package AirportGirlDressup_fla { import flash.display.*; public dynamic class teens_341 extends MovieClip { public var fButton:SimpleButton; } }//package AirportGirlDressup_fla
Section 25
//teens_343 (AirportGirlDressup_fla.teens_343) package AirportGirlDressup_fla { import flash.display.*; public dynamic class teens_343 extends MovieClip { public var 新建符号_1:MovieClip; public function teens_343(){ addFrameScript(8, frame9); } function frame9(){ stop(); } } }//package AirportGirlDressup_fla
Section 26
//teens_344 (AirportGirlDressup_fla.teens_344) package AirportGirlDressup_fla { import flash.display.*; public dynamic class teens_344 extends MovieClip { public var 新建符号_3:MovieClip; public function teens_344(){ addFrameScript(12, frame13); } function frame13(){ stop(); } } }//package AirportGirlDressup_fla
Section 27
//teens_352 (AirportGirlDressup_fla.teens_352) package AirportGirlDressup_fla { import flash.display.*; public dynamic class teens_352 extends MovieClip { public var 新建符号_1:MovieClip; } }//package AirportGirlDressup_fla
Section 28
//teens_359 (AirportGirlDressup_fla.teens_359) package AirportGirlDressup_fla { import flash.display.*; public dynamic class teens_359 extends MovieClip { public var 新建符号_1:MovieClip; } }//package AirportGirlDressup_fla
Section 29
//teens_363 (AirportGirlDressup_fla.teens_363) package AirportGirlDressup_fla { import flash.display.*; public dynamic class teens_363 extends MovieClip { public var 新建符号:MovieClip; } }//package AirportGirlDressup_fla
Section 30
//teens_366 (AirportGirlDressup_fla.teens_366) package AirportGirlDressup_fla { import flash.display.*; public dynamic class teens_366 extends MovieClip { public var 新建符号:MovieClip; } }//package AirportGirlDressup_fla
Section 31
//teens_367 (AirportGirlDressup_fla.teens_367) package AirportGirlDressup_fla { import flash.display.*; public dynamic class teens_367 extends MovieClip { public var 新建符号:MovieClip; } }//package AirportGirlDressup_fla
Section 32
//teens_368 (AirportGirlDressup_fla.teens_368) package AirportGirlDressup_fla { import flash.display.*; public dynamic class teens_368 extends MovieClip { public var 新建符号:MovieClip; } }//package AirportGirlDressup_fla
Section 33
//topdup_292 (AirportGirlDressup_fla.topdup_292) package AirportGirlDressup_fla { import flash.display.*; public dynamic class topdup_292 extends MovieClip { public function topdup_292(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package AirportGirlDressup_fla
Section 34
//VBVCdddd_230 (AirportGirlDressup_fla.VBVCdddd_230) package AirportGirlDressup_fla { import flash.display.*; public dynamic class VBVCdddd_230 extends MovieClip { public function VBVCdddd_230(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package AirportGirlDressup_fla
Section 35
//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 36
//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 37
//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 38
//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 39
//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 40
//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 41
//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 42
//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 43
//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 44
//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 45
//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 46
//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 47
//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 48
//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 49
//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 50
//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 51
//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 52
//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 53
//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 54
//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 55
//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 56
//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 57
//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 58
//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 59
//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 60
//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 61
//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 62
//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 63
//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 64
//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 65
//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 66
//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 67
//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 68
//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 69
//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 70
//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 71
//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 72
//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 73
//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 74
//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 75
//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 76
//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 77
//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 78
//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 79
//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 80
//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 81
//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 82
//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 83
//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 84
//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 85
//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 86
//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 87
//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 88
//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 89
//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 90
//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 91
//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 92
//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 93
//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 94
//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 95
//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 96
//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 97
//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 98
//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 99
//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 100
//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 101
//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 102
//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 103
//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 104
//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 105
//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 106
//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 107
//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 108
//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 109
//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 110
//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 111
//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 112
//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 113
//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 114
//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 115
//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 116
//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 117
//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 118
//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 119
//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 120
//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 121
//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 122
//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 123
//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 124
//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 125
//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 126
//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 127
//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 128
//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 129
//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 130
//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 131
//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 132
//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 133
//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 134
//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 135
//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 136
//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 137
//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 138
//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 139
//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 140
//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 141
//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 142
//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 143
//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 144
//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 145
//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 146
//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 147
//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 148
//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 149
//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 150
//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 151
//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 152
//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 153
//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 154
//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 155
//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 156
//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 157
//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 158
//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 159
//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 160
//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 161
//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 162
//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 163
//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 164
//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 165
//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 166
//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 167
//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 168
//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 169
//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 170
//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 171
//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 172
//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 173
//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 174
//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 175
//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 176
//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 177
//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 178
//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 179
//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 180
//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 181
//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 182
//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 183
//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 184
//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 185
//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 186
//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 187
//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 188
//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 189
//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 190
//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 191
//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 192
//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 193
//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 194
//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 195
//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 196
//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 197
//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 198
//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 199
//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 200
//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 201
//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 202
//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 203
//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 204
//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 205
//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 206
//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 207
//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 208
//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 209
//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 210
//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 211
//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 212
//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 213
//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 214
//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 215
//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 216
//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 217
//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 218
//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 219
//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 220
//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 221
//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 222
//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 223
//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 224
//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 225
//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 226
//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 227
//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 228
//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 229
//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 230
//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 231
//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 232
//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 233
//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 234
//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 235
//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 236
//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 237
//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 238
//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 239
//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 240
//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 241
//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 242
//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 243
//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 244
//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 245
//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 246
//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 247
//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 248
//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 249
//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 250
//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 251
//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 252
//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 253
//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 254
//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 255
//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 256
//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 257
//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 258
//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 259
//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 260
//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 261
//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 262
//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 263
//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 264
//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 265
//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 266
//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 267
//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 268
//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 269
//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 270
//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 271
//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 272
//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 273
//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 274
//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 275
//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 276
//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 277
//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 278
//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 279
//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 280
//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 281
//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 282
//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 283
//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 284
//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 285
//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 286
//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 287
//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 288
//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 289
//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 290
//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 291
//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 292
//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 293
//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 294
//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 295
//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 296
//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 297
//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 298
//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 299
//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 300
//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 301
//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 302
//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 303
//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 304
//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 305
//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 306
//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 307
//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 308
//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 309
//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 310
//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 311
//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 312
//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 313
//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 314
//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 315
//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 316
//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 317
//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 318
//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 319
//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 320
//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 321
//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 322
//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 323
//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 324
//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 325
//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 326
//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 327
//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 328
//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 329
//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 330
//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 331
//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 332
//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 333
//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 334
//ArrayResultData (com.facebook.data.ArrayResultData) package com.facebook.data { public class ArrayResultData extends FacebookData { public var arrayResult:Array; } }//package com.facebook.data
Section 335
//BooleanResultData (com.facebook.data.BooleanResultData) package com.facebook.data { public class BooleanResultData extends FacebookData { public var value:Boolean; } }//package com.facebook.data
Section 336
//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 337
//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 338
//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 339
//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 340
//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 341
//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 342
//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 343
//FBJSData (com.facebook.data.FBJSData) package com.facebook.data { public class FBJSData extends FacebookData { public var results:Array; } }//package com.facebook.data
Section 344
//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 345
//JSONResultData (com.facebook.data.JSONResultData) package com.facebook.data { public class JSONResultData extends FacebookData { public var result:Object; } }//package com.facebook.data
Section 346
//NumberResultData (com.facebook.data.NumberResultData) package com.facebook.data { public class NumberResultData extends FacebookData { public var value:Number; } }//package com.facebook.data
Section 347
//StringResultData (com.facebook.data.StringResultData) package com.facebook.data { public class StringResultData extends FacebookData { public var value:String; } }//package com.facebook.data
Section 348
//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 349
//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 350
//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 351
//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 352
//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 353
//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 354
//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 355
//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 356
//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 357
//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 358
//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 359
//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 360
//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 361
//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 362
//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 363
//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 364
//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 365
//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 366
//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 367
//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 368
//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 369
//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 370
//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 371
//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 372
//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 373
//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 374
//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 375
//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 376
//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 377
//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 378
//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 379
//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 380
//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 381
//facebook_internal (com.facebook.facebook_internal) package com.facebook { public namespace facebook_internal = "http://api.facebook.com/1.0/"; }//package com.facebook
Section 382
//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 383
//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 384
//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 385
//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 386
//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 387
//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 388
//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 389
//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 390
//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 391
//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 392
//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 393
//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 394
//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 395
//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 396
//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 397
//ComponentShim (fl.core.ComponentShim) package fl.core { import flash.display.*; public dynamic class ComponentShim extends MovieClip { } }//package fl.core
Section 398
//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 399
//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 400
//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 401
//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 402
//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 403
//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 404
//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 405
//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 406
//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 407
//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 408
//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 409
//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 410
//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 411
//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 412
//bgSnd (bgSnd) package { import flash.media.*; public dynamic class bgSnd extends Sound { } }//package
Section 413
//CellRenderer_disabledSkin (CellRenderer_disabledSkin) package { import flash.display.*; public dynamic class CellRenderer_disabledSkin extends MovieClip { } }//package
Section 414
//CellRenderer_downSkin (CellRenderer_downSkin) package { import flash.display.*; public dynamic class CellRenderer_downSkin extends MovieClip { } }//package
Section 415
//CellRenderer_overSkin (CellRenderer_overSkin) package { import flash.display.*; public dynamic class CellRenderer_overSkin extends MovieClip { } }//package
Section 416
//CellRenderer_selectedDisabledSkin (CellRenderer_selectedDisabledSkin) package { import flash.display.*; public dynamic class CellRenderer_selectedDisabledSkin extends MovieClip { } }//package
Section 417
//CellRenderer_selectedDownSkin (CellRenderer_selectedDownSkin) package { import flash.display.*; public dynamic class CellRenderer_selectedDownSkin extends MovieClip { } }//package
Section 418
//CellRenderer_selectedOverSkin (CellRenderer_selectedOverSkin) package { import flash.display.*; public dynamic class CellRenderer_selectedOverSkin extends MovieClip { } }//package
Section 419
//CellRenderer_selectedUpSkin (CellRenderer_selectedUpSkin) package { import flash.display.*; public dynamic class CellRenderer_selectedUpSkin extends MovieClip { } }//package
Section 420
//CellRenderer_upSkin (CellRenderer_upSkin) package { import flash.display.*; public dynamic class CellRenderer_upSkin extends MovieClip { } }//package
Section 421
//cLoader (cLoader) package { import flash.display.*; public dynamic class cLoader extends MovieClip { public var c1:MovieClip; public var c3:MovieClip; public var c4:MovieClip; public var c5:MovieClip; public var c6:MovieClip; public var c8:MovieClip; public var c2:MovieClip; public var c7:MovieClip; public var c9:MovieClip; public var c10:MovieClip; public var c11:MovieClip; public var c13:MovieClip; public var c17:MovieClip; public var c18:MovieClip; public var c14:MovieClip; public var c15:MovieClip; public var c16:MovieClip; public var c12:MovieClip; public function cLoader(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package
Section 422
//ComboBox_disabledSkin (ComboBox_disabledSkin) package { import flash.display.*; public dynamic class ComboBox_disabledSkin extends MovieClip { } }//package
Section 423
//ComboBox_downSkin (ComboBox_downSkin) package { import flash.display.*; public dynamic class ComboBox_downSkin extends MovieClip { } }//package
Section 424
//ComboBox_overSkin (ComboBox_overSkin) package { import flash.display.*; public dynamic class ComboBox_overSkin extends MovieClip { } }//package
Section 425
//ComboBox_upSkin (ComboBox_upSkin) package { import flash.display.*; public dynamic class ComboBox_upSkin extends MovieClip { } }//package
Section 426
//focusRectSkin (focusRectSkin) package { import flash.display.*; public dynamic class focusRectSkin extends MovieClip { } }//package
Section 427
//List_skin (List_skin) package { import flash.display.*; public dynamic class List_skin extends MovieClip { } }//package
Section 428
//LoadingBox (LoadingBox) package { import flash.display.*; public dynamic class LoadingBox extends MovieClip { public var outLoader:MovieClip; public var loadRef:MovieClip; } }//package
Section 429
//ScrollArrowDown_disabledSkin (ScrollArrowDown_disabledSkin) package { import flash.display.*; public dynamic class ScrollArrowDown_disabledSkin extends MovieClip { } }//package
Section 430
//ScrollArrowDown_downSkin (ScrollArrowDown_downSkin) package { import flash.display.*; public dynamic class ScrollArrowDown_downSkin extends MovieClip { } }//package
Section 431
//ScrollArrowDown_overSkin (ScrollArrowDown_overSkin) package { import flash.display.*; public dynamic class ScrollArrowDown_overSkin extends MovieClip { } }//package
Section 432
//ScrollArrowDown_upSkin (ScrollArrowDown_upSkin) package { import flash.display.*; public dynamic class ScrollArrowDown_upSkin extends MovieClip { } }//package
Section 433
//ScrollArrowUp_disabledSkin (ScrollArrowUp_disabledSkin) package { import flash.display.*; public dynamic class ScrollArrowUp_disabledSkin extends MovieClip { } }//package
Section 434
//ScrollArrowUp_downSkin (ScrollArrowUp_downSkin) package { import flash.display.*; public dynamic class ScrollArrowUp_downSkin extends MovieClip { } }//package
Section 435
//ScrollArrowUp_overSkin (ScrollArrowUp_overSkin) package { import flash.display.*; public dynamic class ScrollArrowUp_overSkin extends MovieClip { } }//package
Section 436
//ScrollArrowUp_upSkin (ScrollArrowUp_upSkin) package { import flash.display.*; public dynamic class ScrollArrowUp_upSkin extends MovieClip { } }//package
Section 437
//ScrollBar_thumbIcon (ScrollBar_thumbIcon) package { import flash.display.*; public dynamic class ScrollBar_thumbIcon extends MovieClip { } }//package
Section 438
//ScrollThumb_downSkin (ScrollThumb_downSkin) package { import flash.display.*; public dynamic class ScrollThumb_downSkin extends MovieClip { } }//package
Section 439
//ScrollThumb_overSkin (ScrollThumb_overSkin) package { import flash.display.*; public dynamic class ScrollThumb_overSkin extends MovieClip { } }//package
Section 440
//ScrollThumb_upSkin (ScrollThumb_upSkin) package { import flash.display.*; public dynamic class ScrollThumb_upSkin extends MovieClip { } }//package
Section 441
//ScrollTrack_skin (ScrollTrack_skin) package { import flash.display.*; public dynamic class ScrollTrack_skin extends MovieClip { } }//package
Section 442
//TextInput_disabledSkin (TextInput_disabledSkin) package { import flash.display.*; public dynamic class TextInput_disabledSkin extends MovieClip { } }//package
Section 443
//TextInput_upSkin (TextInput_upSkin) package { import flash.display.*; public dynamic class TextInput_upSkin extends MovieClip { } }//package

Library Items

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

Instance Names

"btn_mc"Frame 1Symbol 456 MovieClip
"startpage_btn2"Frame 10Symbol 520 Button
"mgame_btn"Frame 10Symbol 526 Button
"next_btn"Frame 15Symbol 536 Button
"reset_btn"Frame 15Symbol 542 Button
"tipMsg"Frame 15Symbol 546 MovieClip {AirportGirlDressup_fla.msg_panel_228}
"mute_btn"Frame 15Symbol 551 MovieClip {AirportGirlDressup_fla.VBVCdddd_230}
"neck"Frame 15Symbol 556 Button
"e"Frame 15Symbol 561 Button
"bag"Frame 15Symbol 566 Button
"s"Frame 15Symbol 573 Button
"bot"Frame 15Symbol 578 Button
"top"Frame 15Symbol 583 Button
"h"Frame 15Symbol 588 Button
"cap"Frame 15Symbol 593 Button
"doll"Frame 15Symbol 818 MovieClip {AirportGirlDressup_fla.doll1_246}
"try_btn"Frame 25Symbol 883 Button
"doll"Frame 25Symbol 818 MovieClip {AirportGirlDressup_fla.doll1_246}
"loadBar_mc"Symbol 36 MovieClip {AirportGirlDressup_fla.bvcb_games2DressLoadernn_load_414} Frame 1Symbol 35 MovieClip {AirportGirlDressup_fla.BVCBCV_games2DressLoadernn_load_415}
"outLoader"Symbol 39 MovieClip {LoadingBox} Frame 1Symbol 36 MovieClip {AirportGirlDressup_fla.bvcb_games2DressLoadernn_load_414}
"loadRef"Symbol 39 MovieClip {LoadingBox} Frame 1Symbol 38 MovieClip
"c1"Symbol 111 MovieClip {cLoader} Frame 1Symbol 110 MovieClip {AirportGirlDressup_fla.loadCircle_373}
"c2"Symbol 111 MovieClip {cLoader} Frame 1Symbol 110 MovieClip {AirportGirlDressup_fla.loadCircle_373}
"c3"Symbol 111 MovieClip {cLoader} Frame 1Symbol 110 MovieClip {AirportGirlDressup_fla.loadCircle_373}
"c4"Symbol 111 MovieClip {cLoader} Frame 1Symbol 110 MovieClip {AirportGirlDressup_fla.loadCircle_373}
"c5"Symbol 111 MovieClip {cLoader} Frame 1Symbol 110 MovieClip {AirportGirlDressup_fla.loadCircle_373}
"c6"Symbol 111 MovieClip {cLoader} Frame 1Symbol 110 MovieClip {AirportGirlDressup_fla.loadCircle_373}
"c7"Symbol 111 MovieClip {cLoader} Frame 1Symbol 110 MovieClip {AirportGirlDressup_fla.loadCircle_373}
"c8"Symbol 111 MovieClip {cLoader} Frame 1Symbol 110 MovieClip {AirportGirlDressup_fla.loadCircle_373}
"c9"Symbol 111 MovieClip {cLoader} Frame 1Symbol 110 MovieClip {AirportGirlDressup_fla.loadCircle_373}
"c10"Symbol 111 MovieClip {cLoader} Frame 1Symbol 110 MovieClip {AirportGirlDressup_fla.loadCircle_373}
"c11"Symbol 111 MovieClip {cLoader} Frame 1Symbol 110 MovieClip {AirportGirlDressup_fla.loadCircle_373}
"c12"Symbol 111 MovieClip {cLoader} Frame 1Symbol 110 MovieClip {AirportGirlDressup_fla.loadCircle_373}
"c13"Symbol 111 MovieClip {cLoader} Frame 1Symbol 110 MovieClip {AirportGirlDressup_fla.loadCircle_373}
"c14"Symbol 111 MovieClip {cLoader} Frame 1Symbol 110 MovieClip {AirportGirlDressup_fla.loadCircle_373}
"c15"Symbol 111 MovieClip {cLoader} Frame 1Symbol 110 MovieClip {AirportGirlDressup_fla.loadCircle_373}
"c16"Symbol 111 MovieClip {cLoader} Frame 1Symbol 110 MovieClip {AirportGirlDressup_fla.loadCircle_373}
"c17"Symbol 111 MovieClip {cLoader} Frame 1Symbol 110 MovieClip {AirportGirlDressup_fla.loadCircle_373}
"c18"Symbol 111 MovieClip {cLoader} Frame 1Symbol 110 MovieClip {AirportGirlDressup_fla.loadCircle_373}
"新建符号_3"Symbol 424 MovieClip {AirportGirlDressup_fla.teemsbody_185} Frame 1Symbol 410 MovieClip
"新建符号_3"Symbol 424 MovieClip {AirportGirlDressup_fla.teemsbody_185} Frame 1Symbol 410 MovieClip
"新建符号"Symbol 438 MovieClip {AirportGirlDressup_fla.teems_197} Frame 1Symbol 437 MovieClip
"新建符号"Symbol 438 MovieClip {AirportGirlDressup_fla.teems_197} Frame 122Symbol 437 MovieClip
"新建符号"Symbol 439 MovieClip {AirportGirlDressup_fla.teems_200} Frame 1Symbol 437 MovieClip
"新建符号"Symbol 439 MovieClip {AirportGirlDressup_fla.teems_200} Frame 132Symbol 437 MovieClip
"新建符号"Symbol 440 MovieClip {AirportGirlDressup_fla.teems_201} Frame 1Symbol 437 MovieClip
"新建符号"Symbol 440 MovieClip {AirportGirlDressup_fla.teems_201} Frame 147Symbol 437 MovieClip
"新建符号"Symbol 441 MovieClip {AirportGirlDressup_fla.teems_202} Frame 1Symbol 437 MovieClip
"text_txt"Symbol 546 MovieClip {AirportGirlDressup_fla.msg_panel_228} Frame 1Symbol 545 EditableText
"logo_mc"Symbol 616 MovieClip {AirportGirlDressup_fla.LOGO_242} Frame 1Symbol 615 MovieClip
"s"Symbol 818 MovieClip {AirportGirlDressup_fla.doll1_246} Frame 1Symbol 653 MovieClip {AirportGirlDressup_fla.sdup_250}
"h"Symbol 818 MovieClip {AirportGirlDressup_fla.doll1_246} Frame 1Symbol 676 MovieClip {AirportGirlDressup_fla.newhair_new_256}
"bot"Symbol 818 MovieClip {AirportGirlDressup_fla.doll1_246} Frame 1Symbol 720 MovieClip {AirportGirlDressup_fla.botdup_268}
"top"Symbol 818 MovieClip {AirportGirlDressup_fla.doll1_246} Frame 1Symbol 754 MovieClip {AirportGirlDressup_fla.topdup_292}
"neck"Symbol 818 MovieClip {AirportGirlDressup_fla.doll1_246} Frame 1Symbol 776 MovieClip {AirportGirlDressup_fla.necklaceWhole_309}
"bag"Symbol 818 MovieClip {AirportGirlDressup_fla.doll1_246} Frame 1Symbol 797 MovieClip {AirportGirlDressup_fla.bag1_new_321}
"cap"Symbol 818 MovieClip {AirportGirlDressup_fla.doll1_246} Frame 1Symbol 805 MovieClip {AirportGirlDressup_fla.cap_d34_330}
"e"Symbol 818 MovieClip {AirportGirlDressup_fla.doll1_246} Frame 1Symbol 817 MovieClip {AirportGirlDressup_fla.edup_334}
"新建符号_3"Symbol 830 MovieClip {AirportGirlDressup_fla.teens_344} Frame 1Symbol 822 MovieClip
"新建符号_3"Symbol 830 MovieClip {AirportGirlDressup_fla.teens_344} Frame 1Symbol 822 MovieClip
"新建符号_1"Symbol 847 MovieClip {AirportGirlDressup_fla.teens_352} Frame 1Symbol 846 MovieClip
"新建符号_1"Symbol 852 MovieClip {AirportGirlDressup_fla.teens_359} Frame 1Symbol 846 MovieClip
"新建符号"Symbol 855 MovieClip {AirportGirlDressup_fla.teens_363} Frame 1Symbol 854 MovieClip
"新建符号"Symbol 855 MovieClip {AirportGirlDressup_fla.teens_363} Frame 122Symbol 854 MovieClip
"新建符号"Symbol 856 MovieClip {AirportGirlDressup_fla.teens_366} Frame 1Symbol 854 MovieClip
"新建符号"Symbol 856 MovieClip {AirportGirlDressup_fla.teens_366} Frame 132Symbol 854 MovieClip
"新建符号"Symbol 857 MovieClip {AirportGirlDressup_fla.teens_367} Frame 1Symbol 854 MovieClip
"新建符号"Symbol 857 MovieClip {AirportGirlDressup_fla.teens_367} Frame 147Symbol 854 MovieClip
"新建符号"Symbol 858 MovieClip {AirportGirlDressup_fla.teens_368} Frame 1Symbol 854 MovieClip
"新建符号_1"Symbol 861 MovieClip {AirportGirlDressup_fla.teens_343} Frame 1Symbol 846 MovieClip
"fButton"Symbol 867 MovieClip {AirportGirlDressup_fla.teens_341} Frame 1Symbol 866 Button
"fButton"Symbol 868 MovieClip {AirportGirlDressup_fla.teens_340} Frame 1Symbol 867 MovieClip {AirportGirlDressup_fla.teens_341}

Special Tags

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

Labels

"startPage"Frame 10
"gamePage"Frame 15
"nextPage"Frame 25




http://swfchan.com/24/116987/info.shtml
Created: 8/3 -2019 07:43:20 Last modified: 8/3 -2019 07:43:20 Server time: 03/01 -2025 04:19:02