Loading external images into an AIR for Android app
I have been building an Android AIR app that needs to load an image from the phone storage. After various trial and errors, I have the following actionscript code that would let user select an image from the phone and trace its name and path. From there simply use a loader object and you can attach the image to a movieclip.
var fileType:FileFilter = new FileFilter(“Image (*.jpg, *.png)”,”*.jpg; *.png”);
var fileChooser:File = File.userDirectory;