 	
 				return o;
 			}
-			else if (marker == Amf0Types_kAvmPlusObjectType)
+			else if (marker == AMF0_AvmPlusObject)
 			{
 				return this.readAMF3Object();
 			}
-			else if (marker == Amf0Types_kNullType)
+			else if (marker == AMF0_Null)
 			{
 				return null;
 			}
-			else if (marker == Amf0Types_kUndefinedType)
+			else if (marker == AMF0_Undefined)
 			{
 				return undefined;
 			}
-			else if (marker == Amf0Types_kReferenceType)
+			else if (marker == AMF0_Reference)
 			{
 				var refNum:int = this.readUnsignedShort();
 	

	
				return value;
			}
			else if (marker == Amf0Types_kDateType)
			{
				return this.readDate();
			}
			else if (marker == Amf0Types_kLongStringType)
			{
				return this.readLongUTF();
			}
			else if (marker == Amf0Types_kXMLObjectType)
			{
				return this.readXML();
			}

	
				return value;
			}
			else if (marker == AMF3_Array)
			{
				ref = this.readUInt29();
	
