I’ve been looking into a way to store my 2D array tilemap data into a permanent file. The problem is, that the Flash and Javascript targets do not support Haxe’s FileSystem library. Is there another way that I could store my data, that would work with all of the targets (Or at least Flash and Javascript)?
js/flash are restricted from accessing the local file system (flash could have access to it under certain circumstances, e.g. explicitly granted by user).
if you want, from your app, to store stuff on the player machine, then you may want to look into flash.net.SharedObject. it’s not the same as a file, more like a cookie type of thing.