Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Adobe AIR Development

Reply
Developer
jtegen
Posts: 6,541
Registered: ‎10-27-2010
My Device: HTC One, PlayBook, LE Z10, DE Q10
My Carrier: Verizon

Re: Accessing all of the local images

You have to use the full path. Saying "shared/camera/..." is relative to the applications directory. Use the File class to fully resolve the native path to the file. Go up from the File.documentsDirectory (if I recall correctly) and use the resolvePath function.
Please use plain text.
Developer
Torres90
Posts: 102
Registered: ‎01-12-2011
My Device: Blackberry Playbook
My Carrier: DiGi twitter@TylorPin

Re: Accessing all of the local images

Got it up and running! turns out the Loader class only loads with a url and not nativepath.

Click "like" if my reply helps and click "Accept as Solution" if it solves your problem!

twitter @Twopinstudio
my vendor page https://appworld.blackberry.com/webstore/vendor/7126/?lang=en
Please use plain text.
Developer
jtegen
Posts: 6,541
Registered: ‎10-27-2010
My Device: HTC One, PlayBook, LE Z10, DE Q10
My Carrier: Verizon

Re: Accessing all of the local images

Think you have to prefix it with "file://".
Please use plain text.