Hi Jorge,
Thank you for your reply.
I have rewritten the example as a complete working application so you should no longer have issues running it.
In my of my code today, I now use the FileInfo object, with this:
- You get automatic shortcut to AppFramework.userHomePath via "~"
- You can get the physical path, i.e. FileInfo.filePath
- You can get the url (useful to assigning to Image.source), i.e. FileInfo.url
- You have access to the container folder via FileInfo.folder which is a FileFolder object which you can use to do folder operations, such as fileExists, delete, makeFolder
I hope you find this example more useful.
Stephen