PDA

View Full Version : Differences between MAC & WIN path


linakutak
04-02-2007, 03:44 AM
Is there any diffrences of MAC or WIN path ... for example.. to get xml file.
For WIN... we use.."/" for the path...exp:_document.xmlPanel( fl.configURI + "Commands/namingDInstances/namingDInstances.xml" );...

krayzeebean
04-02-2007, 06:57 PM
In that example there's no difference because you're using configURI to get the config directory, and since it's using the URI format you always use / instead of \ on PC and Mac.

If you used document.path then it gives you a OS specific path, so Windows would be c:\foldername\document.fla. I think Mac paths are formatted like /drivename/foldername/document.fla.