 					}
 					var encryptedAppTicket:ByteArray = new ByteArray();
 					Steamworks.getEncryptedAppTicket(encryptedAppTicket);
-					logEncryptedAppTicket(encryptedAppTicket);
+					logTicket(encryptedAppTicket, "encryptedAppTicket");
 					break;
 				case SteamConstants.RESPONSE_OnValidateAuthTicketResponse:
 					log("RESPONSE_OnValidateAuthTicketResponse: " + e.response);

			authTicket = new ByteArray();
			authHandle = Steamworks.getAuthSessionTicket(authTicket)
			log("getAuthSessionTicket(ticket) == " + authHandle);
			logTicket(authTicket);
		}

		private function logTicket(ticket:ByteArray):void {
			var s:String = "";
			for (var i:int = 0; i < ticket.length; ++i) {
				var n:String = ticket[i].toString(16);
				s += (n.length < 2 ? "0" : "") + n;
			}
			log("Ticket: " + ticket.bytesAvailable + "//" + ticket.length + "\n" + s);
		}

		private function requestEncryptedAppTicket(e:Event = null):void {

			log("Try to request encrypted app ticket");
			var result:Boolean = Steamworks.requestEncryptedAppTicket();
			log("Request encrypted app ticket result: " + result);
		}

		private function activateOverlay(e:Event = null):void {
