0 Replies Latest reply on Jan 16, 2009 7:48 AM by kiwi_ziesch

    get file reference on mac

    kiwi_ziesch Level 1
      I´m curently testing my application on mac and got errors. GREAT.
      I want a file reference to a file so I can open it for example:
      path = air.File.desktopDirectory.resolvePath(main_dir + air.File.separator + 'thumbs/' + file);
      then I trace the url of the path:
      on windows it says: file.///C:/Somewhere/Here
      on mac it says: something with desktop...and then again file:///... so I got a double file:/// and that´s the error.
      So, how can I get the file reference of a file at a specific directory?

      I hope this was not to complicated...
      thanks for any help - and enjoy your weekend.