Okay, for my map editor i need to be able to read text files (loading maps to edit).
I was unable to load text files, so i decided you should just copy paste the code in a text file.
Now i need flash to read the string and place the tiles. The problem is that I cant split strings on enters. C# uses ’
'. Z said I should use ’
'. The c# method aint working and I get an error if I try to do what Z said (String literal was not properly terminated).
I use something like this:
var lines:Array = input.split(new String(’
'));
Thank you