 	
 				return result;
 			}
-			else if (marker == Amf3Types_kObjectType)
+			else if (marker == AMF3_Object)
 			{
 				var o:Object = {};
 	

					var c2:int = data[pos++] & 0xFF;
					var name:String = this.readString((c1 << 8) | c2);
					var k:int = data[pos++] & 0xFF;
					if (k == Amf0Types_kObjectEndType)
						break;
	
					this.pos--;

	
				return o;
			}
			else if (marker == AMF0_StrictArray)
			{
				var size:int = this.readInt();
	
