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. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Adobe AIR Development

Reply
Developer
jtegen
Posts: 6,145
Registered: ‎10-27-2010
My Carrier: AT&T

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.
Regular Contributor
Torres90
Posts: 88
Registered: ‎01-12-2011
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,145
Registered: ‎10-27-2010
My Carrier: AT&T

Re: Accessing all of the local images

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