That I never knew! Even after years of using AIR.
________________________________________
From: [email protected] 
[[email protected]] on behalf of Henrik Andersson 
[[email protected]]
Sent: 10 February 2014 16:20
To: Flash Coders List
Subject: Re: [Flashcoders] Read and save xml file on disk

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: [email protected] 
> [[email protected]] on behalf of Jim Hayes 
> [[email protected]]
> 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
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders





_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to