-
1. Re: Saving to iOS filesystem
markerline Aug 6, 2011 7:47 PM (in response to fufonzo)See if you can download for a small fee the app called FileApp Pro in the Apple App Store. Then use the directories in that app to try to acc
ess their folder structure in your Flex app.
It's worth a shot. (Right now I can't troubleshoot because my iPad 1 bricked out due to the expiration of my iOS5 beta. And for several reasons I can't upgrade until the final public release of iOS5 is available.)
-
2. Re: Saving to iOS filesystem
fufonzo Aug 6, 2011 7:55 PM (in response to markerline)Thank you for that. I will definitely have a look into getting that app.
My issue was that it wasn't saving at all. It would jump to "error".
I just realized that it seems as though it may just have been an issue with my putting a '/' in front of my path.
var fl:File = File.applicationStorageDirectory.resolvePath("/Photos/7.jpg");
I took it out (as well as the filename) and it stopped erroring out.
var fl:File = File.applicationStorageDirectory.resolvePath("Photos/");
I'm still playing around with it but hopefully, i'll have it resolved soon. Will post the final answer if I manage to figure it out.
-
3. Re: Saving to iOS filesystem
fufonzo Aug 6, 2011 10:14 PM (in response to fufonzo)Alright, so that was my mistake....urgh....
var fl:File = File.applicationStorageDirectory.resolvePath("/Photos/7.jpg");
Should have been:
var fl:File = File.applicationStorageDirectory.resolvePath("Photos/7.jpg");
-
4. Re: Saving to iOS filesystem
Josip Pokrajcic Sep 18, 2011 3:20 PM (in response to fufonzo)did you manage this to work in the end? i tried to do the same thing as you did but i couln't find saved file in that directory

