Just use File.separator, it will get you the correct one if you care. Jim Hayes skriver: > Or use a / which I think works both on PC and the mac (which \ will not, > that will only work on windows) > Forgive me if I'm wrong on that one. > ________________________________________ > From: flashcoders-boun...@chattyfig.figleaf.com > [flashcoders-boun...@chattyfig.figleaf.com] on behalf of Jim Hayes > [j...@primalpictures.com] > Sent: 10 February 2014 15:26 > To: Flash Coders List > Subject: RE: [Flashcoders] Read and save xml file on disk > > you need to escape the \ like so "\\" > > appFile = appFile.resolvePath(fileString+"\\personnel.xml"); > trace(fileString+"\\personnel.xml")
--- Detta epostmeddelande innehåller inget virus eller annan skadlig kod för avast! antivirus är aktivt. http://www.avast.com _______________________________________________ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders