| I uploaded my game on Kongregate: www.kongregate.com/games/rvlgames/girls-with-secrets 
 but every time the game should access a save file (pressing continue or after finnishing a level) the game crashes.
 
 If I am running it locally there is no problem :|
 
 this is the code I use to save:
 
 
Function saveProfile:Void()
		Local stream:FileStream
    	stream = fileHandler.WriteFile("gwssave.txt")
			stream.WriteInt(profileCurrentChapter)
			stream.WriteInt(profileScore)
			For Local s = 0 To 8
				stream.WriteInt(profileSceneStatus[s])
				stream.WriteInt(profileSceneStar[s])
			Next
		fileHandler.SaveAll()
		Print "save done!"
	End
 
 |