 			log("enumerateUserSubscribedFiles(0) == " + Steamworks.enumerateUserSubscribedFiles(0));
 		}
 
+		private function enumerateSharedFiles(e:Event = null):void {
+			if(!Steamworks.isReady) return;
+
+			var userID:String = Steamworks.getUserID();
+			var res:Boolean = Steamworks.enumerateUserSharedWorkshopFiles(userID, 0, [], []);
+			log("enumerateSharedFiles(" + userID + ", 0, [], []) == " + res);
+		}
+
+		private function enumerateWorkshopFiles(e:Event = null):void {
+			if(!Steamworks.isReady) return;
+
+			var res:Boolean = Steamworks.enumeratePublishedWorkshopFiles(
+				WorkshopConstants.ENUMTYPE_RankedByVote, 0, 10, 0, [], []);
+			log("enumerateSharedFiles(...) == " + res);
+		}
+
 		private var id:String;
 		private var handle:String;
 		private function onSteamResponse(e:SteamEvent):void{
 			var apiCall:Boolean;
+			var i:int;
 			switch(e.req_type){
 				case SteamConstants.RESPONSE_OnUserStatsStored:
 					log("RESPONSE_OnUserStatsStored: "+e.response);

					break;
				case SteamConstants.RESPONSE_OnEnumerateUserSubscribedFiles:
					log("RESPONSE_OnEnumerateUserSubscribedFiles: " + e.response);
					var result:SubscribedFilesResult = Steamworks.enumerateUserSubscribedFilesResult();
					log("User subscribed files: " + result.resultsReturned + "/" + result.totalResults);
					for(var i:int = 0; i < result.resultsReturned; i++) {
						id = result.publishedFileId[i];
						apiCall = Steamworks.getPublishedFileDetails(result.publishedFileId[i]);
						log(i + ": " + result.publishedFileId[i] + " (" + result.timeSubscribed[i] + ") - " + apiCall);
					}
					break;
				case SteamConstants.RESPONSE_OnGetPublishedFileDetails:

							log("Result length: " + ba.position + "//" + ba.length);
							log("Result: " + ba.readUTFBytes(ugcResult.size));
						}
					}
					break;
				default:
					log("STEAMresponse type:"+e.req_type+" response:"+e.response);
			}
