Section 1
//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 2
//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 3
//JPGEncoder (com.adobe.images.JPGEncoder)
package com.adobe.images {
import flash.utils.*;
import flash.display.*;
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 4
//PNGEncoder (com.adobe.images.PNGEncoder)
package com.adobe.images {
import flash.utils.*;
import flash.display.*;
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 5
//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 6
//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 7
//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 8
//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 9
//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 10
//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 11
//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 12
//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 13
//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 14
//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 15
//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 16
//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 17
//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 18
//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 19
//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 20
//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 21
//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 22
//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 23
//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 24
//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 25
//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 26
//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 27
//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 28
//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 29
//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 30
//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 31
//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 32
//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 33
//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 34
//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 35
//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 36
//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 37
//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 38
//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 39
//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 40
//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 41
//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 42
//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 43
//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 44
//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 45
//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 46
//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 47
//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 48
//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 49
//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 50
//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 51
//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 52
//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 53
//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 54
//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 55
//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 56
//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 57
//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 58
//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 59
//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 60
//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 61
//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 62
//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 63
//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 64
//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 65
//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 66
//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 67
//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 68
//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 69
//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 70
//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 71
//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 72
//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 73
//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 74
//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 75
//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 76
//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 77
//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 78
//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 79
//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 80
//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 81
//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 82
//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 83
//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 84
//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 85
//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 86
//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 87
//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 88
//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 89
//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 90
//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 91
//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 92
//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 93
//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 94
//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 95
//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 96
//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 97
//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 98
//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 99
//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 100
//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 101
//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 102
//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 103
//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 104
//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 105
//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 106
//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 107
//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 108
//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 109
//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 110
//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 111
//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 112
//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 113
//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 114
//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 115
//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 116
//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 117
//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 118
//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 119
//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 120
//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 121
//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 122
//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 123
//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 124
//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 125
//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 126
//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 127
//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 128
//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 129
//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 130
//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 131
//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 132
//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 133
//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 134
//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 135
//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 136
//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 137
//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 138
//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 139
//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 140
//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 141
//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 142
//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 143
//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 144
//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 145
//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 146
//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 147
//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 148
//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 149
//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 150
//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 151
//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 152
//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 153
//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 154
//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 155
//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 156
//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 157
//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 158
//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 159
//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 160
//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 161
//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 162
//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 163
//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 164
//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 165
//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 166
//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 167
//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 168
//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 169
//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 170
//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 171
//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 172
//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 173
//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 174
//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 175
//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 176
//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 177
//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 178
//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 179
//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 180
//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 181
//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 182
//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 183
//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 184
//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 185
//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 186
//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 187
//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 188
//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 189
//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 190
//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 191
//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 192
//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 193
//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 194
//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 195
//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 196
//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 197
//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 198
//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 199
//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 200
//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 201
//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 202
//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 203
//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 204
//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 205
//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 206
//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 207
//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 208
//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 209
//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 210
//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 211
//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 212
//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 213
//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 214
//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 215
//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 216
//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 217
//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 218
//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 219
//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 220
//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 221
//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 222
//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 223
//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 224
//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 225
//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 226
//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 227
//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 228
//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 229
//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 230
//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 231
//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 232
//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 233
//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 234
//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 235
//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 236
//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 237
//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 238
//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 239
//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 240
//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 241
//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 242
//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 243
//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 244
//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 245
//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 246
//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 247
//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 248
//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 249
//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 250
//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 251
//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 252
//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 253
//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 254
//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 255
//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 256
//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 257
//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 258
//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 259
//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 260
//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 261
//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 262
//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 263
//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 264
//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 265
//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 266
//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 267
//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 268
//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 269
//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 270
//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 271
//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 272
//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 273
//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 274
//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 275
//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 276
//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 277
//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 278
//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 279
//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 280
//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 281
//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 282
//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 283
//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 284
//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 285
//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 286
//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 287
//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 288
//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 289
//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 290
//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 291
//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 292
//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 293
//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 294
//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 295
//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 296
//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 297
//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 298
//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 299
//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 300
//ArrayResultData (com.facebook.data.ArrayResultData)
package com.facebook.data {
public class ArrayResultData extends FacebookData {
public var arrayResult:Array;
}
}//package com.facebook.data
Section 301
//BooleanResultData (com.facebook.data.BooleanResultData)
package com.facebook.data {
public class BooleanResultData extends FacebookData {
public var value:Boolean;
}
}//package com.facebook.data
Section 302
//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 303
//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 304
//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 305
//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 306
//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 307
//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 308
//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 309
//FBJSData (com.facebook.data.FBJSData)
package com.facebook.data {
public class FBJSData extends FacebookData {
public var results:Array;
}
}//package com.facebook.data
Section 310
//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 311
//JSONResultData (com.facebook.data.JSONResultData)
package com.facebook.data {
public class JSONResultData extends FacebookData {
public var result:Object;
}
}//package com.facebook.data
Section 312
//NumberResultData (com.facebook.data.NumberResultData)
package com.facebook.data {
public class NumberResultData extends FacebookData {
public var value:Number;
}
}//package com.facebook.data
Section 313
//StringResultData (com.facebook.data.StringResultData)
package com.facebook.data {
public class StringResultData extends FacebookData {
public var value:String;
}
}//package com.facebook.data
Section 314
//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 315
//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 316
//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 317
//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 318
//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 319
//RequestHelper (com.facebook.delegates.RequestHelper)
package com.facebook.delegates {
import flash.utils.*;
import flash.display.*;
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 320
//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 321
//WebImageUploadDelegate (com.facebook.delegates.WebImageUploadDelegate)
package com.facebook.delegates {
import flash.utils.*;
import com.adobe.images.*;
import flash.display.*;
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 322
//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 323
//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 324
//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 325
//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 326
//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 327
//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 328
//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 329
//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 330
//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 331
//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 332
//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 333
//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 334
//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 335
//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 336
//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 337
//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 338
//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 339
//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 340
//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 341
//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 342
//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 343
//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 344
//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 345
//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 346
//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 347
//facebook_internal (com.facebook.facebook_internal)
package com.facebook {
public namespace facebook_internal = "http://api.facebook.com/1.0/";
}//package com.facebook
Section 348
//flake (com.neatfilm.assets.flake)
package com.neatfilm.assets {
import flash.display.*;
public dynamic class flake extends MovieClip {
}
}//package com.neatfilm.assets
Section 349
//SnowEffect (com.neatfilm.effects.snow.SnowEffect)
package com.neatfilm.effects.snow {
import flash.display.*;
import flash.events.*;
public class SnowEffect extends Sprite {
private var pool:Object;
var _vy:Number;// = 2
var _yRange:Number;// = 2
var _horizon:Number;// = 100
var _density:Number;// = 200
var _areaHeight:Number;// = 200
var _areaWidth:Number;// = 200
var _intensity:Number;// = 1
private var initialized:Boolean;
private var angle2:Number;// = 8
private var angle:Number;// = 0
var _wind:Number;// = 0
public function SnowEffect(){
_intensity = 1;
_vy = 2;
_yRange = 2;
_horizon = 100;
_wind = 0;
_areaWidth = 200;
_areaHeight = 200;
_density = 200;
pool = new Object();
angle = 0;
angle2 = 8;
super();
mouseEnabled = (mouseChildren = false);
}
public function stop():void{
var _local1:String;
var _local2:SnowFlake;
removeEventListener(Event.ENTER_FRAME, dynamicWind);
for (_local1 in pool) {
_local2 = pool[_local1];
_local2.stop();
};
}
public function play():void{
var _local1:String;
var _local2:SnowFlake;
for (_local1 in pool) {
_local2 = pool[_local1];
_local2.play();
};
addEventListener(Event.ENTER_FRAME, dynamicWind);
}
public function set horizon(_arg1:Number):void{
_horizon = _arg1;
}
public function set areaHeight(_arg1:Number):void{
_areaHeight = _arg1;
}
public function hide():void{
alpha = 0;
}
public function set areaWidth(_arg1:Number):void{
_areaWidth = _arg1;
}
public function set flakeClassName(_arg1:String):void{
var _local2:int;
var _local3:SnowFlake;
if (!initialized){
initialized = true;
_local2 = 0;
while (_local2 < _density) {
_local3 = new SnowFlake(_arg1, this);
addChild(_local3);
pool[_local2] = _local3;
_local2++;
};
};
}
private function update():void{
var _local1:String;
var _local2:SnowFlake;
for (_local1 in pool) {
_local2 = pool[_local1];
_local2.update();
};
}
public function set density(_arg1:Number):void{
_density = _arg1;
}
public function destroy():void{
var _local1:String;
var _local2:SnowFlake;
for (_local1 in pool) {
_local2 = pool[_local1];
_local2.destroy();
delete pool[_local1];
};
}
public function show():void{
alpha = 1;
}
private function dynamicWind(_arg1:Event):void{
var _local2:int;
var _local3:int;
_local2 = int((Math.sin(this.angle2) * 8));
_local3 = int((Math.sin(angle) * _local2));
_wind = (_local3 / 2);
angle = (angle + 0.2);
angle2 = (angle2 + 0.22);
update();
}
}
}//package com.neatfilm.effects.snow
Section 350
//SnowFlake (com.neatfilm.effects.snow.SnowFlake)
package com.neatfilm.effects.snow {
import flash.utils.*;
import flash.display.*;
import flash.events.*;
import flash.filters.*;
public class SnowFlake extends Sprite {
private var flake:DisplayObject;
private var wind:Number;
private var opacity:Number;
private var areaHeight:Number;
private var areaWidth:Number;
private var speed:Number;
private var blur:Number;
private var effect:SnowEffect;
private var changed:Boolean;
private var random:Number;
public function SnowFlake(_arg1:String, _arg2:SnowEffect){
var _local3:Class;
super();
this.effect = _arg2;
_local3 = (getDefinitionByName(_arg1) as Class);
flake = new (_local3);
addChild(flake);
reset();
x = (Math.random() * areaWidth);
y = (Math.random() * areaHeight);
}
public function stop():void{
cacheAsBitmap = false;
removeEventListener(Event.ENTER_FRAME, move);
}
private function restart():void{
x = (Math.random() * areaWidth);
y = 0;
if (changed){
reset();
};
}
public function play():void{
cacheAsBitmap = true;
addEventListener(Event.ENTER_FRAME, move);
}
private function reset():void{
var _local1:Number;
var _local2:Number;
var _local3:BlurFilter;
_local1 = effect._yRange;
random = ((Math.random() * Math.random()) * _local1);
changed = false;
speed = ((random + 1) * effect._vy);
areaHeight = (effect._areaHeight - ((effect._horizon * (_local1 - random)) / _local1));
areaWidth = effect._areaWidth;
blur = ((Math.abs(((_local1 / 2) - random)) * 4) / _local1);
opacity = ((random)>=(_local1 / 2)) ? 1 : ((_local1 - (random * 2)) / _local1);
wind = ((((Math.random() * 2) - 1) * effect._intensity) + effect._wind);
_local2 = ((random / _local1) + 0.5);
scaleX = _local2;
scaleY = (_local2 * (Math.abs((Math.random() - 0.5)) + 0.5));
_local3 = new BlurFilter(Math.abs(wind), blur, 2);
filters = [_local3];
}
public function update():void{
changed = true;
}
private function move(_arg1:Event):void{
x = (x + wind);
y = (y + speed);
if ((((((x < 0)) || ((x > areaWidth)))) || ((y > areaHeight)))){
restart();
};
}
public function destroy():void{
stop();
effect = null;
removeChild(flake);
parent.removeChild(this);
}
}
}//package com.neatfilm.effects.snow
Section 351
//0xx_250 (GoGoPenguin_fla.0xx_250)
package GoGoPenguin_fla {
import flash.utils.*;
import flash.display.*;
import flash.net.*;
import flash.events.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import flash.filters.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class 0xx_250 extends MovieClip {
public var throwIce:MovieClip;
public function 0xx_250(){
addFrameScript(1, frame2);
}
function frame2(){
stop();
MovieClip(parent).penguin_mc.visible = true;
}
}
}//package GoGoPenguin_fla
Section 352
//adas_294 (GoGoPenguin_fla.adas_294)
package GoGoPenguin_fla {
import flash.display.*;
public dynamic class adas_294 extends MovieClip {
public function adas_294(){
addFrameScript(19, frame20);
}
function frame20(){
stop();
MovieClip(parent).gotoAndStop("throwfood");
}
}
}//package GoGoPenguin_fla
Section 353
//adBoxnew_2 (GoGoPenguin_fla.adBoxnew_2)
package GoGoPenguin_fla {
import flash.display.*;
public dynamic class adBoxnew_2 extends MovieClip {
public var _mc:MovieClip;
public function adBoxnew_2(){
addFrameScript(0, frame1);
}
function frame1(){
}
}
}//package GoGoPenguin_fla
Section 354
//assets_4 (GoGoPenguin_fla.assets_4)
package GoGoPenguin_fla {
import flash.display.*;
public dynamic class assets_4 extends MovieClip {
public function assets_4(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package GoGoPenguin_fla
Section 355
//azaza_279 (GoGoPenguin_fla.azaza_279)
package GoGoPenguin_fla {
import flash.display.*;
public dynamic class azaza_279 extends MovieClip {
public function azaza_279(){
addFrameScript(31, frame32);
}
function frame32(){
stop();
MovieClip(parent).gotoAndStop("idle");
}
}
}//package GoGoPenguin_fla
Section 356
//bg1_290 (GoGoPenguin_fla.bg1_290)
package GoGoPenguin_fla {
import flash.utils.*;
import flash.display.*;
import flash.net.*;
import flash.events.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import flash.filters.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class bg1_290 extends MovieClip {
public var birdFly:Boolean;
public var obj1:MovieClip;
public var obj2:MovieClip;
public var escape1Var:Boolean;
public var moveToLift:Boolean;
public var mc1:MovieClip;
public var penguin_mc:MovieClip;
public var obj1Var:Boolean;
public function bg1_290(){
addFrameScript(0, frame1);
}
public function obj1Fun(_arg1:MouseEvent){
if (!obj1Var){
obj1Var = true;
obj1.visible = false;
penguin_mc.gotoAndStop("withfood");
};
}
public function birdFishFun(_arg1:MouseEvent){
trace(("crt=" + _arg1.currentTarget.currentFrame));
if ((((mc1.currentFrame == 157)) && ((penguin_mc.currentLabel == "withIce")))){
trace("ice");
if ((((((_arg1.currentTarget.currentFrame > 45)) && ((_arg1.currentTarget.currentFrame < 80)))) || ((((_arg1.currentTarget.currentFrame > 240)) && ((_arg1.currentTarget.currentFrame < 280)))))){
trace("throw");
penguin_mc.gotoAndStop("throwIce");
};
};
}
public function liftPenguinFun(){
escape1Var = true;
penguin_mc.visible = false;
if (mc1.lift_mc.currentFrame == 1){
mc1.lift_mc.gotoAndPlay(2);
};
}
public function penguinMoveFun(_arg1:MouseEvent){
}
public function birdFlyFun(_arg1:MouseEvent){
if (mc1.currentFrame == 84){
birdFly = true;
mc1.gotoAndPlay(85);
};
}
public function pondHitFun(_arg1:MouseEvent){
if ((((((mc1.currentFrame == 1)) && (obj1Var))) && ((penguin_mc.currentLabel == "withfood")))){
swapChildren(penguin_mc, mc1);
penguin_mc.gotoAndStop("walkwithfood");
};
}
public function obj2Fun(_arg1:MouseEvent){
if ((((((penguin_mc.currentLabel == "throwfood")) && (obj1Var))) && (birdFly))){
penguin_mc.gotoAndStop("backPos");
};
}
function frame1(){
obj1Var = false;
birdFly = false;
moveToLift = false;
escape1Var = false;
obj1.buttonMode = true;
obj1.tabEnabled = false;
penguin_mc.buttonMode = true;
penguin_mc.tabEnabled = false;
obj1.addEventListener(MouseEvent.MOUSE_DOWN, obj1Fun);
obj2.buttonMode = true;
obj2.tabEnabled = false;
obj2.addEventListener(MouseEvent.MOUSE_DOWN, obj2Fun);
penguin_mc.addEventListener(MouseEvent.MOUSE_DOWN, penguinMoveFun);
}
public function liftUpFun(_arg1:MouseEvent){
if (penguin_mc.currentLabel == "afterIceThrow"){
if ((((mc1.currentFrame > 275)) && ((mc1.currentFrame < 320)))){
penguin_mc.gotoAndStop("moveToLift");
};
};
}
}
}//package GoGoPenguin_fla
Section 357
//bg10_5 (GoGoPenguin_fla.bg10_5)
package GoGoPenguin_fla {
import flash.utils.*;
import flash.display.*;
import flash.net.*;
import flash.events.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import flash.filters.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class bg10_5 extends MovieClip {
public var mc10:MovieClip;
public var catchId:int;
public function bg10_5(){
addFrameScript(0, frame1);
}
function frame1(){
}
public function dadFun(_arg1:MouseEvent){
if (mc10.currentFrame == 86){
if (mc10.catch_mc.currentFrame == 1){
clearTimeout(catchId);
mc10.gotoAndPlay(122);
};
};
}
public function catchFun(){
if (mc10.currentFrame == 86){
clearTimeout(catchId);
mc10.catch_mc.gotoAndPlay(2);
};
}
}
}//package GoGoPenguin_fla
Section 358
//bg2_255 (GoGoPenguin_fla.bg2_255)
package GoGoPenguin_fla {
import flash.utils.*;
import flash.display.*;
import flash.net.*;
import flash.events.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import flash.filters.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class bg2_255 extends MovieClip {
public var do1:MovieClip;
public var mc2:MovieClip;
public var wood1Var:Boolean;
public var dummyWood:MovieClip;
public var penguin_mc:MovieClip;
public var escape2Var:Boolean;
public var wood2Var:Boolean;
public function bg2_255(){
addFrameScript(0, frame1);
}
public function obj1Fun(_arg1:MouseEvent){
if ((((mc2.currentFrame == 1)) && ((penguin_mc.currentLabel == "idle")))){
penguin_mc.gotoAndStop("takeRope");
};
}
public function crossPenguinFun(_arg1:MouseEvent){
if (((wood1Var) && (wood2Var))){
if (mc2.currentFrame == 221){
escape2Var = true;
mc2.gotoAndPlay(225);
};
} else {
if (mc2.currentFrame == 221){
mc2.gotoAndStop(222);
};
};
}
public function wood2Fun(_arg1:MouseEvent){
var _local2:MovieClip;
if (((!(wood2Var)) && ((mc2.currentFrame == 221)))){
_arg1.currentTarget.visible = false;
_local2 = new wood2Mc();
_local2.x = mouseX;
_local2.y = mouseY;
_local2.name = "attach2";
addChild(_local2);
dummyWood = _local2;
dummyWood.startDrag();
};
}
public function treeHitFun(_arg1:MouseEvent){
if (mc2.currentFrame == 137){
mc2.gotoAndPlay(138);
};
}
public function mouseUpFun(_arg1:MouseEvent){
if (dummyWood != null){
if (dummyWood.name == "attach1"){
if (((dummyWood.hitTestObject(mc2.wood1)) && ((mc2.wood1.currentFrame == 1)))){
wood1Var = true;
dummyWood.stopDrag();
dummyWood.parent.removeChild(dummyWood);
dummyWood = null;
mc2.wood1.gotoAndStop(2);
};
} else {
if (dummyWood.name == "attach2"){
if (((dummyWood.hitTestObject(mc2.wood2)) && ((mc2.wood2.currentFrame == 1)))){
wood2Var = true;
dummyWood.stopDrag();
dummyWood.parent.removeChild(dummyWood);
dummyWood = null;
mc2.wood2.gotoAndStop(2);
};
};
};
};
}
function frame1(){
wood1Var = false;
wood2Var = false;
escape2Var = false;
dummyWood = new MovieClip();
dummyWood = null;
do1.buttonMode = true;
do1.tabEnabled = false;
addEventListener(MouseEvent.MOUSE_UP, mouseUpFun);
do1.addEventListener(MouseEvent.MOUSE_DOWN, do1Fun);
}
public function do1Fun(_arg1:MouseEvent){
if ((((penguin_mc.currentLabel == "withRopeIdle")) && ((mc2.currentFrame == 1)))){
penguin_mc.visible = false;
mc2.gotoAndPlay(81);
};
}
public function wood1Fun(_arg1:MouseEvent){
var _local2:MovieClip;
if (((!(wood1Var)) && ((mc2.currentFrame == 221)))){
_arg1.currentTarget.visible = false;
_local2 = new wood1Mc();
_local2.x = mouseX;
_local2.y = mouseY;
_local2.name = "attach1";
addChild(_local2);
dummyWood = _local2;
dummyWood.startDrag();
};
}
}
}//package GoGoPenguin_fla
Section 359
//bg3_224 (GoGoPenguin_fla.bg3_224)
package GoGoPenguin_fla {
import flash.utils.*;
import flash.display.*;
import flash.net.*;
import flash.events.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import flash.filters.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class bg3_224 extends MovieClip {
public var hit1:MovieClip;
public var closeWindow:Boolean;
public var obj1:MovieClip;
public var iceTaken:Boolean;
public var hit1Var:Boolean;
public var fishInside:Boolean;
public var penguin_mc:MovieClip;
public var obj1Var:Boolean;
public var fish_mc:MovieClip;
public var escapeVar:Boolean;
public var window:MovieClip;
public function bg3_224(){
addFrameScript(0, frame1);
}
public function obj1Fun(_arg1:MouseEvent){
if (penguin_mc.currentFrame == 3){
if (penguin_mc.throwIce.currentLabel == "step1"){
penguin_mc.throwIce.gotoAndPlay("step2Play");
};
};
}
public function fishMove(_arg1:MouseEvent){
if ((((penguin_mc.currentFrame == 3)) && (iceTaken))){
if (penguin_mc.throwIce.currentLabel == "snowTaken"){
penguin_mc.throwIce.gotoAndPlay("throwSnow");
};
};
}
public function windowCloseFun(_arg1:MouseEvent){
trace(escapeVar);
if (!escapeVar){
if (window.currentFrame == 1){
if (penguin_mc.currentFrame == 3){
if (penguin_mc.throwIce.currentFrame < 224){
closeWindow = true;
};
};
window.gotoAndPlay(2);
} else {
if (window.currentFrame == 9){
closeWindow = false;
window.gotoAndPlay(10);
};
};
};
}
function frame1(){
obj1Var = false;
iceTaken = false;
closeWindow = false;
fishInside = false;
escapeVar = false;
hit1Var = false;
penguin_mc.visible = false;
hit1.buttonMode = true;
hit1.tabEnabled = false;
obj1.buttonMode = true;
obj1.tabEnabled = false;
obj1.addEventListener(MouseEvent.MOUSE_DOWN, obj1Fun);
penguin_mc.addEventListener(MouseEvent.MOUSE_DOWN, penguinFun);
fish_mc.buttonMode = true;
fish_mc.tabEnabled = false;
fish_mc.addEventListener(MouseEvent.MOUSE_DOWN, fishMove);
window.wHit.addEventListener(MouseEvent.MOUSE_DOWN, windowCloseFun);
hit1.addEventListener(MouseEvent.MOUSE_DOWN, hit1Fun);
}
public function hit1Fun(_arg1:MouseEvent){
if (((!(hit1Var)) && ((penguin_mc.currentFrame == 1)))){
hit1Var = true;
penguin_mc.gotoAndStop(3);
} else {
if (penguin_mc.currentFrame == 3){
if (penguin_mc.throwIce.currentLabel == "throwIdle"){
penguin_mc.throwIce.gotoAndPlay("downPlay");
};
};
};
}
public function penguinFun(_arg1:MouseEvent){
if (penguin_mc.currentFrame == 3){
if (penguin_mc.throwIce.currentLabel == "down1"){
penguin_mc.throwIce.gotoAndPlay("down1Play");
};
if (((closeWindow) && (fishInside))){
if (penguin_mc.throwIce.currentLabel == "escape"){
escapeVar = true;
penguin_mc.throwIce.gotoAndPlay("escapePlay");
};
} else {
if (penguin_mc.throwIce.currentLabel == "escape"){
escapeVar = true;
penguin_mc.throwIce.gotoAndPlay("escapePlay");
};
};
};
}
}
}//package GoGoPenguin_fla
Section 360
//bg4_171 (GoGoPenguin_fla.bg4_171)
package GoGoPenguin_fla {
import flash.utils.*;
import flash.display.*;
import flash.net.*;
import flash.events.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import flash.filters.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class bg4_171 extends MovieClip {
public var bear_mc:MovieClip;
public var thirdMove:Boolean;
public var frameNo:Number;
public var obj1:MovieClip;
public var obj2:MovieClip;
public var obj2Var:Boolean;
public var startFishingVar:Boolean;
public var catchId:int;
public var mc4:MovieClip;
public var secondMove:Boolean;
public var penguin_mc:MovieClip;
public var firstMove:Boolean;
public var obj1Var:Boolean;
public var fishOut:Boolean;
public var riverHit:MovieClip;
public var readyToFish:Boolean;
public function bg4_171(){
addFrameScript(0, frame1);
}
public function bearFun(_arg1:MouseEvent){
if (((fishOut) && ((penguin_mc.currentLabel == "takeFish")))){
penguin_mc.gotoAndStop("fishToBear");
};
}
public function obj1Fun(_arg1:MouseEvent){
if (penguin_mc.currentLabel == "idle"){
obj1Var = true;
penguin_mc.gotoAndStop("takeHook");
};
}
public function obj2Fun(_arg1:MouseEvent){
if (penguin_mc.currentLabel == "withHook"){
obj2Var = true;
penguin_mc.gotoAndStop("takeFood");
};
}
function frame1(){
obj1Var = false;
obj2Var = false;
readyToFish = false;
startFishingVar = false;
fishOut = false;
firstMove = false;
secondMove = false;
thirdMove = false;
frameNo = 1;
obj1.buttonMode = true;
obj1.tabEnabled = false;
obj2.buttonMode = true;
obj2.tabEnabled = false;
bear_mc.buttonMode = true;
bear_mc.tabEnabled = false;
penguin_mc.buttonMode = true;
penguin_mc.tabEnabled = false;
riverHit.buttonMode = true;
riverHit.tabEnabled = false;
obj1.addEventListener(MouseEvent.MOUSE_DOWN, obj1Fun);
obj2.addEventListener(MouseEvent.MOUSE_DOWN, obj2Fun);
penguin_mc.addEventListener(MouseEvent.MOUSE_DOWN, penguinFun);
riverHit.addEventListener(MouseEvent.MOUSE_DOWN, riverHitFun);
bear_mc.addEventListener(MouseEvent.MOUSE_DOWN, bearFun);
}
public function penguinFun(_arg1:MouseEvent){
if (penguin_mc.currentLabel == "hookWithFood"){
penguin_mc.gotoAndStop("moveTo");
};
if (((startFishingVar) && ((penguin_mc.currentLabel == "startFishing")))){
penguin_mc.gotoAndStop("takeFish");
};
if (((firstMove) && ((penguin_mc.currentLabel == "fishToBear")))){
clearTimeout(catchId);
penguin_mc.gotoAndStop("firstMove");
};
if (((secondMove) && ((penguin_mc.currentLabel == "firstMove")))){
clearTimeout(catchId);
penguin_mc.gotoAndStop("secondMove");
};
if (mc4.currentLabel == "bearFall"){
penguin_mc.visible = false;
mc4.gotoAndPlay("escape");
};
}
public function riverHitFun(_arg1:MouseEvent){
if (penguin_mc.currentLabel == "idleFishing"){
penguin_mc.gotoAndStop("startFishing");
};
}
public function catchFun(){
clearTimeout(catchId);
if (mc4.currentFrame == 321){
mc4.visible = false;
frameNo = mc4.bird.currentFrame;
penguin_mc.gotoAndStop("fall1");
};
if (mc4.currentFrame == 349){
mc4.visible = false;
frameNo = mc4.bird.currentFrame;
penguin_mc.gotoAndStop("fall2");
};
trace(("frame=" + frameNo));
}
}
}//package GoGoPenguin_fla
Section 361
//bg5_133 (GoGoPenguin_fla.bg5_133)
package GoGoPenguin_fla {
import flash.display.*;
import flash.events.*;
public dynamic class bg5_133 extends MovieClip {
public var axe2:MovieClip;
public var obj1:SimpleButton;
public var treeHit:SimpleButton;
public var choosePlace:Boolean;
public var treeFall_mc:MovieClip;
public var axe_mc:MovieClip;
public var penguin_mc:MovieClip;
public var snow_mc:MovieClip;
public var hit2:SimpleButton;
public function bg5_133(){
addFrameScript(0, frame1);
}
public function hit2Fun(_arg1:MouseEvent){
if (penguin_mc.currentLabel == "axeIdle"){
penguin_mc.gotoAndStop("wrongDig");
};
if (penguin_mc.currentLabel == "idle2"){
penguin_mc.gotoAndStop("wrong2");
};
}
public function obj1Fun(_arg1:MouseEvent){
if (penguin_mc.currentLabel == "idle"){
penguin_mc.gotoAndStop("takeAxe");
};
}
public function treeHitFun(_arg1:MouseEvent){
if (penguin_mc.currentLabel == "take2Idle"){
penguin_mc.gotoAndStop("toCutTree");
};
}
public function obj2Fun(_arg1:MouseEvent){
if (penguin_mc.currentLabel == "idle2"){
penguin_mc.gotoAndStop("take2Axe");
};
}
function frame1(){
choosePlace = false;
snow_mc.visible = false;
axe2.visible = false;
penguin_mc.buttonMode = true;
penguin_mc.tabEnabled = false;
axe_mc.buttonMode = true;
axe_mc.tabEnabled = false;
obj1.addEventListener(MouseEvent.MOUSE_DOWN, obj1Fun);
penguin_mc.addEventListener(MouseEvent.MOUSE_DOWN, penguinFun);
hit2.addEventListener(MouseEvent.MOUSE_DOWN, hit2Fun);
axe_mc.addEventListener(MouseEvent.MOUSE_DOWN, hit1Fun);
treeHit.addEventListener(MouseEvent.MOUSE_DOWN, treeHitFun);
}
public function hit1Fun(_arg1:MouseEvent){
if (axe_mc.currentFrame == 1){
if (penguin_mc.currentLabel == "axeIdle"){
penguin_mc.gotoAndStop("correctPlace");
};
};
}
public function penguinFun(_arg1:MouseEvent){
if (penguin_mc.currentLabel == "cutIdle"){
treeFall_mc.gotoAndStop(3);
penguin_mc.gotoAndStop("escape");
};
}
}
}//package GoGoPenguin_fla
Section 362
//bg6_111 (GoGoPenguin_fla.bg6_111)
package GoGoPenguin_fla {
import flash.display.*;
import flash.events.*;
public dynamic class bg6_111 extends MovieClip {
public var hit1:SimpleButton;
public var obj1:SimpleButton;
public var axe_mc:MovieClip;
public var penguin_mc:MovieClip;
public var mc6:MovieClip;
public function bg6_111(){
addFrameScript(0, frame1);
}
public function obj1Fun(_arg1:MouseEvent){
if (penguin_mc.currentLabel == "idle"){
penguin_mc.gotoAndStop("toAxe");
};
}
function frame1(){
axe_mc.visible = false;
penguin_mc.buttonMode = true;
penguin_mc.tabEnabled = false;
obj1.addEventListener(MouseEvent.MOUSE_DOWN, obj1Fun);
hit1.addEventListener(MouseEvent.MOUSE_DOWN, hit1Fun);
penguin_mc.addEventListener(MouseEvent.MOUSE_DOWN, penguinFun);
}
public function hit1Fun(_arg1:MouseEvent){
if ((((penguin_mc.currentLabel == "axeIdle")) && ((mc6.currentFrame == 1)))){
mc6.gotoAndPlay("dig");
penguin_mc.visible = false;
};
}
public function penguinFun(_arg1:MouseEvent){
if ((((penguin_mc.currentLabel == "snowIdle")) && ((mc6.currentFrame > 223)))){
penguin_mc.gotoAndStop("snowDig");
};
}
}
}//package GoGoPenguin_fla
Section 363
//bg7_85 (GoGoPenguin_fla.bg7_85)
package GoGoPenguin_fla {
import flash.display.*;
import flash.events.*;
public dynamic class bg7_85 extends MovieClip {
public var hit1:MovieClip;
public var hitIce:Boolean;
public var penguinMove:Boolean;
public var hit1Var:Boolean;
public var penguin_mc:MovieClip;
public var hit2Var:Boolean;
public var snow_mc:MovieClip;
public var hit2:MovieClip;
public function bg7_85(){
addFrameScript(0, frame1);
}
public function hit2Fun(_arg1:MouseEvent){
if (penguinMove){
if (!hit2Var){
hit2Var = true;
hit2.gotoAndPlay(2);
};
};
}
function frame1(){
hit1Var = false;
hit2Var = false;
hitIce = false;
penguinMove = false;
hit1.buttonMode = true;
hit1.tabEnabled = false;
hit2.buttonMode = true;
hit2.tabEnabled = false;
penguin_mc.buttonMode = true;
penguin_mc.tabEnabled = false;
penguin_mc.addEventListener(MouseEvent.MOUSE_DOWN, penguinFun);
hit1.addEventListener(MouseEvent.MOUSE_DOWN, hit1Fun);
hit2.addEventListener(MouseEvent.MOUSE_DOWN, hit2Fun);
}
public function hit1Fun(_arg1:MouseEvent){
if (penguinMove){
if (!hit1Var){
hit1Var = true;
hit1.gotoAndPlay(2);
};
};
}
public function penguinFun(_arg1:MouseEvent){
if (penguin_mc.currentLabel == "idle"){
penguinMove = true;
penguin_mc.gotoAndStop("escape");
};
}
}
}//package GoGoPenguin_fla
Section 364
//bg8_61 (GoGoPenguin_fla.bg8_61)
package GoGoPenguin_fla {
import flash.display.*;
public dynamic class bg8_61 extends MovieClip {
public var penguin_mc:MovieClip;
public var ship_mc:MovieClip;
public function bg8_61(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package GoGoPenguin_fla
Section 365
//bg9pag_383 (GoGoPenguin_fla.bg9pag_383)
package GoGoPenguin_fla {
import flash.display.*;
public dynamic class bg9pag_383 extends MovieClip {
public var signalVar:Boolean;
public function bg9pag_383(){
addFrameScript(0, frame1);
}
function frame1(){
signalVar = false;
}
}
}//package GoGoPenguin_fla
Section 366
//bgContMc_426 (GoGoPenguin_fla.bgContMc_426)
package GoGoPenguin_fla {
import flash.display.*;
public dynamic class bgContMc_426 extends MovieClip {
public function bgContMc_426(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package GoGoPenguin_fla
Section 367
//bnvbg9_48 (GoGoPenguin_fla.bnvbg9_48)
package GoGoPenguin_fla {
import flash.display.*;
public dynamic class bnvbg9_48 extends MovieClip {
public function bnvbg9_48(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package GoGoPenguin_fla
Section 368
//dertgrbg6bg7_86 (GoGoPenguin_fla.dertgrbg6bg7_86)
package GoGoPenguin_fla {
import flash.display.*;
public dynamic class dertgrbg6bg7_86 extends MovieClip {
public function dertgrbg6bg7_86(){
addFrameScript(0, frame1, 13, frame14);
}
function frame14(){
stop();
}
function frame1(){
stop();
}
}
}//package GoGoPenguin_fla
Section 369
//dfgret_414 (GoGoPenguin_fla.dfgret_414)
package GoGoPenguin_fla {
import flash.display.*;
import flash.net.*;
import flash.events.*;
public dynamic class dfgret_414 extends MovieClip {
public var logo_mc:MovieClip;
public function dfgret_414(){
addFrameScript(0, frame1);
}
function frame1(){
logo_mc.buttonMode = true;
logo_mc.addEventListener(MouseEvent.MOUSE_DOWN, logoFun);
}
public function logoFun(_arg1:MouseEvent){
navigateToURL(new URLRequest("http://www.timefall.com/"), "_blank");
}
}
}//package GoGoPenguin_fla
Section 370
//dfgretcopy_438 (GoGoPenguin_fla.dfgretcopy_438)
package GoGoPenguin_fla {
import flash.display.*;
import flash.net.*;
import flash.events.*;
public dynamic class dfgretcopy_438 extends MovieClip {
public var logo_mc:MovieClip;
public function dfgretcopy_438(){
addFrameScript(0, frame1);
}
function frame1(){
logo_mc.buttonMode = true;
logo_mc.addEventListener(MouseEvent.MOUSE_DOWN, logoFun);
}
public function logoFun(_arg1:MouseEvent){
navigateToURL(new URLRequest("http://www.timefall.com/"), "_blank");
}
}
}//package GoGoPenguin_fla
Section 371
//dftygebg9_41 (GoGoPenguin_fla.dftygebg9_41)
package GoGoPenguin_fla {
import flash.utils.*;
import flash.display.*;
import flash.net.*;
import flash.events.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import flash.filters.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class dftygebg9_41 extends MovieClip {
public function dftygebg9_41(){
addFrameScript(1, frame2);
}
function frame2(){
MovieClip(root).playSound("signal");
}
}
}//package GoGoPenguin_fla
Section 372
//dftyhgdbg6_112 (GoGoPenguin_fla.dftyhgdbg6_112)
package GoGoPenguin_fla {
import flash.utils.*;
import flash.display.*;
import flash.net.*;
import flash.events.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import flash.filters.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class dftyhgdbg6_112 extends MovieClip {
public function dftyhgdbg6_112(){
addFrameScript(0, frame1, 94, frame95, 102, frame103, 110, frame111, 117, frame118, 127, frame128, 131, frame132, 138, frame139, 143, frame144, 147, frame148, 199, frame200, 304, frame305);
}
function frame144(){
MovieClip(root).playSound("snowremove");
}
function frame305(){
stop();
}
function frame200(){
MovieClip(parent).penguin_mc.gotoAndStop("snowIdle");
MovieClip(parent).penguin_mc.visible = true;
MovieClip(parent).axe_mc.visible = true;
}
function frame95(){
MovieClip(root).playSound("snowhit");
}
function frame1(){
stop();
}
function frame103(){
MovieClip(root).playSound("snowremove");
}
function frame111(){
MovieClip(root).playSound("snowhit");
}
function frame118(){
MovieClip(root).playSound("snowremove");
}
function frame128(){
MovieClip(root).playSound("snowhit");
}
function frame132(){
MovieClip(root).playSound("snowremove");
}
function frame139(){
MovieClip(root).playSound("snowhit");
}
function frame148(){
MovieClip(root).playSound("sealion");
}
}
}//package GoGoPenguin_fla
Section 373
//dggtrbg8_64 (GoGoPenguin_fla.dggtrbg8_64)
package GoGoPenguin_fla {
import flash.utils.*;
import flash.display.*;
import flash.net.*;
import flash.events.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import flash.filters.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class dggtrbg8_64 extends MovieClip {
public var hit_mc:MovieClip;
public function dggtrbg8_64(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
hit_mc.buttonMode = true;
hit_mc.tabEnabled = false;
hit_mc.addEventListener(MouseEvent.MOUSE_DOWN, shipFallFun);
}
public function shipFallFun(_arg1:MouseEvent){
if (MovieClip(parent).currentFrame <= 100){
MovieClip(root).shipFall = true;
MovieClip(parent).stop();
MovieClip(parent).ship.gotoAndStop(2);
};
}
}
}//package GoGoPenguin_fla
Section 374
//fasfasmuu_437 (GoGoPenguin_fla.fasfasmuu_437)
package GoGoPenguin_fla {
import flash.display.*;
public dynamic class fasfasmuu_437 extends MovieClip {
public function fasfasmuu_437(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package GoGoPenguin_fla
Section 375
//fhcgnmuu_434 (GoGoPenguin_fla.fhcgnmuu_434)
package GoGoPenguin_fla {
import flash.display.*;
public dynamic class fhcgnmuu_434 extends MovieClip {
public var mute_btn:MovieClip;
public function fhcgnmuu_434(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package GoGoPenguin_fla
Section 376
//fhcgnmuucopy_439 (GoGoPenguin_fla.fhcgnmuucopy_439)
package GoGoPenguin_fla {
import flash.display.*;
public dynamic class fhcgnmuucopy_439 extends MovieClip {
public var mute_btn:MovieClip;
public function fhcgnmuucopy_439(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package GoGoPenguin_fla
Section 377
//ftgytybg6bg7_88 (GoGoPenguin_fla.ftgytybg6bg7_88)
package GoGoPenguin_fla {
import flash.display.*;
public dynamic class ftgytybg6bg7_88 extends MovieClip {
public function ftgytybg6bg7_88(){
addFrameScript(0, frame1, 15, frame16);
}
function frame16(){
stop();
}
function frame1(){
stop();
}
}
}//package GoGoPenguin_fla
Section 378
//ghghpg_427 (GoGoPenguin_fla.ghghpg_427)
package GoGoPenguin_fla {
import flash.utils.*;
import flash.display.*;
import flash.net.*;
import flash.events.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import flash.filters.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class ghghpg_427 extends MovieClip {
public var time_txt:TextField;
public var next_btn:SimpleButton;
public var try_btn:SimpleButton;
public var more_btn:SimpleButton;
public function ghghpg_427(){
addFrameScript(0, frame1, 1, frame2, 2, frame3);
}
public function replayFun(_arg1:MouseEvent){
MovieClip(root).level_mc.visible = false;
setTimeout(MovieClip(root).replayLevel, 200);
}
function frame3(){
stop();
more_btn.addEventListener(MouseEvent.MOUSE_DOWN, moreFun);
if (MovieClip(parent).min <= 9){
if (MovieClip(parent).tim <= 9){
time_txt.text = String(((("0" + MovieClip(parent).min) + ":0") + MovieClip(parent).tim));
} else {
time_txt.text = String(((("0" + MovieClip(parent).min) + ":") + MovieClip(parent).tim));
};
} else {
if (MovieClip(parent).tim <= 9){
time_txt.text = String(((MovieClip(parent).min + ":0") + MovieClip(parent).tim));
} else {
time_txt.text = String(((MovieClip(parent).min + ":") + MovieClip(parent).tim));
};
};
}
function frame1(){
stop();
next_btn.addEventListener(MouseEvent.MOUSE_DOWN, nextFun);
next_btn.addEventListener(MouseEvent.MOUSE_OVER, nextOver);
}
public function nextOver(_arg1:MouseEvent){
MovieClip(root).playSound("wrong");
}
function frame2(){
stop();
try_btn.addEventListener(MouseEvent.MOUSE_DOWN, tryFun);
try_btn.addEventListener(MouseEvent.MOUSE_OVER, nextOver);
}
public function nextFun(_arg1:MouseEvent){
MovieClip(root).level_mc.visible = false;
setTimeout(MovieClip(root).levelUpFun, 200);
}
public function tryFun(_arg1:MouseEvent){
MovieClip(root).level_mc.visible = false;
setTimeout(MovieClip(root).levelUpFun, 200);
}
public function moreFun(_arg1:MouseEvent){
navigateToURL(new URLRequest("http://www.timefall.com/"), "_blank");
}
}
}//package GoGoPenguin_fla
Section 379
//gyuiygfubg9_46 (GoGoPenguin_fla.gyuiygfubg9_46)
package GoGoPenguin_fla {
import flash.display.*;
public dynamic class gyuiygfubg9_46 extends MovieClip {
public function gyuiygfubg9_46(){
addFrameScript(0, frame1, 9, frame10);
}
function frame10(){
stop();
}
function frame1(){
stop();
}
}
}//package GoGoPenguin_fla
Section 380
//gyygubg10_35 (GoGoPenguin_fla.gyygubg10_35)
package GoGoPenguin_fla {
import flash.utils.*;
import flash.display.*;
import flash.net.*;
import flash.events.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import flash.filters.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class gyygubg10_35 extends MovieClip {
public function gyygubg10_35(){
addFrameScript(48, frame49);
}
function frame49(){
stop();
MovieClip(root).clearListener();
}
}
}//package GoGoPenguin_fla
Section 381
//herherhrcopypen4_190 (GoGoPenguin_fla.herherhrcopypen4_190)
package GoGoPenguin_fla {
import flash.utils.*;
import flash.display.*;
import flash.net.*;
import flash.events.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import flash.filters.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class herherhrcopypen4_190 extends MovieClip {
public var bird:MovieClip;
public function herherhrcopypen4_190(){
addFrameScript(0, frame1, 14, frame15, 15, frame16);
}
function frame15(){
bird.gotoAndPlay(MovieClip(parent).frameNo);
trace(MovieClip(parent).frameNo);
}
function frame16(){
bird.gotoAndPlay(MovieClip(parent).frameNo);
trace(MovieClip(parent).frameNo);
}
function frame1(){
stop();
}
}
}//package GoGoPenguin_fla
Section 382
//hguiuicopybg10_36 (GoGoPenguin_fla.hguiuicopybg10_36)
package GoGoPenguin_fla {
import flash.display.*;
public dynamic class hguiuicopybg10_36 extends MovieClip {
public function hguiuicopybg10_36(){
addFrameScript(86, frame87);
}
function frame87(){
gotoAndPlay(73);
}
}
}//package GoGoPenguin_fla
Section 383
//hiohobg9_44 (GoGoPenguin_fla.hiohobg9_44)
package GoGoPenguin_fla {
import flash.display.*;
public dynamic class hiohobg9_44 extends MovieClip {
public function hiohobg9_44(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package GoGoPenguin_fla
Section 384
//huiguibg9_39 (GoGoPenguin_fla.huiguibg9_39)
package GoGoPenguin_fla {
import flash.utils.*;
import flash.display.*;
import flash.net.*;
import flash.events.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import flash.filters.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class huiguibg9_39 extends MovieClip {
public var signal_mc:MovieClip;
public var door_mc:MovieClip;
public function huiguibg9_39(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
door_mc.buttonMode = true;
door_mc.tabEnabled = false;
door_mc.addEventListener(MouseEvent.MOUSE_DOWN, doorFun);
signal_mc.addEventListener(MouseEvent.MOUSE_DOWN, signalFun);
signal_mc.tabEnabled = false;
signal_mc.buttonMode = true;
}
function frame2(){
MovieClip(root).playSound("motorboat");
}
public function signalFun(_arg1:MouseEvent){
if ((((signal_mc.currentFrame == 2)) && (MovieClip(root).signalVar))){
signal_mc.gotoAndPlay(3);
};
}
public function doorFun(_arg1:MouseEvent){
if (door_mc.currentFrame == 1){
door_mc.gotoAndPlay(2);
};
}
}
}//package GoGoPenguin_fla
Section 385
//huiguicopybg9_58 (GoGoPenguin_fla.huiguicopybg9_58)
package GoGoPenguin_fla {
import flash.utils.*;
import flash.display.*;
import flash.net.*;
import flash.events.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import flash.filters.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class huiguicopybg9_58 extends MovieClip {
public function huiguicopybg9_58(){
addFrameScript(15, frame16, 29, frame30, 51, frame52);
}
function frame16(){
MovieClip(root).playSound("boatmove");
}
function frame30(){
}
function frame52(){
stop();
}
}
}//package GoGoPenguin_fla
Section 386
//huuhbg9_40 (GoGoPenguin_fla.huuhbg9_40)
package GoGoPenguin_fla {
import flash.display.*;
public dynamic class huuhbg9_40 extends MovieClip {
public function huuhbg9_40(){
addFrameScript(0, frame1, 15, frame16);
}
function frame16(){
stop();
MovieClip(parent.parent).gotoAndStop(48);
}
function frame1(){
stop();
}
}
}//package GoGoPenguin_fla
Section 387
//huuibg10_8 (GoGoPenguin_fla.huuibg10_8)
package GoGoPenguin_fla {
import flash.utils.*;
import flash.display.*;
import flash.net.*;
import flash.events.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import flash.filters.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class huuibg10_8 extends MovieClip {
public var dad_mc:MovieClip;
public var catch_mc:MovieClip;
public function huuibg10_8(){
addFrameScript(85, frame86, 199, frame200);
}
function frame200(){
stop();
MovieClip(root).bgChannel.stop();
MovieClip(root).playSound("end");
}
function frame86(){
stop();
MovieClip(parent).catchId = setTimeout(MovieClip(parent).catchFun, 1500);
dad_mc.buttonMode = true;
dad_mc.tabEnabled = false;
dad_mc.addEventListener(MouseEvent.MOUSE_DOWN, MovieClip(parent).dadFun);
}
}
}//package GoGoPenguin_fla
Section 388
//hvbnvb_70 (GoGoPenguin_fla.hvbnvb_70)
package GoGoPenguin_fla {
import flash.display.*;
public dynamic class hvbnvb_70 extends MovieClip {
public var penguin_mc:MovieClip;
public function hvbnvb_70(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
}
function frame2(){
trace("fall");
}
}
}//package GoGoPenguin_fla
Section 389
//jhioiocopybg8_69 (GoGoPenguin_fla.jhioiocopybg8_69)
package GoGoPenguin_fla {
import flash.utils.*;
import flash.display.*;
import flash.net.*;
import flash.events.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import flash.filters.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class jhioiocopybg8_69 extends MovieClip {
public function jhioiocopybg8_69(){
addFrameScript(7, frame8, 62, frame63);
}
function frame8(){
MovieClip(root).playSound("shipbroken");
}
function frame63(){
stop();
}
}
}//package GoGoPenguin_fla
Section 390
//jhkiiygubg8_78 (GoGoPenguin_fla.jhkiiygubg8_78)
package GoGoPenguin_fla {
import flash.utils.*;
import flash.display.*;
import flash.net.*;
import flash.events.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import flash.filters.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class jhkiiygubg8_78 extends MovieClip {
public function jhkiiygubg8_78(){
addFrameScript(1, frame2, 32, frame33);
}
function frame2(){
MovieClip(root).playSound("boatmove");
}
function frame33(){
stop();
}
}
}//package GoGoPenguin_fla
Section 391
//jyuioyio_99 (GoGoPenguin_fla.jyuioyio_99)
package GoGoPenguin_fla {
import flash.utils.*;
import flash.display.*;
import flash.net.*;
import flash.events.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import flash.filters.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class jyuioyio_99 extends MovieClip {
public function jyuioyio_99(){
addFrameScript(8, frame9);
}
function frame9(){
stop();
if (!MovieClip(parent.parent).hit1Var){
MovieClip(parent).gotoAndStop("firstHit");
} else {
if (!MovieClip(parent.parent).hit2Var){
MovieClip(parent).gotoAndStop("secondHit");
};
};
}
}
}//package GoGoPenguin_fla
Section 392
//MainPa_409 (GoGoPenguin_fla.MainPa_409)
package GoGoPenguin_fla {
import flash.display.*;
import flash.net.*;
import flash.events.*;
public dynamic class MainPa_409 extends MovieClip {
public var logo_mc:MovieClip;
public function MainPa_409(){
addFrameScript(0, frame1);
}
function frame1(){
logo_mc.buttonMode = true;
logo_mc.addEventListener(MouseEvent.MOUSE_DOWN, logoFun);
}
public function logoFun(_arg1:MouseEvent){
navigateToURL(new URLRequest("http://www.minijuegos.com/"), "_blank");
}
}
}//package GoGoPenguin_fla
Section 393
//MainTimeline (GoGoPenguin_fla.MainTimeline)
package GoGoPenguin_fla {
import flash.utils.*;
import flash.display.*;
import flash.net.*;
import flash.events.*;
import com.neatfilm.effects.snow.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import com.neatfilm.assets.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import flash.filters.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.printing.*;
import flash.xml.*;
import CPMStar.*;
public dynamic class MainTimeline extends MovieClip {
public var level_mc:MovieClip;
public var bgClass:Class;
public var min:int;
public var stopAction_mc:MovieClip;
public var myContextMenu:ContextMenu;
public var more_btn:SimpleButton;
public var tid:int;
public var restartVar:Boolean;
public var start_mc:MovieClip;
public var tim:int;
public var adBox:MovieClip;
public var logo_mc:MovieClip;
public var clickCnt:Number;
public var CPMStarSubPoolID:Number;
public var CPMStarPoolID:Number;
public var bgSoundObj:bgSound;
public var play_btn:SimpleButton;
public var soundTrans:SoundTransform;
public var bird_mc:MovieClip;
public var bgChannel2:SoundChannel;
public var bgSoundObj3:bgSound1;
public var bgChannel:SoundChannel;
public var menuItem:ContextMenuItem;
public var setScore:Number;
public var subSoundChannel:SoundChannel;
public var subSoundChannel1:SoundChannel;
public var signalVar:Boolean;
public var subSoundChannel2:SoundChannel;
public var levelScore:Number;
public var levels:int;
public var mute_mc:MovieClip;
public var load_mc:MovieClip;
public var effect:SnowEffect;
public var bgCont_mc:MovieClip;
public var gameScore:Number;
public var cont_mc:MovieClip;
public var walk_mc:MovieClip;
public var shipFall:Boolean;
public var bg_mc:MovieClip;
public function MainTimeline(){
addFrameScript(0, frame1, 2, frame3, 3, frame4, 4, frame5, 14, frame15);
}
public function mcFun(){
bgFun();
level_mc.y = -340;
level_mc.visible = true;
}
public function clearListener(){
clearInterval(tid);
stage.removeEventListener(KeyboardEvent.KEY_DOWN, listenKey);
setTimeout(endFun, 3000);
}
public function stopSound(){
subSoundChannel1.stop();
}
public function menuResetFun(){
bgCont_mc.removeChild(bg_mc);
gotoAndStop("introPage");
}
public function playSound(_arg1:String){
var _local2:Class;
var _local3:Object;
if (mute_mc.currentFrame == 1){
_local2 = (getDefinitionByName(_arg1) as Class);
_local3 = new (_local2);
subSoundChannel1 = _local3.play();
} else {
stopSound();
};
}
public function showProgress(_arg1:ProgressEvent):void{
var _local2:Number;
var _local3:Number;
_local2 = NaN;
_local3 = NaN;
_local2 = Math.floor(((_arg1.bytesLoaded / _arg1.bytesTotal) * 100));
_local3 = Math.round(((_arg1.bytesLoaded / _arg1.bytesTotal) * 45));
if (load_mc.currentFrame == 54){
load_mc.per_txt.text = (String(_local2) + "%");
};
trace((((((_arg1.bytesLoaded + "/") + _arg1.bytesTotal) + " (") + _local2) + "%)"));
if (_arg1.bytesLoaded >= _arg1.bytesTotal){
loaderInfo.removeEventListener(ProgressEvent.PROGRESS, showProgress);
trace("[%] LOADING COMPLETE");
};
}
function frame15(){
stop();
setTimeout(restartFun, 4000);
}
public function removeFun(){
trace("removeFun");
levelScore = (levelScore - (clickCnt * 200));
gameScore = (gameScore + levelScore);
trace(("levelScore=" + levelScore));
clickCnt = 0;
restartVar = false;
level_mc.gotoAndStop(1);
setTimeout(textScore, 200);
playSound("popUp");
level_mc.y = 240;
}
function frame4(){
stop();
SoundMixer.stopAll();
play_btn.addEventListener(MouseEvent.MOUSE_DOWN, playFun);
}
function frame5(){
stop();
stopAction_mc.visible = false;
shipFall = false;
signalVar = false;
clickCnt = 0;
gameScore = 0;
setScore = 50000;
levelScore = 50000;
initializeSnowEffect();
bgFun();
soundTrans = new SoundTransform();
soundTrans.volume = 0.8;
bgSoundObj = new bgSound();
bgChannel = bgSoundObj.play(0, int.MAX_VALUE);
bgChannel.soundTransform = soundTrans;
mute_mc.buttonMode = true;
mute_mc.addEventListener(MouseEvent.MOUSE_DOWN, muteFun);
stage.addEventListener(KeyboardEvent.KEY_DOWN, listenKey);
subSoundChannel1 = new SoundChannel();
tid = 0;
tim = 0;
min = 0;
tid = setInterval(stimer, 1000);
bgCont_mc.addEventListener(MouseEvent.MOUSE_DOWN, clickFun);
walk_mc.buttonMode = true;
walk_mc.addEventListener(MouseEvent.MOUSE_DOWN, walkFun);
}
function frame1(){
stop();
stage.scaleMode = "exactFit";
loaderFun();
myContextMenu = new ContextMenu();
myContextMenu.hideBuiltInItems();
menuItem = new ContextMenuItem("A game by QuickSailor");
menuItem.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, getAction);
myContextMenu.customItems.push(menuItem);
this.contextMenu = myContextMenu;
CPMStarPoolID = 24713;
CPMStarSubPoolID = 1;
adBox.visible = false;
addFun();
}
function frame3(){
stop();
SoundMixer.stopAll();
levels = 0;
restartVar = false;
bgSoundObj3 = new bgSound1();
bgChannel2 = bgSoundObj3.play(0, int.MAX_VALUE);
}
public function loaderFun(){
load_mc = new preloadMc();
cont_mc.addChild(load_mc);
loaderInfo.addEventListener(ProgressEvent.PROGRESS, showProgress);
loaderInfo.addEventListener(Event.COMPLETE, loadingComplete);
load_mc.per_txt.visible = false;
}
public function loadingComplete(_arg1:Event){
loaderInfo.removeEventListener(ProgressEvent.PROGRESS, showProgress);
loaderInfo.removeEventListener(Event.COMPLETE, loadingComplete);
playTimeFall();
load_mc.per_txt.visible = false;
load_mc.gotoAndPlay(198);
}
public function initializeSnowEffect():void{
var _local1:flake;
var _local2:String;
_local1 = new flake();
_local2 = getQualifiedClassName(_local1);
effect = new SnowEffect();
addChild(effect);
effect.areaWidth = 640;
effect.areaHeight = 520;
effect.flakeClassName = _local2;
effect.play();
}
public function muteFun(_arg1:MouseEvent){
muteFunction();
}
public function endFun(){
trace("endFun");
level_mc.gotoAndStop(3);
playSound("popUp");
level_mc.y = 240;
}
public function stimer(){
tim++;
if (tim == 60){
tim = 0;
min++;
};
}
public function clickFun(_arg1:MouseEvent){
if (level_mc.y < 240){
clickCnt++;
};
}
public function walkFun(_arg1:MouseEvent){
navigateToURL(new URLRequest("http://www.timefall.com/games/point-and-click/go-go-penguin-walkthrough"), "_blank");
}
public function restartFun(){
gotoAndStop(2);
}
public function bgFun(){
if (!restartVar){
levels++;
};
if ((((levels == 1)) || ((levels == 0)))){
logo_mc.x = 169;
} else {
logo_mc.x = 540;
};
bgCont_mc.gotoAndStop(levels);
}
public function muteFunction(){
if (mute_mc.currentFrame == 1){
bgChannel.stop();
SoundMixer.stopAll();
mute_mc.gotoAndStop(2);
} else {
mute_mc.gotoAndStop(1);
bgChannel = bgSoundObj.play(0, int.MAX_VALUE);
};
}
public function addFun(){
var _local1:Loader;
var _local2:String;
var _local3:URLRequest;
_local1 = new Loader();
_local2 = ((("http://server.cpmstar.com/adviewas2.swf?poolid=" + CPMStarPoolID) + "&subpoolid=") + CPMStarSubPoolID);
_local3 = new URLRequest(_local2);
_local1.load(_local3);
adBox.addChild(_local1);
adBox.visible = true;
}
public function getAction(_arg1:ContextMenuEvent){
navigateToURL(new URLRequest("http://www.quicksailor.com/"), "_blank");
}
public function listenKey(_arg1:KeyboardEvent){
if ((((_arg1.keyCode == 77)) || ((_arg1.keyCode == 109)))){
muteFunction();
};
}
public function playTimeFall(){
var _local1:timefallSnd;
_local1 = new timefallSnd();
_local1.play();
}
public function playSound1(_arg1:String){
var _local2:Class;
var _local3:Object;
_local2 = (getDefinitionByName(_arg1) as Class);
_local3 = new (_local2);
subSoundChannel2 = _local3.play();
}
public function textScore(){
if (levelScore >= 0){
};
}
public function playFun(_arg1:MouseEvent){
MochiBot.track(this, "7b2d6e58");
gotoAndStop("gamePage");
}
public function gameOverFun(){
trace("gameOverFun");
levelScore = (levelScore - (clickCnt * 200));
gameScore = (gameScore + levelScore);
trace(("levelScore=" + levelScore));
clickCnt = 0;
restartVar = true;
level_mc.gotoAndStop(2);
playSound("popUp");
level_mc.y = 240;
}
public function levelUpFun(){
bgCont_mc.gotoAndStop(11);
mcFun();
}
public function replayLevel(){
bgCont_mc.removeChild(bg_mc);
bgClass = (getDefinitionByName(("bg" + levels)) as Class);
bg_mc = new bgClass();
bgCont_mc.addChild(bg_mc);
level_mc.y = -340;
level_mc.visible = true;
}
public function moreFun(_arg1:MouseEvent){
navigateToURL(new URLRequest("http://www.timefall.com/"), "_blank");
}
}
}//package GoGoPenguin_fla
Section 394
//mc_skip_but_03aqqlnew_464 (GoGoPenguin_fla.mc_skip_but_03aqqlnew_464)
package GoGoPenguin_fla {
import flash.display.*;
import flash.events.*;
public dynamic class mc_skip_but_03aqqlnew_464 extends MovieClip {
public var hit_mc:MovieClip;
public function mc_skip_but_03aqqlnew_464(){
addFrameScript(0, frame1, 10, frame11);
}
public function onMouseOver(_arg1:MouseEvent):void{
gotoAndPlay("over");
}
function frame1(){
stop();
this.hitArea = hit_mc;
hit_mc.visible = false;
mouseChildren = false;
buttonMode = true;
addEventListener(MouseEvent.ROLL_OVER, onMouseOver);
addEventListener(MouseEvent.ROLL_OUT, onMouseOut);
addEventListener(MouseEvent.CLICK, onClick);
}
public function onMouseOut(_arg1:MouseEvent):void{
gotoAndPlay("up");
}
function frame11(){
stop();
}
public function onClick(_arg1:MouseEvent):void{
var _local2 = root;
_local2["gotoAndPlay"](2);
}
}
}//package GoGoPenguin_fla
Section 395
//nmbmu_299 (GoGoPenguin_fla.nmbmu_299)
package GoGoPenguin_fla {
import flash.utils.*;
import flash.display.*;
import flash.net.*;
import flash.events.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import flash.filters.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class nmbmu_299 extends MovieClip {
public function nmbmu_299(){
addFrameScript(24, frame25);
}
function frame25(){
stop();
MovieClip(parent.parent).obj2.visible = false;
MovieClip(parent).gotoAndStop("withIce");
}
}
}//package GoGoPenguin_fla
Section 396
//nvbtt_278 (GoGoPenguin_fla.nvbtt_278)
package GoGoPenguin_fla {
import flash.display.*;
public dynamic class nvbtt_278 extends MovieClip {
public function nvbtt_278(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package GoGoPenguin_fla
Section 397
//owlaqqlnew_447 (GoGoPenguin_fla.owlaqqlnew_447)
package GoGoPenguin_fla {
import flash.display.*;
public dynamic class owlaqqlnew_447 extends MovieClip {
public function owlaqqlnew_447(){
addFrameScript(25, frame26);
}
function frame26(){
stop();
}
}
}//package GoGoPenguin_fla
Section 398
//owlloo_418 (GoGoPenguin_fla.owlloo_418)
package GoGoPenguin_fla {
import flash.display.*;
public dynamic class owlloo_418 extends MovieClip {
public function owlloo_418(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package GoGoPenguin_fla
Section 399
//pen5pen6_123 (GoGoPenguin_fla.pen5pen6_123)
package GoGoPenguin_fla {
import flash.display.*;
public dynamic class pen5pen6_123 extends MovieClip {
public function pen5pen6_123(){
addFrameScript(32, frame33);
}
function frame33(){
stop();
MovieClip(parent).gotoAndStop("idle");
}
}
}//package GoGoPenguin_fla
Section 400
//pen76_92 (GoGoPenguin_fla.pen76_92)
package GoGoPenguin_fla {
import flash.display.*;
public dynamic class pen76_92 extends MovieClip {
public function pen76_92(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package GoGoPenguin_fla
Section 401
//penguin_291 (GoGoPenguin_fla.penguin_291)
package GoGoPenguin_fla {
import flash.utils.*;
import flash.display.*;
import flash.net.*;
import flash.events.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import flash.filters.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class penguin_291 extends MovieClip {
public function penguin_291(){
addFrameScript(0, frame1, 10, frame11);
}
function frame1(){
stop();
}
function frame11(){
MovieClip(parent).liftPenguinFun();
}
}
}//package GoGoPenguin_fla
Section 402
//rtyrty_301 (GoGoPenguin_fla.rtyrty_301)
package GoGoPenguin_fla {
import flash.utils.*;
import flash.display.*;
import flash.net.*;
import flash.events.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import flash.filters.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class rtyrty_301 extends MovieClip {
public function rtyrty_301(){
addFrameScript(22, frame23);
}
function frame23(){
stop();
MovieClip(parent.parent).moveToLift = true;
MovieClip(parent).gotoAndStop("nearLift");
}
}
}//package GoGoPenguin_fla
Section 403
//shipMc_62 (GoGoPenguin_fla.shipMc_62)
package GoGoPenguin_fla {
import flash.display.*;
public dynamic class shipMc_62 extends MovieClip {
public var ship_mc:MovieClip;
public function shipMc_62(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package GoGoPenguin_fla
Section 404
//soundAssets_327 (GoGoPenguin_fla.soundAssets_327)
package GoGoPenguin_fla {
import flash.display.*;
public dynamic class soundAssets_327 extends MovieClip {
public function soundAssets_327(){
addFrameScript(0, frame1, 2, frame3);
}
function frame3(){
stop();
}
function frame1(){
stop();
}
}
}//package GoGoPenguin_fla
Section 405
//Symbol10_bg4_174 (GoGoPenguin_fla.Symbol10_bg4_174)
package GoGoPenguin_fla {
import flash.utils.*;
import flash.display.*;
import flash.net.*;
import flash.events.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import flash.filters.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class Symbol10_bg4_174 extends MovieClip {
public var bird:MovieClip;
public function Symbol10_bg4_174(){
addFrameScript(0, frame1);
}
function frame1(){
bird.addEventListener(MouseEvent.MOUSE_DOWN, birdSnd);
}
public function birdSnd(_arg1:MouseEvent){
MovieClip(root).playSound("bird");
}
}
}//package GoGoPenguin_fla
Section 406
//Symbol10copy4_bg4_181 (GoGoPenguin_fla.Symbol10copy4_bg4_181)
package GoGoPenguin_fla {
import flash.display.*;
public dynamic class Symbol10copy4_bg4_181 extends MovieClip {
public function Symbol10copy4_bg4_181(){
addFrameScript(136, frame137);
}
function frame137(){
stop();
}
}
}//package GoGoPenguin_fla
Section 407
//Symbol15b2copy_269 (GoGoPenguin_fla.Symbol15b2copy_269)
package GoGoPenguin_fla {
import flash.display.*;
public dynamic class Symbol15b2copy_269 extends MovieClip {
public function Symbol15b2copy_269(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package GoGoPenguin_fla
Section 408
//Symbol16b2copy_270 (GoGoPenguin_fla.Symbol16b2copy_270)
package GoGoPenguin_fla {
import flash.display.*;
public dynamic class Symbol16b2copy_270 extends MovieClip {
public function Symbol16b2copy_270(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package GoGoPenguin_fla
Section 409
//Symbol1copy2_300 (GoGoPenguin_fla.Symbol1copy2_300)
package GoGoPenguin_fla {
import flash.utils.*;
import flash.display.*;
import flash.net.*;
import flash.events.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import flash.filters.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class Symbol1copy2_300 extends MovieClip {
public function Symbol1copy2_300(){
addFrameScript(14, frame15);
}
function frame15(){
stop();
MovieClip(parent.parent).mc1.gotoAndPlay(272);
MovieClip(parent).gotoAndStop("afterIceThrow");
}
}
}//package GoGoPenguin_fla
Section 410
//Symbol1pen6_122 (GoGoPenguin_fla.Symbol1pen6_122)
package GoGoPenguin_fla {
import flash.display.*;
public dynamic class Symbol1pen6_122 extends MovieClip {
public function Symbol1pen6_122(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package GoGoPenguin_fla
Section 411
//Symbol1pg_366 (GoGoPenguin_fla.Symbol1pg_366)
package GoGoPenguin_fla {
import flash.display.*;
public dynamic class Symbol1pg_366 extends MovieClip {
public function Symbol1pg_366(){
addFrameScript(75, frame76);
}
function frame76(){
gotoAndPlay(57);
}
}
}//package GoGoPenguin_fla
Section 412
//Symbol1xxcopy2_214 (GoGoPenguin_fla.Symbol1xxcopy2_214)
package GoGoPenguin_fla {
import flash.utils.*;
import flash.display.*;
import flash.net.*;
import flash.events.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import flash.filters.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class Symbol1xxcopy2_214 extends MovieClip {
public function Symbol1xxcopy2_214(){
addFrameScript(19, frame20);
}
function frame20(){
stop();
MovieClip(parent.parent).firstMove = true;
MovieClip(parent.parent).mc4.gotoAndPlay("bearMove");
}
}
}//package GoGoPenguin_fla
Section 413
//Symbol1xxcopy3_215 (GoGoPenguin_fla.Symbol1xxcopy3_215)
package GoGoPenguin_fla {
import flash.utils.*;
import flash.display.*;
import flash.net.*;
import flash.events.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import flash.filters.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class Symbol1xxcopy3_215 extends MovieClip {
public function Symbol1xxcopy3_215(){
addFrameScript(12, frame13);
}
function frame13(){
stop();
MovieClip(parent.parent).secondMove = true;
if (MovieClip(parent.parent).mc4.currentFrame == 321){
MovieClip(parent.parent).mc4.gotoAndPlay(326);
};
}
}
}//package GoGoPenguin_fla
Section 414
//Symbol1xxcopy35bgg4_166 (GoGoPenguin_fla.Symbol1xxcopy35bgg4_166)
package GoGoPenguin_fla {
import flash.utils.*;
import flash.display.*;
import flash.net.*;
import flash.events.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import flash.filters.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class Symbol1xxcopy35bgg4_166 extends MovieClip {
public function Symbol1xxcopy35bgg4_166(){
addFrameScript(14, frame15, 18, frame19, 29, frame30, 34, frame35, 47, frame48);
}
function frame15(){
MovieClip(root).playSound("snowhit");
}
function frame19(){
MovieClip(root).playSound("snowremove");
}
function frame30(){
MovieClip(root).playSound("snowhit");
}
function frame35(){
MovieClip(root).playSound("snowremove");
}
function frame48(){
stop();
MovieClip(parent.parent).treeFall_mc.tree_mc.gotoAndPlay(2);
}
}
}//package GoGoPenguin_fla
Section 415
//Symbol1xxcopy4_216 (GoGoPenguin_fla.Symbol1xxcopy4_216)
package GoGoPenguin_fla {
import flash.utils.*;
import flash.display.*;
import flash.net.*;
import flash.events.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import flash.filters.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class Symbol1xxcopy4_216 extends MovieClip {
public function Symbol1xxcopy4_216(){
addFrameScript(20, frame21);
}
function frame21(){
stop();
MovieClip(parent.parent).thirdMove = true;
if (MovieClip(parent.parent).mc4.currentFrame == 349){
MovieClip(parent.parent).mc4.gotoAndPlay(356);
};
}
}
}//package GoGoPenguin_fla
Section 416
//Symbol2_134 (GoGoPenguin_fla.Symbol2_134)
package GoGoPenguin_fla {
import flash.utils.*;
import flash.display.*;
import flash.net.*;
import flash.events.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import flash.filters.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class Symbol2_134 extends MovieClip {
public var obj2:MovieClip;
public function Symbol2_134(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
}
function frame2(){
obj2.buttonMode = true;
obj2.tabEnabled = false;
obj2.addEventListener(MouseEvent.MOUSE_DOWN, MovieClip(parent).obj2Fun);
}
}
}//package GoGoPenguin_fla
Section 417
//Symbol2_bg4_173 (GoGoPenguin_fla.Symbol2_bg4_173)
package GoGoPenguin_fla {
import flash.utils.*;
import flash.display.*;
import flash.net.*;
import flash.events.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import flash.filters.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class Symbol2_bg4_173 extends MovieClip {
public var bird:MovieClip;
public function Symbol2_bg4_173(){
addFrameScript(0, frame1, 274, frame275, 320, frame321, 348, frame349, 380, frame381, 389, frame390, 497, frame498);
}
function frame275(){
MovieClip(root).playSound("bear");
}
function frame321(){
if ((((MovieClip(parent).penguin_mc.currentLabel == "fishToBear")) && (MovieClip(parent).firstMove))){
trace("first");
stop();
MovieClip(parent).catchId = setTimeout(MovieClip(parent).catchFun, 1500);
} else {
if ((((MovieClip(parent).penguin_mc.currentLabel == "firstMove")) && (MovieClip(parent).secondMove))){
trace("second");
gotoAndPlay(327);
} else {
trace("else");
gotoAndPlay(327);
};
};
}
function frame1(){
stop();
}
function frame349(){
if ((((MovieClip(parent).penguin_mc.currentLabel == "secondMove")) && (MovieClip(parent).thirdMove))){
gotoAndPlay(356);
} else {
stop();
MovieClip(parent).catchId = setTimeout(MovieClip(parent).catchFun, 1500);
};
}
function frame498(){
stop();
MovieClip(root).removeFun();
}
function frame381(){
MovieClip(root).playSound("bearFall");
}
function frame390(){
stop();
}
}
}//package GoGoPenguin_fla
Section 418
//Symbol20xx_226 (GoGoPenguin_fla.Symbol20xx_226)
package GoGoPenguin_fla {
import flash.utils.*;
import flash.display.*;
import flash.net.*;
import flash.events.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import flash.filters.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class Symbol20xx_226 extends MovieClip {
public var wHit:MovieClip;
public function Symbol20xx_226(){
addFrameScript(0, frame1, 8, frame9, 17, frame18);
}
function frame18(){
stop();
if (MovieClip(parent).fish_mc.currentFrame == 2){
if (MovieClip(parent).fish_mc.fish.currentFrame == 99){
MovieClip(parent).fish_mc.fish.gotoAndStop(98);
};
};
gotoAndStop(1);
}
function frame1(){
stop();
wHit.buttonMode = true;
wHit.tabEnabled = false;
}
function frame9(){
stop();
if (MovieClip(parent).fish_mc.currentFrame == 2){
if (MovieClip(parent).fish_mc.fish.currentFrame == 98){
MovieClip(parent).fish_mc.fish.gotoAndStop(99);
};
};
}
}
}//package GoGoPenguin_fla
Section 419
//Symbol25_272 (GoGoPenguin_fla.Symbol25_272)
package GoGoPenguin_fla {
import flash.utils.*;
import flash.display.*;
import flash.net.*;
import flash.events.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import flash.filters.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class Symbol25_272 extends MovieClip {
public function Symbol25_272(){
addFrameScript(64, frame65);
}
function frame65(){
stop();
MovieClip(root).gameOverFun();
}
}
}//package GoGoPenguin_fla
Section 420
//Symbol28copybg5_148 (GoGoPenguin_fla.Symbol28copybg5_148)
package GoGoPenguin_fla {
import flash.display.*;
public dynamic class Symbol28copybg5_148 extends MovieClip {
public function Symbol28copybg5_148(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package GoGoPenguin_fla
Section 421
//Symbol2copy_158 (GoGoPenguin_fla.Symbol2copy_158)
package GoGoPenguin_fla {
import flash.display.*;
public dynamic class Symbol2copy_158 extends MovieClip {
public function Symbol2copy_158(){
addFrameScript(34, frame35);
}
function frame35(){
stop();
MovieClip(parent).gotoAndStop("correctDig");
}
}
}//package GoGoPenguin_fla
Section 422
//Symbol2copy10pen4_201 (GoGoPenguin_fla.Symbol2copy10pen4_201)
package GoGoPenguin_fla {
import flash.utils.*;
import flash.display.*;
import flash.net.*;
import flash.events.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import flash.filters.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class Symbol2copy10pen4_201 extends MovieClip {
public function Symbol2copy10pen4_201(){
addFrameScript(25, frame26);
}
function frame26(){
stop();
MovieClip(parent.parent).readyToFish = true;
MovieClip(parent).gotoAndStop("idleFishing");
}
}
}//package GoGoPenguin_fla
Section 423
//Symbol2copy11bg5_160 (GoGoPenguin_fla.Symbol2copy11bg5_160)
package GoGoPenguin_fla {
import flash.utils.*;
import flash.display.*;
import flash.net.*;
import flash.events.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import flash.filters.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class Symbol2copy11bg5_160 extends MovieClip {
public function Symbol2copy11bg5_160(){
addFrameScript(17, frame18, 25, frame26);
}
function frame18(){
MovieClip(parent.parent).axe_mc.obj2.visible = false;
}
function frame26(){
stop();
MovieClip(parent.parent).axe2.visible = true;
MovieClip(parent.parent).snow_mc.visible = true;
MovieClip(parent).gotoAndStop("take2Idle");
}
}
}//package GoGoPenguin_fla
Section 424
//Symbol2copy14bg5_162 (GoGoPenguin_fla.Symbol2copy14bg5_162)
package GoGoPenguin_fla {
import flash.display.*;
public dynamic class Symbol2copy14bg5_162 extends MovieClip {
public function Symbol2copy14bg5_162(){
addFrameScript(24, frame25);
}
function frame25(){
stop();
MovieClip(parent).gotoAndStop("cutTree");
}
}
}//package GoGoPenguin_fla
Section 425
//Symbol2copy14pen4_203 (GoGoPenguin_fla.Symbol2copy14pen4_203)
package GoGoPenguin_fla {
import flash.utils.*;
import flash.display.*;
import flash.net.*;
import flash.events.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import flash.filters.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class Symbol2copy14pen4_203 extends MovieClip {
public function Symbol2copy14pen4_203(){
addFrameScript(75, frame76);
}
function frame76(){
stop();
MovieClip(parent.parent).startFishingVar = true;
}
}
}//package GoGoPenguin_fla
Section 426
//Symbol2copy15pen4_210 (GoGoPenguin_fla.Symbol2copy15pen4_210)
package GoGoPenguin_fla {
import flash.utils.*;
import flash.display.*;
import flash.net.*;
import flash.events.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import flash.filters.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class Symbol2copy15pen4_210 extends MovieClip {
public function Symbol2copy15pen4_210(){
addFrameScript(19, frame20);
}
function frame20(){
stop();
MovieClip(parent.parent).fishOut = true;
}
}
}//package GoGoPenguin_fla
Section 427
//Symbol2copy16bg5_163 (GoGoPenguin_fla.Symbol2copy16bg5_163)
package GoGoPenguin_fla {
import flash.utils.*;
import flash.display.*;
import flash.net.*;
import flash.events.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import flash.filters.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class Symbol2copy16bg5_163 extends MovieClip {
public function Symbol2copy16bg5_163(){
addFrameScript(12, frame13, 26, frame27, 42, frame43, 56, frame57, 93, frame94);
}
function frame94(){
stop();
MovieClip(parent.parent).treeFall_mc.visible = true;
MovieClip(parent.parent).treeFall_mc.gotoAndStop(4);
MovieClip(parent).gotoAndStop("cutIdle");
}
function frame13(){
MovieClip(root).playSound("axe");
}
function frame27(){
MovieClip(root).playSound("axe");
}
function frame43(){
MovieClip(root).playSound("axe");
}
function frame57(){
MovieClip(parent.parent).treeFall_mc.gotoAndStop(3);
MovieClip(root).playSound("axe");
MovieClip(root).playSound("snowcrack");
}
}
}//package GoGoPenguin_fla
Section 428
//Symbol2copy18bg5_164 (GoGoPenguin_fla.Symbol2copy18bg5_164)
package GoGoPenguin_fla {
import flash.utils.*;
import flash.display.*;
import flash.net.*;
import flash.events.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import flash.filters.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class Symbol2copy18bg5_164 extends MovieClip {
public function Symbol2copy18bg5_164(){
addFrameScript(87, frame88);
}
function frame88(){
stop();
MovieClip(root).removeFun();
}
}
}//package GoGoPenguin_fla
Section 429
//Symbol2copy2_157 (GoGoPenguin_fla.Symbol2copy2_157)
package GoGoPenguin_fla {
import flash.display.*;
public dynamic class Symbol2copy2_157 extends MovieClip {
public function Symbol2copy2_157(){
addFrameScript(34, frame35);
}
function frame35(){
stop();
MovieClip(parent).gotoAndStop("wrongDig");
}
}
}//package GoGoPenguin_fla
Section 430
//Symbol2copy4bg5_149 (GoGoPenguin_fla.Symbol2copy4bg5_149)
package GoGoPenguin_fla {
import flash.display.*;
public dynamic class Symbol2copy4bg5_149 extends MovieClip {
public function Symbol2copy4bg5_149(){
addFrameScript(32, frame33);
}
function frame33(){
MovieClip(parent).gotoAndStop("idle");
}
}
}//package GoGoPenguin_fla
Section 431
//Symbol2copy4pen4_195 (GoGoPenguin_fla.Symbol2copy4pen4_195)
package GoGoPenguin_fla {
import flash.utils.*;
import flash.display.*;
import flash.net.*;
import flash.events.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import flash.filters.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class Symbol2copy4pen4_195 extends MovieClip {
public function Symbol2copy4pen4_195(){
addFrameScript(11, frame12);
}
function frame12(){
stop();
MovieClip(parent.parent).obj1.visible = false;
MovieClip(parent).gotoAndStop("withHook");
}
}
}//package GoGoPenguin_fla
Section 432
//Symbol2copy6bg5_153 (GoGoPenguin_fla.Symbol2copy6bg5_153)
package GoGoPenguin_fla {
import flash.utils.*;
import flash.display.*;
import flash.net.*;
import flash.events.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import flash.filters.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class Symbol2copy6bg5_153 extends MovieClip {
public function Symbol2copy6bg5_153(){
addFrameScript(43, frame44);
}
function frame44(){
stop();
MovieClip(parent.parent).obj1.visible = false;
MovieClip(parent).gotoAndStop("axeIdle");
}
}
}//package GoGoPenguin_fla
Section 433
//Symbol2copy7pen4_197 (GoGoPenguin_fla.Symbol2copy7pen4_197)
package GoGoPenguin_fla {
import flash.utils.*;
import flash.display.*;
import flash.net.*;
import flash.events.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import flash.filters.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class Symbol2copy7pen4_197 extends MovieClip {
public function Symbol2copy7pen4_197(){
addFrameScript(26, frame27);
}
function frame27(){
stop();
MovieClip(parent.parent).obj2.visible = false;
MovieClip(parent).gotoAndStop("hookWithFood");
}
}
}//package GoGoPenguin_fla
Section 434
//Symbol2copy8bg5_155 (GoGoPenguin_fla.Symbol2copy8bg5_155)
package GoGoPenguin_fla {
import flash.utils.*;
import flash.display.*;
import flash.net.*;
import flash.events.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import flash.filters.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class Symbol2copy8bg5_155 extends MovieClip {
public function Symbol2copy8bg5_155(){
addFrameScript(41, frame42);
}
function frame42(){
stop();
MovieClip(parent.parent).choosePlace = true;
MovieClip(parent).gotoAndStop("readyToCut");
}
}
}//package GoGoPenguin_fla
Section 435
//Symbol2copy9bg5_156 (GoGoPenguin_fla.Symbol2copy9bg5_156)
package GoGoPenguin_fla {
import flash.display.*;
public dynamic class Symbol2copy9bg5_156 extends MovieClip {
public function Symbol2copy9bg5_156(){
addFrameScript(34, frame35);
}
function frame35(){
stop();
MovieClip(parent).gotoAndStop("wrongDig");
}
}
}//package GoGoPenguin_fla
Section 436
//Symbol2copybg5_159 (GoGoPenguin_fla.Symbol2copybg5_159)
package GoGoPenguin_fla {
import flash.utils.*;
import flash.display.*;
import flash.net.*;
import flash.events.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import flash.filters.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class Symbol2copybg5_159 extends MovieClip {
public function Symbol2copybg5_159(){
addFrameScript(10, frame11, 19, frame20, 30, frame31, 35, frame36, 43, frame44, 49, frame50, 58, frame59, 65, frame66, 78, frame79);
}
function frame79(){
stop();
MovieClip(parent.parent).snow_mc.visible = true;
MovieClip(parent.parent).axe_mc.gotoAndStop(2);
MovieClip(parent).gotoAndStop("idle2");
}
function frame20(){
MovieClip(root).playSound("snowremove");
}
function frame36(){
MovieClip(root).playSound("snowremove");
}
function frame31(){
MovieClip(root).playSound("snowhit");
}
function frame11(){
MovieClip(root).playSound("snowhit");
}
function frame44(){
MovieClip(root).playSound("snowhit");
}
function frame50(){
MovieClip(root).playSound("snowremove");
}
function frame59(){
MovieClip(root).playSound("snowhit");
}
function frame66(){
MovieClip(root).playSound("snowremove");
}
}
}//package GoGoPenguin_fla
Section 437
//Symbol2copypen4_191 (GoGoPenguin_fla.Symbol2copypen4_191)
package GoGoPenguin_fla {
import flash.display.*;
public dynamic class Symbol2copypen4_191 extends MovieClip {
public function Symbol2copypen4_191(){
addFrameScript(32, frame33);
}
function frame33(){
stop();
MovieClip(parent).gotoAndStop("idle");
}
}
}//package GoGoPenguin_fla
Section 438
//Symbol32f5_170 (GoGoPenguin_fla.Symbol32f5_170)
package GoGoPenguin_fla {
import flash.utils.*;
import flash.display.*;
import flash.net.*;
import flash.events.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import flash.filters.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class Symbol32f5_170 extends MovieClip {
public function Symbol32f5_170(){
addFrameScript(0, frame1, 38, frame39);
}
function frame1(){
MovieClip(parent.parent).mc5.visible = false;
}
function frame39(){
stop();
}
}
}//package GoGoPenguin_fla
Section 439
//Symbol32ri_138 (GoGoPenguin_fla.Symbol32ri_138)
package GoGoPenguin_fla {
import flash.utils.*;
import flash.display.*;
import flash.net.*;
import flash.events.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import flash.filters.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class Symbol32ri_138 extends MovieClip {
public function Symbol32ri_138(){
addFrameScript(0, frame1, 1, frame2, 40, frame41);
}
function frame1(){
stop();
}
function frame2(){
MovieClip(parent.parent).penguin_mc.visible = false;
MovieClip(root).playSound("treefall");
}
function frame41(){
stop();
MovieClip(root).gameOverFun();
}
}
}//package GoGoPenguin_fla
Section 440
//Symbol39copyaa_218 (GoGoPenguin_fla.Symbol39copyaa_218)
package GoGoPenguin_fla {
import flash.utils.*;
import flash.display.*;
import flash.net.*;
import flash.events.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import flash.filters.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class Symbol39copyaa_218 extends MovieClip {
public function Symbol39copyaa_218(){
addFrameScript(0, frame1, 68, frame69);
}
function frame1(){
gotoAndPlay(33);
}
function frame69(){
stop();
MovieClip(root).gameOverFun();
}
}
}//package GoGoPenguin_fla
Section 441
//Symbol39pen_217 (GoGoPenguin_fla.Symbol39pen_217)
package GoGoPenguin_fla {
import flash.utils.*;
import flash.display.*;
import flash.net.*;
import flash.events.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import flash.filters.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class Symbol39pen_217 extends MovieClip {
public function Symbol39pen_217(){
addFrameScript(34, frame35);
}
function frame35(){
stop();
MovieClip(root).gameOverFun();
}
}
}//package GoGoPenguin_fla
Section 442
//Symbol4_137 (GoGoPenguin_fla.Symbol4_137)
package GoGoPenguin_fla {
import flash.display.*;
public dynamic class Symbol4_137 extends MovieClip {
public var tree_mc:MovieClip;
public function Symbol4_137(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package GoGoPenguin_fla
Section 443
//Symbol421xxcopy_323 (GoGoPenguin_fla.Symbol421xxcopy_323)
package GoGoPenguin_fla {
import flash.display.*;
public dynamic class Symbol421xxcopy_323 extends MovieClip {
public function Symbol421xxcopy_323(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package GoGoPenguin_fla
Section 444
//Symbol44xx_321 (GoGoPenguin_fla.Symbol44xx_321)
package GoGoPenguin_fla {
import flash.utils.*;
import flash.display.*;
import flash.net.*;
import flash.events.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import flash.filters.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class Symbol44xx_321 extends MovieClip {
public function Symbol44xx_321(){
addFrameScript(0, frame1, 92, frame93);
}
function frame93(){
stop();
MovieClip(root).removeFun();
}
function frame1(){
stop();
}
}
}//package GoGoPenguin_fla
Section 445
//Symbol4copy2xx_304 (GoGoPenguin_fla.Symbol4copy2xx_304)
package GoGoPenguin_fla {
import flash.utils.*;
import flash.display.*;
import flash.net.*;
import flash.events.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import flash.filters.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class Symbol4copy2xx_304 extends MovieClip {
public var birdFish_mc:MovieClip;
public var bird_mc:MovieClip;
public var escape_mc:MovieClip;
public var pondHit:MovieClip;
public var lift_mc:MovieClip;
public var penOut_mc:MovieClip;
public function Symbol4copy2xx_304(){
addFrameScript(0, frame1, 55, frame56, 83, frame84, 128, frame129, 156, frame157, 273, frame274, 274, frame275, 349, frame350, 393, frame394, 483, frame484);
}
function frame394(){
escape_mc.visible = false;
penOut_mc.buttonMode = true;
penOut_mc.tabEnabled = false;
penOut_mc.addEventListener(MouseEvent.MOUSE_DOWN, penOutFun);
}
function frame157(){
stop();
birdFish_mc.buttonMode = true;
birdFish_mc.tabEnabled = false;
birdFish_mc.addEventListener(MouseEvent.MOUSE_DOWN, MovieClip(parent).birdFishFun);
}
function frame275(){
lift_mc.buttonMode = true;
lift_mc.tabEnabled = false;
lift_mc.addEventListener(MouseEvent.MOUSE_DOWN, MovieClip(parent).liftUpFun);
}
function frame274(){
MovieClip(root).playSound("birdhit");
}
function frame84(){
bird_mc.buttonMode = true;
bird_mc.tabEnabled = false;
bird_mc.addEventListener(MouseEvent.MOUSE_DOWN, MovieClip(parent).birdFlyFun);
}
function frame1(){
stop();
pondHit.buttonMode = true;
pondHit.tabEnabled = false;
pondHit.addEventListener(MouseEvent.MOUSE_DOWN, MovieClip(parent).pondHitFun);
}
function frame350(){
MovieClip(root).playSound("wheel");
}
function frame129(){
MovieClip(root).playSound("fishcatch");
}
function frame484(){
stop();
if (!MovieClip(parent).escape1Var){
MovieClip(root).gameOverFun();
};
}
public function penOutFun(_arg1:MouseEvent){
if (((MovieClip(parent).escape1Var) && ((escape_mc.currentFrame == 1)))){
escape_mc.gotoAndPlay(2);
escape_mc.visible = true;
penOut_mc.gotoAndStop(33);
};
}
function frame56(){
MovieClip(root).playSound("fishsplash");
}
}
}//package GoGoPenguin_fla
Section 446
//Symbol4copy4_276 (GoGoPenguin_fla.Symbol4copy4_276)
package GoGoPenguin_fla {
import flash.utils.*;
import flash.display.*;
import flash.net.*;
import flash.events.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import flash.filters.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class Symbol4copy4_276 extends MovieClip {
public function Symbol4copy4_276(){
addFrameScript(99, frame100);
}
function frame100(){
stop();
MovieClip(root).removeFun();
}
}
}//package GoGoPenguin_fla
Section 447
//Symbol4copy5_280 (GoGoPenguin_fla.Symbol4copy5_280)
package GoGoPenguin_fla {
import flash.utils.*;
import flash.display.*;
import flash.net.*;
import flash.events.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import flash.filters.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class Symbol4copy5_280 extends MovieClip {
public function Symbol4copy5_280(){
addFrameScript(13, frame14, 27, frame28);
}
function frame14(){
MovieClip(parent.parent).mc2.obj1.visible = false;
}
function frame28(){
stop();
MovieClip(parent).gotoAndStop("withRopeIdle");
}
}
}//package GoGoPenguin_fla
Section 448
//Symbol4copy6_282 (GoGoPenguin_fla.Symbol4copy6_282)
package GoGoPenguin_fla {
import flash.display.*;
public dynamic class Symbol4copy6_282 extends MovieClip {
public function Symbol4copy6_282(){
addFrameScript(56, frame57);
}
function frame57(){
stop();
}
}
}//package GoGoPenguin_fla
Section 449
//Symbol4copyb2_256 (GoGoPenguin_fla.Symbol4copyb2_256)
package GoGoPenguin_fla {
import flash.utils.*;
import flash.display.*;
import flash.net.*;
import flash.events.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import flash.filters.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class Symbol4copyb2_256 extends MovieClip {
public var cross_mc:MovieClip;
public var obj1:MovieClip;
public var escape_mc:MovieClip;
public var treeHit:MovieClip;
public var wood2:MovieClip;
public var wood1:MovieClip;
public var fall_mc:MovieClip;
public function Symbol4copyb2_256(){
addFrameScript(0, frame1, 136, frame137, 173, frame174, 220, frame221, 222, frame223, 321, frame322);
}
function frame322(){
stop();
}
function frame174(){
MovieClip(root).playSound("rope");
}
function frame223(){
}
function frame1(){
stop();
obj1.buttonMode = true;
obj1.tabEnabled = false;
obj1.addEventListener(MouseEvent.MOUSE_DOWN, MovieClip(parent).obj1Fun);
wood1.buttonMode = true;
wood1.tabEnabled = false;
wood2.buttonMode = true;
wood2.tabEnabled = false;
wood1.addEventListener(MouseEvent.MOUSE_DOWN, MovieClip(parent).wood1Fun);
wood2.addEventListener(MouseEvent.MOUSE_DOWN, MovieClip(parent).wood2Fun);
}
function frame221(){
stop();
trace("wood");
cross_mc.buttonMode = true;
cross_mc.addEventListener(MouseEvent.MOUSE_DOWN, MovieClip(parent).crossPenguinFun);
}
function frame137(){
stop();
treeHit.buttonMode = true;
treeHit.tabEnabled = false;
treeHit.addEventListener(MouseEvent.MOUSE_DOWN, MovieClip(parent).treeHitFun);
}
}
}//package GoGoPenguin_fla
Section 450
//Symbol4xx_253 (GoGoPenguin_fla.Symbol4xx_253)
package GoGoPenguin_fla {
import flash.utils.*;
import flash.display.*;
import flash.net.*;
import flash.events.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import flash.filters.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class Symbol4xx_253 extends MovieClip {
public var _mc:MovieClip;
public var penguin_mc:MovieClip;
public function Symbol4xx_253(){
addFrameScript(35, frame36, 43, frame44, 55, frame56, 78, frame79, 96, frame97, 103, frame104, 107, frame108, 112, frame113, 132, frame133, 181, frame182, 254, frame255);
}
function frame79(){
MovieClip(parent.parent).obj1.visible = false;
}
function frame97(){
stop();
MovieClip(parent.parent).iceTaken = true;
}
function frame182(){
stop();
penguin_mc.buttonMode = true;
penguin_mc.tabEnabled = false;
}
function frame104(){
MovieClip(root).playSound("foodthrow");
}
function frame108(){
MovieClip(root).playSound("snowhit");
}
function frame113(){
stop();
MovieClip(parent.parent).fish_mc.gotoAndStop(2);
_mc.buttonMode = true;
_mc.tabEnabled = false;
}
function frame36(){
MovieClip(root).playSound("jump");
}
function frame44(){
stop();
}
function frame255(){
stop();
if (!MovieClip(parent.parent).closeWindow){
MovieClip(root).gameOverFun();
} else {
MovieClip(root).removeFun();
};
}
function frame56(){
MovieClip(root).playSound("jump");
}
function frame133(){
stop();
_mc.buttonMode = true;
}
}
}//package GoGoPenguin_fla
Section 451
//Symbol5_251 (GoGoPenguin_fla.Symbol5_251)
package GoGoPenguin_fla {
import flash.display.*;
public dynamic class Symbol5_251 extends MovieClip {
public function Symbol5_251(){
addFrameScript(19, frame20);
}
function frame20(){
stop();
MovieClip(parent).gotoAndStop(1);
}
}
}//package GoGoPenguin_fla
Section 452
//Symbol6xx_235 (GoGoPenguin_fla.Symbol6xx_235)
package GoGoPenguin_fla {
import flash.display.*;
public dynamic class Symbol6xx_235 extends MovieClip {
public var fish:MovieClip;
public function Symbol6xx_235(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package GoGoPenguin_fla
Section 453
//Symbol7copy2xx_243 (GoGoPenguin_fla.Symbol7copy2xx_243)
package GoGoPenguin_fla {
import flash.utils.*;
import flash.display.*;
import flash.net.*;
import flash.events.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import flash.filters.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class Symbol7copy2xx_243 extends MovieClip {
public function Symbol7copy2xx_243(){
addFrameScript(87, frame88, 97, frame98, 98, frame99);
}
function frame88(){
if (MovieClip(parent.parent).closeWindow){
gotoAndStop(99);
};
}
function frame98(){
stop();
MovieClip(parent.parent).fishInside = true;
}
function frame99(){
MovieClip(parent.parent).fishInside = true;
}
}
}//package GoGoPenguin_fla
Section 454
//tgyupg_328 (GoGoPenguin_fla.tgyupg_328)
package GoGoPenguin_fla {
import flash.utils.*;
import flash.display.*;
import flash.net.*;
import flash.events.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import flash.filters.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class tgyupg_328 extends MovieClip {
public var play_btn:SimpleButton;
public function tgyupg_328(){
addFrameScript(1, frame2, 2, frame3, 43, frame44, 129, frame130, 175, frame176, 208, frame209);
}
function frame209(){
stop();
play_btn.addEventListener(MouseEvent.MOUSE_DOWN, playFun);
}
function frame176(){
stop();
MovieClip(root).gotoAndStop("startPage");
}
function frame3(){
MovieClip(parent).playSound1("windbg");
}
function frame2(){
}
function frame44(){
MovieClip(parent).playSound1("crack");
}
public function playFun(_arg1:MouseEvent){
MovieClip(parent).startVar = true;
SoundMixer.stopAll();
MochiBot.track(this, "7b2d6e58");
MovieClip(parent).gotoAndStop("gamePage");
}
function frame130(){
MovieClip(parent).playSound1("hitonice");
}
}
}//package GoGoPenguin_fla
Section 455
//tuiuit_100 (GoGoPenguin_fla.tuiuit_100)
package GoGoPenguin_fla {
import flash.utils.*;
import flash.display.*;
import flash.net.*;
import flash.events.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import flash.filters.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class tuiuit_100 extends MovieClip {
public function tuiuit_100(){
addFrameScript(31, frame32, 49, frame50, 67, frame68, 103, frame104);
}
function frame104(){
stop();
MovieClip(root).removeFun();
}
function frame32(){
if (!MovieClip(parent.parent).hit1Var){
MovieClip(parent).gotoAndStop("firstHit");
};
}
function frame50(){
if (!MovieClip(parent.parent).hit2Var){
MovieClip(parent).gotoAndStop("secondHit");
};
}
function frame68(){
MovieClip(parent.parent).snow_mc.visible = false;
}
}
}//package GoGoPenguin_fla
Section 456
//Tween33copy4xx_320 (GoGoPenguin_fla.Tween33copy4xx_320)
package GoGoPenguin_fla {
import flash.utils.*;
import flash.display.*;
import flash.net.*;
import flash.events.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import flash.filters.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class Tween33copy4xx_320 extends MovieClip {
public function Tween33copy4xx_320(){
addFrameScript(0, frame1, 31, frame32);
}
function frame1(){
stop();
if (MovieClip(parent.parent).escape1Var){
gotoAndStop(32);
};
}
function frame32(){
stop();
}
}
}//package GoGoPenguin_fla
Section 457
//Tween33xx_313 (GoGoPenguin_fla.Tween33xx_313)
package GoGoPenguin_fla {
import flash.display.*;
public dynamic class Tween33xx_313 extends MovieClip {
public function Tween33xx_313(){
addFrameScript(0, frame1, 31, frame32);
}
function frame1(){
stop();
}
function frame32(){
stop();
}
}
}//package GoGoPenguin_fla
Section 458
//uhgiytuibg9_38 (GoGoPenguin_fla.uhgiytuibg9_38)
package GoGoPenguin_fla {
import flash.utils.*;
import flash.display.*;
import flash.net.*;
import flash.events.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import flash.filters.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class uhgiytuibg9_38 extends MovieClip {
public var penguin_mc:MovieClip;
public var ship_mc:MovieClip;
public function uhgiytuibg9_38(){
addFrameScript(44, frame45, 47, frame48, 169, frame170);
}
function frame170(){
stop();
MovieClip(root).removeFun();
}
function frame48(){
ship_mc.gotoAndPlay(2);
penguin_mc.buttonMode = true;
penguin_mc.tabEnabled = false;
penguin_mc.addEventListener(MouseEvent.MOUSE_DOWN, penguinFun);
}
public function penguinFun(_arg1:MouseEvent){
if (ship_mc.currentFrame > 35){
gotoAndPlay(79);
};
}
function frame45(){
stop();
}
}
}//package GoGoPenguin_fla
Section 459
//uhigibg8_63 (GoGoPenguin_fla.uhigibg8_63)
package GoGoPenguin_fla {
import flash.utils.*;
import flash.display.*;
import flash.net.*;
import flash.events.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import flash.filters.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class uhigibg8_63 extends MovieClip {
public var ship:MovieClip;
public function uhigibg8_63(){
addFrameScript(218, frame219);
}
function frame219(){
stop();
MovieClip(root).gameOverFun();
}
}
}//package GoGoPenguin_fla
Section 460
//uhigicopybg8_71 (GoGoPenguin_fla.uhigicopybg8_71)
package GoGoPenguin_fla {
import flash.utils.*;
import flash.display.*;
import flash.net.*;
import flash.events.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import flash.filters.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class uhigicopybg8_71 extends MovieClip {
public function uhigicopybg8_71(){
addFrameScript(99, frame100, 218, frame219);
}
function frame100(){
if (!MovieClip(root).shipFall){
stop();
MovieClip(parent).gotoAndStop(2);
};
}
function frame219(){
stop();
MovieClip(root).removeFun();
}
}
}//package GoGoPenguin_fla
Section 461
//ujji0ibg9_42 (GoGoPenguin_fla.ujji0ibg9_42)
package GoGoPenguin_fla {
import flash.utils.*;
import flash.display.*;
import flash.net.*;
import flash.events.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import flash.filters.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class ujji0ibg9_42 extends MovieClip {
public var on_btn:SimpleButton;
public var btn_mc:MovieClip;
public function ujji0ibg9_42(){
addFrameScript(0, frame1);
}
function frame1(){
on_btn.addEventListener(MouseEvent.MOUSE_DOWN, signalFun);
}
public function signalFun(_arg1:MouseEvent){
if (MovieClip(parent).signal_mc.currentFrame == 1){
MovieClip(root).signalVar = true;
MovieClip(parent).signal_mc.gotoAndStop(2);
};
}
}
}//package GoGoPenguin_fla
Section 462
//vnftyrty_98 (GoGoPenguin_fla.vnftyrty_98)
package GoGoPenguin_fla {
import flash.utils.*;
import flash.display.*;
import flash.net.*;
import flash.events.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import flash.filters.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class vnftyrty_98 extends MovieClip {
public function vnftyrty_98(){
addFrameScript(21, frame22);
}
function frame22(){
stop();
setTimeout(MovieClip(root).gameOverFun, 1000);
}
}
}//package GoGoPenguin_fla
Section 463
//vnhyj_97 (GoGoPenguin_fla.vnhyj_97)
package GoGoPenguin_fla {
import flash.utils.*;
import flash.display.*;
import flash.net.*;
import flash.events.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import flash.filters.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class vnhyj_97 extends MovieClip {
public function vnhyj_97(){
addFrameScript(39, frame40);
}
function frame40(){
stop();
setTimeout(MovieClip(root).gameOverFun, 1000);
}
}
}//package GoGoPenguin_fla
Section 464
//xcvxcopy_93 (GoGoPenguin_fla.xcvxcopy_93)
package GoGoPenguin_fla {
import flash.display.*;
public dynamic class xcvxcopy_93 extends MovieClip {
public function xcvxcopy_93(){
addFrameScript(25, frame26);
}
function frame26(){
stop();
MovieClip(parent).gotoAndStop("idle");
}
}
}//package GoGoPenguin_fla
Section 465
//xcvxcopy2az_103 (GoGoPenguin_fla.xcvxcopy2az_103)
package GoGoPenguin_fla {
import flash.utils.*;
import flash.display.*;
import flash.net.*;
import flash.events.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import flash.filters.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class xcvxcopy2az_103 extends MovieClip {
public function xcvxcopy2az_103(){
addFrameScript(59, frame60);
}
function frame60(){
stop();
setTimeout(MovieClip(root).gameOverFun, 1000);
}
}
}//package GoGoPenguin_fla
Section 466
//ytyecopybg10_33 (GoGoPenguin_fla.ytyecopybg10_33)
package GoGoPenguin_fla {
import flash.utils.*;
import flash.display.*;
import flash.net.*;
import flash.events.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import flash.filters.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class ytyecopybg10_33 extends MovieClip {
public function ytyecopybg10_33(){
addFrameScript(0, frame1, 1, frame2, 31, frame32);
}
function frame1(){
stop();
}
function frame2(){
MovieClip(root).playSound("fishsplash");
}
function frame32(){
stop();
MovieClip(root).gameOverFun();
}
}
}//package GoGoPenguin_fla
Section 467
//zccas_295 (GoGoPenguin_fla.zccas_295)
package GoGoPenguin_fla {
import flash.utils.*;
import flash.display.*;
import flash.net.*;
import flash.events.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import flash.filters.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class zccas_295 extends MovieClip {
public function zccas_295(){
addFrameScript(13, frame14, 31, frame32);
}
function frame14(){
MovieClip(root).playSound("foodthrow");
}
function frame32(){
stop();
MovieClip(parent.parent).mc1.gotoAndStop(84);
}
}
}//package GoGoPenguin_fla
Section 468
//zxczccopy2pen6_130 (GoGoPenguin_fla.zxczccopy2pen6_130)
package GoGoPenguin_fla {
import flash.utils.*;
import flash.display.*;
import flash.net.*;
import flash.events.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import flash.filters.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class zxczccopy2pen6_130 extends MovieClip {
public function zxczccopy2pen6_130(){
addFrameScript(28, frame29);
}
function frame29(){
stop();
MovieClip(parent.parent).penguin_mc.visible = false;
MovieClip(parent.parent).mc6.gotoAndPlay("dig");
}
}
}//package GoGoPenguin_fla
Section 469
//zxczccopy3pen6_131 (GoGoPenguin_fla.zxczccopy3pen6_131)
package GoGoPenguin_fla {
import flash.utils.*;
import flash.display.*;
import flash.net.*;
import flash.events.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import flash.filters.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class zxczccopy3pen6_131 extends MovieClip {
public function zxczccopy3pen6_131(){
addFrameScript(69, frame70);
}
function frame70(){
stop();
MovieClip(root).removeFun();
}
}
}//package GoGoPenguin_fla
Section 470
//zxczccopypen6_127 (GoGoPenguin_fla.zxczccopypen6_127)
package GoGoPenguin_fla {
import flash.utils.*;
import flash.display.*;
import flash.net.*;
import flash.events.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import flash.filters.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class zxczccopypen6_127 extends MovieClip {
public function zxczccopypen6_127(){
addFrameScript(16, frame17);
}
function frame17(){
stop();
MovieClip(parent).gotoAndStop("axeIdle");
MovieClip(parent.parent).obj1.visible = false;
}
}
}//package GoGoPenguin_fla
Section 471
//zxczxwda_298 (GoGoPenguin_fla.zxczxwda_298)
package GoGoPenguin_fla {
import flash.display.*;
public dynamic class zxczxwda_298 extends MovieClip {
public function zxczxwda_298(){
addFrameScript(19, frame20);
}
function frame20(){
stop();
MovieClip(parent).gotoAndStop("toIce");
}
}
}//package GoGoPenguin_fla
Section 472
//axe (axe)
package {
import flash.media.*;
public dynamic class axe extends Sound {
}
}//package
Section 473
//bear (bear)
package {
import flash.media.*;
public dynamic class bear extends Sound {
}
}//package
Section 474
//bearFall (bearFall)
package {
import flash.media.*;
public dynamic class bearFall extends Sound {
}
}//package
Section 475
//bgSound (bgSound)
package {
import flash.media.*;
public dynamic class bgSound extends Sound {
}
}//package
Section 476
//bgSound1 (bgSound1)
package {
import flash.media.*;
public dynamic class bgSound1 extends Sound {
}
}//package
Section 477
//bird (bird)
package {
import flash.media.*;
public dynamic class bird extends Sound {
}
}//package
Section 478
//birdhit (birdhit)
package {
import flash.media.*;
public dynamic class birdhit extends Sound {
}
}//package
Section 479
//boatmove (boatmove)
package {
import flash.media.*;
public dynamic class boatmove extends Sound {
}
}//package
Section 480
//crack (crack)
package {
import flash.media.*;
public dynamic class crack extends Sound {
}
}//package
Section 481
//end (end)
package {
import flash.media.*;
public dynamic class end extends Sound {
}
}//package
Section 482
//fishcatch (fishcatch)
package {
import flash.media.*;
public dynamic class fishcatch extends Sound {
}
}//package
Section 483
//fishsplash (fishsplash)
package {
import flash.media.*;
public dynamic class fishsplash extends Sound {
}
}//package
Section 484
//foodthrow (foodthrow)
package {
import flash.media.*;
public dynamic class foodthrow extends Sound {
}
}//package
Section 485
//hitonice (hitonice)
package {
import flash.media.*;
public dynamic class hitonice extends Sound {
}
}//package
Section 486
//jump (jump)
package {
import flash.media.*;
public dynamic class jump extends Sound {
}
}//package
Section 487
//MochiBot (MochiBot)
package {
import flash.display.*;
import flash.net.*;
import flash.system.*;
public dynamic class MochiBot extends Sprite {
public static function track(_arg1:Sprite, _arg2:String):MochiBot{
var _local3:MochiBot;
var _local4:String;
var _local5:URLVariables;
var _local6:String;
var _local7:URLRequest;
var _local8:Loader;
if (Security.sandboxType == "localWithFile"){
return (null);
};
_local3 = new (MochiBot);
_arg1.addChild(_local3);
Security.allowDomain("*");
Security.allowInsecureDomain("*");
_local4 = "http://core.mochibot.com/my/core.swf";
_local5 = new URLVariables();
_local5["sb"] = Security.sandboxType;
_local5["v"] = Capabilities.version;
_local5["swfid"] = _arg2;
_local5["mv"] = "8";
_local5["fv"] = "9";
_local6 = _local3.root.loaderInfo.loaderURL;
if (_local6.indexOf("http") == 0){
_local5["url"] = _local6;
} else {
_local5["url"] = "local";
};
_local7 = new URLRequest(_local4);
_local7.contentType = "application/x-www-form-urlencoded";
_local7.method = URLRequestMethod.POST;
_local7.data = _local5;
_local8 = new Loader();
_local3.addChild(_local8);
_local8.load(_local7);
return (_local3);
}
}
}//package
Section 488
//motorboat (motorboat)
package {
import flash.media.*;
public dynamic class motorboat extends Sound {
}
}//package
Section 489
//popUp (popUp)
package {
import flash.media.*;
public dynamic class popUp extends Sound {
}
}//package
Section 490
//preloadMc (preloadMc)
package {
import flash.display.*;
import flash.net.*;
import flash.events.*;
import flash.text.*;
public dynamic class preloadMc extends MovieClip {
public var per_txt:TextField;
public var logo_btn:SimpleButton;
public function preloadMc(){
addFrameScript(32, frame33, 53, frame54, 216, frame217);
}
public function linkFun(_arg1:MouseEvent){
navigateToURL(new URLRequest("http://www.timefall.com/"), "_blank");
}
function frame217(){
stop();
logo_btn.addEventListener(MouseEvent.MOUSE_DOWN, linkFun);
}
function frame33(){
logo_btn.addEventListener(MouseEvent.MOUSE_DOWN, linkFun);
}
function frame54(){
stop();
per_txt.visible = true;
}
}
}//package
Section 491
//rope (rope)
package {
import flash.media.*;
public dynamic class rope extends Sound {
}
}//package
Section 492
//sealion (sealion)
package {
import flash.media.*;
public dynamic class sealion extends Sound {
}
}//package
Section 493
//shipbroken (shipbroken)
package {
import flash.media.*;
public dynamic class shipbroken extends Sound {
}
}//package
Section 494
//signal (signal)
package {
import flash.media.*;
public dynamic class signal extends Sound {
}
}//package
Section 495
//snowcrack (snowcrack)
package {
import flash.media.*;
public dynamic class snowcrack extends Sound {
}
}//package
Section 496
//snowhit (snowhit)
package {
import flash.media.*;
public dynamic class snowhit extends Sound {
}
}//package
Section 497
//snowremove (snowremove)
package {
import flash.media.*;
public dynamic class snowremove extends Sound {
}
}//package
Section 498
//timefallSnd (timefallSnd)
package {
import flash.media.*;
public dynamic class timefallSnd extends Sound {
}
}//package
Section 499
//treefall (treefall)
package {
import flash.media.*;
public dynamic class treefall extends Sound {
}
}//package
Section 500
//wheel (wheel)
package {
import flash.media.*;
public dynamic class wheel extends Sound {
}
}//package
Section 501
//windbg (windbg)
package {
import flash.media.*;
public dynamic class windbg extends Sound {
}
}//package
Section 502
//wood1Mc (wood1Mc)
package {
import flash.display.*;
public dynamic class wood1Mc extends MovieClip {
}
}//package
Section 503
//wood2Mc (wood2Mc)
package {
import flash.display.*;
public dynamic class wood2Mc extends MovieClip {
}
}//package
Section 504
//wrong (wrong)
package {
import flash.media.*;
public dynamic class wrong extends Sound {
}
}//package