the photos are not in a folder within the application, but the photo shoot iphone. In android with this:
img.source = "/ mnt/sdcard/img0001.jpg" you mean this is not possible on iOS? 2013/12/1 周 戈 <darkst...@163.com> > Hi Marcio, > > If your photos are stored in your app’s folder or subfolder, you will need > to get the photo path by using app:/someFolder/somePhoto.jpg or > app-storage:/someFolder/somePhoto.jpg > > If your photos are not stored in your app’s folder, you cannot directly > load those photos by using absolute path in the background, even if you > figure it out the absolute path of that photo, iOS won’t let you access it > anyway. > > Good luck. > > DarkStone > 2013-12-02 > > 在 2013-12-02,01:45,Maurice Amsellem <maurice.amsel...@systar.com> 写道: > > > As DarkStone said, you cannot access images outside your app's folder. > > > > When you say " the pictures are in the device" , what do you mean > exactly? > > > > How were they stored in the device ? through another application or > through your application? > > > > Please be more explicit on the context, if you want someone to help. > > > > Maurice > > > > -----Message d'origine----- > > De : marcio fermino [mailto:prologicasiste...@gmail.com] > > Envoyé : dimanche 1 décembre 2013 18:40 > > À : dev@flex.apache.org > > Objet : Re: Apache Flex in the IOS > > > > in this example the User needs to select the photo. > > In my case I need to say that he will show picture because the file > names have in a database, so I need the url or path. > > I need something like img.source = "???" > > > > > > 2013/11/30 周 戈 <darkst...@163.com> > > > >> Hi Marcio, > >> > >> In iOS you typically use CameraRoll.browseForImage() to access the > photos: > >> > >> http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/fla > >> sh/media/CameraRoll.html#browseForImage() > >> > >> You cannot use absolute url to get photos outside your app's folder. > >> > >> DarkStone > >> 2013-12-01 > >> > >> > >> 在 2013-12-01,05:23,marcio fermino <prologicasiste...@gmail.com> 写道: > >> > >>> Hello friends, I no longer know where else to look, I've tried > >> everything. > >>> > >>> How could I access a picture on IOS, need to pass the path at run > >>> time, > >> eg: > >>> > >>> img.source = "????" > >>> > >>> > >>> the pictures are in the device, I have a table with the name of the > >> images, > >>> but I need the path where they are stored? > >>> > >>> > >>> In android would be something like / mnt / sdcard, but iOS and? > >>> > >>> > >>> Any idea? > >> > >> > >> > > >